 |
 |
 |
 |
 |
 |
Develop rock-solid code in PHP: Write reusable functions, Part 3
Part 3 on developing PHP code discusses building efficient functions that maintain performance and manageability. Amol Hatwar focuses on function reuse and the common problems that occur in PHP coding.
|
 |
Articles |
 |
01 Nov 2002 |
|
| |
Spice up PHP applications with OpenLaszlo, Part 1: Create interactive interfaces
This "Spice up PHP applications with OpenLaszlo" tutorial series shows you how to use OpenLaszlo to create a more interactive interface for your PHP applications and how to use PHP to create more dynamic OpenLaszlo applications. It requires a basic understanding of -- or willingness to learn -- XML, JavaScript, and PHP. Each is well worth knowing for its own merits, plus they plug and play together nicely, since they're all based on synergistic open standards.
|
 |
Tutorials |
 |
14 Mar 2006 |
|
| |
Cloud computing with PHP, Part 1: Using Amazon S3 with the Zend Framework
The Zend Framework contains several classes that make using cloud-based
storage services easy. This article illustrates how to use those classes with
Amazon's S3 cloud storage service.
|
 |
Articles |
 |
22 Sep 2009 |
|
| |
Spice up PHP applications with OpenLaszlo, Part 3: Adding a database
This "Spice up PHP applications with OpenLaszlo" tutorial series shows how to use OpenLaszlo to create a more interactive interface for your PHP applications and how to use PHP to create more dynamic OpenLaszlo applications. It requires a basic understanding of -- or willingness to learn -- XML, JavaScript, and PHP. Part 3, the final part of the series, takes things a step further, showing how to put an application into an ODBC database and create a library that generates OpenLaszlo code using PHP dynamically.
|
 |
Tutorials |
 |
11 Apr 2006 |
|
| |
Setting up your own on-demand video site with PHP, Part 3: Integrating YouTube
Setting up your own on-demand video site doesn't have to be complicated.
Upload some videos and put them up for people to watch -- easy
enough. But if you're going to be doing a lot of videos, you'll need a way to
keep them organized. This three-part series takes you through everything
you need to know to create video optimized for the Web, as well as creating a
PHP application that will help keep your videos organized and accessible. Part
1 lays the groundwork by assembling and installing the necessary components and
gathering and converting the video. Part 2 builds the basic application. Here
in Part 3, you add create a slick user interface and integrate the example with YouTube.
|
 |
Tutorials |
 |
02 Sep 2008 |
|
| |
Setting up your own on-demand video site with PHP, Part 2: Basic structure
Setting up your own on-demand video site doesn't have to be complicated. Upload
some videos and put them up for people to watch. Easy enough. But if you're going to be
doing a lot of videos, you'll need a way to keep them organized. This three-part
"Setting up your own on-demand video site with PHP" tutorial series will take you
through what you need to know to create video optimized for the Web, as well as
creating a PHP application that will keep your videos organized and readily accessible.
Part 1 lays the groundwork by assembling and installing the necessary components, and
gathering and converting the video. Part 2
builds the basic application using CakePHP.
|
 |
Tutorials |
 |
20 May 2008 |
|
| |
Setting up your own on-demand video site with PHP, Part 1: Groundwork
Setting up your own on-demand video site doesn't have to be complicated. Upload
some videos and put them up for people to watch. Easy enough. But if you're going to be
doing a lot of videos, you'll need a way to keep them organized. This three-part
"Setting up your own on-demand video site with PHP" tutorial series will take you
through what you need to know to create video optimized for the Web, as well as
creating a PHP application that will keep your videos organized and readily accessible.
Part 1 lays the groundwork by assembling and installing the necessary components and
gathering and converting the video.
|
 |
Tutorials |
 |
01 Apr 2008 |
|
| |
PHP frameworks, Part 5: Integrating external tasks
A short few years ago, a common criticism about PHP was that it
did not support MVC-style architectures. Today, developers can chose from many
PHP frameworks. This "PHP frameworks" series takes a look at three widely used PHP frameworks -- Zend,
symfony, and CakePHP -- examining their similarities and differences while
building and extending a sample application in each of the three. In this article, you will integrate external tasks,
creating a simple task that can be called using the scheduler cron.
|
 |
Articles |
 |
19 Feb 2008 |
|
| |
PHP frameworks, Part 4: Ajax support
A common criticism of early versions on PHP was that they did not support
Model-View-Controller (MVC)-style architectures. Today, developers can chose from many
PHP frameworks. This "PHP frameworks" series takes a look at three widely used PHP frameworks -- Zend,
symfony, and CakePHP -- examining their similarities and differences while
building and extending a sample application in each of the three frameworks. Part 1
lays out the scope for the series and gets the prerequisites out of the way. In Part
2, you build the sample application in each of the three frameworks. In Part 3,
you extend the application and look at exceptions to the rule. Here,
take a look at how Asynchronous JavaScript + XML (Ajax) is supported in each of the frameworks.
|
 |
Articles |
 |
12 Feb 2008 |
|
| |
Mastering regular expressions in PHP, Part 2: How to process text in PHP
Here in Part 2 of this "Mastering
regular expressions in PHP" series, learn how to solve a variety of difficult text
processing problems with a few advanced regular expression operators.
|
 |
Articles |
 |
08 Jan 2008 |
|
| |
Mastering regular expressions in PHP, Part 1: Perl may be regex king, but PHP can slice and dice input quickly, too
Pattern matching is such a common chore for software that a special shorthand --
regular expressions -- has evolved to make light work of the task. Learn how to use
this shorthand in your code.
|
 |
Articles |
 |
