Expand my Community achievements bar.

Dive into Adobe Summit 2024! Explore curated list of AEM sessions & labs, register, connect with experts, ask questions, engage, and share insights. Don't miss the excitement.

Dear Adobe: We need more "Data Centric" examples and videos

Avatar

Level 2

Many of my data centric questions are unanswered (for days now).  This tells me that no one in the community knows the answers, which is probably because FlashBuilder 4 and using it against a ColdFusionBuilder 1 server are still so "new".  My customers are not impressed with bandwith sucking flashing, flipping, popping, spinning effects, with help hints. That's "kid stuff".  They only want and care about lightning fast response time, tons of data at their fingertips, and reliability.  They'll add their own images and suffer the bandwidth downside if they choose, but that's up to them.  The things I need to know how to do are very very simple:

1) Fetch data, into a grid or form (nailed, thanks for the video and examples)

2) Commit data  changed in the form or grid back to the DB (Not answered)

3) Create a new record from within the form or grid  (Huh? No video or examples)

4) Create new form popup windows based on a record selected in a grid (Got it, working good)

5) Refresh a row in a grid without mucking around with the user's selected row or indexed column (How? Unknown)

6) Delete a record in a form or a grid and commit the delete to the back end (Again, unknown)

Basically I need to know CRUD.  Create, Retrieve, Update, Delete

I'm really struggling with getting the answers to these simple questions. The helps are GREATLY DETAILED but the other side of that same coin is that they give me information overload explaining all the things that CAN be done, when I just need to know the CRUD basics.  Please make some more videos showing CRUD.  FlashBuilder and ColdFusionBuilder are going to be serious candidates for massive data handling only if we can get developers onto this product quickly.

Massive Data Handling = 200 Tables, 200 fields in each table, 200 indexes, 500 constraints, one third of a billion records total in all tables, and I want to find a specific 4 records, in no more than 4 mouse clicks, and response time of 2 seconds or less.

Unless I'm being unreasonable, and Adobe products are not the way I should go to achieve these goals.

6 Replies

Avatar

Level 2

Also, I think it must he pretty easy... in the "Generate form" function, can you also include, along with all the fields and binding... a Commit and Undo buttons, along with the associated click events to make them function?  The programmer could then just position these items on the form a BAM! done.

Commit button = commit changed data to DB

Undo = refresh text inputs from DB with original unchanged data (discard changes)

Avatar

Level 2

Hi Mayank,

These instructions look fantastic.  They cover the stuff I need to know how to do.   I appreciate your efforts VERY MUCH and am following along dilegently.  I'm trying to transpose your very good and detailed instructions into my own project.   I'm stuck on the following line:

In your example:

productService.serviceControl.autoCommit = false;

I'm transposing it to my project, which should read:

baa_data_svc.serviceControl.autoCommit = false;

Because I have a <Declarations> tag of:

    <fx:Declarations>
        <valueObjects:BAA_SBJ id="bAA_SBJ"/>
        <s:CallResponder id="getSBJsResult"/>
        <baa_data_svc:Baa_data_svc
            id="baa_data_svc"
            fault="Alert.show(event.fault.faultString + '\n' + event.fault.faultDetail)"
            showBusyCursor="true"/>
    </fx:Declarations>

When I try to run the project, I get the following error:

Error: Cannot assign operations into an RPC Service (autoCommit)

I have tried including and excluding the import:

import mx.rpc.events.ResultEvent;

but it makes no difference.

What am I doing wrong?  I need the autoCommit to be shut off, just like in your example.

Thanks for your kind help in this matter.

Avatar

Former Community Member

Have you enabled data management yet? The autoCommit property is available in serviceControl only when data management has been enabled.

Avatar

Level 2

I have 4 Data Types in my Data/Services panel, and I have enabled Data Managment on 3 of them, including the only one that I am currently trying to get working.  The autoCommit property is still not available. (I am following the instructions on Sujit G's web site correctly as far as I can see)

Mayank,

I'm struggling with FlashBuilder 4.  I would like to get started on building my projects, and not fiddling with FlashBuilder.  I would like to hire you as a tutor.  Is there a way I can contact you?  I'm on Skype.  I have tried to contact Sujit G a minute ago to see if he could be a tutor for me.  If I could get one of you guys to help me out, it would save me a lot of head pain.

Avatar

Level 2

Here is what I have that is not allowing the .autoCommit property to be "visible" in code complete, and it throws the error described in the previous post when the line is executed.

<Application ...

                             xmlns:valueObjects="valueObjects.*"
                             xmlns:baa_data_svc="services.baa_data_svc.*"

>

    <fx:Script>
        <![CDATA[

          ...

            import services.baa_data_svc.*;   // I don't know if this line is necessary.  With, or without, makes no difference.  Error still occurs.

            protected function btnGo_clickHandler(event:MouseEvent):void
            {

               ...

                baa_data_svc.serviceControl.               // Code hints don't show "autoCommit", but I can manually type it in (but it will error at run time)

    <fx:Declarations>

        <valueObjects:BAA_SBJ id="bAA_SBJ"/>

        <baa_data_svc:Baa_data_svc
            id="baa_data_svc"
            fault="Alert.show(event.fault.faultString + '\n' + event.fault.faultDetail)"
            showBusyCursor="true"/>

        <s:CallResponder id="getSBJsResult"/>

"Enabled Data Managment" is set up on the BAA_SBJ data type.