Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What does BlazeDS Livecycle Data Services do, that something like PyAMF or RubyAMF not do?

I'm doing a tech review and looking at AMF integration with various backends (Rails, Python, Grails etc).

Lots of options are out there, question is, what do the Adobe products do (BlazeDS etc) that something like RubyAMF / pyAMF don't?

like image 362
Neil Middleton Avatar asked Jan 24 '23 03:01

Neil Middleton


2 Answers

Other than NIO (RTMP) channels, LCDS include also the "data management" features.

Using this feature, you basically implement, in an ActionScript class, a CRUD-like interface defined by LCDS, and you get:

  • automatic progressive list loading (large lists/datagrids loads while scrolling)
  • automatic crud management (you get object locally in flash, modify it, send it back and DB will get updated automatically)
  • feature for conflict resolution (if multiple user try to updated the same record at the same time)
  • if I remember well, also some improved integration with the LiveCycle ES workflow engine

IMO, it can be very fast to develop this way, but only if you have only basic requirements and a simple architecture (forget SOA, that otherwise works so well with Flex). I'm fine with BlazeDS.

like image 178
Cosma Colanicchia Avatar answered Jan 26 '23 16:01

Cosma Colanicchia


The data management features for LCDS described here are certainly valid, however I believe they do not let you actually develop a solution faster. A developer still has to write ALL the data access code, query execution, extracting data from datareaders into value objects. ALL of this has been solved a dozen of times with code generators. For instance the data management approach in WebORB for Java (much like in WebORB for .NET and PHP) is based on code generation which creates code for both client side AND server-side. You get all the ActionScript APIs out of the code generator to do full CRUD.

Additionally, WebORB provides video streaming and real-time messaging features and goes WAY beyond what both BlazeDS and LCDS offer combined, especially considering that the product is free. Just google it.

like image 43
user10440 Avatar answered Jan 26 '23 16:01

user10440