RE: [flexcoders] CF/Flex Wizard for CRUD CFCs - any tutorials out there?

2007-03-23 Thread Piotrowski, John
Squidhead works well for building the CFC's automatically.

 

http://squidhead.riaforge.org/

 

It introspects the DB and creates all your CFC to do single record
manipulation and also creates CFC's for any procedures you create.

 

john

 

** 

 John R. Piotrowski 

 Programmer Analyst 

 Wharton Computing 

 Email: [EMAIL PROTECTED]

**

 



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of shawn.gibson
Sent: Friday, March 23, 2007 10:50 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] CF/Flex Wizard for CRUD CFCs - any tutorials out
there?

 

Hi Guys, I'm using the CF/Flex Wizard at this stage to build my 
database queries, and while it does a great job, if you massage it a 
bit, it still has a major problem in that it, if you are running 
multiple queries, and something goes wrong with one, you have to 
redo the entire Wizard, and I've had problems moving locations, with 
errors thereafter generated in the .as areas of the generated files.

The best answer seems to be a decent understanding of the CRUD CFC 
wizard, but the Adobe documentation, for all it's positive values, 
just doesn't have anything on using the CRUD wizard...nothing that 
goes from point A to point Z and shows you how to build a simple 
CRUD-Wizard-driven app in Flex. As in, create the CRUD CFC, use this 
code in your flex app, make a table with these attributes, point 
this to that...tag this TextArea or DataGrid with this data 
provider, use this method in a button when you click it to fire the 
whole thing off...that sort of thing. Of course I mean only at a 
simple level for all 4 actions (read, write, edit, delete).

Does anyone know of such an offering anywhere? I've looked as much 
as I can, not found anything yet.

If I can find a simple version that works front-to-back, I can learn 
the more advanced stuff from there, but trying to learn it all from 
scratch is always a very hard thing for me...

Shawn

 



Re: [flexcoders] CF/Flex Wizard for CRUD CFCs - any tutorials out there?

2007-03-23 Thread Cutter (Flex Related)
Shawn,

I did a review of the RDS Plugins not long after FB was released. While 
it is a handy tool to get you 85%-90% of the way, it is limited in that 
it doesn't handle on the fly changes to db architecture, requiring you 
to re-run the wizard. Some people place their independent logic, 
additional queries, etc. in separate CFCs, extending those created by 
the wizard. In doing this you keep all of your code whenever you re-run 
the wizard. Others don't use the wizards at all, but will use an ORM 
framework, like Reactor, that will automatically rebuild objects on the 
fly whenever the architecture has changed (within development mode), in 
conjunction with ColdSpring's AOP capabilities for generating remote 
facade components for the remoting calls.

Steve Cutter Blades
Adobe Certified Professional
Advanced Macromedia ColdFusion MX 7 Developer
_
http://blog.cutterscrossing.com

shawn.gibson wrote:
 
 
 Hi Guys, I'm using the CF/Flex Wizard at this stage to build my
 database queries, and while it does a great job, if you massage it a
 bit, it still has a major problem in that it, if you are running
 multiple queries, and something goes wrong with one, you have to
 redo the entire Wizard, and I've had problems moving locations, with
 errors thereafter generated in the .as areas of the generated files.
 
 The best answer seems to be a decent understanding of the CRUD CFC
 wizard, but the Adobe documentation, for all it's positive values,
 just doesn't have anything on using the CRUD wizard...nothing that
 goes from point A to point Z and shows you how to build a simple
 CRUD-Wizard-driven app in Flex. As in, create the CRUD CFC, use this
 code in your flex app, make a table with these attributes, point
 this to that...tag this TextArea or DataGrid with this data
 provider, use this method in a button when you click it to fire the
 whole thing off...that sort of thing. Of course I mean only at a
 simple level for all 4 actions (read, write, edit, delete).
 
 Does anyone know of such an offering anywhere? I've looked as much
 as I can, not found anything yet.
 
 If I can find a simple version that works front-to-back, I can learn
 the more advanced stuff from there, but trying to learn it all from
 scratch is always a very hard thing for me...
 
 Shawn