Addison-Wesley / Prentice Hall
Computer Science
Browse available resources for Computer Science:
ISBN-10: 0672329123
ISBN-13: 9780672329128
Publisher: Sams Publishing
Copyright: 2007
Format: Paper; 288 pp
Published: 10/30/2006
Suggested retail price: $34.99
Buy from myPearsonStore
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
$34.99 USA / $43.99 CAN / £24.99 Net UK
A practical programmer's guide to developing web applications with Ajax technologies
- No fluff -- just a focus on teaching readers how to develop enterprise-level Ajax applications
- Hands-on development of a functional application along with coverage of debugging applications
- Author is an experienced web developer who has done work for high profile companies, including IKEA, Burger King, and AOL
Introduction
An Introduction to the Book Samples
I: Getting Started
1 Introduction to Ajax
The XML DOM
Measuring the Benefits
2 The Request
An In-Depth Look at XMLHttpRequest
A Standard XHR
A Database-Enabled XHR
Sending Data to a Database-Enabled XHR
Creating the Object
Asynchronous Data Transfers
The Ready State
HTTP Status Codes and Headers
3 The Response
XML
Elements
Attributes
CDATA
Parsing XML
JSON
The Syntax
Using JSON
Parsing JSON
4 Rendering the Response with XHTML and CSS
XHTML
CSS
II: Creating and Using the JavaScript Engine
5 Object-Oriented JavaScript
Object-Oriented Approaches
Using the new Operator
Literal Notation
Associative Arrays
JScript.NET
Object Constructors
Instances
Properties
Methods
Prototypes
Instances
Creating Properties
Overriding and Overwriting Properties
Property Protection
Methods
Extending Objects with Prototyped Methods
6 Creating the Engine
Creating a Custom Ajax Wrapper
Making Requests
The Ready State
The Response
Creating an Ajax Updater
Constructing the Object
Updating the Request Object
The Response
7 Using the Engine
Getting Started
Making a Request
Engine Methods and Properties
8 Debugging
The JavaScript onerror Event
responseText
IE Developer Toolbar
Installing the Plug-in
Disabling the Cache
Navigating the DOM
Viewing Class and ID Information
Safari Enhancer
Installing Safari Enhancer
The JavaScript Console
FireBug
Installing FireBug
The Command Line
Logging Messages in the Console
Levels of Logging
Inspecting Elements
Spying on Ajax
9 Extending the Engine
Creating a Utilities Object
Handling Status Codes with an HTTP Object
HTTP Status Code Categories
Using the HTTP Object
III: Creating Reusable Components
10 Accordion
Getting Started
The XML Architecture
Requesting the XML
Creating the Accordion Object
Panel Functionality and Data Display
Creating the CSS
11 Tree View
Structuring the Data
Handling the Response
Rendering the GUI
Adding Style to the Component
12 Client-Side Validation
Getting Started
Creating a Validation Object
Validating User Input
Providing Visual Feedback
The Server Side
The Constructor
Verifying User Information
Registering and Logging In a User
13 Data Grid
Getting Started
Creating a DataGrid Object
Displaying the Data
Creating a DataRow Object
Creating a DataColumn Object
Adding Design to the Component
IV: AJAX Patterns
14 Singleton Pattern
An Overview of the Singleton Pattern
Creating an Object Using the Singleton Pattern
Using the Singleton Object
15 Model View Controller
An Overview of the Pattern
Creating the Pattern
Using the Pattern
16 The Observer Pattern
Pattern Overview
Register Observers Overview
Notify Observers Overview
Unregister Observers Overview
Creating an Error-Handling Object
Register Observers
Notify Observers
Unregister Observers
Using the Error-Handling Object
17 Data Reflection Pattern
An Overview
The Multi-User Pattern
Creating the Pattern
18 Interaction Patterns
Creating a History with Cookies
The Historian Object
Creating and Displaying the XML
The Navigation Object
Drag and Drop
The DragDrop Object
19 Usability Patterns
Handling Feedback, Errors, and Warnings
Designing with Code
V: Server-Side Interaction
20 Understanding Ajax Database Interaction
Connecting with PHP
Bridging the Gap
Making the Requests
Making the Connection
21 Interacting with a Database: The Server-Side
Connecting to ASP.NET
Connecting to ColdFusion
22 Advanced Ajax Database Interaction
Bulk Updates
Sending Arrays
Sending XML
Sending JSON
Server-Side XML and JSON
XML
JSON
VI: Finishing Touches
23 Securing Your Application
Security Holes
Password-Protecting Ajax Requests
Creating Unique Passwords
Verifying Passwords on the Server-Side
24 Best Practices
Using the Engine
Design Patterns
Using Components
Static Versus Dynamic Responses
Error and Feedback Handling
Application History
Security
0672329123, TOC, 9/25/2006
Web Programming and Design: Numerous Mark-up / Scripting Language [PTG: SAMS] (Computer Science)
Javascript [PTG: SAMS] (Computer Science)
Kris Hadlock has been a contract web developer and designer since 1996. He is a featured
columnist and writer for InformIT and numerous web design magazines. He is
also the founder of Studio Sedition, a web application development firm, and is the
cofounder of 33Inc, the company responsible for DashboardHQ. He maintains a blog
called Designing with Code, which focuses on web application development from a design
perspective and often features useful code snippets to help enhance web applications.You
can find all of the above and more about Kris on his website at www.krishadlock.com.
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
$34.99 USA / $43.99 CAN / £24.99 Net UK
Pearson Higher Education offers special pricing when you choose to package your text with other student resources. If you're interested in creating a cost-saving package for your students, contact your Pearson Higher Education representative for pricing and ordering information.
This title is a member of the Developer's Library, which also contains the titles below . You can also visit the Developer's Library page.
Advanced PHP Programming
Schlossnagle
© 2004 | Sams Publishing | Paper; 672 pages | Instock
ISBN-10: 0672325616 | ISBN-13: 9780672325618
Brief Description | Buy from myPearsonStore
Ajax for Web Application Developers
Hadlock
© 2007 | Sams Publishing | Paper; 288 pages | Instock
ISBN-10: 0672329123 | ISBN-13: 9780672329128
Buy from myPearsonStore
Apache Administrator's Handbook
Bowen, Ridruejo & Liska
© 2002 | Sams Publishing | Paper; 448 pages | Instock
ISBN-10: 0672322749 | ISBN-13: 9780672322747
Brief Description | Buy from myPearsonStore
Apache Phrasebook
Lopez & Blanco
© 2006 | Sams Publishing | Paper; 240 pages | Instock
ISBN-10: 0672328364 | ISBN-13: 9780672328367
Buy from myPearsonStore
Building Web Services with Java: Making Sense of XML, SOAP, WSDL, and UDDI, 2/E
Graham, Davis, Simeonov, Daniels, Brittenham, Nakamura, Fremantle, Koenig & Zentner
© 2005 | Sams Publishing | Paper; 816 pages | Instock
ISBN-10: 0672326418 | ISBN-13: 9780672326417
Buy from myPearsonStore
Cocoon Developer's Handbook
Moczar & Aston
© 2003 | Sams Publishing | Paper; 816 pages | Instock
ISBN-10: 0672322579 | ISBN-13: 9780672322570
Buy from myPearsonStore
ColdFusion MX Developer's Cookbook
Freitag, Leupen & Reeves
© 2003 | Sams Publishing | Paper; 408 pages | Instock
ISBN-10: 0672324628 | ISBN-13: 9780672324628
Brief Description | Buy from myPearsonStore
Dojo: Using the Dojo JavaScript Library to Build Ajax Applications
Harmon
© 2008 | Addison-Wesley Professional | Paper; 336 pages | Instock
ISBN-10: 0132358042 | ISBN-13: 9780132358040
Extending and Embedding PHP
Golemon
© 2006 | Sams Publishing | Paper; 456 pages | Instock
ISBN-10: 067232704X | ISBN-13: 9780672327049
Buy from myPearsonStore
HTTP Developer's Handbook
Shiflett
© 2003 | Sams Publishing | Paper; 312 pages | Instock
ISBN-10: 0672324547 | ISBN-13: 9780672324543
Brief Description | Buy from myPearsonStore
JavaScript™ Phrasebook
Wenz
© 2007 | Sams Publishing | Paper; 240 pages | Instock
ISBN-10: 0672328801 | ISBN-13: 9780672328800
Buy from myPearsonStore
JavaServer Pages Developer's Handbook
Todd & Szolkowski
© 2003 | Sams Publishing | Paper; 840 pages | Instock
ISBN-10: 0672324385 | ISBN-13: 9780672324383
Brief Description | Buy from myPearsonStore
Linux Phrasebook
Granneman
© 2006 | Sams Publishing | Paper; 400 pages | Instock
ISBN-10: 0672328380 | ISBN-13: 9780672328381
Buy from myPearsonStore
Mac OS X Leopard Phrasebook
Tiemann
© 2008 | Addison-Wesley | Paper; 320 pages | Instock
ISBN-10: 0672329549 | ISBN-13: 9780672329548
Buy from myPearsonStore
MySQL Phrasebook
Greant & Newman
© 2006 | Sams Publishing | Paper; 192 pages | Instock
ISBN-10: 0672328399 | ISBN-13: 9780672328398
Buy from myPearsonStore
The Object-Oriented Thought Process, Safari, 3/E
Weisfeld
© 2009 | Addison-Wesley Professional | On-line Supplement; 350 pages | Estimated Availability: 08/15/2008
ISBN-10: 0768678668 | ISBN-13: 9780768678666
URL: http://www.safari.informit.com
The Object-Oriented Thought Process, 3/E
Weisfeld
© 2009 | Addison-Wesley | Paper; 350 pages | Estimated Availability: 08/07/2008
ISBN-10: 0672330164 | ISBN-13: 9780672330162
PHP 5 in Practice
White & Eisenhamer
© 2007 | Sams Publishing | Paper; 456 pages | Instock
ISBN-10: 0672328887 | ISBN-13: 9780672328886
Buy from myPearsonStore
PHP Phrasebook
Wenz
© 2006 | Addison-Wesley | Paper; 320 pages | Instock
ISBN-10: 0672328178 | ISBN-13: 9780672328176
Buy from myPearsonStore
PHP and MySQL Web Development, 4/E
Welling & Thomson
© 2009 | Addison-Wesley | Paper Bound w/CD-ROM; 950 pages | Estimated Availability: 08/27/2008
ISBN-10: 0672329166 | ISBN-13: 9780672329166
PHP and MySQL Web Development, 3/E
Welling & Thomson
© 2005 | Sams Publishing | Paper Bound w/CD-ROM; 984 pages | Instock
ISBN-10: 0672326728 | ISBN-13: 9780672326721
Brief Description | Buy from myPearsonStore
Perl Developer's Dictionary
Pierce
© 2002 | Sams Publishing | Paper; 640 pages | Instock
ISBN-10: 0672320673 | ISBN-13: 9780672320675
Brief Description | Buy from myPearsonStore
Programming in Objective-C
Kochan
© 2004 | Sams Publishing | Paper; 576 pages | Instock
ISBN-10: 0672325861 | ISBN-13: 9780672325861
Brief Description | Buy from myPearsonStore
Python Essential Reference, 3/E
Beazley
© 2006 | Sams Publishing | Paper; 648 pages | Instock
ISBN-10: 0672328623 | ISBN-13: 9780672328626
Buy from myPearsonStore
Python Phrasebook
Dayley
© 2007 | Sams Publishing | Paper; 288 pages | Instock
ISBN-10: 0672329107 | ISBN-13: 9780672329104
Buy from myPearsonStore
Zend PHP Certification Study Guide
Zend Technologies
© 2005 | Sams Publishing | Paper; 264 pages | Instock
ISBN-10: 0672327090 | ISBN-13: 9780672327094
Buy from myPearsonStore
mod_perl Developer's Cookbook
Young, Lindner & Kobes
© 2002 | Sams Publishing | Paper; 672 pages | Instock
ISBN-10: 0672322404 | ISBN-13: 9780672322402
Buy from myPearsonStore
Appropriate for all courses in Web development that utilize PHP scripting and MySQL databases.
One step at a time, PHP and MySQL Web Development walks students through the entire process of building dynamic, secure, commercial Web sites and applications with two of the worlds most widely-used open source tools: PHP and MySQL.. Luke Welling and Laura Thomson use the same clear and practical teaching style that has made their two previous editions so popular with students. They have thoroughly updated this edition to reflect the major enhancements in PHP 5 and MySQL 4.x -- especially PHP object-oriented programming, validation, and MySQL stored procedures. The book uses real-world examples and sample projects to show students how to integrate and implement PHP scripts and MySQL databases. It also covers related technologies needed to build a commercial Web site, including SSL, shopping carts, and payment systems. Along the way, the authors introduce a wide range of advanced techniques, including interacting with file systems, generating images, using network and protocol functions, controlling sessions, and more. The final section contains several practical PHP and MySQL projects, including user authentication and personalization, content management systems, Web-based email services, mailing list managers, Web forums, even automatic generation of personalized PDF documents.
Appropriate for all courses in Objective-C programming for Apple Mac OS X, where the language is now preinstalled with all copies; and for other environments, such as the GNUstep project running under Linux.
This is a concise, elegant tutorial designed to teach Objective-C to programming students who may be new to Mac OS X, object-oriented programming, or to C itself. Written by Stephen Kochan, author of Unix Shell Programming, Programming in ANSI C, and several other programming classics, this book relies on many small program examples and well-crafted exercises at the end of every chapter, making it ideally suited for classroom use. Kochan covers every facet of Objective-C that students need to become productive and effective. He begins with an overview of object-oriented programming and the concept of classes, then walks through writing a program in Objective-C. Once students are grounded in these basics, he systematically introduces data types and expressions; instance variables; parameters; loops and decision making; subclasses, superclasses, and inheritance; dynamic binding; strings, arrays, dictionaries, and sets; file systems; preprocessing, and more. He also presents a full chapter on underlying C features for students who wish to compare Objective-C to C. The book concludes with an introduction to Mac OS X Cocoa, todays leading Objective-C programming environment. Appendices provide a glossary, a language summary, and more.
Pearson Higher Education offers special pricing when you choose to package your text with other student resources. If you're interested in creating a cost-saving package for your students contact your Pearson Higher Education representative.

