Ajax is at the heart of the Web 2.0 revolution. It isn't a technology but, rather, is a technique that leverages other technologies and techniques, such as CSS, XML, DHTML, and XHTML. Many Web designers and programmers would like to incorporate Ajax in their projects because of the amazing functionality it can add to a Web site, but they can't because of the steep learning curve. That's where this book steps in. It makes learning Ajax fun and easy -- a great place to start! Visual QuickProject Guides focus on a single project. In this case the project is creating a business employee directory, like an address book. What's being created is a better, new kind of Web site.
Reusable components and patterns for Ajax-driven applications Ajax is one of the latest and greatest ways to improve users’ online experience and create new and innovative web functionality. By allowing specific parts of a web page to be displayed without refreshing the entire page, Ajax significantly enhances the experience of web applications. It also lets web developers create intuitive and innovative interaction processes. Ajax for Web Application Developers provides the in-depth working knowledge of Ajax that web developers need to take their web applications to the next level. The book shows how to create an Ajax-driven web application from an object-oriented perspective, and it includes discussion of several useful Ajax design patterns. This detailed guide covers the creation of connections to a MySQL database with PHP 5 via a custom Ajax engine and shows how to gracefully format the response with CSS, JavaScript, and XHTML while keeping the data tightly secure. It also covers the use of four custom Ajax-enabled components in an application and how to create each of them from scratch. The final section of the book combines the individual code examples and techniques from earlier chapters of the book into one larger, Ajax-driven application—an internal web mail application that can be used in any user-based application, such as a community-based web application. Readers will learn not only how to create and use their own reusable Ajax components in this application but also how to connect their components to any future Ajax applications that they might build. Web Development/Ajax/JavaScript
In just a short time, you can learn how to use Ajax, JavaScript, and PHP to create interactive interfaces to your web applications by combining these powerful technologies. No previous Ajax programming experience is required. Using a straightforward, step-by-step approach, each lesson in this book builds on the previous ones, enabling you to learn the essentials of Ajax programming with JavaScript, PHP, and related technologies from the ground up. Regardless of whether you run Linux, Windows, or Mac OS X, the enclosed CD includes a complete Ajax programming starter kit that gives you all the programming tools, reference information, JavaScript libraries, and server software you need to set up a stable environment for learning, testing, and production. Learn how to… Build better, more interactive interfaces for your web applications Make JavaScript, HTML, XML, and PHP work together to create Ajax effects Compile an Ajax application Create and consume web services with SOAP and REST Avoid common errors and troubleshoot programs Use popular Ajax libraries to speed up and improve common programming tasks On the CD XAMPP for Windows, Mac OS X, and Linux—an easy-to-install package to set up a PHP- and MySQL-enabled Apache server on your computer The jEdit programming editor for Windows, Mac, and Linux Prototype, Scriptaculous, Rico, and XOAD—popular JavaScript libraries for creating Ajax applications and effects A complete Ajax, HTML, XML, and PHP tutorial reference library in searchable PDF format Source code for the examples in the book Phil Ballard is a software engineering consultant and developer specializing in website and intranet design and development for an international portfolio of clients. He has an honors degree from the University of Leeds, England, and has worked for several years in commercial and managerial roles in the high technology sector. Michael Moncur is a freelance webmaster and author. He runs a network of websites and has written several bestselling books about web development, networking, certification programs, and databases. Category: Web Development Covers: Ajax, JavaScript and PHP User Level: Beginning–Intermediate
Building rich JavaScript applications that bring a desktop experience to the Web requires moving state from the server to the client side—not a simple task. This hands-on book takes proficient JavaScript developers through all the steps necessary to create state-of-the-art applications, including structure, templating, frameworks, communicating with the server, and many other issues. Throughout the book, you'll work with real-world example applications to help you grasp the concepts involved. Learn how to create JavaScript applications that offer a more responsive and improved experience. Use the Model-View-Controller (MVC) pattern, and learn how to manage dependencies inside your application Get an introduction to templating and data binding Learn about loading remote data, Ajax, and cross-domain requests Create realtime applications with WebSockets and Node.js Accept dropped files and upload data with progress indicators Use major frameworks and libraries, including jQuery, Spine, and Backbone Write tests and use the console to debug your applications Get deployment best practices, such as caching and minification
As a web user, you'll no doubt have noticed some of the breathtaking applications available in today's modern web, such as Google Maps and Flickrdesktop applications than the old style web sites you are used to. You've probably also wished that you could create such things, and then thought "nahhh, I'd need to know a lot of complicated code to be able to even start creating sites like these." Well, think again. There is a lot of complicated code involved in cutting-edge "Ajax-style" web applications, but a lot of the hard work is already done for you, and available on the Web. JavaScript libraries exist to provide most of that Ajax/DOM Scripting functionality out of the box. Application programming interfaces (APIs) exist to allow you to transplant complicated applications such as Google Maps and Flickr right into your own web sites. And hosting services such as Flickr and YouTube provide all you need to store and retrieve your media (be it images, video, or whatever) at your leisure, without having to worry about bandwidth issues and file naming nightmares. All you need to know is enough to successfully wire together all this functionality successfully and responsibly, and this book shows you how. It starts from the very beginning of your journey, showing you what's available, what you need, and how to set up an effective development environment. After a solid base has been built, it shows you how to build up each aspect of your site, including storing, retrieving, and displaying content, adding images and video to your site, building effective site navigation and laying it all out beautifully using CSS, promoting your content so you will attract visitors to your site, and adding special effects to enhance usability and design asthetics...all with ready-made functionality available on the Web! Life as a web developer has never been easier.
Programming tools are constantly evolving to make simple things easier, and more complex things possible, and TurboGears is at the forefront of a revolution in Web application development. The aim of this book is to cover the rich functionality that is available to TurboGears users through the use of existing Python frameworks.