2. browsing employees
This book’s example contains three facets: browsing employees by department, adding employees, and searching for employees by last name. For each section, we’ll create a non-Ajax version, and then apply the Ajax elements on top. In this chapter, we’ll make a non-Ajax way to browse employees. To do so, we’ll create one HTML page, two PHP scripts, and a CSS style sheet.
The non-Ajax pages can act as a model for how the Ajax layer should behave, and more importantly, if anyone accessing this site cannot use the Ajax-enabled pages, the site will still be fully functional for them. Also, two of the files generated in this chapter—one PHP script and the CSS document—will be used by all of this book’s examples, Ajax and non-Ajax ...
Get Building a Web Site with Ajax: Visual QuickProject Guide now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.