Custom Apps
Basic apps generally display information in simple, well-defined formats and provide simple types of interactions. In some cases, this may not be sufficient to meet your requirements. Presto developers can handle more complex requirements with:
Customized views/customized basic apps. These are views you have added to a mashable or mashup using the
Presto built-in views or pluggable views to which you choose to apply more advanced customizations. This simplifies development for complex requirements, updating the look of built-in or plug-in views and optionally adding custom interactions.
Fully custom apps are apps that
Presto developers create from scratch. This is more complicated as developers must produce all the resources for the view and interactions. But fully custom apps allow you to handle more complex presentation requirements or more specific interactions that are not possible by other means.
Customized Basic Apps and Views
To customize the presentation and/or behavior for views, you add one or more views to a basic app and customize the app. This uses the App Specification, app.xml, for the basic app which you edit in the App Editor.
First, follow the basic procedure to
Customize a Basic App or View. Then use these techniques, as needed:
Fully Custom Apps
Fully custom apps let developers handle more complex presentation requirements or interactions that are not possible with basic apps, even through customization. Custom apps also allow developers to meet look and feel standards for your organization.
Note: | The examples of custom apps in the topics in this section are generally designed as desktop apps. Most of the techniques shown, however, apply to desktop or mobile apps. |
With custom apps, you start from a minimal package in the
App Editor that contains stub files for the various resources used in an app. You work with these resources, testing as you go. Once the custom app is working, you can also download this final package to check this into your source control tools if needed. See
Create Custom Apps from the Base App Package for basic instructions.
For examples and specific techniques you may use to create custom apps, see:
In addition to common resources such as HTML pages and JavaScript libraries, fully custom apps also have an App Specification,
app.xml, that defines all the resources in the app, properties and other information about the app. For more information on App Specs and the elements you can use, see
App Specification Reference.
Custom Mobile App Requirements
Most of the development requirements for custom mobile apps are the same as custom desktop apps. Presto mobile apps are HTML5 web applications with JavaScript and CSS to make them compatible with most modern mobile devices. There are only two mobile-specific requirements for custom apps:
Use a mobile-compatible JavaScript library, such as jQuery Mobile, to allow the custom app to recognize and respond appropriately to gestures and orientation changes.
Add mobile-compatible flags to the App Specification for the types of devices the app supports. See
<presto-meta> for more information.
Once you have created a custom mobile app and uploaded it to Presto, you must publish it to the AppDepot to enable mobile users to find and use it in Presto Mobile.