Book Image

PHP Ajax Cookbook

Book Image

PHP Ajax Cookbook

Overview of this book

Table of Contents (16 chapters)
PHP Ajax Cookbook
Credits
About the Authors
About the Reviewers
www.PacktPub.com
Preface
Index

Chapter 7. Implementing Best Practices to Build Ajax Websites

In this chapter, we will cover:

  • Avoiding HTML markup-specific coding

  • Building secure Ajax websites

  • Building Search Engine Optimization (SEO)-friendly Ajax websites

  • Preserving browser history or un-breaking the browser's back button

  • Implementing comet PHP and Ajax

Getting things done is one thing and getting them done right is a whole other thing. JavaScript programmers often aim for best practices. As UI programming is gaining popularity, it demands better organization and practices. In this chapter, we'll see some common best practices.