RE: [cfaussie] Re: Frameworks and MVC
Steve, I think you are confused; you can have multiple entries or actions to a file. I am not sure how you came to the conclusion that there was one file for every action from the presentation, because that is certainly not the case. -Original Message- From: cfaussie@googlegroups.com [mailto:cfaus...@googlegroups.com] On Behalf Of Steve Onnis Sent: Thursday, 3 June 2010 11:51 AM To: cfaussie@googlegroups.com Subject: RE: [cfaussie] Re: Frameworks and MVC Sure laying on a bed of nails is uncomfortable at first but if you do it enough times you get used to that too :) Doesn't mean you should do it though does it. The issue for me is that the framework expects action=foler.file as it was explained during our presentation. I don't want to have a file for every action. I want to be able to have a single file as the entry point, a proper index.cfm file that actually does something and then from there be able to handle my own calls to a controller that does what I need it to do. I don't like the way the view part of these MVC frameworks function. You can have scalability and easy to manage code without that level of complexity...i believe anyway but again this is not meant to be a frameworks war threadi was just asking the question of what else was out there. I guess the answer is there isn't anything -- You received this message because you are subscribed to the Google Groups cfaussie group. To post to this group, send email to cfaus...@googlegroups.com. To unsubscribe from this group, send email to cfaussie+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/cfaussie?hl=en.
[cfaussie] Re: Frameworks and MVC
Pretty much what Sean said. simplest way is to have a file for every page and a cfc handle the logic in a function for requests. Not sure why ur against the MVC folder structure though. yeah its a bit hard at the start with so many files , but this is what makes the project scalable and easy to manage. surely u wouldnt give away all these advantages just coz it takes a bit of effort to get used to the general use and structure. Shakti -- You received this message because you are subscribed to the Google Groups cfaussie group. To post to this group, send email to cfaus...@googlegroups.com. To unsubscribe from this group, send email to cfaussie+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/cfaussie?hl=en.
Re: [cfaussie] Re: Frameworks and MVC
On Thu, Jun 3, 2010 at 11:51, Steve Onnis st...@cfcentral.com.au wrote: The issue for me is that the framework expects action=foler.file as it was explained during our presentation. I don't want to have a file for every action. I want to be able to have a single file as the entry point, a proper Have you considered url rewriting? Chris -- Chris Velevitch Manager - Adobe Platform Users Group, Sydney m: 0415 469 095 www.apugs.org.au Adobe Platform Users Group, Sydney June 2010: TBD Date: 28th June 6pm for 6:30 start Details and RSVP to follow -- You received this message because you are subscribed to the Google Groups cfaussie group. To post to this group, send email to cfaus...@googlegroups.com. To unsubscribe from this group, send email to cfaussie+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/cfaussie?hl=en.
RE: [cfaussie] Re: Frameworks and MVC
I don’t want the view folder structure. I want to actually use the index.cfm file instead of it being empty so I can handle the view part in my own way. This is why I am asking the question. The url rewritting comes later. I will do some examples so you know what I mean -Original Message- From: Chris Velevitch [mailto:chris.velevi...@gmail.com] Sent: Thursday, 3 June 2010 12:07 PM To: cfaussie@googlegroups.com Subject: Re: [cfaussie] Re: Frameworks and MVC On Thu, Jun 3, 2010 at 11:51, Steve Onnis st...@cfcentral.com.au wrote: The issue for me is that the framework expects action=foler.file as it was explained during our presentation. I don't want to have a file for every action. I want to be able to have a single file as the entry point, a proper Have you considered url rewriting? Chris -- Chris Velevitch Manager - Adobe Platform Users Group, Sydney m: 0415 469 095 www.apugs.org.au Adobe Platform Users Group, Sydney June 2010: TBD Date: 28th June 6pm for 6:30 start Details and RSVP to follow -- You received this message because you are subscribed to the Google Groups cfaussie group. To post to this group, send email to cfaus...@googlegroups.com. To unsubscribe from this group, send email to cfaussie+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/cfaussie?hl=en. -- You received this message because you are subscribed to the Google Groups cfaussie group. To post to this group, send email to cfaus...@googlegroups.com. To unsubscribe from this group, send email to cfaussie+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/cfaussie?hl=en.
Re: [cfaussie] Re: Frameworks and MVC
did you take a look at these? http://mickydionisio.blogspot.com/2010/02/coldfusion-commons-project-released.html http://quicksilver.riaforge.org/ On 3 June 2010 09:51, Steve Onnis st...@cfcentral.com.au wrote: Sure laying on a bed of nails is uncomfortable at first but if you do it enough times you get used to that too :) Doesn't mean you should do it though does it. The issue for me is that the framework expects action=foler.file as it was explained during our presentation. I don't want to have a file for every action. I want to be able to have a single file as the entry point, a proper index.cfm file that actually does something and then from there be able to handle my own calls to a controller that does what I need it to do. I don't like the way the view part of these MVC frameworks function. You can have scalability and easy to manage code without that level of complexity...i believe anyway but again this is not meant to be a frameworks war threadi was just asking the question of what else was out there. I guess the answer is there isn't anything -Original Message- From: goldcoast_nerd [mailto:shakti_...@hotmail.com] Sent: Thursday, 3 June 2010 11:36 AM To: cfaussie Subject: [cfaussie] Re: Frameworks and MVC Pretty much what Sean said. simplest way is to have a file for every page and a cfc handle the logic in a function for requests. Not sure why ur against the MVC folder structure though. yeah its a bit hard at the start with so many files , but this is what makes the project scalable and easy to manage. surely u wouldnt give away all these advantages just coz it takes a bit of effort to get used to the general use and structure. Shakti -- You received this message because you are subscribed to the Google Groups cfaussie group. To post to this group, send email to cfaus...@googlegroups.com. To unsubscribe from this group, send email to cfaussie+unsubscr...@googlegroups.comcfaussie%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/cfaussie?hl=en. -- You received this message because you are subscribed to the Google Groups cfaussie group. To post to this group, send email to cfaus...@googlegroups.com. To unsubscribe from this group, send email to cfaussie+unsubscr...@googlegroups.comcfaussie%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/cfaussie?hl=en. -- AJ Mercer http://webonix.net http://twitter.com/webonix -- You received this message because you are subscribed to the Google Groups cfaussie group. To post to this group, send email to cfaus...@googlegroups.com. To unsubscribe from this group, send email to cfaussie+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/cfaussie?hl=en.
Re: [cfaussie] Re: Frameworks and MVC
On Wed, Jun 2, 2010 at 6:51 PM, Steve Onnis st...@cfcentral.com.au wrote: I want to be able to have a single file as the entry point, a proper index.cfm file that actually does something and then from there be able to handle my own calls to a controller that does what I need it to do. Well, that's the very definition of no-framework then. There are no frameworks you will like. They all take control of the basic flow - that's kind of the point of frameworks. All of the frameworks out there - from Fusebox to ColdBox and everything in between - take the 'action' (or fuseaction or event) in the URL and take control away from your index.cfm and route it through either conventions or configuration to code that the framework invokes and then the framework selects which files to display to build the view (sometimes with hints from the developer thru API calls). Frameworks aren't for everyone. Developers that want to keep total control over the flow of their application and tend to every detail of how their code works just don't like frameworks. Other developers value the standardization that frameworks bring and understand that a lot of the plumbing and boilerplate code is a waste of their expensive time and they prefer to focus on the interesting parts of building an application using an approach that other developers can easily pick up - particularly where that approach is a publicly documented one and you can find other developers who already know the approach. -- Sean A Corfield -- (904) 302-SEAN Railo Technologies, Inc. -- http://getrailo.com/ An Architect's View -- http://corfield.org/ If you're not annoying somebody, you're not really alive. -- Margaret Atwood -- You received this message because you are subscribed to the Google Groups cfaussie group. To post to this group, send email to cfaus...@googlegroups.com. To unsubscribe from this group, send email to cfaussie+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/cfaussie?hl=en.