So, I warned you - and now it's here. I'm happy to announce the (Beta) launch of the ColdFusion Cookbook. The site is mostly feature complete. We even have content! Thanks to Rob Brooks-Bilson and Jeremy Petersen. They have graciously donated content and given the site a great start.
Some points:
- The comments engine isn't ready. It's almost ready. I should have that up in a day or two.
- The PDF is ugly. Butt Ugly. Please help me. Any comments (or even code) would be greatly appreciated. Also - it is generated on demand. I already have a plan in mind on how to correct that. (And I'll blog it, since I think it is a good idea.)
- Any other comments would be welcome as well.
Comment 1 written by Jeremy Petersen on 6 January 2006, at 10:13 PM
Unless we have O'Reilly complications, should have a bunch more content to post over these next couple of weeks.
Comment 2 written by James Holmes on 7 January 2006, at 12:44 AM
Comment 3 written by Joe Rinehart on 7 January 2006, at 7:29 AM
That was quick! Could we maybe add a "Database / SQL" category? I've got some content I'd like to add, and there's no place for it :(
Cheers,
Joe
Comment 4 written by Dave Carabetta on 7 January 2006, at 11:33 AM
Comment 5 written by Raymond Camden on 7 January 2006, at 12:17 PM
Comment 6 written by Raymond Camden on 7 January 2006, at 12:23 PM
Comment 7 written by maxx on 7 January 2006, at 6:29 PM
Comment 8 written by Raymond Camden on 7 January 2006, at 7:14 PM
Comment 9 written by Scott on 8 January 2006, at 12:12 AM
Example:
Data Structures (7)
Database/Sql (10)
Comment 10 written by tof on 8 January 2006, at 1:12 AM
Nice Fu__ing Work!
Comment 11 written by Nathan Drury on 9 January 2006, at 12:19 AM
Thanks for the CF Cookbook - great idea! I'm using it already, which is how I found an error with the "How do I mail the contents of a form?" recipe - wrap="80" should be wraptext="80".
Keep up the good work!
Comment 12 written by Raymond Camden on 9 January 2006, at 5:16 AM
Comment 13 written by Raymond Camden on 9 January 2006, at 8:22 AM
Comment 14 written by brian buck on 9 January 2006, at 9:22 AM
SELECT A.*, (SELECT COUNT(AID) FROM A_B WHERE A_B = A) AS ABCOUNT<br>
FROM A;
Comment 15 written by Raymond Camden on 9 January 2006, at 1:01 PM
Comment 16 written by Joe Rinehart on 9 January 2006, at 1:18 PM
If you're using a DAO/Bean implementation, I've shifted some things, like counting articles in a category, to being a property of the Category bean that's maintained through persistence and business logic, so that I don't have to do the (not very, admittedly) costly nested SELECT statement.
Basically that's a lot of words to say that I sometime just put an ArticleCount columng in the Category table, and maintain that property as necessary (possibly directly in ArticleDAO, or by having ArticleDAO use a CategoryDAO to get the category, change it, and commit it...whatever's necessary).
Comment 17 written by Raymond Camden on 9 January 2006, at 1:27 PM
Comment 18 written by Scott on 9 January 2006, at 4:45 PM
Brian - thanks for answering ray's question.
[Add Comment] [Subscribe to Comments]