Enter your mobile number or email address below and we'll send you a link to download the free Kindle App. Then you can start reading Kindle books on your smartphone, tablet, or computer - no Kindle device required.
To get the free app, enter your mobile phone number.
Object-Oriented Programming in ColdFusion Paperback – October 13, 2010
|New from||Used from|
"Enlightenment Now: The Case for Reason, Science, Humanism, and Progress"
Is the world really falling apart? Is the ideal of progress obsolete? Cognitive scientist and public intellectual Steven Pinker urges us to step back from the gory headlines and prophecies of doom, and instead, follow the data: In seventy-five jaw-dropping graphs, Pinker shows that life, health, prosperity, safety, peace, knowledge, and happiness are on the rise. Learn more
Frequently bought together
Customers who viewed this item also viewed
Customers who bought this item also bought
About the Author
Matt officially began life as a developer in 2000, although he used to 'develop' simple applications using BASIC Programming on his Sinclair ZX Spectrum. After creating relational databases in VBScript and hand-coding HTML pages in text editors, the obvious route was to start developing websites using dynamic data. He is now lead developer with Fuzzy Orange Ltd, and specializes in ColdFusion, Flex, and AIR development, and is also proud to be called an Adobe Community Professional for ColdFusion. He has spoken and presented regularly at national and international conferences and online meetings, and has written tutorials and articles for online resources and UK industry magazines. Constantly striving to learn more and update any skill set he can, he loves to read development publications and community blogs, attend conferences, and discuss issues with other members of the development community. A keen proponent for community resources and sharing knowledge, Matt writes and releases open-source ColdFusion applications and code samples as often as he can, and can also be seen updating resources and writing articles on his blog, http://www.mattgifford.co.uk.
If you buy a new print edition of this book (or purchased one in the past), you can buy the Kindle edition for only $2.99 (Save 80%). Print edition purchase must be sold by Amazon. Learn more.
For thousands of qualifying books, your past, present, and future print-edition purchases now lets you buy the Kindle edition for $2.99 or less. (Textbooks available for $9.99 or less.)
Top customer reviews
There was a problem filtering reviews right now. Please try again later.
If you're a relative beginner in OO or want to get into it, get this book.
I thought the section on services was the best one. The analogy of getting up to go to the kitchen and all the various processes involved got me to understand the concept better. I'm not sure if this was mentioned but the one important rule about services is to keep all business logic in the child objects. Services are supposed to be lean.
I sort of wish Matt would have covered more regarding ORM and how it can replace the need for a lot of the boilerplate code in the patterns mentioned above. While there is a lot of debate regarding ORM's viability and Adobe ColdFusion's implementation, it does essentially serve as a wrapper for much of the same functionality provided by beans, gateways, and services. The ORM object will have getters and setters to protect data (bean), one can save one record at a time via ORM (DAO), and you can always get back multiple records via the various ORM query methods (gateway). I'm not arguing for a comprehensive look at ColdFusion ORM since there is a book on that already. I'm thinking a few paragraphs would've sufficed.
At the very least there should have been a mention of code generation tools like Illudium PU-36 Code Generator. What I don't like about these OOP design patterns is they require massive amounts of boilerplate code that are a bore to write by hand. There's also the downside to constantly updating the code if you're in the middle of building out a new schema. Code generation tools look at existing tables and automatically build out all the necessary objects.
I also would've much rather seen more of the code samples in CFScript instead of the tag syntax. Perhaps at the time of writing tag syntax was more universally supported since CF 9 had just introduced nearly complete CFScript support. I read this book on the Kindle Paperwhite and the iPad 4, and the tag syntax just fits poorly within the narrow width. I imagine this is also a problem on the print version.
Overall, I think this book will benefit procedural programmers the most since it teaches you how to properly separate and organize various aspects of your application code. It also helps explain some of the jargon you'll come across when encountering OOP architectures for the first time.
I have no complaints about Gifford's grasp of the technical issues nor his ability to teach the topic - Packt's editors need to be called out for a number of very strange phrases in the text and a lot of inconsistencies in the language through the book, as well as inconsistent typography in examples (esp. capitalization). I've seen similar issues in other Packt books (John Farrar's two ColdFusion Tutorial books, for example). That said, it doesn't detract a great amount from the overall good points of the book (it's just a bit annoying).
If you're totally new to CFCs, this is a great book for you. If you're using CFCs already but find a lot of the terminology confusing, this is a great book for you as well. If you think you're doing OOP but haven't gotten your head fully around beans and DAOs and gateways and services, this book will have some insights for you as well (but perhaps not $40 worth). It's a really good introductory book - and it's long overdue!