Showing posts with label PHP. Show all posts
Showing posts with label PHP. Show all posts

Aug 14, 2008

Pro PHP XML and Web Services (Pro)

Pro PHP XML and Web Services is the authoritative guide to using the XML features of PHP 5 and PHP 6. No other book covers XML and Web Services in PHP as deeply as this title. The first four chapters introduce the core concepts of XML required for proficiency, and will bring you up to speed on the terminology and key concepts you need to proceed with the rest of the book. Next, the book explores utilizing XML and Web Services with PHP5. Topics include DOM, SimpleXML, SAX, xmlReader, XSLT, RDF, RSS, WDDX, XML-RPC, REST, SOAP, and UDDI.

Author Robert Richards, a major contributor to the PHP XML codebase, is a leading expert in the PHP community. In this book, Richards covers all topics in depth, blending theory with practical examples. Youll find case studies for the most popular web services like Amazon, Google, eBay, and Yahoo. The book also covers XML capabilities, demonstrated through informative examples, in the PEAR libraries.


About the Author
Robert Richards, currently an independent contractor, has worked in various fields including Medical Information, Telecommunications, Media and E-Learning. Having been exposed to XML since its inception and used for various projects during his career, his most extensive work with the technology was within the E-Learning space. He helped created a proprietary XML based application server which used XML for data publishing, defining application business logic as well as data querying. He was also the lead engineer for the company's involvement in SCORM (Shareable Content Object Reference Model), used for Web based learning, established by the Department of Defense through its Advanced Distributed Learning (ADL) initiative.

After becoming the latest casualty of the "dot-com" implosion in 2001, Rob had his first taste of PHP and began contributing code to the domxml extension in 2002. Since then he became one of the authors of the DOM extension for PHP 5, contributes to the other XML based extensions and has authored the xmlReader, for PHP 5, and xmlwriter, for PHP 4.3+, extensions. Also on occasion, he contributes bug fixes to the libxml2 project found during the development of these extensions.


Download:
http://rapidshare.de/files/31391202/b-042b01.rar
http://www.mytempdir.com/899095

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

May 1, 2008

PHP 5 Advanced with Visual Quickpro Guide


Chapter 1: Advanced PHP Techniques
Multidimensional Arrays
Advanced Function Definitions
The Heredoc Syntax
Using printf() and sprintf()

Chapter 2: Developing Web Applications
Documenting Code
Code Style and Structure
Modularizing a Web Site
Affecting the Browser Cache

Chapter 3: Advanced Database Concepts
Storing Sessions in a Database
Working with U.S. Zip Codes
Creating Stored Functions
Displaying Results Horizontally

Chapter 4: Security Techniques
Remembering the Basics
Validating Form Data
Using PECL Filter
Authentication with PEAR Auth
Using MCrypt

Chapter 5: E-commerce Techniques
E-commerce Concepts
Creating the Database
Creating the Configuration File
Making the Template
Creating the Index Page
Browsing by Category
Showing a Product
Implementing a Shopping Cart
Validating Credit Cards

Chapter 6: Basic Object-Oriented Programming
OOP Theory
Defining a Class
Creating an Object
The $this Attribute
Creating Constructors
Creating Destructors
Autoloading Classes

Chapter 7: Advanced OOP
Advanced Theories
Inheriting Classes
Inheriting Constructors and Destructors
Overriding Methods
Access Control
Using the Scope Resolution Operator
Creating Static Members
Abstract Classes and Methods

Chapter 8: Real-World OOP
Catching Exceptions
Extending the Exception Class
Using the Cart Class
Chapter 9: Networking with PHP
Accessing Other Web Sites
Working with Sockets
Performing IP Geolocation
Using cURL

Chapter 10: PHP and the Server
Compressing Files
PHP-GTK
Establishing a cron
Scheduling Tasks on Windows
Using COM with PHP

Chapter 11: PHP’s Command-Line Interface
Testing Your Installation
Executing Bits of Code
Creating a Command-Line Script
Running a Command-Line Script
Working with Command-Line Arguments
Taking Input

Chapter 12: Using PEAR
Using Benchmark
Using HTML_QuickForm
Using Mail_Mime

Chapter 13: Ajax
Introduction to Ajax
A Simple Example
Full-Fledged Ajax
Debugging Ajax Applications

Chapter 14: XML and PHP
What Is XML?
XML Syntax
Attributes, Empty Elements, and Entities
Document Type Definitions
Parsing XML
Creating an RSS Feed


