Web Development

Nixon, R. (2012) Web Developer’s Cookbook – More Than 300 Ready-Made PHP, JavaScript and CSS Recipes, McGraw-Hill

Companion web site:  http://webdeveloperscookbook.com/

Download source code (ZIP 19MB)

Web Developer’s Cookbook contains more than 300 PHP, JavaScript, and CSS recipes you can use right away to create interactive Web content. All of the solutions are fully documented and their functionality clearly explained, along with customization tips. The recipes include HTML examples and screen shots showing exactly how to apply them in real-world situations. Methods for using HTML5 to make Web pages even more interactive and dynamic are also provided. Shorten development time and sharpen your programming skills with help from this practical guide.

Filled with tested recipes for:

PHP

  • Text processing
  • Image handling
  • Content management
  • Forms and user input
  • Internet
  • Chat and messaging
  • MySQL, sessions, and cookies
  • APIs, RSS, and XML
  • Incorporating JavaScript

JavaScript

  • Core functionality
  • Location and dimensions
  • Visibility
  • Movement and animation
  • Chaining and interaction
  • Menus and navigation
  • Text effects
  • Audio and visual effects
  • Cookies, Ajax, and security
  • Forms and validation
  • Solutions to common problems

CSS

  • Manipulating objects
  • Text and typography
  • Menus and navigation
  • Page layout
  • Visual effects
  • Dynamic objects
  • Dynamic text and typography
  • Incorporating JavaScript
  • Superclasses
1.  Getting Started
2.  Using The Recipes
3.  PHP: Text Processing
4.  PHP: Image Handling
5.  PHP: Content Management
6.  PHP: Forms & User Input
7.  PHP: The Internet
8.  PHP: Messaging
9.  PHP: Using MySQL
10.  PHP: Using APIs
11.  PHP: Incorporating JavaScript
12.  PHP: Diverse Solutions
13.  JavaScript: Core Resources
14.  JavaScript: Location & Dimensions
15.  JavaScript: Visibility
16.  JavaScript: Movement & Animation
17.  JavaScript: Chaining & Interaction
18.  JavaScript: Menus & Navigation
19.  JavaScript: Text Effects
20.  JavaScript: Audio & Visual Effects
21.  JavaScript: Cookies, Ajax & Security
22.  JavaScript: Forms & Validation
23.  JavaScript: Diverse Solutions
24.  CSS: Manipulating Objects
25.  CSS: Text & Typography
26.  CSS: Menus & Navigation
27.  CSS: Page Layout
28.  CSS: Visual Effects
29.  CSS: Dynamic Objects
30.  CSS: Dynamic Typography
31.  CSS: Interaction
32.  CSS: Incorporating JavaScript
33.  CSS: Superclasses

And there’s no lack of documentation, either, because every variable, property, class, pseudo class, and every other aspect of each recipe is detailed as it is encountered by including it in easy-to-follow tables. Then each recipe is broken down section by section so you know exactly what it will do for you, how to use it, and also how to tailor it to your own requirements.


Campesato, O. and Nilson, K. (2011) Web 2.0 Fundamentals with AJAX, Development Tools, and Mobile Platforms, Jones and Bartlett Publishers

Designed for a broad spectrum of people with technically diverse backgrounds, this book covers the most recent developments in Web 2.0 programming topics and applications, including up-to-date material on cloud computing, Google AppEngine, Social Networks, Comet, HTML5, semantic technology, and a chapter on the future of the Web. Web 2.0 Fundamentals: With AJAX, Development Tools, and Mobile Platforms prepares readers for more advanced technical topics in Web 2.0. The accompanying CD-ROM and companion website provide code samples from the book and appendices with an extensive set of links (over 1,000) for supplemental material and links for the Twitter and Facebook pages.

Features and Benefits

  • Most comprehensive coverage of current relevant Web 2.0 topics
  • Explores Cloud Computing, Google AppEngine, Google Wave, Social Networks, HTML5, Comet, and more
  • Accessible to technically-oriented IT professionals
  • Includes contributions from well-known members of the IT industry
  • Includes practical examples that assist readers in developing Web 2.0 applications
  • Every new printed copy includes an accompanying CD-ROM with code and figures from the text, applications, simulations and more (eBook version does not include CD-ROM).
  • Contains over 1,000 useful links and additional material (in the appendices) that provide a convenient starting point for the reader to  acquire a deeper understanding of topics, especially for those who do not have time to perform extensive topic-related searches on the Internet