01 Jan 2008 |
|
| |
PHP frameworks, Part 3: User authentication
A common criticism of early versions on PHP was that they did not support
Model-View-Controller (MVC)-style architectures. Today, developers can chose from many
PHP frameworks. This "PHP frameworks" series takes a look at three widely used PHP frameworks -- Zend,
symfony, and CakePHP -- examining their similarities and differences while
building and extending a sample application in each of the three frameworks. Part 1
lays out the scope for the series and gets the prerequisites out of the way. In Part
2, you build the sample application in each of the three frameworks. Here in Part 3,
you will extend the application and look at exceptions to the rule.
|
 |
Articles |
 |
04 Dec 2007 |
|
| |
PHP frameworks, Part 2: Building the sample application
This PHP frameworks series takes a look at three widely used PHP frameworks -- Zend,
symfony, and CakePHP -- examining their similarities and differences while
building and extending a sample application in each of the three frameworks. Part 1
lays out the scope for the series and gets the prerequisites out of the way. Here in
Part 2, you will build the sample application in each of the three frameworks.
|
 |
Articles |
 |
16 Oct 2007 |
|
| |
PHP frameworks, Part 1: Getting started with three popular frameworks
A few short years ago, one of the more common criticisms about PHP was that it
did not support MVC-style architectures. Times change. And these days, there are a
number of choices available in the world of PHP frameworks. This series takes a look
at three widely used PHP frameworks -- Zend, symfony, and CakePHP -- examining their
similarities and differences while building and extending a sample application in each
of the three frameworks.
|
 |
Articles |
 |
09 Oct 2007 |
|
| |
What's new in PHP V5.2, Part 5: Tracking file upload progress
PHP V5.2 added hooks for developers to take advantage of tracking file upload progress in real time. This article, Part 5 of a five-part "What's new in PHP V5.2" series, shows how to monitor file uploads and write code accordingly, with the creation of a PHP progress bar.
|
 |
Articles |
 |
15 May 2007 |
|
| |
Develop with Java and PHP technology on AIX Version 5.3, Part 1: Setting up the Java environment
Develop a Java(TM) application on AIX(R) and learn how to extend it by using
a PHP interface to look at the underlying Java code. It is possible to develop
applications that employ both Java and PHP technology on AIX. You can use Java code
for the core logic (or redeploy an existing Java-based application), while gaining
the benefits of PHP as a Web-based interface platform. This article, the first in a
series, examines the basics of the Java programming language and PHP integration
methods on AIX, provides a quick overview of a sample application that uses this
structure, and then looks at the core elements required before you start developing
the application itself by installing the Java programming language and Apache
Tomcat.
|
 |
Articles |
 |
20 Jun 2007 |
|
| |
What's new in PHP V5.2, Part 4: Using the new ZIP extension
ZIP? It's about time! PHP just added ZIP features to PHP V5.2. This article, Part 4 of a five-part "What's new in PHP V5.2" series, shows you how to make the most of this new feature by creating, editing, uploading and reading, and creating and downloading ZIP files. After reading this article, you will be well versed in the art of ZIP files using the latest ZIP PHP extension in PHP V5.2, so you can reduce bandwidth overhead or storage usage when handling large files with PHP.
|
 |
Articles |
 |
01 May 2007 |
|
| |
Make PHP apps fast, faster, fastest, Part 3: Cache your data in memory with the Memcache daemon
This "Make PHP apps fast, faster, fastest" series explores XCache and XDebug, and now the Memcache daemon. The Memcache daemon (memcached) is a high-performance distributed object cache. Installed between your application and your data store, memcached persists your objects in RAM. Each cache hit replaces a roundtrip to a database server, making your application run faster.
|
 |
Articles |
 |
24 Apr 2007 |
|
| |
Create an interactive production wiki using PHP, Part 5: The open blog
This "Create an interactive production wiki using PHP" tutorial series creates a wiki from scratch using PHP, with value-added features useful for tracking production. Wikis are widely used as tools to help speed development, increase productivity and educate others. Each part of the series develops integral parts of the wiki until it is complete and ready for prime time, with features including file uploading, a calendaring "milestone" system, and an open blog. The wiki will also contain projects whose permissions are customizable to certain users and will contain projects whose permissions are customizable to certain users. In Part 4 we added some task management. Now you will create an open blog, which will allow users a place to hold public discussions.
|
 |
Tutorials |
 |
10 Apr 2007 |
|
| |
Create an interactive production wiki using PHP, Part 4: Task management
This "Create an interactive production wiki using PHP" tutorial series creates a wiki from scratch using PHP, with value-added features useful for tracking production. Wikis are widely used as tools to help speed development, increase productivity and educate others. Each part of the series develops integral parts of the wiki until it is complete and ready for prime time, with features including file uploading, a calendaring "milestone" system, and an open blog. The wiki will also contain projects whose permissions are customizable to certain users and will contain projects whose permissions are customizable to certain users. In Part 3, we added some control over who can do what. Now it's time to add some task management.
|
 |
Tutorials |
 |
03 Apr 2007 |
|
| |
What's new in PHP V5.2, Part 3: Using the new JSON extension
PHP continues to evolve and incorporate useful standards as they are created and adopted among Internet application developers. PHP just added a JavaScript Object Notation (JSON) extension to PHP V5.2, which was previously only available as add-on framework classes. This addition provides PHP developers with better support for Ajax applications using JSON. This article, Part 3 of a five-part "What's new in PHP V5.2" series, shows how to use this application effectively, and after completing this article, you will be proficient at using the built-in JSON extensions with PHP for your Ajax applications.
|
 |
Articles |
 |
27 Mar 2007 |
|
| |
Create an interactive production wiki using PHP, Part 3: Users and permissions
This "Create an interactive production wiki using PHP" tutorial series creates a wiki from scratch using PHP, with value-added features useful for tracking production. Wikis are widely used as tools to help speed development, increase productivity and educate others. Each part of the series develops integral parts of the wiki until it is complete and ready for prime time, with features including file uploading, a calendaring "milestone" system, and an open blog. The wiki will also contain projects whose permissions are customizable to certain users. In Part 2, you got the basic wiki working. Now it's time to add some control over who can do what when accessing Criki.
|
 |
