Exploring Flex

Flash Builder 4 Beta – Data Centric Development (DCD) Introduction

Posted by hneelu on June 1, 2009

Flash Builder 4 Beta 2 (Code name: Gumbo) is available at Adobe labs.

FB 4 comes with a new feature set DCD (Data Centric Development). This makes the entire workflow to connecting to data easy, be it databases (through PHP and CF), HTTP Service, PHP, CF, WSDL etc.
With only three wizards : Service Wizard, Configure Return Type and Bind to Data,  the basic app is up and running.

I’ll take an example of connecting to a database.
I just want to fill in some data I get from the server to a datagrid.
Sound simple. With DCD workflow it is even  simpler to achieve it.
Pre-requisites:

  • Flash Builder 4 Beta
  • Apache , PHP, mysql or just WAMP

Flowchart 1:


workflow1

Flowchart 2:



More about the wizards here wf_2
Also see http://srinivasannam.wordpress.com/2009/06/01/introduction_to_dcd/


2 Responses to “Flash Builder 4 Beta – Data Centric Development (DCD) Introduction”

  1. Thanks for posting the diagram *walking to printer*. Any clues on getting parameters into the REST widget? It disables my parameters when I add a method. Just curious if you’d come across anything.

    • hneelu said

      Use a post operation to enter the parameters.
      You can select the method by changing GET to POST in the Method cell of the Operations datagrid in Http Service Wizard.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

 
%d bloggers like this: