- AJAX and PHP: Building Responsive Web Applications
- Bogdan Brinzarea Cristian Darie等
- 329字
- 2021-04-29 19:04:21
Chapter 2. Client-Side Techniques with Smarter JavaScript
It is said that one picture is worth a thousand words. And so is a well-written piece of code, we would say. You will get plenty of both, while building the foundations for your future AJAX?enabled applications, in this chapter and the next.
Hopefully, the first chapter has developed your interest in AJAX well enough that you will endure a second chapter with lots of theory to be learned. On the other hand, if you found the first exercise too challenging, be assured that this time we will advance a bit slower. We will learn the theory in parts by going through many short examples. In this chapter, we will meet client AJAX technologies, which include:
- JavaScript
- The JavaScript DOM
- Cascading Style Sheets (CSS)
- The
XMLHttpRequest
object - Extensible Markup Language (XML)
You will learn how to make these components work together smoothly, and form a strong foundation for your future AJAX applications. You will see how to implement efficient error handling techniques, and how to write code efficiently. Chapter 3 will complete the foundations by presenting the techniques and technologies that you use on the server; in our case, PHP, MySQL, and others.
To be a good AJAX developer you need to know very well how its ingredients work separately, and then master how to make them work together. In this book, we assume you have some experience with at least a part of these technologies.
Depending on your experience level, take some time—before, while, or after reading Chapter 2 or Chapter 3, to have a look at Appendix B on http://ajaxphp.packtpub.com, which shows you a number of tools that make a programmer’s life much easier. Don’t skip it, because it’s important, as having the right tools and using them efficiently can make a very big difference.
You can see all the example applications from this book online at http://ajaxphp.packtpub.com/.
- 中文版Photoshop入門與提高(CS6版)
- 中文版SolidWorks 2015技術大全
- Scratch 1.4: Beginner’s Guide
- 中文版Photoshop CS6平面設計從新手到高手(超值版)
- MATLAB 2022a從入門到精通
- SPSS統計分析
- 零基礎學會聲會影2018(全視頻教學版)
- Solid Edge 機械設計基礎及應用
- LaTeX入門與實戰應用
- Excel革命!超級數據透視表Power Pivot與數據分析表達式DAX快速入門
- UG NX 12.0中文版實戰從入門到精通
- SketchUP草圖繪制從新手到高手
- Hello HarmonyOS!:鴻蒙應用開發從入門到精通
- Magento 1.4 Development Cookbook
- 中文版Photoshop CS6實用教程(第2版)