DOWNLOAD THIS BOOKS

Beginning Ajax With PHP Tutorial

Chapter 1: “Introducing Ajax,” puts this new Ajax technology into context, explaining thecircumstances that led to its emergence as one of today’s most talked about advancementsin web development.


Chapter 2: “Ajax Basics,” moves you from the why to the what, covering fundamental Ajax syntax and concepts that will arise no matter the purpose of your application.

Chapter 3: “PHP and Ajax,” presents several examples explaining how the client and server sides come together to build truly compelling web applications.

Chapter 4: “Database-Driven Ajax,” builds on what you learned in the previous chapter by bringing MySQL into the picture.

Chapter 5: “Forms,” explains how Ajax can greatly improve the user experience by performing tasks such as seemingly real-time forms validation.

Chapter 6: “Images,” shows you how to upload, manipulate, and display images the Ajax way.

Chapter 7: “A Real-World Ajax Application,” applies everything you’ve learned so far to build an Ajax-enabled photo gallery.

Chapter 8: “Ergonomic Display,” touches upon several best practices that should always be applied when building rich Internet applications.

Chapter 9: “Web Services,” shows you how to integrate Ajax with web services, allowing you to more effectively integrate content from providers such as Google and Amazon.

Chapter 10: “Spatially Enabled Web Applications,” introduces one of the Web’s showcase Ajax implementations: the Google Maps API.

Chapter 11: “Cross-Browser Issues,” discusses what to keep in mind when developing Ajax applications for the array of web browsers in widespread use today.

Chapter 12: “Security,” examines several attack vectors introduced by Ajax integration, and explains how you can avoid them.

Chapter 13: “Testing and Debugging,” introduces numerous tools that can lessen the anguish often involved in debugging JavaScript.

Chapter 14: “The DOM,” introduces the document object model, a crucial element in the simplest of Ajax-driven applications.

Download Beginning AJAX with PHP
Chapter 1: “Introducing Ajax,” puts this new Ajax technology into context, explaining thecircumstances that led to its emergence as one of today’s most talked about advancementsin web development.

Chapter 2: “Ajax Basics,” moves you from the why to the what, covering fundamental Ajax syntax and concepts that will arise no matter the purpose of your application.

Chapter 3: “PHP and Ajax,” presents several examples explaining how the client and server sides come together to build truly compelling web applications.

Chapter 4: “Database-Driven Ajax,” builds on what you learned in the previous chapter by bringing MySQL into the picture.

Chapter 5: “Forms,” explains how Ajax can greatly improve the user experience by performing tasks such as seemingly real-time forms validation.

Chapter 6: “Images,” shows you how to upload, manipulate, and display images the Ajax way.

Chapter 7: “A Real-World Ajax Application,” applies everything you’ve learned so far to build an Ajax-enabled photo gallery.

Chapter 8: “Ergonomic Display,” touches upon several best practices that should always be applied when building rich Internet applications.

Chapter 9: “Web Services,” shows you how to integrate Ajax with web services, allowing you to more effectively integrate content from providers such as Google and Amazon.

Chapter 10: “Spatially Enabled Web Applications,” introduces one of the Web’s showcase Ajax implementations: the Google Maps API.

Chapter 11: “Cross-Browser Issues,” discusses what to keep in mind when developing Ajax applications for the array of web browsers in widespread use today.

Chapter 12: “Security,” examines several attack vectors introduced by Ajax integration, and explains how you can avoid them.

Chapter 13: “Testing and Debugging,” introduces numerous tools that can lessen the anguish often involved in debugging JavaScript.

Chapter 14: “The DOM,” introduces the document object model, a crucial element in the simplest of Ajax-driven applications.


Download Beginning AJAX with PHP

Apr 30, 2008

Pro PHP XML and Web Services


How This Book Is Structured

For you to get the most out of XML and Web services in PHP, this book is really grouped into three sections. The first section contains terminology and technical information about XML. This includes the concepts and structure of an XML document, validation, and other XML technologies commonly used. The chapters covering this information are based on various specifications. These specifications often use cryptic language and are difficult to understand, so I distill the information in clear terms.

The next group of chapters covers how to parse and manipulate XML documents using some of the extensions in PHP. I explain each extension and its API in detail with real-world examples to help reenforce the concepts covered. I also compare and contrast the extensions, providing you with some insight about where a particular extension excels and how it may not be the correct one to use in a particular situation.

