May 9, 2008

Practical PHP and MySQL

This books (Practical PHP and MySQL: Building Eight Dynamic Web Applications) starts with a brief introduction to the technology and then gives you a quick primer in core PHP and MySQL skills—just enough to get you started writing an application. After this short primer (because no one likes reading primers), you get straight into writing an application. This way, you don’t have to wade through 200 pages of reading before you can get started writing an application.


After the primer in Chapter 2, you get to the applications. I have prepared a menu of applications for your esteemed delectation:

Chapter 3, “Running the Projects.” The Live CD that accompanies this book contains software projects, applications, and the LAMPP server. This chapter provides information about the CD contents and how you operate the disc on your computer.

Chapter 4, “Building a Weblog” Plug into the weblog culture by creating a weblog system. Here you can add posts, have your readers submit comments, create different categories, and much more.

Chapter 5, “Discussion Forums” Create a discussion forums Web site with all the bling of the circus. You add forum categories, different forums, threads and messages, user accounts, forum administration, and more.

Chapter 6, “Creating a Shopping Cart” Open an online shop with this project, in which you add support for products, create a shopping cart, take payment via checks/PayPal, support different accounts, and more.

Chapter 7, “Building an Online Auction Site” Auction sites present an interestingchallenge, and in this chapter, you learn to support multiple accounts, write a bidding engine, support uploaded images, add auction summaries, and more.

Chapter 8, “Creating a Web-Based Calendar” Don your orange sunglasses and prepare to write the word Beta everywhere as you write an AJAX-driven calendar. Here you learn how AJAX works, create a calendar interface, support different events, set up user logins, and more.

Chapter 9, “FAQ Content Management System” In this chapter, you create a Content Management System (CMS) for FAQs. Features include different privilege levels for users, topic ownership, a submissions system, comment support, and more.

Chapter 10, “Building a Re-Usable Project” In this application, you create an independent component that could be dropped into any Web site. This is useful if you want to create projects for other developers to download and use. This chapter discusses how to create a portable component and integrate it into a separate site easily.

Chapter 11, “Building a News Web Site” This project solidifies much of the previous knowledge in the book and also looks at categorization, search support, and the use of the HTML_QuickForm PEAR extension.

Appendix A, “Web Site Design” In this chapter you create a static Web site and add features such as a FAQ page and an About page, and design the pages with Cascading Style Sheets (CSS).
As each project progresses, you learn more and more skills that are useful in a wide variety of PHP and MySQL Web applications.

DOWNLOAD THIS BOOKS

May 8, 2008

Professional PHP5 Tutorial


This books (Professional PHP5 Tutorial) covers some advanced techniques in PHP, so we assume that you have a solid grounding in the basics of PHP application development. You don't necessarily have to be familiar with PHP 5 to get started, however. If you've been working in PHP4 until the recent launch of version 5, you'll be fine. Throughout the book, we've made sure that the differences between PHP 5 and PHP 4 are highlighted prominently.

To sum it up in two words, we assume that you have what might be called a working knowledge of PHP. If you have that and are eager to learn how you can take PHP to the next level in your Web projects, this book is for you.

You might be a professional Web developer for a big software company. Your company may have been working in PHP for years, but maybe it's eager to take the first steps away from ASP, Java, and other Web development platforms in an effort to discover the benefits of PHP.

You may be a lone (or almost lone) Web professional in an otherwise nontechnical company, assigned the task of implementing some huge project—perhaps a staff intranet or new corporate Web presence—who is looking for an appropriate development platform.

You may just be curious. Perhaps you're a student in university or college who's eager to supplement what you're learning in school with some professional code and project-management techniques plucked straight from the world of commercial Web development.

You might have a background in C++ or Java and have heard good things about PHP5 and how its new OOP support takes it one step closer to being a truly credible professional Web development environment. Perhaps you're skeptical and want to see whether what you've heard is true.

Whoever you are, as long as you know the basics of PHP and are eager to learn a whole lot more from people who not only know PHP inside and out but also love using it, then this book is for you.

Part I: Object-Oriented Software Development Concepts
Chapter List
Chapter 1: Introduction to Object-Oriented Programming
Chapter 2: Unified Modeling Language (UML)
Chapter 3: Putting Objects to Work
Chapter 4: Design Patterns

Part II: Creating a Reusable Object Toolkit I: Simple Utility Classes and Interfaces
Chapter List
Chapter 5: Collection Class
Chapter 6: CollectionIterator Class
Chapter 7: GenericObject Class
Chapter 8: Database Abstraction Layers
Chapter 9: Factory Interface
Chapter 10: Event-Driven Programming
Chapter 11: Logging and Debugging
Chapter 12: SOAP

Part III: Creating a Reusable Object Toolkit II: Complex (Though Not Complicated) Utilities
Chapter List
Chapter 13: Model, View, Controller (MVC)
Chapter 14: Communicating with Users
Chapter 15: Sessions and Authentication
Chapter 16: Unit Testing Framework
Chapter 17: Finite State Machine and Custom Configuration Files

Part IV: Test Case: Sales Force Automation
Chapter List
Chapter 18: Project Overview
Chapter 19: Project Management Methodologies
Chapter 20: Planning the System
Chapter 21: Systems Architecture
Chapter 22: Assembling the Sales Force Automation Toolkit
Chapter 23: Quality Assurance
Chapter 24: Deployment
Chapter 25: Designing and Developing a Robust Reporting Platform
Chapter 26: Where do You Go From Here?
Appendix A: Why Version Control is a Good Thing
Appendix B: PHP IDEs
Appendix C: Performance Tuning PHP
Appendix D: Best Practice PHP Installation


DOWNLOAD THIS BOOKS

May 7, 2008

ZEND PHP5 Certification STUDY GUIDE

Contents: Contents: ZEND PHP5 Certification STUDY GUIDE

Chapter1 — PHP Tutorial Basics
Syntax
Anatomy of a PHPScript
Data Types
Variables
Constants
Operators
Control Structures
Errors and Error Management


Chapter2 — Functions
Basic Syntax
Returning Values
Variable Scope
Passing Arguments
Variable-length Argument Lists
Passing Arguments by Reference

Chapter3 — Arrays
Array Basics
Array Operations
Array Iteration
Sorting Arrays
ArraysasStacks,QueuesandSets

Chapter4 — Strings And Patterns
String Basics
Comparing, Searching and Replacing Strings
Formatting Strings
Perl-compatibleRegularExpressions

Chapter5 — WebProgramming
Anatomy of a WebPage
Forms and URLs
HTTP Headers
Sessions

Chapter6 — Object Oriented Programming in PHP Tutorial
OOP Fundamentals
Class Methods and Properties
Constants,Static Methods and Properties
Interfaces & Abstract Classes
Exceptions
Lazy Loading
Relection

Chapter7 — Database Programming Tutorial
An Introduction to Relational Databases and SQL
SQL Joins
Advanced Database Topics

Chapter8 — Elements of Object oriented Design
Design Pattern Theory
The Standard PHP Library

Chapter9 — XML and Web Services Tutorial
The Extensible Markup Language(XML)
Simple XML
DOM
Web Services

Chapter10 — Security
Concepts and Practices
Website Security
Database Security
Session Security
File system Security
Shared Hosting

Chapter11 — Streams and Network Programming
Accessing Files
Accessing Network Resources

Appendix A — Differences Between PHP4 and PHP5
Language Features
Objects
Magic Methods
Selected New Extensions
Error Management

DOWNLOAD THIS BOOKS

May 6, 2008

Beginning PHP and PostgreSQL E-Commerce

Beginning PHP and PostgreSQL E-Commerce-From Novice to Professional books is divided into three parts consisting of 17 chapters and 2 appendixes. We cover a wide variety of topics, showing you how to Build an online product catalog that can be browsed and searched Implement the catalog administration pages that allow adding, modifying, and remov-ing products, categories, and departments Create your own shopping basket and checkout in PHP Increase sales by implementing product recommendations and product reviews Handle payments using PayPal, DataCash, and Authorize.net Implement a customer accounts system Integrate external functionality through Web Services The following brief roadmap highlights how weíll take you from novice to professional regarding each of the topics in the previous list.


Part 1: Phase I of Development

Chapter 1: Starting an E-Commerce Site
In this chapter, weíll introduce some of the principles of e-commerce in the real world. You see the importance of focusing on short-term revenue and keeping risks down. We look at the three basic ways in which an e-commerce site can make money. We then apply those princi- ples to a three-phase plan that provides a deliverable, usable site at each phase of this book.

Chapter 2: Laying Out the Foundations
The first chapter offered an overview of e-commerce in the real world. Now that youíve decided to develop a web site, we start to look in more detail at laying down the foundations for its future. Weíll talk about what technologies and tools youíll use, and even more impor-tantly, how youíll use them.

Chapter 3: Creating the Product Catalog: Part I
After learning about the three-tier architecture and implementing a bit of your web siteís main page, itís time to continue your work by starting to create the HatShop product catalog.
Because the product catalog is composed of many components, youíll create it over two chapters. In Chapter 3, youíll create the first database table and implement the data access code. By the end of this chapter, youíll have something dynamically generated on your web page.

Chapter 4: Creating the Product Catalog:Part II
The fun isnít over yet! In the previous chapter, you created a selectable list of departments for HatShop. However, a product catalog is much more than a list of departments. In Chapter 4, youíll add the rest of the product catalog features.

Chapter 5: Searching the Catalog
In the preceding two chapters, you will have implemented a functional product catalog for HatShop. However, the site still lacks the all-important search feature. The goal in this chapter is to allow the visitor to search the site for products by entering one or more keywords. Youíll learn how to implement search results rankings and how to browse through the search results page by page. Youíll see how easy it is to add new functionality to a working site by integrating the new components into the existing architecture.

Chapter 6: Receiving Payments Using PayPal
Letís make some money! Your e-commerce web site needs a way to receive payments from customers. The preferred solution for established companies is to open a merchant account, but many small businesses choose to start with a solution thatís simpler to implement, where they donít have to process credit card or payment information themselves.
A number of companies and web sites exist to help individuals or small businesses that donít have the resources to process credit card and wire transactions. These companies can be used to process the payment between companies and their customers. In this chapter, weíll demonstrate some of the functionality provided by one such company, PayPal, as we use it on the HatShop web site in the first two stages of development.

Chapter 7: Catalog Administration
The final detail to take care of before launching a web site is to create its administrative interface. Although this is a part visitors will never see, itís still key to delivering a quality web site to your client.

Part 2: Phase II of Development

Chapter 8:The Shopping Cart
With this chapter, you enter the second phase of development, where you start improving and adding new features to the already existing, fully functional e-commerce site. In Chapter 8, youíll implement the custom shopping cart, which stores its data in the local database. This provides you with more flexibility than the PayPal shopping basket, over which you have no control and which you canít save into your database for further processing and analysis.

Chapter 9:Dealing with Customer Orders
The good news is that the brand new shopping cart implemented in Chapter 8 looks good and is fully functional. The bad news is that it doesnít allow the visitor to actually place an order, making it totally useless in the context of a production system. As you have probably already guessed, youíll deal with that problem in this chapter, in two separate stages. In the first part of the chapter, youíll implement the client-side part of the order-placing mechanism. In the second part of the chapter, youíll implement a simple orders administration page where the site administrator can view and handle pending orders.

Chapter 10:Product Recommendations
One of the best advantages of an Internet store compared to a brick-and-mortar store is the capability to customize the web site for each visitor based on his or her preferences, or based on data gathered from other visitors with similar preferences. If your web site knows how to suggest additional products to your visitor in a clever way, he or she might end up buying more than initially planned. In Chapter 10, youíll learn how to implement a dynamic product recommendation system.

Part 3:Phase III of Development

Chapter 11: Managing Customer Details
In the first two stages of development, youíve built a basic (but functional) site and have hooked it into PayPal for taking payments and confirming orders. In the third section of the book, youíll take things a little further. By cutting out PayPal from the ordering process, you can gain better control as well as reduce overhead. This isnít as complicated as you might think, but you must be careful to do things right. Chapter 11 lays the groundwork by implementing a customer account system, as well as looking into the security aspects of exchanging and storing customer and credit card details.

Chapter 12: Storing Customer Orders
In this chapter, youíll make the modifications required for customers to place orders that are associated with their user profiles. The main modification here is that the customer associated with an order will be identified by a new piece of information in the orderstable, and much of the rest of the modifications will be made to use this information.
Also in this chapter, youíll take a look at dealing with another common feature of e-commerce sites: tax and shipping charges. Many options are available for implementing this functionality, but weíll just examine a simple way of doing things and lay the groundwork for your own further development.

Chapter 13: Implementing the Order Pipeline:Part I
The HatShop e-commerce application is shaping up nicely. Youíve added customer account functionality, and youíre keeping track of customer addresses and credit card information, which is stored in a secure way. However, youíre not currently using this informationóyouíre delegating responsibility for this to PayPal. In this and the next chapter, youíll build your own order-processing pipeline that deals with authorizing credit cards, stock checking, shipping, providing email notifications, and so on. Weíll leave the credit card processing specifics until Chapter 15, but weíll show you where this process fits in before then.

Chapter 14: Implementing the Order Pipeline:Part II
In this chapter, youíll add the required pipeline sections so that you can process orders from start to finish, although you wonít be adding full credit card transaction functionality until the next chapter. Weíll also look at the web administration of orders by modifying the order admin pages added earlier in the book to take into account the new order-processing system.

Chapter 15: Credit Card Transactions
The last thing you need to do before launching the e-commerce site is enable credit card processing. In this chapter, weíll look at how you can build this into the pipeline you created in Chapters 13 and 14. Youíll see how to use two popular credit card gateways to do this: Data Cash and Authorize.net. By the end of this chapter, HatShop will be a fully functioning, secure, and usable e-commerce application.

Chapter 16: Product Reviews
At this point, you have a complete and functional e-commerce web site. However, this doesnít stop you from adding even more features to it, making it more useful and pleasant for visitors. By adding a product reviews system to your web site, you increase the chances that visitors will get back to your site, either to write a review for a product they bought or to see what other people think about that product.

Chapter 17: Connecting to Web Services
In the dynamic world of the Internet, sometimes it isnít enough to just have an important web presence; you also need to interact with functionality provided by third parties to achieve your goals. So far in this book, you already saw how to integrate external functionality to process payments from your customers. In Chapter 17, youíll learn how to use Amazon.com functionality from and through Web Services. A Web Service is exposed through a web interface using standard Internet protocols such as HTTP. The messages exchanged by the client and the server are encoded using an XML-based protocol named SOAP (Simple Object Access Protocol), or by using REST (Representational State Transfer). These messages are sent over HTTP.
Youíll learn more about these technologies in this chapter.


DOWNLOAD THIS BOOKS

May 3, 2008

PHP & MySQL For Dummies 3rd edition

This books (PHP & MySQL Tutorial) is divided into six parts, with several chapters in each part. The content ranges from an introduction to PHP and MySQL to installing to creating and using databases to writing PHP programs.


Part I: Developing a Web Database
Application Using PHP and MySQL
Part I provides an overview of using PHP and MySQL to create a Web database application. It describes and gives the advantages of PHP, of MySQL, andof their use together. You find out how to get started, including what you need, how to get access to PHP and MySQL, and how to test your software. You then find out about the process of developing the application.

Part II: MySQL Database
In Part II you find out the details of working with MySQL databases. You create a database, change a database, and move data into and out of a database.

Part III: PHP
Part III provides the details of writing PHP programs that enable your Web pages to insert new information, update existing information, or remove information from a MySQL database. You find out how to use the PHP features that are used for database interaction and forms processing.

Part IV: Applications
Part IV describes the Web database application as a whole. You find out how to organize the PHP programs into a functioning application that interacts with the database. Two complete sample applications are provided, described, and explained.

Part V: The Part of Tens
Part V provides some useful lists of important things to do and not to do when developing a Web database application.

Part VI: Appendixes
The final part, Part VI, provides instructions for installing PHP and MySQL for those who need to install the software themselves. Appendix C discusses the installation of the Apache Web server for those who need to install and administer the Web server themselves.

DOWNLOAD THIS EBOOKS