Re: The best CFC book is...

2006-01-17 Thread Brian Kotek
Glad you found it useful Mike. I should note though that even that code was
written a year or two ago and I would do a a couple of things differently if
I wrote it today. Nothing too major though. One of these days I'll take some
time to update it. Maybe knowing that folks are still looking at it will
make me find that time.

On 1/15/06, Michael Soultanian [EMAIL PROTECTED] wrote:

 Hey Casey,
 Here's a good example:

 http://tinyurl.com/3mrec

 I learned quite a bit from the way that he set up his CFCs
 in his sample bookstore app.  Yeah, it's fusebox, but the
 concepts would carry over to script based programming as
 well.

 Mike
 On Sun, 15 Jan 2006 20:22:52 -0500



~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:229814
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: The best CFC book is...

2006-01-17 Thread Casey Dougall
Maybe knowing that folks are still looking at it will
 make me find that time.

I don't like that one since it's got the word fusebox in it but,
Brian I did start reading through your Polymorphism with ColdFusion
Components on builder.com I like that one.

That one is great, just an FYI my Cat eats Zebra for afternoon snacks. ;-)

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:229826
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: The best CFC book is...

2006-01-17 Thread Brian Kotek
Casey, I built it as an example of using both Fusebox 4.1 and using CFCs.
The CFC portion of the application is completely independent of the fact
that the UI controller layer is using Fusebox. In other words, the same CFCs
could be used in a Mach-II or Model-Glue frameworks (or no framework at all)
with very little modification.

On 1/17/06, Casey Dougall [EMAIL PROTECTED] wrote:

 Maybe knowing that folks are still looking at it will
  make me find that time.

 I don't like that one since it's got the word fusebox in it but,
 Brian I did start reading through your Polymorphism with ColdFusion
 Components on builder.com I like that one.

 That one is great, just an FYI my Cat eats Zebra for afternoon snacks. ;-)

 

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:229837
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: The best CFC book is...

2006-01-16 Thread Sean Corfield
On 1/15/06, Casey Dougall [EMAIL PROTECTED] wrote:
 I want to find something with some real nitty gritty, down and dirty
 examples of how to use CFC's. Just one solid example that shows how a
 CFC can be used with display, update, delete  add functionality. It

Well, the generally accepted best practice is that CFCs should *not*
output anything... In MVC - Model View Controller - the Model is
typically all CFCs, the View is typically all CFML pages and the
Controller is a variety of technologies (depending on what framework,
if any, you are using).

 must grab information from a database and the CFC's must invoke other
 CFC's in the process. For dessert maybe show 3 examples envoking the
 CFC to display the information on multiple platforms. cfml, flash,
 webservice

A CFC that provides Flash Remoting / Web Service access simply
declares methods with access=remote and there are plenty of examples
of that on macromedia.com in the ColdFusion and Flash/Flash Remoting
Developer Centers.

There are also several intro to CFC articles on the Developer Center
that would really help you.

The Fusebox bookstore app is a good example of using CFCs for the model.

You might also want to download my Frameworks presentation and the
accompanying code. See the Software pod on the right hand side of my
blog.
--
Sean A Corfield -- http://corfield.org/
Got frameworks?

If you're not annoying somebody, you're not really alive.
-- Margaret Atwood

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:229710
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: The best CFC book is...

2006-01-16 Thread Ian Skinner
Well, the generally accepted best practice is that CFCs should *not* output 
anything...

WHY???  

I understand why one would not want to mix display functionality with other 
layers of logic, and I am trying to learn how to separate my coding along these 
lines.  But nobody has explained to me why it is inherently bad to do display 
in a CFC as long as that is the purpose of that CFC.  Is there something wrong 
with creating a display CFC for ones view layer?

--
Ian Skinner
Web Programmer
BloodSource
www.BloodSource.org
Sacramento, CA
 
C code. C code run. Run code run. Please!
- Cynthia Dunning



~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:229712
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: The best CFC book is...

2006-01-16 Thread Aaron Rouse
I have used them from time to time as containers of displayed code.  Seen
a few people use them for displaying information as well, only example that
comes to mind for that is someone showed a datagrid CFC awhile back at our
CFUG.

