Re: CFC, YES OR NO
On Wednesday 06 Feb 2008, Rick Root wrote: the use of CFCs doesn't necessarily have anything to do with object oriented design. Lots of CFCs are just groupings of functions to perform application tasks. This is poor design, though a good toe hold, and we should be encouraging good design. -- Tom Chiverton Helping to globally monetize cutting-edge ROI on: http://thefalken.livejournal.com This email is sent for and on behalf of Halliwells LLP. Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at Halliwells LLP, 3 Hardman Square, Spinningfields, Manchester, M3 3EB. A list of members is available for inspection at the registered office. Any reference to a partner in relation to Halliwells LLP means a member of Halliwells LLP. Regulated by The Solicitors Regulation Authority. CONFIDENTIALITY This email is intended only for the use of the addressee named above and may be confidential or legally privileged. If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents. If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 2500. For more information about Halliwells LLP visit www.halliwells.com. ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:298421 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: CFC, YES OR NO
On Wednesday 06 Feb 2008, Russ wrote: CFC's can be cached in the application scope, so you don't have to include the file every time, plus it should run at least slightly faster. You can put raw cffunction's in the various scopes, and do it that way. -- Tom Chiverton Helping to challengingly introduce essential market-growth on: http://thefalken.livejournal.com This email is sent for and on behalf of Halliwells LLP. Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at Halliwells LLP, 3 Hardman Square, Spinningfields, Manchester, M3 3EB. A list of members is available for inspection at the registered office. Any reference to a partner in relation to Halliwells LLP means a member of Halliwells LLP. Regulated by The Solicitors Regulation Authority. CONFIDENTIALITY This email is intended only for the use of the addressee named above and may be confidential or legally privileged. If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents. If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 2500. For more information about Halliwells LLP visit www.halliwells.com. ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:298422 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: CFC, YES OR NO
the use of CFCs doesn't necessarily have anything to do with object oriented design. Lots of CFCs are just groupings of functions to perform application tasks Every time I hear that I get a little twitch going on in my neck (ala the prison gauard in the Life of Brian). A group of functions in a component is still OO. An object does not have to have state. Conversely, an object does not have to have methods and can simply be a set of public fields (for example a representation of a garden gnome - it doesn't do anything but it has state). However, I would bet that in many cases these stateless objects could be given state to be more useable and reusable. For example, lets say we had a component that was a group of functions that returned queries from the database - perhaps they are all queries about garden gnomes. Having no state, the datasource properties could either be hard coded into each cfquery (eek), retrieved from the request/application/session scopes (even more eek), passed to each method as an argument (fine but a bit hard work). By introducing state to the object however, you can set the datasource the first time you get an instance of the component and then never have to worry about it again (unless you are using multiple datasources which I imagine would be rare in such a situation). The component is then self contained and as such is more reusable. Anyways, I think it is all about understanding. The more you can understand, the more use you can get. Why buy a super dooper fast computer and refuse to learn anything but how to check your email? Just having a basic understanding of OO for ColdFusion is going to save a lot of confusion in learning about CFCs and I believe will actually make learning them faster. Dominic -- Blog it up: http://fusion.dominicwatson.co.uk ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:298429 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: CFC, YES OR NO
Even in that rare situation, multiple instances can be created easily, each with the appropriate datasource, all with no modification in the CFC code. Even this tiny use of state vastly improves the portability of the code. OO doesn't have to be all or nothing. On Feb 7, 2008 10:04 PM, Dominic Watson [EMAIL PROTECTED] wrote: By introducing state to the object however, you can set the datasource the first time you get an instance of the component and then never have to worry about it again (unless you are using multiple datasources which I imagine would be rare in such a situation). The component is then self contained and as such is more reusable. -- mxAjax / CFAjax docs and other useful articles: http://www.bifrost.com.au/blog/ ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:298512 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
CFC, YES OR NO
Hi: I am using CF for while now but I have no other programing background. I used Lynda.com video tutorials to learn CF and some other online tutorials like EasyCFM.com. Several days efore I recieved two new CF8 tutorials from Lynda.com(Lynda.com ColdFusion 8 Essential Training | Lynda.com ColdFusion 8 Beyond the Basics) but I got confused completely! David Gassner the tutor has a complete plan to talks about many corners of CF but he starts using CFCs very soon at the middle of the first tutorial. He mentions you can never use CFCs and make all the application using simple CF tags but knowing CFCs helps you make it more reusable and manageable. I found CFCs VERY confusing for myself. I tried to learn it but I didn't get it completely. Maybe because I have no programing background with other languages other than HTML. What do you think? Should I learn it? Does it gradually become the core of CF programing to use CFCs? Please write me your opinions, knowledge and experiences about the subject. Thanks Benign ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:298324 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: CFC, YES OR NO
On Wednesday 06 Feb 2008, Ali wrote: Maybe because I have no programing background with other languages other than HTML. Ahh. What do you think? I think you need a course on basic object orientated design principles e.g. classes, methods, encapsulation, abstraction, inheritance etc. Should I learn it? I'd say yes. Other people swear by doing everything with cfinclude :-) Does it gradually become the core of CF programing to use CFCs? For projects of any sort of scale, yes. -- Tom Chiverton Helping to vitalistically enhance bricks-and-clicks models on: http://thefalken.livejournal.com This email is sent for and on behalf of Halliwells LLP. Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at Halliwells LLP, 3 Hardman Square, Spinningfields, Manchester, M3 3EB. A list of members is available for inspection at the registered office. Any reference to a partner in relation to Halliwells LLP means a member of Halliwells LLP. Regulated by The Solicitors Regulation Authority. CONFIDENTIALITY This email is intended only for the use of the addressee named above and may be confidential or legally privileged. If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents. If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 2500. For more information about Halliwells LLP visit www.halliwells.com. ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:298325 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: CFC, YES OR NO
Ali, Definitely stick with it, for more complicated web applications CFC's really do become essential. You can of course build large applications without the use of CFC's as we all did before components came about but it tends to get messy (thats not saying cfc's automatically make things tidy God knows I have seen some pretty messy applications using CFC's). CFC's aren't all that complicated when you think about it. You can think of cfc's as simply collections of functions grouped in a file by subject. For example a user.cfc would contain all the functions that would work with users (insert, update, delete, select etc). I would definitely recommend taking a basic programming course or getting a book on programming from your local library. -- Gary Gilbert http://www.garyrgilbert.com/blog ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:298326 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: CFC, YES OR NO
Hi, The answer is a definite yes, you need to learn how to use CFCs. In fact, just as in David Gassner's tutorials, in my own ColdFusion books I introduce CFCs very early, and make them very usable and without adding complexity. You are probably going to get quite a few responses to this message, and many may suggest that you adopt full blown frameworks and learn some object oriented basics. And while there is validity to those suggestions, you may want to start much simpler than that. If, initially, you do nothing more than tier your app so that all database access is via centralized CFC methods, and never in .cfm files directly, that alone will be a major step in the right direction. -- Ben -Original Message- From: Ali [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 06, 2008 10:38 AM To: CF-Talk Subject: CFC, YES OR NO Hi: I am using CF for while now but I have no other programing background. I used Lynda.com video tutorials to learn CF and some other online tutorials like EasyCFM.com. Several days efore I recieved two new CF8 tutorials from Lynda.com(Lynda.com ColdFusion 8 Essential Training | Lynda.com ColdFusion 8 Beyond the Basics) but I got confused completely! David Gassner the tutor has a complete plan to talks about many corners of CF but he starts using CFCs very soon at the middle of the first tutorial. He mentions you can never use CFCs and make all the application using simple CF tags but knowing CFCs helps you make it more reusable and manageable. I found CFCs VERY confusing for myself. I tried to learn it but I didn't get it completely. Maybe because I have no programing background with other languages other than HTML. What do you think? Should I learn it? Does it gradually become the core of CF programing to use CFCs? Please write me your opinions, knowledge and experiences about the subject. Thanks Benign ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:298328 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: CFC, YES OR NO
Here is a language agnostic tutorial: http://homepages.north.londonmet.ac.uk/~chalkp/proj/ootutor/index.html Having a closer look at that tutorial I think there will certainly be a better one out there! Apologies Dominic -- Blog it up: http://fusion.dominicwatson.co.uk ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:298330 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: CFC, YES OR NO
Benign I'm sure everyone on this list will say yes to learning oop right away. Well, almost everyone. I'll point you instead to productivityenhancement.com where you can download a framework called PLUM. Plum is a framework that uses the best of what coldfusion was designed to be...a quick, easy to learn, scripting language that makes extensive use of custom tags. Download plum, work through the tutorials you'll be building scalable, robust applications in half the development time as the more seasoned oop developers do. Plum makes extensive use of CFC's, but it also has a few dozen custom tags that make development much faster and easier to learn and creates a natural procedural/oop hybrid framework. Not only will you be up and running much faster, but as you delve into the framework's code, you'll learn, by osmosis, best practices for coldfusion development. When you are ready to learn oop, start with an oop language (oop + coldfusion is a bit of a hack), like AS 3.0 or java or .net/c#. Mark -Original Message- From: Ali [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 06, 2008 10:38 AM To: CF-Talk Subject: CFC, YES OR NO Hi: I am using CF for while now but I have no other programing background. I used Lynda.com video tutorials to learn CF and some other online tutorials like EasyCFM.com. Several days efore I recieved two new CF8 tutorials from Lynda.com(Lynda.com ColdFusion 8 Essential Training | Lynda.com ColdFusion 8 Beyond the Basics) but I got confused completely! David Gassner the tutor has a complete plan to talks about many corners of CF but he starts using CFCs very soon at the middle of the first tutorial. He mentions you can never use CFCs and make all the application using simple CF tags but knowing CFCs helps you make it more reusable and manageable. I found CFCs VERY confusing for myself. I tried to learn it but I didn't get it completely. Maybe because I have no programing background with other languages other than HTML. What do you think? Should I learn it? Does it gradually become the core of CF programing to use CFCs? Please write me your opinions, knowledge and experiences about the subject. Thanks Benign ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:298331 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: CFC, YES OR NO
You can think of cfc's as simply collections of functions grouped in a file by subject. That's certainly a good starting point but I think getting to grips with the concepts of OOP (object oriented programming) before even looking at CFCs is perhaps going to give you a better start. I think once you get a hint of what OO is about, you will suddenly get an urge to start using CFCs in an OO way (if you're as much a geek as I anyhow). Learn OO on paper, then go back to the CFC tutorials. Here is a language agnostic tutorial: http://homepages.north.londonmet.ac.uk/~chalkp/proj/ootutor/index.html There are probably better one's though so have a look around. It is worth noting, that CFCs are not neccessarily OO, but can absolutely be used as such. CFCs can be thought of as 'Classes' or 'Objects' in OO terms. HTH, happy reading Dominic -- Blog it up: http://fusion.dominicwatson.co.uk ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:298329 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: CFC, YES OR NO
Just to add another voice to the chatter knowing CFCs helps you make it more reusable and manageable This is definitely one benefit of using CFCs. Arguably you can do this without components, but when combined with other tools available to the ColdFusion community, CFCs become the best way of achieving code reuse. I found CFCs VERY confusing for myself. You're not alone. Everyone who first delves into the concept of object oriented programming has some level of confusion because you have to change the way you think about your code. But, like everyone else, once you study up on it for a while, you'll start to see how much time and effort it can save you. What do you think? Should I learn it? I'll say whole-heartedly yes. Most advanced developers (in any language) that you talk to these days incorporate some level of OOP in their applications. It's good for your career as a developer! :) Does it gradually become the core of CF programing to use CFCs? In most cases, I would say yes. Beyond simple brochure-ware web sites and very simplistic applications, CFCs will eventually become an integral part of how you develop applications. Good luck. - Steve Brownlee -Original Message- From: Ali [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 06, 2008 9:38 AM To: CF-Talk Subject: CFC, YES OR NO Hi: I am using CF for while now but I have no other programing background. I used Lynda.com video tutorials to learn CF and some other online tutorials like EasyCFM.com. Several days efore I recieved two new CF8 tutorials from Lynda.com(Lynda.com ColdFusion 8 Essential Training | Lynda.com ColdFusion 8 Beyond the Basics) but I got confused completely! David Gassner the tutor has a complete plan to talks about many corners of CF but he starts using CFCs very soon at the middle of the first tutorial. He mentions you can never use CFCs and make all the application using simple CF tags but knowing CFCs helps you make it more reusable and manageable. I found CFCs VERY confusing for myself. I tried to learn it but I didn't get it completely. Maybe because I have no programing background with other languages other than HTML. What do you think? Should I learn it? Does it gradually become the core of CF programing to use CFCs? Please write me your opinions, knowledge and experiences about the subject. Thanks Benign ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:298338 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: CFC, YES OR NO
On Feb 6, 2008 7:26 PM, Ben Forta [EMAIL PROTECTED] wrote: Hi, The answer is a definite yes, you need to learn how to use CFCs. In fact, just as in David Gassner's tutorials, in my own ColdFusion books I introduce CFCs very early, and make them very usable and without adding complexity. You are probably going to get quite a few responses to this message, and many may suggest that you adopt full blown frameworks and learn some object oriented basics. And while there is validity to those suggestions, you may want to start much simpler than that. If, initially, you do nothing more than tier your app so that all database access is via centralized CFC methods, and never in .cfm files directly, that alone will be a major step in the right direction. -- Ben Thanks Ben for the reply. I took your advice and working to use CFCs for specific uses like Login or my DB connections. Still very confusing for me especially because your new book CFWACK 8 is not available in my area yet and the only book I could buy from the older series is Advanced Macromedia ColdFusion MX 7 Application Development which is much higher than my programing languages understanding level. As you said some kind repliers suggested some frameworks and mostly suggested I use CFC. But What I really need to know is: Does these frameworks make things easier or just more complicated. I'm working on a small-medium sized application and I hope I can use some CFCs there but a framework if it makes everything even working with CFCs easier would a huge help. Do you have any suggestions? Thanks in advance Ben Ali ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:298339 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: CFC, YES OR NO
I personally think then don't delve into CFCs and OO at the sametime. Nothing says CFCs need to be done in an OO fashion. In the long run though OO is a good thing for any developer to learn. Seems like most books that teach CF do not jump straight into CFCs and OO at the same time although maybe I am dating myself in how long it has been since I thumbed through a CF book. On Feb 6, 2008 10:59 AM, Steve Brownlee [EMAIL PROTECTED] wrote: You're not alone. Everyone who first delves into the concept of object oriented programming has some level of confusion because you have to change the way you think about your code. But, like everyone else, once you study up on it for a while, you'll start to see how much time and effort it can save you. ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:298341 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: CFC, YES OR NO
Does these frameworks make things easier or just more complicated. I'm working on a small-medium sized application and I hope I can use some CFCs there but a framework if it makes everything even working with CFCs easier would a huge help. Do you have any suggestions? Thanks in advance Ben Ali If you are confident that you can do the project using methods you currently use, I would say stick with what you know unless you have heaps of time. To start using an 'MVC' framework for example with no experience of CFC's is going to add the confusion I think. I like your idea of using a couple of CFCs in the application to get used to how they work, etc. While doing that, I would find a good book or tutorial on OO concepts, to be reading and getting you excited (?!) as you go and, because you'll be working on a handful of componts, you will easily be able to change them as you learn. It's worth noting here too that OO is nothing even close to new (in computer tech terms) - it has been around practically my whole life time (27 years). Just knowing about it will let you begin to see how things work at a deeper level (CF is after all built on an OO language). You can get a pretty good overview of OO in a couple of hours reading thinking and I really do think that having even the most marginal knowledge is going to save you a whole load of confusion and time while learning about CFCs and programming in general. It will be time well spent :) Once you know about these things then yes, frameworks that revolve around CFCs can make life a good deal easier; more maintainable, re-usable, error free applications, etc. etc, etc. HTH Dominic -- Blog it up: http://fusion.dominicwatson.co.uk ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:298351 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: CFC, YES OR NO
On Feb 6, 2008 7:58 PM, Mark Fuqua [EMAIL PROTECTED] wrote: Benign I'm sure everyone on this list will say yes to learning oop right away. Well, almost everyone. I'll point you instead to productivityenhancement.com where you can download a framework called PLUM. Plum is a framework that uses the best of what coldfusion was designed to be...a quick, easy to learn, scripting language that makes extensive use of custom tags. Download plum, work through the tutorials you'll be building scalable, robust applications in half the development time as the more seasoned oop developers do. Plum makes extensive use of CFC's, but it also has a few dozen custom tags that make development much faster and easier to learn and creates a natural procedural/oop hybrid framework. Not only will you be up and running much faster, but as you delve into the framework's code, you'll learn, by osmosis, best practices for coldfusion development. When you are ready to learn oop, start with an oop language (oop + coldfusion is a bit of a hack), like AS 3.0 or java or .net/c#. Mark -Original Message- From: Ali [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 06, 2008 10:38 AM To: CF-Talk Subject: CFC, YES OR NO Hi: As a matter of fact I saw your suggestion and it looked very nice. Did you ever use the framework yourself? Is it easy to learn? Is it easy to make applications with PLUM? Thanks Ali ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:298353 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: CFC, YES OR NO
If you are confident that you can do the project using methods you currently use, I would say stick with what you know unless you have heaps of time. To start using an 'MVC' framework for example with no experience of CFC's is going to add the confusion I think. I like your idea of using a couple of CFCs in the application to get used to how they work, etc. While doing that, I would find a good book or tutorial on OO concepts, to be reading and getting you excited (?!) as you go and, because you'll be working on a handful of componts, you will easily be able to change them as you learn. It's worth noting here too that OO is nothing even close to new (in computer tech terms) - it has been around practically my whole life time (27 years). Just knowing about it will let you begin to see how things work at a deeper level (CF is after all built on an OO language). You can get a pretty good overview of OO in a couple of hours reading thinking and I really do think that having even the most marginal knowledge is going to save you a whole load of confusion and time while learning about CFCs and programming in general. It will be time well spent :) Once you know about these things then yes, frameworks that revolve around CFCs can make life a good deal easier; more maintainable, re-usable, error free applications, etc. etc, etc. HTH Dominic -- Blog it up: http://fusion.dominicwatson.co.uk Hi: I searched Amazon.com and it seems there is a book named: OOP Demystified? Do you recommend it as a book to introduce myself to OO world?? Thanks Ali ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:298357 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: CFC, YES OR NO
I've not read it but reading the reviews it seems just about perfect. Doesn't look like it dummies anything which is important. Remember to ignore the language specific stuff (java, C++, etc), maybe this is obvious but it's the kind of thing I do all the time, i.e. read bits that I don't need to that send my brain going gaga thinking about too much at once! Dominic -- Blog it up: http://fusion.dominicwatson.co.uk ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:298364 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: CFC, YES OR NO
Where do I start Nothing personal, in fact Plum looks pretty slick, but... 1) Filling out Wizards will not teach you how to ColdFusion or any other language. Quite honestly if that is your approach you would be better off using DreamWeaver (DW) from Adobe or Downloading or Visual Web Developer Express from Microsoft and delving into some of their online tutorials. 2) Learning to program buy using a framework and filling out wizards will teach you how to use the framework/wizards and not the language ifself. Learning ROR does not teach you Ruby any more than Using DW's GUI builder teach you html or CSS. To start I recommend: http://learncf.com/ http://www.cfoop.org/ Those are just my opinions. On Feb 6, 2008 11:28 AM, Mark Fuqua [EMAIL PROTECTED] wrote: Benign I'm sure everyone on this list will say yes to learning oop right away. Well, almost everyone. I'll point you instead to productivityenhancement.com where you can download a framework called PLUM. Plum is a framework that uses the best of what coldfusion was designed to be...a quick, easy to learn, scripting language that makes extensive use of custom tags. Download plum, work through the tutorials you'll be building scalable, robust applications in half the development time as the more seasoned oop developers do. Plum makes extensive use of CFC's, but it also has a few dozen custom tags that make development much faster and easier to learn and creates a natural procedural/oop hybrid framework. Not only will you be up and running much faster, but as you delve into the framework's code, you'll learn, by osmosis, best practices for coldfusion development. When you are ready to learn oop, start with an oop language (oop + coldfusion is a bit of a hack), like AS 3.0 or java or .net/c#. Mark -Original Message- From: Ali [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 06, 2008 10:38 AM To: CF-Talk Subject: CFC, YES OR NO Hi: I am using CF for while now but I have no other programing background. I used Lynda.com video tutorials to learn CF and some other online tutorials like EasyCFM.com. Several days efore I recieved two new CF8 tutorials from Lynda.com(Lynda.com ColdFusion 8 Essential Training | Lynda.com ColdFusion 8 Beyond the Basics) but I got confused completely! David Gassner the tutor has a complete plan to talks about many corners of CF but he starts using CFCs very soon at the middle of the first tutorial. He mentions you can never use CFCs and make all the application using simple CF tags but knowing CFCs helps you make it more reusable and manageable. I found CFCs VERY confusing for myself. I tried to learn it but I didn't get it completely. Maybe because I have no programing background with other languages other than HTML. What do you think? Should I learn it? Does it gradually become the core of CF programing to use CFCs? Please write me your opinions, knowledge and experiences about the subject. Thanks Benign ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:298367 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: CFC, YES OR NO
Yes, Plum is easy to learn, although I think most Plum users are much more advanced than I am, so it is worth noting that it can grow with you as your skills grow. The documentation/tutorials are quite complete through the beginning levels and you can probably work through the tutorials in an afternoon. The rest you can pick up on your own. You can use the whole framework and all that it offers or you can use it just for the application framework/security/css management and code all your pages in the traditional manner. I do both within the same applications. I have a hard time understanding why PLUM was not better received with in the coldfusion community as a whole. I understand it is not oop or certainly not pure mvc...I understand it was written by titans within the coldfusion community that didn't get along with other titans within the coldfusion community...I get that the Plum IDE (it is not really an ide, it's a crud generator) is built in .net, which rubs many the wrong way... but it really is a fantastic bit of work... Mark -Original Message- From: Ali [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 06, 2008 1:47 PM To: CF-Talk Subject: Re: CFC, YES OR NO On Feb 6, 2008 7:58 PM, Mark Fuqua [EMAIL PROTECTED] wrote: Benign I'm sure everyone on this list will say yes to learning oop right away. Well, almost everyone. I'll point you instead to productivityenhancement.com where you can download a framework called PLUM. Plum is a framework that uses the best of what coldfusion was designed to be...a quick, easy to learn, scripting language that makes extensive use of custom tags. Download plum, work through the tutorials you'll be building scalable, robust applications in half the development time as the more seasoned oop developers do. Plum makes extensive use of CFC's, but it also has a few dozen custom tags that make development much faster and easier to learn and creates a natural procedural/oop hybrid framework. Not only will you be up and running much faster, but as you delve into the framework's code, you'll learn, by osmosis, best practices for coldfusion development. When you are ready to learn oop, start with an oop language (oop + coldfusion is a bit of a hack), like AS 3.0 or java or .net/c#. Mark -Original Message- From: Ali [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 06, 2008 10:38 AM To: CF-Talk Subject: CFC, YES OR NO Hi: As a matter of fact I saw your suggestion and it looked very nice. Did you ever use the framework yourself? Is it easy to learn? Is it easy to make applications with PLUM? Thanks Ali ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:298370 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: CFC, YES OR NO
On 2/6/08, Tom Chiverton [EMAIL PROTECTED] wrote: I think you need a course on basic object orientated design principles e.g. classes, methods, encapsulation, abstraction, inheritance etc. I don't agree with that at all. the use of CFCs doesn't necessarily have anything to do with object oriented design. Lots of CFCs are just groupings of functions to perform application tasks. But they're not really object oriented at all, they're functional. imageCFC for example is just an image manipulation CFC. It's purely functional, and not object oriented in nature at all. The java stuff underneath is object oriented, but the imageCFC itself is not. Should I learn it? I'd say yes. I *WOULD* agree with this. Even if you're not using CFCs for object oriented design, they're awfully handy. Does it gradually become the core of CF programing to use CFCs? For me, yes. In fact, when building a CF application, the first thing I do is write a CFC. Not true. I buid my SQL database first. At least, I write a SQL script with the tables and fields I need. Then I start writing the CFC. Then I write the presentatin stuff in the CFM files. -- Rick Root New Brian Vander Ark Album, songs in the music player and cool behind the scenes video at www.myspace.com/brianvanderark ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:298386 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: CFC, YES OR NO
I've got two ongoing How-to series on my site that may help you. The first covers many basics of CFCs and OOP with ColdFusion: http://www.iknowkungfoo.com/blog/index.cfm/2007/8/22/Object-Oriented-Coldfusion--1--Intro-to-Objectcfc The second covers Mach-II, one of the major ColdFusion frameworks, and how to adapt to it from a procedural coding background: http://www.iknowkungfoo.com/blog/index.cfm/2007/2/12/Moving-from-Procedural-to-Object-Oriented-Programming-with-MachII-for-Coldfusion HTH, Adrian Hi: I am using CF for while now but I have no other programing background. I used Lynda.com video tutorials to learn CF and some other online tutorials like EasyCFM.com. Several days efore I recieved two new CF8 tutorials from Lynda.com(Lynda.com ColdFusion 8 Essential Training | Lynda.com ColdFusion 8 Beyond the Basics) but I got confused completely! David Gassner the tutor has a complete plan to talks about many corners of CF but he starts using CFCs very soon at the middle of the first tutorial. He mentions you can never use CFCs and make all the application using simple CF tags but knowing CFCs helps you make it more reusable and manageable. I found CFCs VERY confusing for myself. I tried to learn it but I didn't get it completely. Maybe because I have no programing background with other languages other than HTML. What do you think? Should I learn it? Does it gradually become the core of CF programing to use CFCs? Please write me your opinions, knowledge and experiences about the subject. Thanks Benign ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:298389 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: CFC, YES OR NO
On Feb 6, 2008 12:24 PM, Rick Root [EMAIL PROTECTED] wrote: I don't agree with that at all. the use of CFCs doesn't necessarily have anything to do with object oriented design. Lots of CFCs are just groupings of functions to perform application tasks. But they're not really object oriented at all, they're functional. just 'cuz i think this could be an interesting convo... then why use CFCs at all? if you're just grouping similar functions together, why not just a cfinclude to a .cfm? paul kenney actually addressed this a lil' while back: http://www.pjk.us/paul/index.cfm/2007/4/11/Why-do-you-use-CFCs interesting read :) -- Evelyn the dog, having undergone further modification pondered the significance of short-person behaviour in pedal depressed, pan-chromatic resonance, and other highly ambient domains. Arf, she said. ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:298391 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: CFC, YES OR NO
On Feb 6, 2008 11:54 PM, Adrian Moreno [EMAIL PROTECTED] wrote: I've got two ongoing How-to series on my site that may help you. The first covers many basics of CFCs and OOP with ColdFusion: http://www.iknowkungfoo.com/blog/index.cfm/2007/8/22/Object-Oriented-Coldfusion--1--Intro-to-Objectcfc The second covers Mach-II, one of the major ColdFusion frameworks, and how to adapt to it from a procedural coding background: http://www.iknowkungfoo.com/blog/index.cfm/2007/2/12/Moving-from-Procedural-to-Object-Oriented-Programming-with-MachII-for-Coldfusion HTH, Adrian Thanks. Great tutorial ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:298392 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: CFC, YES OR NO
I have a hard time understanding why PLUM was not better received with in the coldfusion community as a whole. I understand it is not oop or certainly not pure mvc...I understand it was written by titans within the coldfusion community that didn't get along with other titans within the coldfusion community...I get that the Plum IDE (it is not really an ide, it's a crud generator) is built in .net, which rubs many the wrong way... but it really is a fantastic bit of work... The onTap framework also has some similarities to PLUM, although it lacks any code generation and I have yet to write anything in dot-net. It's agnostic about whether or not you use OOP or for that matter even MVC (much like Fusebox in that respect) although imo it does provide a good ready-made structure for MVC-style separation of concerns. In my own apps, my business model is 100% CFC's -- the framework acts as controller and there are includes for the view, which makes it practically little different from the more popular OO-style frameworks like Mach-II or Model-Glue. There are however a lot of semantic differences, perhaps chief among them being an emphasis on the notion of Convention over Configuration, which is a good part of how Ruby on Rails has become so popular. Yet as a philosophy for taking the tedium out of daily programming tasks and freeing up time to focus on key integration points where the application's behavior needs to deviate from the norm, somehow CoC just seems not to create much interest in the ColdFusion community. I remember watching one of the demo videos for RoR where the guy who recorded it kept repeating the phrase look at all the things I'm *not* doing, to emphasize the fact that all the time you would normally spend configuring, etc. can be diverted to working on other tasks. At the time I had actually linked to that demo side by side with my own demo doing something very similar on the home page of the framework domain. There's a lot of stuff in RoR that I disagree with, like they automate the order of input elements in forms based on the order of the columns in the database metadata, which imo is taking CoC too far, and they have a scope called flash (and yes, it causes confusion) which exists only from the beginning of the current request to the end of the following request, which imo is asking for problems related to refresh / concurrency, etc. I also disagreed with some of the philosophy behind PLUM (no disrespect intended). To me it doesn't make a lot of sense either. Though I will say that I've had this one particular experience a few times where someone will download the onTap framework core, open the QuickStart or the Getting Started section of the documentation and then email me saying this link in the Hello World example is broken. Or some other link in another example, but Hello World in particular if they're going through them sequentially. Which either means that they hadn't read the tutorial before sending the email or didn't understand the instructions when they said create this file - THEN - view the following URL. The intention of the link is to show the relationship between the file and the URL, in the same way that a FuseBox tutorial might offer a URL and then explain how to configure the circuit fuse configuration files to make that URL work. I.e. for the fuseaction messaging.sendmessage, the messaging circuit and the sendmessage fuse are declared in different places and so it's important to understand the relationship between them. And it seems from my perspective that people are often willing to spend many hours struggling to learn the ins and outs of best-practices with more traditional OO-style frameworks like Mach-II and ModelGlue but that they often give up after the first 5 minutes with something like the onTap framework (not just onTap, but others also) which are structurally different as a result of different philosophies about development like CoC. So the only thing that really sticks out in my mind as being a likely answer for why PLUM (or onTap or a number of other frameworks) which might all be very effective frameworks seem to get very little attention in the community is that they're different. I think that one thing, irrespective of the relative strengths or weaknesses of the framework, may be the single biggest thing holding other frameworks back. That people either have a difficult time wrapping their heads around the approach simply because they've learned to expect a traditional OO-style approach (with minor variations, i.e. Mach-II vs. ModelGlue) or that they just don't have as much interest in alternative approaches. If that's true, then I'd imagine it might be similar in the Ruby world for example, that while RoR gets a lot of press, it would be difficult to generate much interest in something like Mach-II, irrespective of how well written it is, for no reason other than that peole in the Ruby world have learned to expect a CoC
Re: CFC, YES OR NO
just 'cuz i think this could be an interesting convo... then why use CFCs at all? if you're just grouping similar functions together, why not just a cfinclude to a .cfm? One good reason is you can cache the CFC in the Application scope (as long as it is a singleton), so it's always in RAM thus the performance is better, and then you can do Application.mycfc.mymethod() which is handy. -- Josh ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:298393 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: CFC, YES OR NO
Oh ... also speaking of people having a difficult time wrapping their heads around something... I've never, not *once* since I implemented specific support for CFCs in the framework, written an application that wasn't 100% object-oriented in the model layer. And yet somehow, it seems merely because the framework lacks XML configuration files, even though they have ZERO to do with OO, simply because it's a common part of the OO-style of development, I have yet to see anyone other than myself write an article, etc. that referenced the onTap framework without saying very specifically it's not Object-Oriented. Which is unfortunate, because I'm sure it's turned a lot of people away from even trying the framework, simply because of this other person's misconstruance that if there aren't XML config files, it must not be OO. They read the article and think oh it's procedural, why bother. The point being that, as I was saying before, they seem to have a difficult time wrapping their head around it merely because it's not the approach they expect. -- s. isaac dealey ^ new epoch isn't it time for a change? ph: 503.236.3691 http://onTap.riaforge.org/blog ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:298398 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: CFC, YES OR NO
The real issue I would have is that, as far as I can tell, the framework isn't actively maintained. Does anyone know if there is ongoing development on the Plum framework and tools? Even if there is, I'd recommend looking at one of the more mainstream frameworks like Model-Glue, Fusebox, Coldbox, or Mach-II. You might as well make it a marketable skill if you're going to take the time to learn a framework. No disrespect to Adam and David who clearly put a lot of work into Plum, but I don't think it was ever adopted by wide audience. On Feb 6, 2008 2:18 PM, Gerald Guido [EMAIL PROTECTED] wrote: Where do I start Nothing personal, in fact Plum looks pretty slick, but... 1) Filling out Wizards will not teach you how to ColdFusion or any other language. Quite honestly if that is your approach you would be better off using DreamWeaver (DW) from Adobe or Downloading or Visual Web Developer Express from Microsoft and delving into some of their online tutorials. 2) Learning to program buy using a framework and filling out wizards will teach you how to use the framework/wizards and not the language ifself. Learning ROR does not teach you Ruby any more than Using DW's GUI builder teach you html or CSS. To start I recommend: http://learncf.com/ http://www.cfoop.org/ Those are just my opinions. On Feb 6, 2008 11:28 AM, Mark Fuqua [EMAIL PROTECTED] wrote: Benign I'm sure everyone on this list will say yes to learning oop right away. Well, almost everyone. I'll point you instead to productivityenhancement.com where you can download a framework called PLUM. Plum is a framework that uses the best of what coldfusion was designed to be...a quick, easy to learn, scripting language that makes extensive use of custom tags. Download plum, work through the tutorials you'll be building scalable, robust applications in half the development time as the more seasoned oop developers do. Plum makes extensive use of CFC's, but it also has a few dozen custom tags that make development much faster and easier to learn and creates a natural procedural/oop hybrid framework. Not only will you be up and running much faster, but as you delve into the framework's code, you'll learn, by osmosis, best practices for coldfusion development. When you are ready to learn oop, start with an oop language (oop + coldfusion is a bit of a hack), like AS 3.0 or java or .net/c#. Mark -Original Message- From: Ali [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 06, 2008 10:38 AM To: CF-Talk Subject: CFC, YES OR NO Hi: I am using CF for while now but I have no other programing background. I used Lynda.com video tutorials to learn CF and some other online tutorials like EasyCFM.com. Several days efore I recieved two new CF8 tutorials from Lynda.com(Lynda.com ColdFusion 8 Essential Training | Lynda.comColdFusion 8 Beyond the Basics) but I got confused completely! David Gassner the tutor has a complete plan to talks about many corners of CF but he starts using CFCs very soon at the middle of the first tutorial. He mentions you can never use CFCs and make all the application using simple CF tags but knowing CFCs helps you make it more reusable and manageable. I found CFCs VERY confusing for myself. I tried to learn it but I didn't get it completely. Maybe because I have no programing background with other languages other than HTML. What do you think? Should I learn it? Does it gradually become the core of CF programing to use CFCs? Please write me your opinions, knowledge and experiences about the subject. Thanks Benign ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:298394 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: CFC, YES OR NO
CFC's can be cached in the application scope, so you don't have to include the file every time, plus it should run at least slightly faster. Russ -Original Message- From: Charlie Griefer [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 06, 2008 3:50 PM To: CF-Talk Subject: Re: CFC, YES OR NO On Feb 6, 2008 12:24 PM, Rick Root [EMAIL PROTECTED] wrote: I don't agree with that at all. the use of CFCs doesn't necessarily have anything to do with object oriented design. Lots of CFCs are just groupings of functions to perform application tasks. But they're not really object oriented at all, they're functional. just 'cuz i think this could be an interesting convo... then why use CFCs at all? if you're just grouping similar functions together, why not just a cfinclude to a .cfm? paul kenney actually addressed this a lil' while back: http://www.pjk.us/paul/index.cfm/2007/4/11/Why-do-you-use-CFCs interesting read :) -- Evelyn the dog, having undergone further modification pondered the significance of short-person behaviour in pedal depressed, pan-chromatic resonance, and other highly ambient domains. Arf, she said. ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:298399 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: CFC, YES OR NO
Because it becomes a mess when doing includes? Also how would people handle arguments via includes? The few attempts I have seen relied on people setting variables before the include and that got messy very quickly. I'd do custom tags before includes but I use CFCs and would not say that most of my CFC implementations are OO at all. On Feb 6, 2008 2:49 PM, Charlie Griefer [EMAIL PROTECTED] wrote: On Feb 6, 2008 12:24 PM, Rick Root [EMAIL PROTECTED] wrote: I don't agree with that at all. the use of CFCs doesn't necessarily have anything to do with object oriented design. Lots of CFCs are just groupings of functions to perform application tasks. But they're not really object oriented at all, they're functional. just 'cuz i think this could be an interesting convo... then why use CFCs at all? if you're just grouping similar functions together, why not just a cfinclude to a .cfm? paul kenney actually addressed this a lil' while back: http://www.pjk.us/paul/index.cfm/2007/4/11/Why-do-you-use-CFCs interesting read :) -- Evelyn the dog, having undergone further modification pondered the significance of short-person behaviour in pedal depressed, pan-chromatic resonance, and other highly ambient domains. Arf, she said. ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:298407 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4