Each package should have:
APP-META.xml
- filled in manually using specificationAPP-LIST.xml
- generated automatically during building of the packageschemas
folder - containing either manually created schema files or automatically created by apsbuild if aps-php-runtime is used
Generally a package that actually does something has two more directories:
scripts
- containing application endpoint scripts, so far should be placed manually on endpoint serverui
- containing html/js code to show views to the user
A more advanced package would have these directories as well:
images
- used to store application icon and screenshotsi18n
- contains localization files (more on localization)doc
- contains built-in documentation such as provider's guide, deployment guide etc
Generally an application should have at least two services:
- Main service installed in Provider Control Panel (implementing
http://aps-standard.org/types/core/application/1.0
) - Main service installed in Customer Control Panel (it should plug into
http://www.aps-standard.org/ui/service
)
Check Starter package from our Getting Started guide for a simple package with two services.