On 1/16/06, Ian Skinner [EMAIL PROTECTED] wrote:

 Well, the generally accepted best practice is that CFCs should *not*
 output anything...

 WHY???

 I understand why one would not want to mix display functionality with
 other layers of logic, and I am trying to learn how to separate my coding
 along these lines.  But nobody has explained to me why it is inherently
 bad to do display in a CFC as long as that is the purpose of that CFC.  Is
 there something wrong with creating a display CFC for ones view layer?

 --
 Ian Skinner
 Web Programmer
 BloodSource
 www.BloodSource.org
 Sacramento, CA

 C code. C code run. Run code run. Please!
 - Cynthia Dunning



 

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:229718
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: The best CFC book is...

2006-01-16 Thread Mike Soultanian
 From what I've read, it can obviously be done, but it's just bad form. 
  MVC doesn't have to be adhered to either, but it does make your life 
easier in code reusability and maintainability.

mike

Ian Skinner wrote:
 Well, the generally accepted best practice is that CFCs should *not* 
 output anything...
 
 WHY???  
 
 I understand why one would not want to mix display functionality with other 
 layers of logic, and I am trying to learn how to separate my coding along 
 these lines.  But nobody has explained to me why it is inherently bad to do 
 display in a CFC as long as that is the purpose of that CFC.  Is there 
 something wrong with creating a display CFC for ones view layer?
 
 --
 Ian Skinner
 Web Programmer
 BloodSource
 www.BloodSource.org
 Sacramento, CA
  
 C code. C code run. Run code run. Please!
 - Cynthia Dunning
 
 
 
 

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:229722
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: The best CFC book is...

2006-01-16 Thread Ian Skinner
From what I've read, it can obviously be done, but it's just bad form. 
  MVC doesn't have to be adhered to either, but it does make your life 
easier in code reusability and maintainability.

Mike

So, why is it bad form?  Assuming you are not mixing your layers, why is it 
bad to create a view CFC that does nothing but display?  What is it about 
using a CFC for the display that would break a MVC model?


--
Ian Skinner
Web Programmer
BloodSource
www.BloodSource.org
Sacramento, CA
 
C code. C code run. Run code run. Please!
- Cynthia Dunning



~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:229723
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: The best CFC book is...

2006-01-16 Thread Mike Soultanian
Hey Ian,
Good point.. you got me there.  I'm guessing it probably has something 
to do with OO practices and that objects are for data and logic and then 
something else displays the information.

On the flip side, they do provide a mechanism for passing variables in 
that could be displayed... yeah, I'm not sure about why not.

A quick search on google came up with this:

http://mkruger.cfwebtools.com/index.cfm/2005/12/20/cfc.debug

I'm trying to find the CFDJ article they mentioned..

Mike

Ian Skinner wrote:
 From what I've read, it can obviously be done, but it's just bad form. 
   MVC doesn't have to be adhered to either, but it does make your life 
 easier in code reusability and maintainability.
 
 Mike
 
 So, why is it bad form?  Assuming you are not mixing your layers, why is it 
 bad to create a view CFC that does nothing but display?  What is it about 
 using a CFC for the display that would break a MVC model?
 
 
 --
 Ian Skinner
 Web Programmer
 BloodSource
 www.BloodSource.org
 Sacramento, CA
  
 C code. C code run. Run code run. Please!
 - Cynthia Dunning
 
 
 
 

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:229724
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: The best CFC book is...

2006-01-16 Thread Claude Schneegans
 Well, the generally accepted best practice is that CFCs should 
*not* output anything...

 WHY???

Ah ah, a matter of religion matter again ;-)
Some day, most likely a saturday at 8 AM, some MVC witness will ring at 
your door and explain everything to you ;-))

-- 
___
REUSE CODE! Use custom tags;
See http://www.contentbox.com/claude/customtags/tagstore.cfm
(Please send any spam to this address: [EMAIL PROTECTED])
Thanks.


~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:229726
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: The best CFC book is...

2006-01-16 Thread Mike Soultanian
found it:

http://coldfusion.sys-con.com/read/154231.htm

i'm gonna read it now and see what it says..

