Re: [dabo-users] Re : Reference biz objects from ui

Author: Nate Lowrie

Posted: 2007-02-28 at 18:42:33

On 2/28/07, Paul McNett <p@ulmcnett.com> wrote:

> Nate Lowrie wrote:

> > On 2/28/07, johnf <jfabiani@yolo.com> wrote:

> >> On Wednesday 28 February 2007 10:54, johnf wrote:

> >>>> I am now also wondering, if I've started from the wrong place. I used

> >>>> the AppWizard to generate the code as a base for my application, and am

> >>>> now trying to modify the generated code to handle foreign keys etc.

> >>>>

> >>>> Given your comments about the ClassDesigner not being able to 'edit'

> >>>> classes generated by the AppWizard, I am wondering if I am really

> >>>> starting from the wrong place.

> >>>> Should I rather be building my classes from scratch.

> >> IMHO I would drop AppWizard. It was designed as simple way to demo Dabo and

> >> provide a search,browse, and edit function based on a single table.

> >

> > I would agree. It's far easier to do it manually.

> >

> >> Take a look at a recent screencast on www.dabodev.com. They demo how easy it

> >> is to create a form that allows similar functions as AppWizard. But more

> >> importantly you can edit code directly. For example the screencast show you

> >> how to include a link table.

> >>

> >> After working with the ClassDesigner you will move on to creating your own

> >> classes.

> >

> > Or just drop the ClassDesigner to code apps by hand :)

>

> I just have to add my 2 cents to the mix. The ClassDesigner isn't ready

> for production use, because it is still in flux and bugs are found and

> fixed all the time.

>

> While the generated output from the AppWizard is indeed simple, and only

> really deals with single tables and gives you only a simple CRUD design,

> it does give you a skeleton structure to build from, that IMO is pretty

> well designed.

>

> If you are going to code by hand, consider starting with a generated

> AppWizard app and build from there. I've done this with 2 commercial

> apps and a handful of internal apps so far, and I really believe that it

> scales.

I think that I would do that just for the db and biz connections code

and chuck the UI portion. That is, assuming I ever actually do get

around to fiddling with the db and biz tiers....Maybe by then we will

just have a connections app.

>

> --

> pkm ~ http://paulmcnett.com

>

>

©2007 Nate Lowrie