Tutorials |
 |
20 Mar 2007 |
|
| |
What's new in PHP V5.2, Part 2: Using the new input filtering extensions
In Part 2 of this "What's new in PHP V5.2," learn how to effectively use the new input filtering extensions provided by the new PHP V5.2. This is a much-needed feature that will allow you to validate inputs to forms and other input mediums without having to rely on third-party software. After reading this, you will be effective at filtering inputs to increase application security.
|
 |
Articles |
 |
20 Mar 2007 |
|
| |
XML for PHP developers, Part 3: Advanced techniques to read, manipulate, and write XML
This final article in a three-part series discusses more techniques for reading, manipulating, and writing XML in PHP5. In it, you will focus on the now familiar APIs DOM and SimpleXML in more sophisticated surroundings, and, for the first time in this three-part series, on the XSL extension.
|
 |
Articles |
 |
13 Mar 2007 |
|
| |
What's new in PHP V5.2, Part 1: Using the new memory manager
In Part 1 of this "What's new in PHP V5.2" series, learn how to use the new memory manager introduced in PHP V5.2 and become proficient at memory usage tracking and monitoring. This will enable you to more use memory in PHP V5.2 more efficiently.
|
 |
Articles |
 |
13 Mar 2007 |
|
| |
Create an interactive production wiki using PHP, Part 2: Developing the basic wiki code
This "Create an interactive production wiki using PHP" series creates a wiki from scratch using PHP, with value-added features useful for tracking production. Wikis are widely used as tools to help speed development, increase productivity, and educate others. Each part of the series develops integral parts of the wiki until it is complete and ready for primetime, with features including file uploading, a calendaring "milestone" system, and an open blog. The wiki will also contain projects whose permissions are customizable to certain users.
|
 |
Tutorials |
 |
06 Mar 2007 |
|
| |
XML for PHP developers, Part 2: Advanced XML parsing techniques
This second article in a three-part series will discuss XML parsing techniques of PHP5, focusing on parsing large or complex XML documents. It will offer some background about parsing extensions and, specifically, what parsing methods are best suited to what types of XML documents and why.
|
 |
Articles |
 |
06 Mar 2007 |
|
| |
Make PHP apps fast, faster, fastest, Part 2: Profile your PHP application to find, diagnose, and hasten plodding code
If your PHP application is plodding, use a profiler to measure where time is being spent. You can target the statement, loop, function, class, or library that's most sluggish. If time isn't the issue, but rather memory usage, a good profiler can also reveal component footprints.
|
 |
Articles |
 |
06 Mar 2007 |
|
| |
XML for PHP developers, Part 1: The 15-minute PHP-with-XML starter
This first article of a three-part series introduces PHP5's XML implementation and helps those relatively new to using XML with PHP to read, parse, and manipulate, and write a short and uncomplicated XML file using the DOM and SimpleXML in a PHP environment.
|
 |
Articles |
 |
07 Mar 2007 |
|
| |
Make PHP apps fast, faster, fastest, Part 1: Boost performance, throughput with opcode cache software
PHP is a scripting language most often used to create Web applications. It's easy to learn and produces visible results quickly. However, because PHP is interpreted, PHP code is parsed and translated to opcodes every time it executes. An opcode cache eliminates that rework, making PHP applications faster.
|
 |
Articles |
 |
20 Feb 2007 |
|
| |
Use PHP on System i, Part 2: Net.Data and PHP
Compare PHP with the Net.Data server-side scripting language, which IBM develops with DB2(R). Understand the origins of the languages, their syntax differences, usage learning curves, database connections, and other differences. This article is the second part of a series based on working with PHP on System i(TM).
|
 |
Articles |
 |
13 Feb 2007 |
|
| |
Create an interactive production wiki using PHP, Part 1: Introduction and scaffolding
This "Create an interactive production wiki using PHP" series creates a wiki from scratch using PHP, with value-added features useful for tracking production. Wikis are widely used as tools to help speed development, increase productivity, and educate others. Each part of the series develops integral parts of the wiki until it is complete and ready for primetime, with features including file uploading, a calendaring "milestone" system, and an open blog. The wiki will also contain projects whose permissions are customizable to certain users.
|
 |
Tutorials |
 |
13 Feb 2007 |
|
| |
Use PHP on System i, Part 1: Introduction and examples
Learn how to install PHP and DB2(R) on System i(TM), and understand how to port a MySQL application to DB2 on i5/OS(R). Understand the history and architecture types of PHP, including the new architecture that uses i5/OS with an Apache HTTP server and the IBM DB2 database to bring PHP applications to System i(TM). Read examples of PHP Web applications. Learn how PHP applications are especially beneficial to small and medium businesses, because open source PHP applications are often inexpensive and easily accessible. [The product option for the CCA Cryptographic Service Provider has been changed from option 13 to option 35. The title has been changed to indicate the first article in a series. -Ed.]
|
 |
Articles |
 |
08 Feb 2007 |
|
| |
Building the DB2 Health Monitor Sample Application for PHP, Part 2: DB2 pureXML or DOM? You decide
DB2 9 pureXML technology allows businesses to improve data
integrity and avoid legacy data lock-in. It enables application developers
to utilize the best storage medium for the task and eliminate the middle-tier
application logic previously required to take advantage of Web services. It
enables DBAs to centralize logic at the database server
and to help to optimize performance. More importantly, pureXML technology helps to reduce
the complexity of application development back to what it always has been by utilizing
the database for what it does best: to describe, retrieve, and store data. This
article uses the DB2 Health Monitor Sample Application as an example to show you how this
is possible.
|
 |
Articles |
 |