Mike Soultanian wrote:
 Hey Ian,
 Good point.. you got me there.  I'm guessing it probably has something 
 to do with OO practices and that objects are for data and logic and then 
 something else displays the information.
 
 On the flip side, they do provide a mechanism for passing variables in 
 that could be displayed... yeah, I'm not sure about why not.
 
 A quick search on google came up with this:
 
 http://mkruger.cfwebtools.com/index.cfm/2005/12/20/cfc.debug
 
 I'm trying to find the CFDJ article they mentioned..
 
 Mike
 
 Ian Skinner wrote:
 From what I've read, it can obviously be done, but it's just bad form. 
   MVC doesn't have to be adhered to either, but it does make your life 
 easier in code reusability and maintainability.

 Mike

 So, why is it bad form?  Assuming you are not mixing your layers, why is it 
 bad to create a view CFC that does nothing but display?  What is it 
 about using a CFC for the display that would break a MVC model?


 --
 Ian Skinner
 Web Programmer
 BloodSource
 www.BloodSource.org
 Sacramento, CA
  
 C code. C code run. Run code run. Please!
 - Cynthia Dunning




 
 

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:229728
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: The best CFC book is...

2006-01-16 Thread Claude Schneegans
 Good point.. you got me there.  I'm guessing it probably has something
to do with OO practices and that objects are for data and logic and then
something else displays the information.

That only proves one thing : may be OO is not good for ColdFusion ;-))

-- 
___
REUSE CODE! Use custom tags;
See http://www.contentbox.com/claude/customtags/tagstore.cfm
(Please send any spam to this address: [EMAIL PROTECTED])
Thanks.


~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:229729
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: The best CFC book is...

2006-01-16 Thread Zaphod Beeblebrox
This is one of those situations where I think people are making CF too
Java-esque.  Obviously the thought from Macromedia was that they would
output stuff otherwise, I wouldn't have to put Output=false on every
frickin function I write.

MVC doesn't rely on the underlying language, so I don't think you'd be
breaking any kind of MVC rule.  Afterall, there were ways of doing MVC
before CFC's came out.

I liken it to the discussion about interfaces in CF.  Now more people
are beginning to realize that you don't need them.  CF has a different
way of dealing with it and they realize the strength of that way now.

So, my thoughts are if you can figure out a way to use CFC's to output
parts of your app and it makes it easier to create/maintain/extend, go
for it.  It's people that push the boundaries that come up with
innovative solutions.


On 1/16/06, Mike Soultanian [EMAIL PROTECTED] wrote:
  From what I've read, it can obviously be done, but it's just bad form.
   MVC doesn't have to be adhered to either, but it does make your life
 easier in code reusability and maintainability.

 mike

 Ian Skinner wrote:
  Well, the generally accepted best practice is that CFCs should *not* 
  output anything...
 
  WHY???
 
  I understand why one would not want to mix display functionality with other 
  layers of logic, and I am trying to learn how to separate my coding along 
  these lines.  But nobody has explained to me why it is inherently bad to 
  do display in a CFC as long as that is the purpose of that CFC.  Is there 
  something wrong with creating a display CFC for ones view layer?
 
  --
  Ian Skinner
  Web Programmer
  BloodSource
  www.BloodSource.org
  Sacramento, CA
 
  C code. C code run. Run code run. Please!
  - Cynthia Dunning
 
 
 
 

 

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:229730
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: The best CFC book is...

2006-01-16 Thread Ian Skinner
Good point.. you got me there.  I'm guessing it probably has something to do 
with OO practices and that objects are for data and logic and then something 
else displays the information.


But wouldn't that say then, an OO language, like say JAVA, uses something other 
then an object for the view/display layer of an MVC application?

I would say CFC may provide a bit of awkwardness to a CF MVC type application, 
but just being a CFC does not preclude them from being used as a display object.

--
Ian Skinner
Web Programmer
BloodSource
www.BloodSource.org
Sacramento, CA
 
C code. C code run. Run code run. Please!
- Cynthia Dunning



~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:229731
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: The best CFC book is...

2006-01-16 Thread Mike Soultanian
After some more thought, I could see them coming in handy if I were 
building a script-based, traditional setup.  However, I am a recent 
fusebox addict (which is amazing, btw) and therefore there isn't much 
need for me to make an additional CFC to handle output.  The concept of 
fuses is that they're simple and easily editable so adding unnecessary 
complexity wouldn't really help me out much.  Plus, then I'm worrying 
about relative paths to other files and what-not.  I kinda like how 
things are broken up into individual items as it helps me see the 
overall picture of what I'm working on and certain display fuses are 
grouped together and keep things organized and manageable (which can be 
done with multiple CFCs I suppose).  To that end, there's no reason for 
*me* to use a CFC, but I'm sure someone could find a valid reason to use 
them for display purposes.  But I think if I were using a script-based 
setup, I might consider using CFCs for display purposes to help 
compartmentalize everything.