Chapter 1  Introduction
Chapter 2  Landscape of the Web
Chapter 3  JSON & XML
Chapter 4  Ajax
Chapter 5  Productivity and Testing Tools
Chapter 6  Debugging Tools
Chapter 7  The Facebook Platform
Chapter 8  The OpenSocial Platform
Chapter 9  Mash-ups and Search Technology
Chapter 10  Cloud Computing Part 1
Chapter 11  Cloud Computing Part 2
Chapter 12  XML, Java, and GAE
Chapter 13  Semantic Technology
Chapter 14  Web 2.0 Comprehensive Project
Chapter 15  Comet
Chapter 16  Mobile Development Part 1
Chapter 17  Mobile Development Part 2
Chapter 18  Epilogue: The Future of the Web


Zervaas, Q. (2008) Practical Web 2.0 Applications with PHP (Expert’s Voice), Apress

Download Source Code (ZIP 14,702KB)

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.

Want to assert yourself as a cutting–edge PHP web developer? Take a practical approach, learning by example from author Quentin Zervaas, and discover how to bring together the many technologies needed to create a successful, modern web application.

In Practical Web 2.0 Applications with PHP, 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. The Zend Framework is used extensively to build the application, allowing you to focus on developing the application rather than on reinventing the wheel.

Topics covered include application planning and design, setting up the application framework, using CSS for easier styling, adding dynamic effects the easy way using JavaScript libraries such as Prototype and script.aculo.us, and implementing several must–have web application features such as user login, blogs, dynamic image galleries, search functionality, mapping with Google Maps, and much more. Zervaas covers everything in a practical, tutorial style so you can start working on your own projects as quickly as possible.

  • Create cutting–edge PHP/MySQL web applications
  • Implement must–have functionality such as blogs, maps, search functionality, and dynamic image galleries
  • Master styling with CSS and dynamic effects using Ajax/JavaScript libraries

What you’ll learn

  • How to set up the perfect PHP/MySQL application development environment
  • How to implement basic user management functionality
  • How to use many of the components from the Zend Framework
  • How to effectively make use of the Prototype and script.aculo.us JavaScript libraries, including many examples of developing custom JavaScript classes
  • How to create standards–compliant and accessible HTML code and effectively style it using CSS
  • How to create a basic blog system and enhance it with Ajax
  • How to add personalized user areas to your web application
  • How to create a dynamic image gallery
  • How to add search functionality to your application
  • How to use the Google Maps API to add maps to your application
  • How to implement popular Web 2.0 features, such as microformats, tags, and web feeds

Who this book is for

This book is for any PHP developer who wants to stay ahead of the curve, with practical, high–level web application development techniques.


Addison, Doug (2006) Web Site Cookbook: Solutions and Examples for Building and Administering Your Web Site, O’Reilly Media, Inc.

The total number of web pages today has been estimated at over 3 billion, spanning millions of individual websites. Not surprisingly, there is tremendous pressure on web developers and designers to remain current with the latest technologies.

The Web Site Cookbook from O’Reilly covers all the essential skills that you need to create engaging, visitor-friendly websites. It helps you with the practical issues surrounding their inception, design, and maintenance. With recipes that teach both routine and advanced setup tasks, the book includes clear and professional instruction on a host of topics, including:

  • registering domains
  • ensuring that hostnames work
  • managing the directory
  • maintaining and troubleshooting a website
  • site promotion
  • visitor tracking
  • implementing e-commerce systems
  • linking with sales sites

This handy guide also tackles the various elements of page design. It explains how to control a reader’s eye flow, how to choose a template system, how to set up a color scheme, and more.

Typical of O’Reilly’s “Cookbook” series, the Web Site Cookbook is written in a straightforward format, featuring recipes that contain problem statements and solutions. A detailed explanation then follows each recipe to show you how and why the solution works. This question-solution-discussion format is a proven teaching method, as any fan of the “Cookbook” series can attest to.

Regardless of your strong suit or your role in the creation and life of a website, you can benefit from the teachings found in the Web Site Cookbook. It’s a must-have tool for advancing your skills and making better sites.

Table of Contents

