On 3/16/06, Paul Johnston <suppressed> wrote:
> Just wondering if there is a "best practice" document, or suggestions on
> best practice for creating a cgiapp application.
>
> I have built several apps now, but all have been slightly different in
> approach and ended up being quite different on completion.
>
> Anyone care to share? I have looked through the Framework app, but
> would like to know if there are others.
I tend to group like actions together and have several different URLs
within one "application". This is what I would term the "subsystem"
approach. Using this method, I very rarely have more than 5-6 runmodes
in any given C::A subclass and never more than 10.
I generally have a C::A subclass that every app uses, then a child of
that for the specific app. Then, each subsystem inherits from that.
I'm just now getting into the plugins, so I can't speak to that. I'm
re-evaluating what I need to write based on the plugins. (For example,
I used to have my own redirect methods in my base C::A subclass.)
Does that help?
Rob
---------------------------------------------------------------------
Web Archive: http://www.mail-archive.com/suppressed/
http://marc.theaimsgroup.com/?l=cgiapp&r=1&w=2
To unsubscribe, e-mail: suppressed
For additional commands, e-mail: suppressed
Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.