E-Book, Englisch, 569 Seiten
Zervaas Practical Web 2.0 Applications with PHP
1. ed
ISBN: 978-1-4302-0475-6
Verlag: Apress
Format: PDF
Kopierschutz: 1 - PDF Watermark
E-Book, Englisch, 569 Seiten
ISBN: 978-1-4302-0475-6
Verlag: Apress
Format: PDF
Kopierschutz: 1 - PDF Watermark
In Practical PHP Web 2.0 Applications, PHP, MySQL, CSS, XHTML, and JavaScript/Ajax development techniques are brought together to show you how to create the hottest PHP web applications, from planning and design up to final implementation, without going over unnecessary basics that will hold you back. This book includes must-have application features such as search functionality, maps, blogs, dynamic image galleries, and personalized user areas. It covers everything in a practical, tutorial style so you can start working on your own projects as quickly as possible.
Quentin Zervaas is a web developer based in Adelaide, South Australia, where he has been self-employed since 2003. After receiving his bachelor's degree in computer science from the University of Adelaide in 2001, Quentin worked for several web development firms before branching out on his own, developing a wide range of custom web applications for customers all around the world. Quentin has recently started a new company called Recite Media (http://www.recite.com.au) with two partners. Recite Media develops web applications primarily for other development or design companies to resell. Its flagship product, Recite CMS, is being used by some of Australia's largest companies. Quentin also runs and writes for his PHP development resource site, phpRiot (phpRiot.com), which provides a number of useful articles on a wide variety of PHP-related topics. After completing his role as the technical reviewer for Beginning Ajax with PHP: From Novice to Professional (Apress, 2006), he decided to undertake writing Practical Web 2.0 Applications with PHP.
Autoren/Hrsg.
Weitere Infos & Material
1;Contents at a Glance;4
2;Contents;5
3;About the Author;15
4;About the Technical Reviewer;16
5;Introduction;17
5.1;Who This Book Is For;17
5.2;How This Book Is Structured;18
5.3;Prerequisites;20
5.4;Downloading the Code;20
5.5;Contacting the Author;20
6;Application Planning and Design;21
6.1;What Is Web 2.0?;22
6.2;Database Connectivity;22
6.3;Web Site Templates;23
6.4;Web Site Features;23
6.5;Other Aspects of Development;25
6.6;Version Control and Unit Testing;28
6.7;Summary;28
7;Setting Up the Application Framework;29
7.1;Web Server Setup;29
7.2;Application Filesystem Structure;32
7.3;Installing the Zend Framework;34
7.4;Configuring the Web Server;35
7.5;Setting Up the Database;37
7.6;Using the Model- View- Controller Pattern;38
7.7;Defining Application Settings;47
7.8;Connecting to the Database;49
7.9;The Smarty Template Engine;50
7.10;Adding Logging Capabilities;61
7.11;Summary;64
8;User Authentication, Authorization, and Management;65
8.1;Creating the User Database Table;65
8.2;Introduction to Zend_ Auth;69
8.3;Introduction to Zend_ Acl;74
8.4;Combining Zend_ Auth, Zend_ Acl, and Zend_ Controller_ Front;77
8.5;Managing User Records with DatabaseObject;81
8.6;Managing User Profiles;86
8.7;Summary;92
9;User Registration, Login, and Logout;93
9.1;Adding User Registration to the Application;93
9.2;Implementing Account Login and Logout;120
9.3;Dealing with Forgotten Passwords;128
9.4;Implementing Account Management;136
9.5;Summary;141
10;Introduction to Prototype and Scriptaculous;142
10.1;Downloading and Installing Prototype;142
10.2;Selecting Objects in the Document Object Model;143
10.3;Prototype’s Hash Object;148
10.4;Other Element Extensions;149
10.5;Ajax Operations in Prototype;153
10.6;Event Handling in Prototype;164
10.7;Creating JavaScript Classes in Prototype;166
10.8;From Prototype to Scriptaculous;170
10.9;Downloading and Installing Scriptaculous;173
10.10;Combining Prototype, Scriptaculous, Ajax, and PHP in a Useful Example;173
10.11;Summary;188
11;Styling the Web Application;189
11.1;Adding Page Titles and Breadcrumbs;189
11.2;Integrating the Design into the Application;201
11.3;Constructing the CSS;210
11.4;Styling the Application Web Forms;222
11.5;Loading Prototype and Scriptaculous;225
11.6;Implementing Client- Side Form Validation;226
11.7;Summary;235
12;Building the Blogging System;236
12.1;Creating the Database Tables;236
12.2;Setting Up DatabaseObject and Profile Classes;238
12.3;Creating a Controller for Managing Blog Posts;240
12.4;Creating and Editing Blog Posts;245
12.5;Previewing Blog Posts;265
12.6;Updating the Status of a Blog Post;271
12.7;Summary;279
13;Extending the Blog Manager;281
13.1;Listing Blog Posts on the Blog Manager Index;281
13.2;Ajaxing the Blog Monthly Summary;299
13.3;Integrating a WYSIWYG Editor;307
13.4;Summary;312
14;Personalized User Areas;313
14.1;Controlling User Settings;313
14.2;The UserController Class;318
14.3;Displaying the User’s Blog;329
14.4;Populating the Application Home Page;342
14.5;Summary;349
15;Implementing Web 2.0 Features;350
15.1;Tags;351
15.2;Web Feeds;366
15.3;Microformats;373
15.4;Allowing Users to Create a Public Profile;378
15.5;Summary;384
16;A Dynamic Image Gallery;385
16.1;Storing Uploaded Files;386
16.2;Uploading Files;388
16.3;Sending Images;401
16.4;Resizing Images;404
16.5;Managing Blog Post Images;413
16.6;Displaying Images on User Blogs;431
16.7;Summary;439
17;Implementing Site Search;440
17.1;Introduction to Zend_ Search_ Lucene;440
17.2;Indexing Application Content;443
17.3;Creating the Search Tool;455
17.4;Adding Autocompletion to the Search Tool;465
17.5;Summary;480
18;Integrating Google Maps;481
18.1;Google Maps Features;481
18.2;Planning Integration;485
18.3;Adding Location Storage Capabilities;487
18.4;Creating Our First Map;490
18.5;Managing Locations on the Map;499
18.6;Displaying the Map on Users’ Public Blogs;521
18.7;Summary;528
19;Deployment and Maintenance;530
19.1;Application Logging;530
19.2;Site Error Handling;535
19.3;Web Site Administration;546
19.4;Application Deployment;549
19.5;Backup and Restore;554
19.6;Summary;556
20;Index;557