03 Jan 2008 |
|
| |
Learning PHP, Part 1: Register for an account, upload files for approval, and view and download approved files
This tutorial is the first of a three-part "Learning PHP" series that takes you from the most basic PHP script to working with databases and streaming from the file system by documenting the building of a document workflow system. In this part, we look at the basics of building a PHP script, including syntax, HTML forms, and database connections.
|
 |
Tutorials |
 |
14 Jun 2005 |
|
| |
Learning PHP, Part 2: Upload files and use XML to store and display file information
This tutorial is Part 2 of a three-part "Learning PHP" series that takes you from the most basic PHP script to working with databases and streaming from the file system by documenting the building of a document workflow system. Here, documents are uploaded by users and stored in a non-Web-accessible location for retrieval by the application in Part 3. We also look at working with XML files using DOM and SAX, and we look at exceptions.
|
 |
Tutorials |
 |
21 Jun 2005 |
|
| |
Learning PHP, Part 3: Authentication, objects, exceptions, and streaming
This is Part 3 of a three-part "Learning PHP" series teaching you how to use PHP through building a simple workflow application. In this tutorial, you will learn about using HTTP authentication, streaming files, and how to create objects and exceptions.
|
 |
Tutorials |
 |
12 Jul 2005 |
|
| |
Cook up Web sites fast with CakePHP, Part 3: Use Sanitize for your protection
CakePHP is a stable production-ready, rapid-development aid for building
Web sites in PHP. This "Cook up Web sites fast with CakePHP" series shows you
how to build an online product catalog using CakePHP.
|
 |
Articles |
 |
02 Jun 2009 |
|
| |
Cook up Web sites fast with CakePHP, Part 5: Adding cache
CakePHP is a stable production-ready, rapid-development aid for building
Web sites in PHP. This "Cook up Web sites fast with CakePHP" series shows you
how to build an online product catalog using CakePHP.
|
 |
Articles |
 |
02 Jun 2009 |
|
| |
Developing PHP the Ajax way, Part 2: Back, Forward, Reload
A major challenge of Asynchronous JavaScript and XML (Ajax)-driven Web sites is the lack of a Back button. We will use JavaScript to create a history stack for the Ajax photo gallery built in Part 1 of this two-part "Developing PHP the Ajax way" series. This history stack will closely mirror the history utility found in Web browsers, and it will be used to provide Back, Forward, and Reload buttons for the application.
|
 |
Articles |
 |
06 Jun 2006 |
|
| |
Auditing PHP, Part 1: Understanding register_globals
Chances are that at some point you've had a concern about the security of a PHP application. When you're faced with an auditing task, do you know what to look for? This series walks you through PHP and helps you understand it enough to know what you're looking for when conducting a security audit. Part 1 walks you through understanding the register_globals setting.
|
 |
Articles |
 |
10 May 2005 |
|
| |
Developing PHP the Ajax way, Part 1: Getting started
Asynchronous JavaScript and XML (Ajax), is arguably the most popular new Web technology. In this two-part "Developing PHP the Ajax way" series, you will create a simple photo album as an online Web application, entirely in PHP and the Simple Ajax Toolkit (Sajax). You'll begin by writing a simple photo album using the standard method of PHP development and later apply Sajax to make it an active Web application.
|
 |
Articles |
 |
30 May 2006 |
|
| |
What's new in PHP V5.3, Part 4: Creating and using Phar archives
PHP V5.3 is scheduled to release soon. This "What's new in PHP V5.3" series covers new and exciting features in this release. Part 1 looks at the changes made to the object-oriented programming and object handling in PHP V5.3, Part 2 looks at lambda functions and closures. And in Part 3, we look at namespaces, which is one of the most anticipated and the most debated feature in this release of PHP. Here in Part 4, we take a close look at Phar, which is an archive format that can be used within PHP. It can be used to not only archive files but also to deliver and run an entire PHP application from a single file. It can be used with PHP as an extension from the PECL repository, but will be an official extension of PHP in the upcoming version.
|
 |
Articles |
 |
27 Jan 2009 |
|
| |
What's new in PHP V5.3, Part 3: Namespaces
PHP V5.3 will be released by the end of 2008. This series of articles covers new and exciting features found in this release. Part 1 of the series looked at the changes made to the object oriented programming and object handling in PHP 5.3. Part 2 looked at lambda functions and closures. Here in Part 3, we look at namespaces, which is one of the most anticipated and the most debated feature in this release of PHP. The concept of namespaces provides a way to help avoid problems with multiple functions, classes, and constants of the same name being defined multiple times.
|
 |
Articles |
 |
20 Jan 2009 |
|
| |
What's new in PHP V5.3, Part 1: Changes to the object interface
PHP V5.3 is set to be released by the end of 2008, and many of the new features in this release have been in the planning stages for a few years. Originally touted as "PHP V6 without native Unicode support," PHP V5.3 has been developed into a feature-rich upgrade to the PHP V5 line. It's designed to be a release to prepare developers for PHP V6 when it comes by adding many new features, cleaning up existing features by tweaking the functionality, fixing platform-specific issues, and deprecating old features that won't be in future versions of PHP. In this "What's new in PHP V5.3" series, we'll look at these new V5.3 features, and see how they are used and how they can be used in your Web application.
|
 |
Articles |
 |
11 Nov 2008 |
|
| |
Cloud computing with PHP, Part 2: Using Amazon EC2 with the Zend Framework
The Zend Framework contains several classes that make using cloud-based
storage services easy. Part 1 of this "Cloud computing with PHP" series looks at using Zend classes with
Amazon's S3 cloud storage service. This article covers the Zend classes that
make it easy to work with virtual machines in Amazon's Elastic Compute Cloud
(EC2).
|
 |
Articles |
 |
13 Oct 2009 |
|
| |
Create a Web storefront using PHP, Derby and PayPal, Part 3: Setting up orders, shipping, and e-mail
This series chronicles the building of a Web storefront in PHP using PHP Data Objects to access a Derby database. The storefront includes a user manageable shopping cart that allows item purchases using PayPal, and includes the ability for merchants to notify customers via e-mail on successful orders automatically. This final part covers the addition of transactions, a shipping component, and an e-mail notification feature.
|
 |
