May
19

Ben Forta kicked things off this morning giving a talk he titled "ColdFusion 8 and Beyond." Here are my rough notes on the information Ben covered. He began by discussing the ColdFusion Open Process Initiative which is made up of the following:

  • public bug database
  • public enhancement request system
  • custom advisory board
    • CFML design
    • feature definitions
    • specification reviews
    • early release reviews

But what comes next in the world of ColdFusion? Work has begun on "Centaur" which is about improving the integration story of ColdFusion. CF has had an integration story since 1996 with ColdFusion 2. Centaur will be about improving the integration of ColdFusion especially with regard to Flex and AIR. Another thing Centaur will be about is improving the developer experience. Particularly making the process cleaner, easier, and better for developers writing CFML and technologies that surround CFML. More details on Centaur will be released at MAX this year in San Francisco on November 16-19..

CF has evolved into being the ideal backend for rich Internet applications. The trend started several years ago with the introduction of WDDX (Web Distributed Data Exchange) and Flash Remoting. This further evolved - with Adobe at the helm - into data services integration with LifeCycle Data Services and more recently the open source BlazeDS. LCDS adds two things to the mix from a CF perspective: messaging and data management (including data synchronization).

There are two ways LifeCycle can be installed

  • CF + LCDS installed as the same instance on a J2EE server
    • simplied installation
    • high performance (direct Java APIs instead of RMI calls)
    • requires CF8
  • External LCDS (external to CF for clarification)
    • simpler upgrading of LCDS because it is separate from CF
    • better suited if LCDS used by more than CF
    • supported by CF 7.0.2 and 8

Messaging is the term used to define sending any data at all from one destination to another destination. With CF and Flex, messaging is about ensuring your data makes it to its destination instead of hoping it does like e-mail.

LCDS push technology keeping the connection open between client and server.

  • Publish and subscribe
    • producer and consumer
  • Asynchronous communication
  • Messages have header and body
    • values can be complex types
    • values are converted to/from CFML and AS types
  • ColdFusion can be both a Producer and a Consumer
    • publish - SendGatewayMessage()
    • Subscribe - Event Gateway CFC
  • Data Management
    • the old last to save wins scenario was described
    • Data Services solves this problem
    • it can have a knowledge about structured data and who (which clients) and what data and what state that data is in
    • Data Services is the server component between the client and ColdFusion
    • automatically compares original data with changed data when it is returned from the server. it can say "oh, you changed this field and other users have this record, so we must send them the new copy."
    • can build conflict screens in apps to not only show what data has changed, but to show conflicts and allow users to choose how to handle them which in turn will tell LCDS what to do.
    • wizards available to the Eclipse environment generate all the CFCs needed to manage this type of data management process

LCDS has Flash Remoting, messaging, and data management.

BlazeDS has Flash Remoting and messaging but not data management.

LCDS is in beta version 2.6 now. It is going to integrate well with AIR clients. Think about an AIR client going offline and keeping up with changed data on the client. When the client reconnects, the changed data gets pushed back to LCDS which performs any necessary data management stuff it needs to from there.

Aaron West's Gravatar
About this post:

This entry was posted by Aaron West on May 19, 2008 at 9:47 AM. It was filed in the following categories: ColdFusion, Webmaniacs 2008, Flex. It has been viewed 6085 times and has 2 comments.

2 Responses to Webmaniacs Keynote with Ben Forta

  1. They keep banging on about LCDS. It sounds like the LCDS roadshow rather than CF.

    Anyone get it working without flex, let me know

  2. @Aaron: Nice summary. Thanks.

    @Mark; it was pretty similar like in CFEurope keynote. Generally Flex and LCDS integration was the core of the presentation.