Ask a Question related to Coldfusion - Getting Started, Design and Development.
-
mikeap #1
Best Practices?
I've been an ASP developer for ... swhoo, too long and so I'm used to doing
everything all in one page (the form, validation and then processing).
In CF, what's the best practice. Should I do everything in one page or should
I use individual pages?
mikeap Guest
-
Best practices in LINUX?
I have CFMX 7.02 running on ubuntu. It is running as the default user, NOBODY, and I'm experiencing alot of security headaches. I need access to... -
application.cfc best practices
I'm trying to migrate code in my application.cfm page to a application.cfc file. I tried applying my cfapplication tag code to the... -
Best practices
Hello All, I am working on an application involving the interoperability between J2EE and .NET. One of my requirements is to send an XML document... -
ASP Classic Best Practices
Hi all, i am an ASP developer with 1,5+ years experience. After sneaking around the ASP Classic world for a bit i became a bit dissatisfied of my... -
Some PHP best practices
I'm starting a new project, and I was wondering what is considered best practise in the following cases: * Connecting to multiple databases... -
Dan Bracuk #2
Re: Best Practices?
It doesn't matter. I'm an individual page type of guy myself.
Dan Bracuk Guest
-
Andley Jandley #3
Re: Best Practices?
>>In CF, what's the best practice. Should I do everything in one page or should
I use individual pages?
Depends, very small apps (simple feedback form and the like) just whack it all
one page if you like. But usually it?s best to break stuff up using different
templates (pages) that can potentially be reused. In larger apps it may be
worth using a more Model 2 like approach and have cfc?s handle business logic
and db persistence and your pages handle presentation only ? frameworks like
mach ii can help with this.
I don?t believe there are any real ?Best Practices? as such, just common sense
applied to each situation. I have seen Model 2 applied in situations where it
has caused more harm than good, for example (as in overkill solving nothing,
yet introducing harder to debug and longer to craft code)
Andley Jandley Guest
-
redevolve #4
Re: Best Practices?
Originally posted by: Andley Jandley
should I use individual pages?>>In CF, what's the best practice. Should I do everything in one page or
Depends, very small apps (simple feedback form and the like) just whack it all
one page if you like. But usually it?s best to break stuff up using different
templates (pages) that can potentially be reused. In larger apps it may be
worth using a more Model 2 like approach and have cfc?s handle business logic
and db persistence and your pages handle presentation only ? frameworks like
mach ii can help with this.
I don?t believe there are any real ?Best Practices? as such, just common sense
applied to each situation. I have seen Model 2 applied in situations where it
has caused more harm than good, for example (as in overkill solving nothing,
yet introducing harder to debug and longer to craft code)
Yes. For very large applications, I usually seperate them so that each module
can be reuse anywhere else.
redevolve Guest



Reply With Quote