Tutorials |
 |
22 Nov 2005 |
|
| |
Create a Web storefront using PHP and PayPal, Part 2: Collecting payments
This series chronicles the building of a Web storefront in PHP using PHP Data Objects to access a Derby database. The storefront includes a user manageable shopping cart that allows item purchases using PayPal, and includes the ability for merchants to notify customers via e-mail on successful orders automatically. Part 2 covers creating shopping carts and making payments via PayPal.
|
 |
Tutorials |
 |
15 Nov 2005 |
|
| |
Create a Web storefront using PHP and PayPal, Part 1: Pouring the foundation database
This series chronicles the building of a Web storefront in PHP using PHP Data Objects to access a Derby database. The storefront includes a user manageable shopping cart that allows item purchases using PayPal, and includes the ability for merchants to notify customers via e-mail on successful orders automatically.
|
 |
Tutorials |
 |
08 Nov 2005 |
|
| |
Create an Amazon storefront using PHP: Create an Amazon storefront using PHP, Part 1
>This is the first of a two-part tutorial that constructs an Amazon storefront using PHP and the Amazon E-Commerce Service (ECS). The storefront constructed will allow shoppers to view items displayed in lists or search for specific items in the store. Part 2 will cover the shopping cart, recommendation service, and constructing a collectibles shop.
|
 |
Tutorials |
 |
25 Oct 2005 |
|
| |
Develop rock-solid code in PHP: Use variables effectively, Part 2
In this article, PHP veteran Amol Hatwar discusses how to use variables effectively. He also shows how to make script configuration easy by constructing a configuration file parser using variable variable names in PHP.
|
 |
Articles |
 |
01 Sep 2002 |
|
| |
Devise Web 2.0 applications with PHP and DHTML, Part 2: Use JavaScript to create HTML elements on the fly
Part 1 of this "Devise Web 2.0 applications with PHP and DHTML" series discusses how to build PHP applications with user interface elements like tabs, spinners, and pop-ups using JavaScript, Cascading Style Sheets (CSS), and HTML. Part 2 extends the lesson to include graphing techniques that use JavaScript to create new HTML elements on the fly.
|
 |
Articles |
 |
09 May 2006 |
|
| |
Devise Web 2.0 applications with PHP and DHTML, Part 1: Cook up your own with these recipes
The buzzword of 2006 is Web 2.0. What that means is hotly debated, but it appears to refer to cool dynamic Web applications. Those Web applications -- often developed in PHP -- use dynamic HTML (DHTML) to create pages that move and change without having to go back to the server for a refresh. Author Jack Herrington explains how to get started in this "Devise Web 2.0 applications with PHP and DHTML" series.
|
 |
Articles |
 |
02 May 2006 |
|
| |
Spice up PHP applications with OpenLaszlo, Part 2: PHP REST and data binding
This "Spice up PHP applications with OpenLaszlo" tutorial series shows how to use OpenLaszlo to create a more interactive interface for your PHP applications and how to use PHP to create more dynamic OpenLaszlo applications. It requires a basic understanding of -- or willingness to learn -- XML, JavaScript, and PHP. In Part 2 of this four-part series, we explore an important distributed application architecture called Representational State Transfer (REST), which will be used to extend the knock-knock protocol described in Part 1 to use XML, instead of HTML.
|
 |
Tutorials |
 |
04 Apr 2006 |
|
| |
Use PHP to build a search engine optimization app, Part 1: Getting started
PHP, a dynamic Web-based programming language, takes a variety of input formats and uses a built-in SOAP client to obtain information from the Web. PHP, combined with applications using search engine optimization (SEO), is a powerful tool for obtaining information from major search engines, allowing this information to guide a webmaster's online marketing and SEO strategies. Find out how to take advantage of these strategies by building the back end of an application to monitor and track your client's SEO efforts.
|
 |
Tutorials |
 |
14 Mar 2006 |
|
| |
Use PHP to build a search engine optimization app: Creating reports and billing clients
PHP, a dynamic Web-based programming language, takes a variety of input formats and has a built-in SOAP client to obtain information from the Web. PHP, combined with applications using search engine optimization (SEO), is a powerful tool for obtaining information from major search engines, allowing this information to guide a webmaster's online marketing and SEO strategies. In this final part of a two-part "Use PHP to build a search engine optimization app" series, we add two search venues and the functionality to search all or just one of the search engines. You will also extend the Apache Derby database to provide support for billing clients.
|
 |
Tutorials |
 |
21 Mar 2006 |
|
| |
Cook up Web sites fast with CakePHP, Part 4: Use CakePHP's Session and Request Handler components
CakePHP is a stable production-ready, rapid-development aid for building Web
sites in PHP. This "Cook up Web sites fast with CakePHP" series shows you how to build
an online product catalog using CakePHP.
|
 |
Tutorial |
 |
02 Jun 2009 |
|
| |
Cook up Web sites fast with CakePHP, Part 2: Bake bigger and better with CakePHP
CakePHP is a stable production-ready, rapid-development aid for building
Web sites in PHP. This "Cook up Web sites fast with CakePHP" series shows you
how to build an online product catalog using CakePHP.
|
 |
Tutorial |
 |
02 Jun 2009 |
|
| |
Cook up Web sites fast with CakePHP, Part 1: Getting started
CakePHP is a stable production-ready, rapid-development aid for building
Web sites in PHP. This "Cook up Web sites fast with CakePHP" series shows you
how to build an online product catalog using CakePHP.
|
 |
Tutorial |
 |