Dedication; Preface; Assumptions; Other Sources; Conventions Used in This Book; How to Contact Us; Safari® Enabled; Acknowledgments; Chapter 1: Web Server Setup; 1.1 Introduction; 1.1 Registering a Domain Name; 1.2 Managing and Protecting a Domain Name; 1.3 Choosing a Server Platform and Hosting Plan; 1.4 Enabling Server-Side Includes; 1.5 Setting the Default Filename for a Directory or Entire Site; 1.6 Making Sure Your Web Site Loads With and Without the “www” Prefix; 1.7 Creating and Accessing Directories Outside the Web Site Root Directory; 1.8 Automating Routine Tasks; 1.9 Restarting Your Web Server; 1.10 Monitoring Web Server Activity; 1.11 Building an Easy-to-Maintain Web Site with Free Tools; Chapter 2: Site Planning and Setup; 2.1 Introduction; 2.1 Writing a Functional Specification for Your Site; 2.2 Assessing Available Materials for a Site; 2.3 Organizing Your Files in Directories; 2.4 Establishing a Naming Convention for Your Files; 2.5 Establishing a Naming Convention for Page Titles; 2.6 Establishing a Naming Convention for Your Variables; 2.7 Downloading All Files from a Site; 2.8 Making URLs Easy to Find and Remember; 2.9 Creating a Flowchart for Complex Site Functionality; Chapter 3: Page Design and Navigation; 3.1 Introduction; 3.1 Choosing Between a Flexible and Fixed Layout; 3.2 Creating a Color Scheme; 3.3 Making Room for All Your Navigation; 3.4 Designing Pages for Advertisements; 3.5 Expanding Your Web Site; 3.6 Adding Background Images; 3.7 Creating Breadcrumb Links; 3.8 Creating a Link Menu to Other Pages; 3.9 Creating Navigation That Does Not Link to Itself; Chapter 4: Formatting Text and Code; 4.1 Introduction; 4.1 Writing Standards-Compliant Web Pages; 4.2 Displaying Foreign and Special Characters; 4.3 Choosing Type Sizes for Display and Body Text; 4.4 Including Dynamic Content in Static Pages; 4.5 Adding a Discretionary Hyphen to Long Words; 4.6 Dividing a Text Block into Multiple Pages; 4.7 Reformatting Database Content as HTML; 4.8 Optimizing Web Page Code; Chapter 5: Formatting Graphics; 5.1 Introduction; 5.1 Optimizing Your Images; 5.2 Creating a Web-Friendly Logo; 5.3 Slicing and Recombining Complex Images; 5.4 Choosing Clip Art and Stock Photos; 5.5 Disabling Image Download; 5.6 Creating Watermarked Images on the Fly; Chapter 6: Displaying and Delivering Information; 6.1 Introduction; 6.1 Explaining Who’s Responsible for Your Site; 6.2 Writing Meaningful Link Text; 6.3 Adding Preview Information to Links; 6.4 Creating Effective Pop-up Windows; 6.5 Randomizing Text or Images; 6.6 Highlighting the Search Term; 6.7 Embedding RSS Feeds on Your Site; 6.8 Creating an RSS Feed from Database Content; 6.9 Adding a Poster Frame to a QuickTime Movie; 6.10 Creating a Printer-Friendly Version of Your Site; 6.11 Generating Downloadable Files Dynamically; 6.12 Offering Your Site on Mobile Devices; Chapter 7: Interacting with Visitors; 7.1 Introduction; 7.1 Preventing Blank Form Fields; 7.2 Duplicating Form Field Data; 7.3 Using Sample Input to Reduce Errors; 7.4 Formatting User-Entered Information; 7.5 Generating Form Menu Choices from a Database; 7.6 Storing Multiple Values in One Database Field; 7.7 Using a Graphical Character String for Form Authentication; 7.8 Putting Additional Information in mailto Links; 7.9 Send Visitor Messages to Your Mobile Phone; 7.10 Using Cookies to Remember Visitor Choices; 7.11 Internationalizing Your Web Site Problem; 7.12 Creating an Email Newsletter; Chapter 8: Promotion and E-Commerce; 8.1 Introduction; 8.1 Turning Site Traffic into Loyal Visitors and Customers; 8.2 Creating an Effective Landing Page; 8.3 Creating a Favicon; 8.4 Forcing a Secure Connection; 8.5 Creating a Self-Signed SSL Certificate; 8.6 Disabling a Form Submit Button After the First Click; 8.7 Creating Complex Select Menus with optgroup; 8.8 Protecting Your Site from Fraud; 8.9 Generating Income from Traffic and Content; 8.10 Tracking and Blocking Visitors Based on Their IP Numbers; 8.11 Soliciting Donations and Contributions; Chapter 9: Maintenance and Troubleshooting; 9.1 Introduction; 9.1 Handling Requests for Missing or Relocated Pages; 9.2 Adding the Referring Page to a Form; 9.3 Improving Site Performance; 9.4 Tracking and Documenting Site Changes; 9.5 Modifying an Auto-Indexed File List to Match Your Site’s Design; 9.6 Converting Source Documents to Web Pages; 9.7 Coordinating Site Updates and Testing; 9.8 Taking Care of Your Database; 9.9 Evaluating Your Site with Metrics; 9.10 Developing Test Procedures for Your Site; 9.11 Preventing Email Address Harvesting; Colophon;|

  • Dedication
  • Preface
  • Chapter 1: Web Server Setup
  • Chapter 2: Site Planning and Setup
  • Chapter 3: Page Design and Navigation
  • Chapter 4: Formatting Text and Code
  • Chapter 5: Formatting Graphics
  • Chapter 6: Displaying and Delivering Information
  • Chapter 7: Interacting with Visitors
  • Chapter 8: Promotion and E-Commerce
  • Chapter 9: Maintenance and Troubleshooting
  • Colophon