Results: How Are You Structuring Your Apps? 

Voters
56 You may not vote on this poll

  • Ad-Hoc Page-Pased (adduser.cfm, listusers.cfm, etc.)
    33  58.93%
  • MVC/Framework (Fusebox, Model-Glue, Mach-II)
    15  26.79%
  • MVC + Tiered Model (service layer, business objects, data layer, etc.)
    10.71%
  • MVC + IOC Container / ORM (ColdSpring, Reactor, etc.)
    3.57%
Page 2 of 2 First 12
  • Jump to page:
    #16
  1. No Profile Picture
    Moderator

    Join Date
    Jun 2002
    Location
    Raleigh, NC
    Posts
    5,265
    Rep Power
    968
    Actually the latest version of cfcgenerator includes creation of the ColdSpring XML file needed to handle all the dependency resolution. Have you had a look at that?
  2. #17
  3. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Sep 2005
    Posts
    339
    Rep Power
    47
    This goes along the lines with the sticky above. Unfortunately, things are not very well-thought here at work. Templates are somewhat organized but not intuitive enough.

    I would like to pick a framework and start creating things in an mvc environment.


    I just installed ColdSpring - Model Glue. When I run one of the samples "Rich Widgets", I was horrified when I saw the amount of templates in the ColdFusion debug and noticed a 3735 ~ 5600 ms of load time. This is currently running on localhost. Why so much overhead?

    Another sample application: form-validation
    Code:
    Event Handlers
    
    The above form form is submitted to an "action event" that handles the form submission named "form.validate":
    
    <cfform action="#event.linkTo("form.validate")#">
    
    The "form.validate" event does a few things. Here's its XML:
    
    <event-handler name="form.validate">
    	<broadcasts>
    		<message name="needFormValidation" />
    	</broadcasts>
    	<results>
    			<result name="validationErrors" do="page.index" />
    			<result name="success" do="form.submitted" redirect="true" />
    	</results>
    </event-handler>
    Way tooo slow.

    I have worked with Fusebox 3 a long time ago and haven't had a chance to use another framework. Any insight will be appreciated.
    ColdFusion Ninja 4 Hire!
  4. #18
  5. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Feb 2009
    Posts
    7
    Rep Power
    0

    Coldbox


    I use Coldbox MVC. But any mvc framework is a good idea to me.
  6. #19
  7. Put a potato on it!
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jul 2008
    Location
    Maryland
    Posts
    304
    Rep Power
    971
    We're using Mach II and as someone that's not only new to the applications that are already in place but also ColdFusion, troubleshooting and even understanding the workflow is really difficult. I love MVC, but one drawback is that it really makes it difficult for a new person to come on and work on a project that uses it. Maybe that's just my bias because I'm learning the language and the system as I go.
    "Those who can make you believe absurdities can make you commit atrocities."
  8. #20
  9. No Profile Picture
    Moderator

    Join Date
    Jun 2002
    Location
    Raleigh, NC
    Posts
    5,265
    Rep Power
    968
    Mach-II is probably the most "Java-like" of all the CF MVC frameworks. Personally, I would say learn the language and features first and THEN add in things like MVC frameworks, IoC (ColdSpring), etc. Trying to do both at the same time will be difficult.
  10. #21
  11. Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Nov 2001
    Location
    Maryland
    Posts
    74
    Rep Power
    13
    I am currently using fusebox 5.5 [no xml] for my apps. I find it makes dealing with "oh, thats cool can you make it do....." alot easier.

    I have recently started to dabble in Frame Work 1 but am having a tough time getting things to work properly. Riaforge, the wiki, and the api, end up confusing me every time i read them [5x so far]
    J. Birdsell,
Page 2 of 2 First 12
  • Jump to page:

IMN logo majestic logo threadwatch logo seochat tools logo