02 Jun 2009 |
|
| |
What's new in PHP V5.3, Part 5: Upgrading from PHP V5.2
This "What's new in PHP V5.3" series covers new and exciting features in PHP V5.3, which is scheduled to release soon. Part 1 looks at the changes made to the object-oriented programming and object handling in PHP V5.3, Part 2 looks at lambda functions and closures. In Part 3, we look at namespaces, which is one of the most anticipated and the most debated feature in this release of PHP. In Part 4, we take a close look at Phar, which is an archive format that can be used within PHP. In this final part of the series, learn about things to consider when upgrading from PHP V5.2. There are changes that break backward-compatibility and features that are deprecated in PHP V5.3 for removal in future versions. Some enhancements to existing features within PHP are also covered.
|
 |
Articles |
 |
24 Feb 2009 |
|
| |
What's new in PHP V5.3, Part 2: Closures and lambda functions
Follow along in this "What's new in PHP V5.3" series of articles that covers the new and exciting features found in PHP 5.3, a version that will be released by the end of this year. Part 1 of the series looked at the changes made to the object oriented programming and object handling in PHP 5.3. In Part 2, we look at closures and lambda functions. They are designed to make programming much easier by allowing you to easily define throwaway functions that can be used in many different contexts.
|
 |
Articles |
 |
09 Dec 2008 |
|
| |
30 game scripts you can write in PHP, Part 3: Creating 10 advanced scripts
PHP is an easy to use, easy to learn, widely accessible programming language. It's well suited for developing simple scripts that you can use to help you in all kinds of games. Whether you play simple pen and paper games by yourself, complex tabletop role-playing games with a group of people, or online games of any kind, this series will have something for you. This article will build on Parts 1 and 2 of this series, exploring 10 cool scripts that can be used in various types of games -- from an inventory-management system and note-taking scripts to word-game scripts to image manipulation and scripts for games like keno.
|
 |
Articles |
 |
02 Dec 2008 |
|
| |
30 game scripts you can write in PHP, Part 2: Developing 10 intermediate scripts
PHP is an easy to use, easy to learn, widely accessible programming language. It's well suited for developing simple scripts that you can use to help you in all kinds of games. Whether you play simple pen and paper games by yourself, complex tabletop role-playing games with a group of people, or online games of any kind, this series will have something for you. This article will build on Part 1 of this series, exploring 10 intermediate scripts that can be used in various types of games. These scripts are intended for three types of games: role playing games, games of chance and word games.
|
 |
Articles |
 |
25 Nov 2008 |
|
| |
30 game scripts you can write in PHP, Part 1: Creating 10 fundamental scripts
PHP is an easy-to-use, easy-to-learn, widely accessible programming language. It's well suited for developing simple scripts you can use to help you in all kinds of games. Whether you play simple pen-and-paper games by yourself, complex tabletop role-playing games with a group of people, or online games of any kind, this series will have something for you. Each article in this series will cover 10 scripts in 300 words or fewer (3d10 stands for "roll three 10-sided dice") that are simple enough for even a beginning developer, but useful enough for a seasoned game player. The goal is to give you something you can modify to suit your needs, so you can impress your friends and players by busting out your laptop at your next gaming session.
|
 |
Articles |
 |
18 Nov 2008 |
|
| |
Simple linear regression with PHP, Part 2
Developer Paul Meagher addresses three shortcomings in his PHP math libary to date and shows how to craft a data-exploration tool designed to plumb the depths of information contained in small- to medium-sized datasets. Part two of two parts.
|
 |
Articles |
 |
29 Apr 2003 |
|
| |
Recommended PHP reading list
Learn about PHP (Hypertext Preprocessor) with this reading list compiled for programmers and administrators by IBM Web application developers.
|
 |
Articles |
 |
14 Mar 2006 |
|
| |
Create a blog from scratch with PHP and Subversion
PHP is a great Web programming language to use when creating dynamic Web sites, such as blogs. This tutorial explains how to build a blog from scratch, while storing data using flat files. The Web site will be backed up on a remote system using Subversion, protecting data in the event of a Web-site crash. Subversion is growing in popularity, and it is a great candidate to back up the Web site. With Subversion, it's also possible to roll back the Web site to earlier versions of the blog if your server crashes, or if you just didn't like last week's rambling.
|
 |
Tutorial |
 |
14 Feb 2006 |
|
| |
Get to know the QueryPath PHP library
HTML, HTTP, and XML are the undisputed triumvirate that form the
backbone of Web technology. For the PHP developer, working with these
can be frustrating. The new QueryPath library, a PHP cousin
of the jQuery JavaScript library, offers an efficient API for working
with XML, HTML, and HTTP. From Web pages to Web services, SVG to SPARQL, RDF
to Atom, QueryPath provides a robust yet simple API for contemporary Web
development in PHP. In this article, learn how to build QueryPath objects,
and how to traverse and manipulate XML and HTML. Walk through an example that uses QueryPath to access a
Web service (Twitter).
|
 |
Articles |
 |
28 Apr 2009 |
|
| |
PHP object orientation: Separating concerns
Separation of concerns is a concept in object-oriented (OO) software
design that allows you to build more-modular applications. Modular
applications are easier to maintain and add new features to. PHP's OO language
features allow you to apply design concepts to build more robust, maintainable
applications.
|
 |
Articles |
 |
30 Jun 2009 |
|
| |
Build a RESTful service on CICS with PHP
CICS Transaction Server (TS) is a powerful transaction manager designed for
rapid, high-volume processing. SupportPac CA1S uses technology from IBM
WebSphere sMash to enhance CICS TS with PHP scripting capabilities and
Representational state transfer (REST)-related features. This tutorial shows how you can use PHP to quickly and easily
work with CICS programs and expose them on the Web. If you are a PHP developer,
find out how you can use your skills to interact with enterprise assets in CICS;
if you are a CICS developer, see how PHP provides a simple and agile way to
manipulate your existing resources.
|
 |
Tutorial |
 |