Ultimately, I'm not a cf pro by any means, but I always like these kinds 
of conversations because it kinda forces you to think outside the box 
and challenge ideas where people say you do it just because. 
Sometimes it's good to go by those standards just because someone else 
found the pitfalls that you haven't hit yet, but sometimes many people 
just fall into line because they didn't want to rethink the whole 
process, which is just as valid of a reason as well...

Mike

Ian Skinner wrote:
 Well, the generally accepted best practice is that CFCs should *not* 
 output anything...
 
 WHY???  
 
 I understand why one would not want to mix display functionality with other 
 layers of logic, and I am trying to learn how to separate my coding along 
 these lines.  But nobody has explained to me why it is inherently bad to do 
 display in a CFC as long as that is the purpose of that CFC.  Is there 
 something wrong with creating a display CFC for ones view layer?
 
 --
 Ian Skinner
 Web Programmer
 BloodSource
 www.BloodSource.org
 Sacramento, CA
  
 C code. C code run. Run code run. Please!
 - Cynthia Dunning
 
 
 
 

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:229732
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: The best CFC book is...

2006-01-16 Thread Sean Corfield
On 1/16/06, Ian Skinner [EMAIL PROTECTED] wrote:
 So, why is it bad form?  Assuming you are not mixing your layers, why is it 
 bad to create a view CFC that does nothing but display?  What is it about 
 using a CFC for the display that would break a MVC model?

If you use a plain ol' CFML page it's going to have very little (CF)
markup in it and it will display nicely in various HTML editors and be
easy for a variety of folks to edit - for example, your design and
production folks could tweak the layout pretty safely without breaking
things.

The same is not true of output in methods in a CFC.

If you want to rehash this discussion further, go back over the
archives - this is a regular feature in long, involved discussions
over the years.
--
Sean A Corfield -- http://corfield.org/
Got frameworks?

If you're not annoying somebody, you're not really alive.
-- Margaret Atwood

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:229737
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: The best CFC book is...

2006-01-16 Thread Dave Watts
 Well, the generally accepted best practice is that CFCs 
 should *not* output anything...
 
 WHY???  
 
 I understand why one would not want to mix display 
 functionality with other layers of logic, and I am trying to 
 learn how to separate my coding along these lines.  But 
 nobody has explained to me why it is inherently bad to do 
 display in a CFC as long as that is the purpose of that CFC.  
 Is there something wrong with creating a display CFC for ones 
 view layer?

I don't think it's inherently bad, myself. However, I don't think it's
usually the most sensible mechanism for generating output. Custom tags are,
I think, a more natural approach for output generation within an HTML page.
Given that custom tags are arguably better suited to this task, why not use
them instead? What appears more natural, this:

some_html_tag
cf_dosomething/cf_dosomething
some_other_html_tag

Or this?

some_html_tag
cfoutput#someCFC.doSomething()#/cfoutput
some_other_html_tag

Interestingly, this is more or less the approach taken by other enterprise
web application environments, like ASP.NET and J2EE. In ASP.NET, code-behind
classes are generally reserved for things other than presentation logic, and
you can build custom tags for presentation logic. In an MVC J2EE
application, you might use a servlet for the controller, beans and other
Java classes for business logic, and JSP pages for the view, and JSP custom
tags to build parts of the view.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/

Fig Leaf Software provides the highest caliber vendor-authorized
instruction at our training centers in Washington DC, Atlanta,
Chicago, Baltimore, Northern Virginia, or on-site at your location.
Visit http://training.figleaf.com/ for more information!


~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:229738
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: The best CFC book is...

2006-01-15 Thread Mike Soultanian
I was actually curious about that book as well.  My goal from this point 
forward was to write all of my code in CFCs only.  I haven't written a 
CF function yet as I haven't been ready for the transition, but it 
doesn't look like it's going to be that tough.  You might also want to 
check out Hal's occasional newsletter that also has info about CFCs.

Another book I'm debating getting is Design Patterns: Elements of 
Reusable Object-Oriented Software from the Gang of Four:

http://tinyurl.com/dmjwt

I've heard it's good and it's gotten great reviews.

Mike