The last group of chapters covers Web services. Although only a single native Web service extension exists in PHP (SOAP), I will provide in-depth coverage of additional technologies using
the extensions from earlier chapters. In addition, I will cover how to integrate with the Yahoo, Google, Amazon, and eBay Web services. Specifically, the chapters break down as follows:

Chapter 1, “Introduction to XML and Web Services”: This chapter provides some background information about XML and Web services. In addition, the chapter defines what these terms mean, explains the history of how they came about, and shows some examples of how XML is used in the real world.

Chapter 2, “XML Structure”: The XML 1.0 specification defines what XML is and the structure of documents but uses language that is not always so straightforward. This chapter explains the structure of an XML document in simple terms and provides some lucid examples. In addition, this chapter introduces some terminology used throughout the book.

Chapter 3, “Validation”: This chapter explains the use of validation in XML using Document Type Definitions (DTDs), XML Schemas, and RELAX NG.

Chapter 4, “XPath, XPointer, XInclude, and the Future”: The focus of this chapter is explaining how to write XPath expressions to query an XML document. You can use XPath with a few of the PHP extensions, and XPath serves as the foundation for XSLT in Chapter 10. The chapter also explains both XPointer and XInclude, which allow for more advanced XML processing.

Chapter 5, “PHP and XML”: This chapter introduces the new XML support in PHP 5.
It explains much of the functionality shared by the XML-based extensions, such as parser options, error handling, PHP streams, and document encoding.

Chapter 6,“Document Object Model (DOM)”: This chapter provides an in-depth look at using the DOM extension and shows how it is used to manipulate an XML document.

Chapter 7, “SimpleXML”: The SimpleXML extension provides a simple interface for working with XML documents. This chapter explains how to use the extension to access virtually any type of XML document, including more complex ones that use namespaces.

Chapter 8, “Simple API for XML (SAX)”: This chapter explains how to work with the xml extension and covers issues you may encounter when migrating an application that uses this extension from PHP 4 to PHP 5.

Chapter 9, “XMLReader”: The XMLReader extension is a lightweight parser and an alternative to the xml extension covered in Chapter 8. This chapter explains and demonstrates how to process an XML document using this extension.

Chapter 10, “Extensible Stylesheet Language Transformation (XSLT)”: You can transform XML documents using XSLT. This chapter begins by explaining the XSLT specification in easy-to-understand terms. Then, this chapter shows how to use the XSL extension in PHP to perform transformations.

Chapter 11, “Effective and Efficient Processing”: With a number of different extensions that can be used to work with XML in PHP, it is often difficult to decide which one to use. This chapter explains the differences between the extensions and continues with tips and tricks that can be used to optimally work with XML in PHP.

Chapter 12, “XML Security”: Data integrity and data security are topics that every developer must be concerned with when writing applications. In this chapter, you will learn how to work with digital signatures and encryption as they pertain to XML.

Chapter 13, “PEAR and XML”: The PHP Extension and Application Repository (PEAR) is a collection of software that can be used when writing an application. This chapter introduces PEAR and explores some of the XML packages it provides.

Chapter 14, “Content Syndication: RSS and Atom”: Content syndication has become popular with the explosion of weblogs (blogs). This chapter examines the three formats that are used to syndicate data and shows how to create and consume syndicated feeds using the PHP extensions.

Chapter 15, “Web Distributed Data Exchange (WDDX)”: This chapter explains what WDDX is and how you can use the wddx extension to exchange data between systems.

Chapter 16, “XML-RPC”: This chapter examines the structure and exchange of XML-RPC documents. You will then learn about the xmlrpc extension and how you can use it to communicate with remote systems.

Chapter 17, “Representational State Transfer (REST)”: Representational State Transfer (REST) is a simple method to create and consume Web services. I demonstrate how to create and consume REST-based services. In particular, you will see how to consume some real services from both Yahoo and Amazon.

Chapter 18, “SOAP”: SOAP allows for the creation of complex Web services. The specifications involved are also quite complex. In this chapter, I show examples of both the Web Services Description Language (WSDL) specification and the SOAP specification. Using this knowledge, you will see how to use the SOAP extension in PHP using realworld examples from eBay and Google.

Chapter 19,“Universal Description,Discovery, and Integration (UDDI)”: UDDI is a technology meant to make working with Web services easier. This chapter shows how you can use PHP to access and maintain records in a UDDI registry.