21 Apr 2009 |
|
| |
Criar um Blog a partir do Início com PHP e Subversion
PHP é uma excelente linguagem de programação da Web para ser usada ao criar Web sites dinâmicos, como blogs. Este tutorial explica como construir um blog a partir do início, enquanto armazena dados usando arquivos simples. Será feito backup do Web site em um sistema remoto usando o Subversion, protegendo os dados em caso de travamento do Web site. A popularidade do Subversion está crescendo e ele é um grande candidato para fazer backup do Web site. Com o Subversion, também é possível retroceder o Web site para versões anteriores do blog se seu servidor travar ou se, simplesmente, você não tiver gostado da postagem divagante da semana passada.
|
 |
Tutorial |
 |
14 Feb 2006 |
|
| |
Create better namespaces in PHP
PHP V5.3 introduces the ability to provide namespaces to your PHP
classes, constants, and functions. Using namespaces allows you to avoid naming
collisions and provide context for your PHP code. These tips provide a few guidelines for building your namespaces so that you get the most out of them.
|
 |
Articles |
 |
23 Jun 2009 |
|
| |
Create a blog from scratch with PHP and Subversion
PHP is a great Web programming language to use when creating dynamic Web sites, such as blogs. This tutorial explains how to build a blog from scratch, while storing data using flat files. The Web site will be backed up on a remote system using Subversion, protecting data in the event of a Web-site crash. Subversion is growing in popularity, and it is a great candidate to back up the Web site. With Subversion, it's also possible to roll back the Web site to earlier versions of the blog if your server crashes, or if you just didn't like last week's rambling.
|
 |
Tutorials |
 |
14 Feb 2006 |
|
| |
XML: The bridge between GWT and PHP
Google Web Toolkit (GWT) applications, apart from connecting to servlets in time-honored Java fashion, can also use PHP Web services to send and receive data
in XML. You'll explore methods to generate XML documents and process them, both in the Java language and in PHP.
|
 |
Articles |
 |
07 Apr 2009 |
|
| |
How to turn your PHP application into a bot
A freely available module allows your PHP application to attach to an IRC server and respond to messages. To illustrate how to use the module, this article shows you how to create an IRC bot in PHP that can tell you the weather on demand for a ZIP code.
|
 |
Articles |
 |
17 Jan 2006 |
|
| |
How to use regular expressions in PHP
Regular expressions can provide a powerful way to work with text. Using regular expressions, you can do complex validation of user input, parse user input and file contents, and reformat strings. PHP provides simple methods that let you use POSIX and PCRE regular expressions. This article discusses the differences between POSIX and PCRE, and how you can use regular expressions and PHP V5.
|
 |
Tutorials |
 |
10 Jan 2006 |
|
| |
PHP project resources
Project information for PHP developers, including latest articles and tutorials published, as well as other valuable PHP resources.
|
 |
|
 |
16 Jul 2007 |
|
| |
Simple linear regression with PHP: Part 1
Contributor Paul Meagher explains the necessity of a PHP-based math library and constructs a simple linear regression algorithm model as an example. Part one of two parts.
|
 |
Articles |
 |
01 Mar 2003 |
|
| |
Use command-line tools in PHP
Learn how to better integrate scripts with command-line tools. Emphasis is placed on using shell_exec(), exec(), passthru(), and system(); safely passing information to the command line; and safely retrieving information from it.
|
 |
Articles |
 |
19 May 2009 |
|
| |
Conduct Web experiments using PHP, Part 2
In Part 1 of this two-part series, Paul Meagher showed you how to improve the quality of your Web offers by developing PHP-based tools to set up and run Web experiments. In Part 2, you focus on simulating and analyzing the contingency table data arising from these Web experiments.
|
 |
Articles |
 |
09 Nov 2004 |
|
| |
Getting graphic with PHP
Imagine creating Web-page graphics dynamically using just code -- no need for a
complex graphics program. Creating and manipulating images is yours for the doing with
the power of PHP. Put your coding skills to work generating images for the Web.
|
 |
Tutorials |
 |
01 Jul 2008 |
|
| |
Build Web services with PHP in Eclipse
Learn how to build Web services in PHP using the PHP Development Tools (PDT)
plug-in in Eclipse in three easy steps. First, become familiar with the PDT project, and
learn how to create and deploy useful PHP projects. Second, learn the philosophy behind
contract-first development. Finally, get an informative overview of the basic parts
that make up a Web Services Description Language (WSDL) file.
|
 |
Tutorials |
 |
01 Jul 2008 |
|
| |
Integrate your PHP application with Google Calendar
Google Calendar allows Web application developers to access user-generated
content and event information through its REST-based Developer API. PHP's SimpleXML
extension and Zend's GData Library are ideal for processing the XML feeds generated
by this API and using them to build customized PHP applications. This article
introduces the Google Calendar Data API, demonstrates how you can use it to browse user-generated calendars; add and update calendar events; and perform keyword searches.
|
 |
Articles |
 |
08 Jul 2008 |
|
| |
Run PHP applications in Apache Geronimo
PHP has been a popular scripting language for some time. However, with the growing buzz over Java technology and Apache Geronimo, a J2EE-certified application server, many experienced developers shy away from using PHP with Geronimo, because only JavaServer Pages (JSP) is supported out of the box. The PHP Java Bridge solves this problem by providing full support for PHP on Geronimo and for sharing sessions across both PHP and JSP scripts.
|
 |
Tutorials |
 |
07 Feb 2006 |
|
| |
Web site user modeling with PHP
Web site user modeling, a mathematical discipline, is easier than you might expect. In this tutorial, Paul Meagher shows you how to construct a user-modeling platform with PHP and MySQL -- technologies well suited for a species of user-modeling called Web site user modeling. Even small Web-development shops can use clickstream data to build Web site user models.
|
 |
Tutorials |
 |
