Thanks for buying Adding Ajax and for downloading these examples!
The examples in this file are as complete as possible, without including external libraries in the zipped file, and without a database backend
for the examples in Chapter 6. To get these to run, you'll need to do a couple of things:
- Most are given an .xhtml extension, unless they're PHP files. Chapter 1 has instructions on how to serve these pages successfully. However,
you can copy or move them over to an .html extension, and they should work just fine.
- Listed below are the external libraries used in the examples. Since copyright issues and licensing differs between all of them, I list
out where to get the libraries rather than include them directly. This does mean you get the most modern library. This also means that if
the libraries have changed since the book was written, the examples may run into problems. I will attempt to keep this example file up-to-date.
- You'll need a database backend for some of the examples. I used Wordpress as the database schema, but you can use any database. You'll need to
modify the examples where a database back-end is required.
- As always, if you run into any problems, please submit a question or bug through the O'Reilly book support site. Both O'Reilly and I respond to these quite quickly, and do seriously pay attention to any problems. No author likes bugs, but authors also aren't perfect.
- Having said that, do check the errata pages. Any corrections will go there.
- Finally: have fun. These examples are ways of trying out new things. They provide the code to start so that you can explore, so dig in, and have fun.
There are so many good Ajax libraries, and I wish I could have used more in the book. However, the following are the libraries used in book examples, and you'll need to download and install for those examples dependent on the library. Luckily, every library I used was open, free, and easily installed.