Chapter 20, “PEAR and Web Services”: Chapter 13 introduces PEAR and its XML packages;this chapter introduces you to some packages that you can use to create and consume a variety of Web services.

Chapter 21, “Other XML Technologies and Extensions”: There are too many XML-based technologies to cover in a single book. In this chapter, I will introduce you to the XMLWriter and SDO XML Data Access Service extensions as well as show how to work with Ajax and Wireless Application Protocol (WAP) using PHP.


DOWNLOAD THIS BOOK

Apr 29, 2008

Ebooks Beginning Ajax With PHP Tutorial


Title : Beginning Ajax With PHP Tutorial
Filetype : PDF
Pages : 235
From Apress
Release : 2007


Detail This Books "Beginning Ajax With PHP Tutorial"

Download This Books

Apr 27, 2008

Ebooks PHP 5 Advanced Download


PHP 5 Advanced with Visual Quickpro Guide
Peachpit Press
Release 2007
Filetype : PDF
Pages : 569
Total Chapter : 14
Size : 8,687 KB

Detail this books "tutorial PHP 5 Advanced"

Apr 24, 2008

PHP Tuturial In Action: Objects, Design, Agility


This book’s purpose involves a kind of bigamy. It introduces state-of-the art objectoriented design principles, patterns, and techniques. Then it weds these to two different partners. The first partner is PHP, the programming language. The second partner is the PHP programmer’s everyday work.

More specifically, this book is about handling and implementing these principles, patterns, and techniques in PHP with its specific syntax and characteristics. It is also about how to apply them to the specific and common challenges of web programming.

Who should read this book?
This book is for programmers who develop applications in PHP and want to learn modern object-oriented practices, principles, and techniques, and how to apply them to the everyday challenges of web programming.
It is not a beginner’s book in PHP; it presupposes a minimum of familiarity with PHP—or experience in other programming languages—and with the basic ideas and challenges of web programming.

How this book is organized
The book is divided into four parts. Parts 1 and 2 introduce the principles, patterns, and techniques mentioned initially and demonstrate how they can be implemented in PHP. Part 1 introduces and develops the subjects of object-oriented programming and design. Part 2 deals with unit testing and refactoring.

Parts 3 and 4 apply the material from the first two parts to the everyday challenges of web programming. Part 3 is about the web interface, while part 4 deals with databases and data storage.

Part 1: Basic tools and concepts
Part 1 moves gradually, chapter by chapter, from the nuts and bolts of object-oriented programming in PHP to the more conceptual subject of object-oriented application design.
Chapter 1 introduces and discusses the pros and cons of PHP and agile practices.
Chapter 2 and chapter 3 deal with the mechanics and syntax of object-oriented programming in PHP. Although objects and classes are ultimately inseparable subjects,
chapter 2 focuses mostly on object features and chapter 3 on class features.
Chapter 4 discusses why objects and classes are a good idea, how they relate to the real world, and how we can tell the difference between good and bad object-oriented designs.
Chapter 5 is about the basic class relationships—inheritance, association, and composition— and the role of interfaces in program design.
Chapter 6 is where we start to go into object-oriented design in earnest. It deals with object-oriented principles that serve as general guidelines for design.
Chapter 7 introduces the subject of design patterns—recurrent solutions to common design problems—and describes some of the most common ones.
Chapter 8 shows how design principles and patterns work in the context of an extended example: date and time handling.

Read more and Download

Apr 23, 2008

PHP in Action Tutorial Download

PHP in Action Objects, Design, Agility
PHP tutorial Ebooks-Content :
Part 1 Tools and concepts 1
1 PHP and modern software development 3
2 Objects in PHP 18
3 Using PHP classes effectively 40
4 Understanding objects and classes 65
5 Understanding class relationships 87
6 Object-oriented principles 102
7 Design patterns 123
8 Design how-to: date and time handling 152

Part 2 Testing and refactoring 187
9 Test-driven development 189
10 Advanced testing techniques 210
11 Refactoring web applications 232
12 Taking control with web tests 269

Part 3 Building the web interface 293
13 Using templates to manage web presentation 295
14 Constructing complex web pages 325
15 User interaction 338
16 Controllers 356
17 Input validation 377
18 Form handling 413
19 Database connection, abstraction, and configuration 432

Part 4 Databases and infrastructure 449
20 Objects and SQL 451
21 Data class design 470

Download this books