Files
nextcloud-docs/developer_manual/app/index.rst
Bernhard Posselt 1c4e6e47b9 first tutorial page
database schema

add controllers wire up

add handlebars

fix

more updating

fix json

fix problems

use mvc for js

fixes

more js

fix

fix

fix backslashes

remove code

more fixes

fixes

move to promises

more deferreds

remove unused method

remove unneeded code

better highlight translations

fix error

better naming

remove empty lines

add services hint

add closing section

mention removed parameter

fixes and hints

remove leading backslashes

use proper namespaces

wording

wording

wording

wording

wording

fix clone command

several fixes

fix resource docs

fixes

more fixes

fix if id to delete is 0

typo

typo

also show how to add a restful api

fix phpdoc

fix phpdoc

fix typo

fix typo

better routes indention

add unit and integration test tipps

udpate unit test

easier css

make unit tests easier and use integration tests to test the container
2015-01-10 01:05:43 +01:00

132 lines
2.4 KiB
ReStructuredText

.. _appindex:
.. sectionauthor:: Bernhard Posselt <dev@bernhard-posselt.com>
.. toctree::
:maxdepth: 2
:hidden:
tutorial
startapp
init
info
classloader
request
routes
middleware
container
controllers
api
templates
js
css
l10n
schema
database
configuration
filesystem
users
hooks
backgroundjobs
logging
testing
===============
App Development
===============
.. sectionauthor:: Bernhard Posselt <dev@bernhard-posselt.com>
Intro
=====
Before you start, please check if there already is a `similar app <http://apps.owncloud.com>`_ you could contribute to. Also, feel free to communicate your idea and plans to the `user mailing list <http://mailman.owncloud.org/mailman/listinfo/user>`_ or `developer mailing list <http://mailman.owncloud.org/mailman/listinfo/devel>`_ so other contributors might join in.
Then, please make sure you have set up a development environment:
* :doc:`../general/devenv`
Before starting to write an app please read the security and coding guidelines:
* :doc:`../general/security`
* :doc:`../general/codingguidelines`
After this you can start with the tutorial
* :doc:`tutorial`
App development
===============
Create a new app:
* :doc:`startapp`
Inner parts of an app:
* :doc:`init`
* :doc:`info`
* :doc:`classloader`
Requests
--------
How a request is being processed:
* :doc:`request`
* :doc:`routes`
* :doc:`middleware`
* :doc:`container`
* :doc:`controllers` | :doc:`api`
View
----
The app's presentation layer:
* :doc:`templates`
* :doc:`js`
* :doc:`css`
* :doc:`l10n`
Storage
-------
Create database tables, run Sql queries, store/retrieve configuration information and access the filesystem:
* :doc:`schema`
* :doc:`database`
* :doc:`configuration`
* :doc:`filesystem`
Authentication & Users
----------------------
Creating, deleting, updating, searching, login and logout:
* :doc:`users`
Hooks
-----
Listen on events like user creation and execute code:
* :doc:`hooks`
Background Jobs
---------------
Periodically run code in the background:
* :doc:`backgroundjobs`
Logging
-------
Log to the :file:`data/owncloud.log`:
* :doc:`logging`
Testing
-------
Write automated tests to ensure stability and ease maintenance:
* :doc:`testing`
PHPDoc Class Documentation
--------------------------
ownCloud class and function documentation:
* `ownCloud App API <http://api.owncloud.org/namespaces/OCP.html>`_