![]() |
| Problems with CF framework |
|
ronyf
|
Hi All,
I am just wondering how many of you are using a CF framework for your applications. I am using Model Glue / Cold spring and Reactor and I am noticing slow page loads and long reloads times. I was wondering if others experience this as well. |
||||||||||||
|
|
|||||||||||||
|
Jason101
Forum Regular
|
We don't use frameworks anymore. We feel they bring unneeded overhead to our apps. If you code correctly, you really shouldn't need a framework. We had an e-commerce app written in with fuebox, we rewrote the app to remove fusebox, and we see a HUGE improvement in load times.
But everyone has their preference |
||||||||||||
|
|
|||||||||||||
|
ronyf
|
I see where you are coming from Jason101.
I have thought about not using frameworks. But i feel they bring a more structured way of coding and also enables me to worry about the business logic and NOT the repetitive coding tasks whenever i have develop an application. Did you host your e-commerce app on a shared hosting account or did you have your own server ? |
||||||||||||
|
|
|||||||||||||
|
Jason101
Forum Regular
|
Our apps are on our dedicated server. Much more stability and code security. Yes, frameworks may bring a more structured way of coding pre CF MX days, but now that CF is/can be object orientedv ia the use of CFC's you can still make them well structured without the use of a framework. Our apps are composed entirely of CFC's. All business logic is contained within the CFC's and all display functionality (HTML, CSS, etc) are contained within the CFM files. We have our own set of "business rules" internally on how our applications are coded. With the use of CFC's, there are no repetitive coding tasks as long as you code correctly. I've always disliked fusebox, and frankly don't like when I have to dive in to an application that we have taken over that is in fusebox. I just feel like I get lost in a jungle of endless includes and endless switch statements. But again, personal preference. |
||||||||||||||
|
|
|||||||||||||||
|
emmet
|
Make sure you turn model-glue debugging off. thats usually the first culprit for slowness in an MG app.
In the coldspring.xml you should have...
Don't forget to init. |
||||||||||||||
|
|
|||||||||||||||
| Problems with CF framework |
|
||
|


