Wrox Programmer Forums
BOOK: Professional Ajax ISBN: 978-0-471-77778-6
This is the forum to discuss the Wrox book Professional Ajax by Nicholas C. Zakas, Jeremy McPeak, Joe Fawcett; ISBN: 9780471777786
Important: For the new 2nd edition of this book, please post here instead: [url="http://p2p.wrox.com/forum.asp?FORUM_ID=307"]http://p2p.wrox.com/forum.asp?FORUM_ID=307[/url]
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Professional Ajax ISBN: 978-0-471-77778-6 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old March 1st, 2006, 01:38 PM
Registered User
Join Date: Mar 2006
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default Hard coded examples

I really enjoyed this book and learn a lot.

I am curious why many of the examples are not more reusable. For example, the auto suggest would be a great tool but the suggestion function is hard coded which basically requires a rewrite to make it useful in anything other than the example.

Great stuff regardless.

Old March 1st, 2006, 02:10 PM
nzakas's Avatar
Wrox Author
Join Date: Dec 2004
Posts: 217
Thanks: 0
Thanked 5 Times in 5 Posts

I'm not sure what your definition of "reusable" is, exactly, but most of the examples are completely reusable with only minor changes. The autosuggest textbox, for example, can be reused completely by just changing the suggestion provider, which has a very simple interface.

All of the examples in the book were made to show you basic concepts and give concrete examples that you could get working on your own to play with. Perhaps what you're really asking for is a framework to build functionality? In that case, then the examples in the book wouldn't suit your purposes.

Nicholas C. Zakas
Author, Professional JavaScript for Web Developers (ISBN 0764579088)

Similar Threads
Thread Thread Starter Forum Replies Last Post
Hard coded paths pauliehaha Classic ASP Professional 8 February 6th, 2007 06:48 PM
Is coded needed on every page? rtr1900 SQL Language 1 March 1st, 2006 06:53 PM
The solution hard coded "ThePhile" jackchua BOOK: ASP.NET Website Programming Problem-Design-Solution 3 October 20th, 2004 11:25 PM
text comparison - changes color coded jringwald Javascript How-To 0 June 30th, 2003 08:37 AM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.