| About UICatalog sample and platform variant management |
| Written by Emmanuel Niclot |
| Tuesday, 11 May 2010 18:00 |
|
A new application called UICatalog is available for download on the Samples page. This application aims at providing ELIPS Studio developers with a reference application in order to get the best of ELIPS Studio: Single codebase that makes use of unique platform user experience and capabilities. Note that this application works properly only on ELIPS Studio beta 5 or later release.
Generic and Native UI ComponentsThe UICatalog app exhibits the main UI Components available in ELIPS. There are actually 2 types of components:
With Native UI Component mapping, your application transparently benefits from the platform native UI implementation in terms of user experience, look and performance. Check out the UICatalog for more details. UI Components are organized by category and you can copy/paste the code in your own app for rapid design.
ScreenStack Application Navigation Model
ELIPS Studio beta 5 introduces a new model to handle application screens and navigation.
The prime advantage of this model is that it gives developer a clean and standard way (yet optional) to design their application UI once and handle navigation differently depending on the platform. The second advantage, and that is a BIG one, is that ELIPS Studio will be capable of mapping “behind-the-scene” this standard model to native platform navigation models in term of layout, flow and transitions, especially on iPhone and Android. For the time being, ELIPS Studio beta 5 uses a generic implementation for the Application Navigation model, but more and more native mapping will come in the future, so stay tuned!
Conditional Code per platform
The UI Catalog app was also designed to demonstrate some advanced features that are available only on some platforms. That is the case of the Should you like to have a different behavior in your application code given the underlying platform, two mechanisms can be used:
if (openplug.elips.device.Capabilities.getDeviceCapabilities().model == "iPhone"){
<mx:HBox excludeFromPlatform=" Android 1.6, iPhone OS 3.0"/>
So, with Conditional Code mechanisms as offered in ELIPS Studio, developers do not have to compromise in terms of platform features they can have a single code base and still use each platform specific behaviors and capabilities. So check out the UICatalog sample now and create great apps on the big 4 platforms!   |





Comments