30 Dec 2003 |
|
| |
Debugging PHP using Eclipse and PDT
The PHP Development Tools (PDT) plug-in, when installed with Eclipse Europa,
gives you that ability to quickly write and debug PHP scripts and pages. PDT supports
two debugging tools: XDebug and the Zend Debugger. Learn how to configure PDT for
debugging PHP scripts and discover which perspectives you use when taking closer looks at your scripts.
|
 |
Tutorials |
 |
17 Jun 2008 |
|
| |
Generate dynamic bitmap graphics with PHP and gd
A picture is worth a thousand words, especially when it is used to illustrate business, financial, or scientific data. It is worth even more if you can generate it on demand and serve the latest information in the visual format. If your job requires writing such applications in PHP, then this tutorial will teach you how to generate dynamic bitmap images using PHP and the gd library.
|
 |
Tutorials |
 |
07 May 2003 |
|
| |
Process and integrate Google Notebook data with PHP
Google Notebook is a free service that allows users to save and share notes and Web clippings in an online journal. A REST-based API allows developers to build customized PHP applications around this service using SimpleXML. In this article, you learn how to use the API, with examples of reading notebooks
and notebook contents using PHP.
|
 |
Articles |
 |
20 May 2008 |
|
| |
Build Web services with PHP in Eclipse
Learn how to build Web services in PHP using the PHP Development Tools plug-in
in Eclipse Europa. Become familiar with the PDT project, and learn how to create and
deploy useful PHP projects, learn about the philosophy behind contract-first
development, and understand the basic parts that make up a Web Services Description Language (WSDL) file.
|
 |
Tutorials |
 |
13 May 2008 |
|
| |
The future of PHP
PHP's next edition, V6, includes new features and syntax improvements that will
make it easier to use from an object-oriented standpoint. Other important features,
such as Unicode support in many of the core functions, mean that PHP
V6 is positioned for better international support and robustness.
|
 |
Articles |
 |
06 May 2008 |
|
| |
Use the YouTube API with PHP
The YouTube video sharing site allows Web application developers to access public
content through its REST-based developer API. The SimpleXML extension in PHP is ideal for processing the
XML feeds generated by this API and using them to build customized PHP applications. This article introduces
the YouTube Data API, demonstrates how you can use it to browse user-generated video content; access video
metadata, comments and responses; and perform keyword searches.
|
 |
Articles |
 |
18 Apr 2008 |
|
| |
Five more PHP design patterns
PHP V5's object-oriented features give you the ability to implement design
patterns to improve your code's design. When you improve your code's design in this
way, it becomes more readable, more maintainable, and more robust to absorb changes.
|
 |
Articles |
 |
25 Mar 2008 |
|
| |
Seven habits for writing secure PHP applications
Security in a PHP application includes remote and local security concerns.
Discover the habits PHP developers should get into to implement Web applications that have both characteristics.
|
 |
Articles |
 |
30 Sep 2008 |
|
| |
Scaling PHP applications with Varnish
Stretch the capacity of your Web server farm with PHP and a reverse proxy, such as Varnish.
|
 |
Articles |
 |
04 Mar 2008 |
|
| |
Running Caucho’s Quercus PHP Java interpreter on WebSphere Application Server for z/OS with DB2 UDB for z/OS
PHP is one of the most common Web scripting languages. This article shows the quickest way to use PHP with WebSphere for z/OS, in just a few simple steps. You can even run it on the IBM System z Application Assist Processor (zAAP) with no additional software costs, and connect it to DB2 UDB for z/OS.
|
 |
Articles |
 |
10 Sep 2008 |
|
| |
Jump-start your PHP applications with the Eclipse PHP Class Generator plug-in
PHP classes can sometimes still be a black box, a big unknown to many new and
some old-school PHP developers. But it doesn't have to be that way. Classes help
modularize code and remove extraneous copies of code scattered throughout the code base
by placing the code into functions within classes. This helps make maintaining
your code much easier. That's what the PHP Class Generator plug-in for Eclipse helps
PHP developers do: generate PHP classes to help manage database tables, so you don't
have to, which helps speed up the learning curve.
|
 |
Articles |
 |
05 Feb 2008 |
|
| |
Build a customizable RSS feed aggregator in PHP
RSS (Rich Site Summary, RDF Site Summary, or Really Simple Syndication) has
been around since the mid-1990s. Over the years, several variants of the RSS format
have popped up and several claims have been made about its ownership. Despite these
differences, RSS never ceased to serve its usefulness in distributing Web content
from one Web site to many others. The popularity of RSS gave way to the growth of a
new class of Web software called the feed reader, also known as the feed aggregator.
Although there are several commercially available feed aggregators, it's easy to
develop your own feed aggregator, which you can integrate with your Web
applications. You'll appreciate this article's fully functional PHP code snippets,
demonstrating the use of PHP-based server-side functions to develop a customizable
RSS feed aggregator. In addition, you'll reap instant benefits from using the fully
functional RSS feed aggregator code, which you can download from this article.
|
 |
Articles |
 |
22 Jan 2008 |
|
| |
Tip: Manipulate del.icio.us bookmarks with PHP
The del.icio.us service lets users collect and share bookmarks online.
Manipulate these bookmarks with PEAR's Services_Delicious package that interfaces
with the REST API of del.icio.us and build customized PHP applications.
|
 |
Articles |
 |
22 Jan 2008 |
|
| |
Enterprise search with PHP and Apache Solr
Discover how to combine an enterprise-worthy search engine -- Apache Software
Foundation's Solr -- with your PHP application.
|
 |
Articles |
 |
15 Jan 2008 |
|
| |
Tip: Parsing RDDL documents with PHP
The Resource Directory Description Language (RDDL) lets document authors provide more information about resources used within an XHTML document. Parse these RDDL descriptors with an API in the XML_RDDL package from PEAR, and extract resource information for use in any PHP application.
|
 |
Articles |
 |
10 Dec 2007 |
|
| |