Michel Deloux wrote:
 Hi all
 I'm an intermediate CF developer looking for(late 'cause CF 5
 version) CFC books to learn how to work with components. Hal Helms
 wrote Discovering CFCs: ColdFusion MX Components. Do you recommend?
 
 Cheers
 
 MD
 
 

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:229612
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: The best CFC book is...

2006-01-15 Thread Aaron Rouse
Pretty sure that is one I bought awhile, if so then I would avoid it.  I did
not care for it at all but to each their own.

On 1/15/06, Michel Deloux [EMAIL PROTECTED] wrote:

 Hi all
 I'm an intermediate CF developer looking for(late 'cause CF 5
 version) CFC books to learn how to work with components. Hal Helms
 wrote Discovering CFCs: ColdFusion MX Components. Do you recommend?




~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:229613
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: The best CFC book is...

2006-01-15 Thread Mike Soultanian
really?  How come you didn't like it?  I've heard it's pretty 
conceptual, but I don't mind that kinda stuff, especially if it'll help 
me design my overall cfc structure better..



Aaron Rouse wrote:
 Pretty sure that is one I bought awhile, if so then I would avoid it.  I did
 not care for it at all but to each their own.
 
 On 1/15/06, Michel Deloux [EMAIL PROTECTED] wrote:
 Hi all
 I'm an intermediate CF developer looking for(late 'cause CF 5
 version) CFC books to learn how to work with components. Hal Helms
 wrote Discovering CFCs: ColdFusion MX Components. Do you recommend?


 
 
 

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:229614
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: The best CFC book is...

2006-01-15 Thread Jeff Chastain
I have got it and it is a pretty good book.  The problem with it is that
it was written for early CFCs ... i.e. in the CFMX 6 timeframe.  With CFMX
6.1 and 7, things have changed in the CFC area fixing some of the issues
outlined in the book.  Still a good book, just a bit dated.


-Original Message-
From: Aaron Rouse [mailto:[EMAIL PROTECTED] 
Sent: Sunday, January 15, 2006 2:41 PM
To: CF-Talk
Subject: Re: The best CFC book is...

Pretty sure that is one I bought awhile, if so then I would avoid it.  I did
not care for it at all but to each their own.

On 1/15/06, Michel Deloux [EMAIL PROTECTED] wrote:

 Hi all
 I'm an intermediate CF developer looking for(late 'cause CF 5
 version) CFC books to learn how to work with components. Hal Helms 
 wrote Discovering CFCs: ColdFusion MX Components. Do you recommend?






~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:229615
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: The best CFC book is...

2006-01-15 Thread Aaron Rouse
I did not like how it was written, did not like how several of the examples
were flawed, and did not like the general layout of the book felt like it
was done in a manner to just fill up more pages.  I think a lot more could
be learned about CFCs through online tutorials and mailing lists.  Another
flaw with the book is it is written for 6.0 CFCs, if I am remembering the
right book.

On 1/15/06, Mike Soultanian [EMAIL PROTECTED] wrote:

 really?  How come you didn't like it?  I've heard it's pretty
 conceptual, but I don't mind that kinda stuff, especially if it'll help
 me design my overall cfc structure better..



~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:229616
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: The best CFC book is...

2006-01-15 Thread Mike Soultanian
Oh.. are you talking about hal helms book or the gang of 
four book?  I thought you were talking about the gof book.. I haven't 
read hal's book.. my bad ;)

Mike

Aaron Rouse wrote:
 I did not like how it was written, did not like how several of the examples
 were flawed, and did not like the general layout of the book felt like it
 was done in a manner to just fill up more pages.  I think a lot more could
 be learned about CFCs through online tutorials and mailing lists.  Another
 flaw with the book is it is written for 6.0 CFCs, if I am remembering the
 right book.
 
 On 1/15/06, Mike Soultanian [EMAIL PROTECTED] wrote:
 really?  How come you didn't like it?  I've heard it's pretty
 conceptual, but I don't mind that kinda stuff, especially if it'll help
 me design my overall cfc structure better..

 
 
 

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:229617
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: The best CFC book is...

2006-01-15 Thread Sean Corfield
On 1/15/06, Michel Deloux [EMAIL PROTECTED] wrote:
 I'm an intermediate CF developer looking for(late 'cause CF 5
 version) CFC books to learn how to work with components.

