Reply to topic
Problems with CF framework
ronyf


Joined: 10 May 2008
Posts: 3
Reply with quote
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

Joined: 14 Mar 2006
Posts: 534
Location: Harrisburg, PA
Reply with quote
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 Very Happy
ronyf


Joined: 10 May 2008
Posts: 3
Reply with quote
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

Joined: 14 Mar 2006
Posts: 534
Location: Harrisburg, PA
Reply with quote
ronyf wrote:
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 ?


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. Cool
emmet


Joined: 16 Nov 2004
Posts: 27
Reply with quote
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...

Code:
<property name="reload"><value>false</value></property>
<property name="debug"><value>false</value></property>

<bean class="reactor.config.config" id="reactorConfiguration">
    ...
    <property name="mode"><value>production</value></property>
</bean>


Don't forget to init.
Problems with CF framework
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT  
Page 1 of 1  

  
  
 Reply to topic