"I am working on my first mach II application and have been using the machii_info sample as my main reference - It appears that he has a base model cfc for each table in his database - are each of those base cfcs "
These base cfc, bean, or what have you do not have to necessarily represent a table, they represent an object so to speak. Consider a person CFC where each person has multiple phone numbers. You would store the person data in table person, but the multiple phone numbers would be in a phonenums table, eh? Yet in the person cfc you would store the multiple phone numbers in say an array, maybe even an array of phonenumber cfcs. Doug On Fri, 12 Nov 2004 15:13:27 -0800, Phil Cruz <[EMAIL PROTECTED]> wrote: > Kirk, > > No apologies required, I think these questions are appropriate for > this list. Yes, the base cfcs in the mach-ii.info app are beans. I > think you could refer to those components as models, sometimes they > are called "business components". > > The only thing I would add is just continue to do what you are doing > by reading up as much as you can and try to implement things. Don't > worry if what you do initially isn't 100% correct in terms of OO. > Learning OO and Mach-II is definitely an iterative process. Good > luck. > > -Phil > > On Fri, 12 Nov 2004 13:42:30 -0900, Kirk Brogdon > > > <[EMAIL PROTECTED]> wrote: > > I apologize if I am posting in the wrong place - if there is a newbie list > > someplace, please direct me to it. > > > > I am very new to OO thinking (and cfcs for that matter) but am pretty > > determined to get a good understanding and go forward with it. I subscribed > > to this list a few days ago and it has really been helpful - I have spent > > the last month reading (and re-reading) through everything I can find on > > mach-ii.com as well as Sean Corfield's and Hal Helm's sites and have a > > gotten a good basic understanding of MVC and how the mach-ii.xml works (I > > was pretty ecstatic when I was able to get a view to render from an event > > for the first time). > > > > I am working on my first mach II application and have been using the > > machii_info sample as my main reference - It appears that he has a base > > model cfc for each table in his database - are each of those base cfcs > > (faq.cfc, comment.cfc, category.cfc and user.cfc) constructed as beans? I > > installed the bean creator extension in DW that someone noted on this list > > (thank you very much) and will use that to build my base components if this > > is the case - I just wanted to make sure I was on the right track. Also, > > would these base components be considered "models" for each table or is my > > terminology way off? I guess I should probably quit thinking of them as > > tables and start thinking of them as objects. > > > > Any comments or direction is appreciated - my ears are starting to bleed > > again . . . > > > > Thanks, > > > > Kirk > > > ---------------------------------------------------------- > You are subscribed to cfcdev. To unsubscribe, send an email > to [EMAIL PROTECTED] with the words 'unsubscribe cfcdev' > in the message of the email. > > CFCDev is run by CFCZone (www.cfczone.org) and supported > by Mindtool, Corporation (www.mindtool.com). > > An archive of the CFCDev list is available at > [EMAIL PROTECTED] > -- Douglas Knudsen http://www.cubicleman.com this is my signature, like it? ---------------------------------------------------------- You are subscribed to cfcdev. To unsubscribe, send an email to [EMAIL PROTECTED] with the words 'unsubscribe cfcdev' in the message of the email. CFCDev is run by CFCZone (www.cfczone.org) and supported by Mindtool, Corporation (www.mindtool.com). An archive of the CFCDev list is available at [EMAIL PROTECTED]
