How to create an App for ownCloud 10.x

The documentation still tells to use ocdev to develop an app. As ocdev is deprecated and there's no occ command to initialize or debug an app, what's the current way to develop an app?