There are no good books for learning CFCs (Hal's book is very
out-of-date because of changes in components since it was written).
Well, you can learn the basic syntax from the CFMX documentation (the
Developer's Guide improves with every release and is definitely worth
reading). Beyond the syntax, there are no good *books* for learning
how to program effectively with CFCs. There are lots of good blogs and
the cfcdev mailing list is a must-read.
--
Sean A Corfield -- http://corfield.org/
Got frameworks?

If you're not annoying somebody, you're not really alive.
-- Margaret Atwood

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:229619
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: The best CFC book is...

2006-01-15 Thread Aaron Rouse
Yeah, I liked the gof book, sorry about that.

On 1/15/06, Mike Soultanian [EMAIL PROTECTED] wrote:

 Oh.. are you talking about hal helms book or the gang of
 four book?  I thought you were talking about the gof book.. I haven't
 read hal's book.. my bad ;)

 Mike




~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:229623
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: The best CFC book is...

2006-01-15 Thread Douglas Knudsen
best book?  ...google...a great psuedo-random book where authors can
pay to alter the so called randomness  :)


DK
On 1/15/06, Michel Deloux [EMAIL PROTECTED] wrote:
 Hi all
 I'm an intermediate CF developer looking for(late 'cause CF 5
 version) CFC books to learn how to work with components. Hal Helms
 wrote Discovering CFCs: ColdFusion MX Components. Do you recommend?

 Cheers

 MD

 

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:229629
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: The best CFC book is...

2006-01-15 Thread Casey Dougall
On 1/15/06, Douglas Knudsen [EMAIL PROTECTED] wrote:
 best book?  ...google...a great psuedo-random book where authors can
 pay to alter the so called randomness  :)

Douglas, have you attempted Googling this? I'm in the same boat as
Michel. I would love to gain a better understanding of these and have
just spent the last 2 hours checking through some examples online
which are total shit. A couple have come close, builder.com had a
couple good examples. Too bad they don't list CFML as a Programming
Language under Web Development

I want to find something with some real nitty gritty, down and dirty
examples of how to use CFC's. Just one solid example that shows how a
CFC can be used with display, update, delete  add functionality. It
must grab information from a database and the CFC's must invoke other
CFC's in the process. For dessert maybe show 3 examples envoking the
CFC to display the information on multiple platforms. cfml, flash,
webservice


--
Casey Dougall

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:229640
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: The best CFC book is...

2006-01-15 Thread Josh Nathanson
How about the Macradobe livedocs?

http://livedocs.macromedia.com/coldfusion/7/htmldocs/wwhelp/wwhimpl/common/html/wwhelp.htm?context=ColdFusion_Documentationfile=part_dev.htm

Click on Building and Using Cold Fusion Components -- there's lots of good 
info there.

-- Josh Nathanson


- Original Message - 
From: Casey Dougall [EMAIL PROTECTED]
To: CF-Talk cf-talk@houseoffusion.com
Sent: Sunday, January 15, 2006 5:22 PM
Subject: Re: The best CFC book is...


 On 1/15/06, Douglas Knudsen [EMAIL PROTECTED] wrote:
 best book?  ...google...a great psuedo-random book where authors can
 pay to alter the so called randomness  :)

 Douglas, have you attempted Googling this? I'm in the same boat as
 Michel. I would love to gain a better understanding of these and have
 just spent the last 2 hours checking through some examples online
 which are total shit. A couple have come close, builder.com had a
 couple good examples. Too bad they don't list CFML as a Programming
 Language under Web Development

 I want to find something with some real nitty gritty, down and dirty
 examples of how to use CFC's. Just one solid example that shows how a
 CFC can be used with display, update, delete  add functionality. It
 must grab information from a database and the CFC's must invoke other
 CFC's in the process. For dessert maybe show 3 examples envoking the
 CFC to display the information on multiple platforms. cfml, flash,
 webservice


 --
 Casey Dougall

 

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:229646
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: The best CFC book is...

2006-01-15 Thread Michael Soultanian
Hey Casey,
Here's a good example:

http://tinyurl.com/3mrec

I learned quite a bit from the way that he set up his CFCs 
in his sample bookstore app.  Yeah, it's fusebox, but the 
concepts would carry over to script based programming as 
well.

Mike
On Sun, 15 Jan 2006 20:22:52 -0500
  Casey Dougall [EMAIL PROTECTED] wrote:

 Douglas, have you attempted Googling this? I'm in the 
same boat as
 Michel. I would love to gain a better understanding of 
these and have
 just spent the last 2 hours checking through some 
examples online

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:229650
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54