When you look at this book, you may have learned most of the techniques needed to implement Ajax in your application. Again, we want to emphasize that Ajax is a client technology that uses AJAX regardless of the server-side technology you're using, regardless of whether you're using Java,. NET, Ruby, PHP, or CGI. In fact, we don't consider the server side in this book, and suppose you already know how to combine the server-side technologies used in your daily work. In the next hundreds of pages, we focus on client-side technologies and methodologies that need to be used to create rich browser-based applications.
Although you can use any server-side technology you like, you need to change your mind when using AJAX. In a typical Web application, the server-side code renders a complete page and involves a complete unit of work. With Ajax, you may only return a little bit of text, and only a small subset of the business application. For most experienced web developers, there is nothing wrong with understanding, but be sure to keep that in mind.
Some of the emerging frameworks help developers jump out of the Ajax details. However, you still have to know something about JavaScript. We know that JavaScript can be difficult to use. But unfortunately, there is no way to do that. Most of us have learned this trick, "alert" as a type of system output to help debug, unfortunately, this technology is widely used. But now we have a new weapon.
In addition to JavaScript, you need to familiarize yourself with other techniques associated with presentation, such as HTML, DOM, and CSS. You don't have to be an expert in this area, but basic understanding is necessary. In this book we will talk about most of what you need to know, and what you don't talk about can refer to resources on the web.
About test drivers (you must have written a unit test, right?) ), we will introduce Jsunit and selenium (see Figure 1-8). With these tools, you can first develop JavaScript tests and check your browser compatibility tests. It is generally assumed that the next-generation development environment will provide better support for JavaScript, while other AJAX-related technologies will further ease the burden on developers. Evolving scripts and frameworks can also make development easier.
Figure 1-8 Selenium
Back to "Ajax Basics Tutorial-Directory"