The issue of serializing/transforming model objects is not new, heck
I’ve been doing this for quite some time:
RMI (ejb/corba) XML (jms, soap, etc..) JSON JSON is not the only way to
serialize objects for Web 2.0 applications, but it's the most abundant and
heavily used throughout the Appclerator framework. Doing this is actually
really easy to do with Appcelerator IModelObjects. Our IModelObjects can
easily be used along with Hibernate for persistance, but let's leave that for
later for now.
When you define your Model classes, there are some very simple things to keep
in mind:annotate your attributes with @MessageAttr have your class implement
IModelObject
Here is a simple example:
more)
If you are venturing to implement a Rich Internet Application (RIA) with
Appcelerator, then there are features about the framework that I’m
really geared up about that help you implement your solution effectively.
When used together these items enable the agile creation of solutions in a
shorter time that integrate nicely with services in an existing architecture
and provide a rich... (more)