 |
 |
 |
 |
 |
 |
Validating XML in PHP
PHP developers commonly require the services of an Extensible Markup Language (XML) parser in their code. Along these lines, they frequently find it necessary to validate XML input. Fortunately, you can easily accomplish this in PHP. This article shows you how to validate XML documents within PHP and determine the cause of validation failures.
|
 |
Articles |
 |
10 Nov 2009 |
|
| |
Building XQuery-powered applications with PHP and Zorba
Zorba is an open-source, robust, and standards-compliant XQuery processor. The Zorba extension in PHP provides an API to Zorba functions from within PHP, and thereby allows developers to add sophisticated XQuery processing to their PHP/XML applications. Examine the Zorba PHP API in detail, and how to use it for a variety of purposes.
|
 |
Articles |
 |
03 Nov 2009 |
|
| |
Leveraging pureXML in a Flex microblogging application, Part 3: Using pureXML Web services to publish microblog entries to an HTML page
The pureXML capabilities of IBM DB2 allow you to store XML natively in a database
without modification, while Adobe Flex applications can read XML directly and
populate Flex user interfaces. In this three-part article series, you will create
a microblogging application that takes advantage of pureXML, Web services, and
Adobe Flex; and even allows you to publish your microblogging updates on Twitter.
In Part 1 of the series, you learned about Web Services and how they are enabled
using DB2 pureXML as you created the microblog database and tested it. Part 2
tapped into Adobe Flex and ActionScript to create the user interface of your application. In this article, the final part of the series, you will learn how to use your pureXML Web Services to publish your microblog entries to an HTML page.
|
 |
Articles |
 |
03 Nov 2009 |
|
| |
Introduction to MVC programming with Agavi, Part 2: Add forms and database support with Agavi and Doctrine
Work with the scalable, open-source Agavi framework to create an input form, use Doctrine to auto-generate the data models for the project, and integrate these models into the Agavi project in Part 2 of this five-part series.
|
 |
Articles |
 |
27 Oct 2009 |
|
| |
Implement access control with Agavi
Agavi is an open-source, flexible, and scalable framework for application development. One of its key features is a full-featured API for user authentication and role-based access control. Examine this API in detail, and see how to add sophisticated application-level privilege management and manipulation to a Web application.
|
 |
Articles |
 |
27 Oct 2009 |
|
| |
Introduction to MVC Programming with Agavi, Part 1: Open a whole new world with Agavi
This is the first of a five-part series of articles written for the PHP developer interested in learning about an open-source, flexible, and scalable framework called Agavi. In this first article, you walk through the installation of the framework and the other required components, get an overview of Agavi and its functions, and create your first Web application.
|
 |
Articles |
 |
27 Oct 2009 |
|
| |
Introduction to MVC programming with Agavi, Part 3: Add authentication and administrative functions with Agavi
Continue to build the Web Automobile Sales Platform by adding the ability to add, delete, and update the automobile records in Part 3 of a five-part series. You will also see how to separate user functions from administrative functions with authentication.
|
 |
Articles |
 |
27 Oct 2009 |
|
| |
Introduction to MVC programming with Agavi, Part 4: Create an Agavi search engine with multiple output types including XML, RSS, or SOAP
Implement a simple search engine and add support for multiple output types such as XML, RSS, or SOAP for your sample Agavi program in Part 4. This five-part series is for the PHP developer interested in Agavi, a open-source, flexible, and scalable framework.
|
 |
Articles |
 |
27 Oct 2009 |
|
| |
Introduction to MVC programming with Agavi, Part 5: Add paging, file uploads, and custom input validators to your Agavi application
This is the final article in a five-part series written for the PHP developer interested in learning about an open-source, flexible, and scalable framework called Agavi. You'll learn to support file uploads, store user data in sessions, integrate third-party libraries and create custom input validators for your Agavi application.
|
 |
Articles |
 |
27 Oct 2009 |
|
| |
Examine PHP V5.3.0 features under the microscope
As the popular PHP language continues to evolve, many new features enhance
its object-oriented aspects. In this article, PHP V5.3 examples illustrate late static binding,
namespace support, class method overloading, and variable parsing and heredoc support.
|
 |
Articles |
 |
27 Oct 2009 |
|
| |
The Simple Cloud API
The Simple Cloud API provides a common API to a variety of cloud
services. A collaborative effort by Zend, GoGrid, IBM, Microsoft, Nirvanix and
Rackspace, the API allows you to write portable code that can interoperate
with multiple cloud vendors. Best of all, the API allows you to use services
specific to a particular vendor as necessary.
|
 |
Articles |
 |
20 Oct 2009 |
|
| |
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 |
|
| |
Top Open source zone articles of the past decade
Check out which Open source zone articles developerWorks readers found most
interesting in the past 10 years. And get to know your Open source zone editor
a little bit, too.
|
 |
Articles |
 |
23 Sep 2009 |
|
| |
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 |
|
| |
Introducing Quercus, a Java-based PHP framework
Quercus is a new approach to authoring Web services and
applications using a mixture of Java and PHP. With the Quercus framework, Java and PHP are integrated with each
other, thus allowing you to conveniently incorporate versatile Java libraries
like Spring and Hibernate into applications. This article provides a brief
introduction of the framework along with some code samples. Explore the
features and advantages of the framework using a simple HelloWorld sample. And
finally, understand the framework architecture and
look at a real world example in more detail.
|
 |
Articles |
 |
22 Sep 2009 |
|
| |
Integrate your PHP application with Google Contacts
The Google Contacts Data API provides a powerful, client-neutral API to read and modify a user's private Gmail contact information. Learn to retrieve, add, delete, and modify contacts through a custom PHP application with this API in an application context.
|
 |
Articles |
 |
22 Sep 2009 |
|
| |
Creating an Atom feed in PHP
Atom is an Extensible Markup Language (XML) specification that identifies information contained in a Web site. Using Atom, Web developers produce feeds that enable other Web developers (or consumers who use feed readers) to quickly locate and view information of interest on a remote site. Think of it as a Web site's index, available to anyone who wants it. Using PHP, a popular language of choice for most host providers, a Web developer can easily produce an Atom feed that can then be made available to the various feed readers and other Web developers. The ultimate result is a state-of-the-art information solution that enables the Web content to reach a much wider audience.
|
 |
Articles |
 |
28 Jul 2009 |
|
| |
Using Flex SDK with Mate and PHP
Mate is a lightweight event-driven framework that enables you to build
user interfaces (UIs) and services in a Model-View-Controller (MVC) pattern. Learn how to use Eclipse PHP development tools (PDT) and the Flex software development kit (SDK) together to build an application using the Mate framework.
This article expands on the existing Mate documentation, as it focuses on using Eclipse PDT as the tool.
|
 |
Articles |
 |
14 Jul 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 |
|
| |
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 |
|
| |
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 |
|
| |
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 |
|
| |
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 |
|
| |
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 |
|
| |
An early look at what's coming in PHP V6
In this article, learn about the new PHP V6 features in detail. Learn
how it is easier to use, more secure, and more suitable
for internationalization. New features include improved support
for Unicode, clean-up of several functions, improved extensions, engine additions,
changes to OO functions, and PHP additions.
|
 |
Articles |
 |
05 May 2009 |
|
| |
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 |
|
| |
Realities of open source cloud computing, Part 1: Not all clouds are equal
Your CTO wants to know your cloud computing strategy -- and
wants to know it tomorrow. There are a lot of choices, with many
differences and similarities. This article explores some of the
options for an organization that wants to leverage the power and
promise of cloud computing, with a focus on open source
technologies. Learn about several of the providers, such as
Amazon, Microsoft, Google, IBM, Aptana, Heroku, Mosso, Ning, and
Salesforce. Review the relative strengths and weaknesses of
each platform, and what types of open source and proprietary
technologies are supported on each platform. Learn how to pick the platform that fits your needs.
|
 |
Articles |
 |
07 Apr 2009 |
|
| |
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 |
|
| |
Harness the power of XML to Open Financial Exchange files
The ongoing task of bookkeeping is made somewhat easier when financial institutions allow customers to download files for import into their chosen accounting package. These files can pose a problem for financial programmers, however, because they are frequently only available in Open Financial Exchange (OFX) format, which is not XML compatible. Discover how to use PHP with string substitution to make OFX files XML compliant. Thus, you harness the power of XML parsing and deconstruction to OFX files and make financial programming more precise.
|
 |
Articles |
 |
17 Mar 2009 |
|
| |
Use PHP to convert Twitter to RSS
This article explains the underpinnings of Twitter and shows PHP
developers how to use libraries to manipulate feeds into Rich Site Summary
(RSS).
|
 |
Articles |
 |
03 Mar 2009 |
|
| |
Use jQuery and PHP to build an Ajax-driven Web page
Learn to use jQuery, the lightweight JavaScript framework, to add Asynchronous JavaScript + XML (Ajax) functionality to your PHP pages.
|
 |
Articles |
 |
03 Mar 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 |
|
| |
Use PHP to build a Twitter-like system on your site
Learn how to use PHP to add a Twitter-like interface to
your applications. Specifically, we show you how to allow users to add posts,
disseminate those posts to other users who want to receive them, and allow
users to choose to follow the posts of other users.
|
 |
Articles |
 |
24 Feb 2009 |
|
| |
Build an Eclipse development environment for Perl, Python, and PHP
Eclipse presents a wealth of capabilities for building tools for compiled languages like C and the Java programming language, but provides little support for scripting languages like Perl, Python, and PHP. For these and similar languages, the Eclipse Dynamic Languages Toolkit (DLTK) comes to the rescue. Walk through the process of building a DLTK-based IDE and discover sample code for each step.
|
 |
Tutorials |
 |
03 Feb 2009 |
|
| |
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 |
|
| |
Building dynamic Web page applications using PHP and IBM solidDB
Learn how to use PHP with IBM solidDB to build a dynamic Web
page application. IBM solidDB is an
in-memory database that features extremely fast transaction speeds for queries
of even the largest databases. PHP is a scripting language that has become a
widely used platform for Web applications. This article shows you how to use
PHP to connect to a solidDB database and perform basic operations such as retrieve,
update, and delete. You can use these steps as a foundation for building rich Web
applications that harness the power of solidDB.
|
 |
Articles |
 |
22 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 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 |
|
| |
Five good programming habits in PHP
Just like any language, developers can write code in PHP that ranges in quality from truly awful to very good. Learn good programming habits that can help you bridge the productivity gap.
|
 |
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 |
|
| |
Building Semantic Web CRUD operations using PHP
Create, Read, Update, and Delete (CRUD) operations are the most basic database operations, but they are also the most crucial. CRUD operations are typically done using the Structured Query Language (SQL) on relational database systems. As the Web is becoming more and more data-oriented, there is a need to shift from SQL-based CRUD operations to Semantic Web-based CRUD operations. Learn how to use PHP to perform CRUD operations over the Semantic Web.
|
 |
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 |
|
| |
Create a framework to support XSLT transformation pipelines
Explore the creation of a framework, called Butterfly, that runs in PHP 5 and
facilitates the applications of chains of XSLT stylesheets to XML source documents.
This provides transparent caching of the transformed results. Inspired by the Java(TM)-based Apache Cocoon project, so named because it houses and manages the transformation of data from one form to another (turning caterpillars into butterflies), this much lighter-weight framework is named Butterfly. With the Butterfly framework, you can set up an XML configuration file to define chains of stylesheet transformations, and then instantiate Butterfly objects that can each produce the result of an XSLT transformation chain. This article will also look at the nature of framework design in general as it sketches out this framework in particular.
|
 |
Articles |
 |
18 Nov 2008 |
|
| |
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 |
|
| |
Build seven good object-oriented habits in PHP
With PHP's object-oriented (OO) language features, if you aren't already
creating your applications with OO principles in mind, these seven habits will help you
get started in the transition between procedural programming and OO programming.
|
 |
Articles |
 |
28 Oct 2008 |
|
| |
Customize a Google Maps result page with Google Mapplets
A Google Mapplet is an application that runs inside a Google Maps results
page and lets you add your own custom information and behavior to the page and the
map. In this tutorial, you will write a Google Mapplet that uses the Yahoo
Weather RSS feed to display the local weather in Google Maps. To demonstrate
different techniques while using the Google Mapplets API, you'll implement two solutions. The first is on the client side and uses RSS and JavaScript. The second is on the server side and uses XSLT, PHP, KML, and JavaScript.
|
 |
Tutorials |
 |
21 Oct 2008 |
|
| |
PHP and .Net Web development for U2 using Web DE / RedBack objects
IBM U2 Web DE, U2 Web Development Environment (previously called
RedBack), is a Web framework for accessing UniVerse and UniData databases. In
this article, examine the history and essential framework of Web DE, and learn
how PHP and .NET can reference Web DE RedBack Objects (RBOs) to access U2 data
stores in a similar way that ASP and Java technology can use them.
|
 |
Articles |
 |
16 Oct 2008 |
|
| |
Create a Yahoo! SearchMonkey application
SearchMonkey is one of the first attempts from a major search engine to make
use of Semantic Web technologies to enhance search results. In this tutorial, you
will implement a Yahoo! SearchMonkey application that enhances blogger.com search
listings to include other information about the blog and blog owner. You will
first implement a basic application using the default data available from Yahoo!.
Then you will create a custom data service to provide your own structured data to
SearchMonkey before you develop a more advanced application that takes advantage of this new custom data service.
|
 |
Tutorials |
 |
14 Oct 2008 |
|
| |
Separate content from presentation with XSLT, SimpleXML, and PHP 5
Over the years, developers have devised many strategies and frameworks to
facilitate the separation of business logic and presentation logic. In this
tutorial, you will explore two solutions to separating data and business logic
from presentation logic: one using XSLT through the XSL module in PHP 5 and the
other using the SimpleXML module in PHP 5. To do this, you'll use a Web page for a personal resume stored as an XML file as an example.
|
 |
Tutorials |
 |
07 Oct 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 |
|
| |
Develop PHP applications with Picasa Web Albums
Search, retrieve, add, modify, and delete photos in a Google Picasa web album with Picasa Web Albums REST-based Data API, the SimpleXML extension in PHP, and Zend's GData Library. In this article, find practical examples using ATOM feeds from the API along with PHP programs to process your photos and photo metadata.
|
 |
Articles |
 |
16 Sep 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 |
|
| |
Overlay data on maps using XSLT, KML, and the Google Maps API, Part 2: Transform and use the data
In this two-part article series, you'll develop an application for a real
estate brokerage to display all available apartment listings as clickable
Placemarks on Google Maps. In Part 1, you created the first half of the
application that collects the apartment listing information from the user, uses
the Google Geocoder Web service to turn the street address into its geographical
coordinates (longitude and latitude), and stores the coordinates in the database
along with the address information. In Part 2, you will use this data to produce a
KML overlay document and display it in Google Maps and Google Earth. First, you'll use stored procedures to produce XML from MySQL. Then with XSLT and a technique called Muenchian grouping, you'll transform the XML data into a KML document containing the overlay information -- one Placemark for each apartment building. The pop-up balloon for each Placemark displays the available apartment listings in that building. Finally, you'll use the Google Maps API to display the KML overlay in a Google Map embedded within your own Web site.
|
 |
Articles |
 |
09 Sep 2008 |
|
| |
Build Ajax-based Web sites with PHP
Learn the process of writing Asynchronous JavaScript + XML
(Ajax) applications using native JavaScript code and PHP. This article introduces a few different
frameworks and application program interfaces (APIs) that reduce the amount of code you need
to write to achieve a complete Ajax-based Web application.
|
 |
Articles |
 |
02 Sep 2008 |
|
| |
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 |
|
| |
Getting started with CodeIgniter
Creating a CodeIgniter application is easier than you might think. Take a guided tour
through your first project: a simple Web page with a contact form.
|
 |
Articles |
 |
26 Aug 2008 |
|
| |
Developing software on an open source stack
Web developers are enjoying a renaissance. After spending much of the previous
decade toiling on server-centric code, programmers are now putting code
front-and-center, turning the Web browser into its own computing platform. Much of the
renaissance must be attributed to ingenuity. The newest generation of tools and
application frameworks automate and simplify the drudgery of building, deploying, and
maintaining a Web site. There are also more tools than ever, and all the most
innovative tools are open source. This tutorial provides an expansive survey of the free
software available to developers to create and deploy Web applications.
|
 |
Tutorials |
 |
19 Aug 2008 |
|
| |
Create a productivity package with the Zend Framework V1.5 and Google
Apps, Part 3: Getting started with Zend Framework V1.5
In this three-part "Create a productivity package with the Zend Framework V1.5
and Google Apps" tutorial series, you will build an example Web site using Zend
Framework V1.5 to connect to several Google productivity applications. So far,, we've
built a basic Web site using the new features of the Zend Framework V1.5, such as
enhancements to the Zend_View and Zend_Form components. We then looked at Zend_Gdata
and to link our Web site to Google Base data. Here in the final part of the series, we
see how to link to Google Calendar, Google Docs, spreadsheets, Picasa, and YouTube. We
use these tools to provide a dashboard for our Web
site. This dashboard allows users to display upcoming events and documents, as well as
giving them the ability to add events and documents to the Google account.
|
 |
Tutorials |
 |
05 Aug 2008 |
|
| |
Create a productivity package with the Zend Framework V1.5 and Google
Apps, Part 2: Getting started with Zend Framework V1.5
In this three-part "Create a productivity package with the Zend Framework V1.5
and Google Apps" tutorial series, you will build an example Web site using Zend
Framework V1.5 to connect to several Google productivity applications. In Part 1, we put
together the basic Web site using the Zend Framework, and we learned how to optimize
the Web site for future maintenance. Here in Part 2, we look at using the Zend_Form and
Zend_Gdata components of the Zend Framework to handle user authentication and
registration, Ajax with the jQuery JavaScript library, and integration with Google Base.
|
 |
Tutorials |
 |
29 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 |
|
| |
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 |
|
| |
Create a productivity package with the Zend Framework V1.5 and Google Apps, Part 1: Getting started with Zend Framework V1.5
Google Apps provides amazing productivity tools. From sharable calendars,
collaborative documents and spreadsheets to even a database, they have reinvented what
one can do in the Web browser. Zend Framework V1.5 provides an API to connect to these
services to extend what these tools offer. In this three-part "Create a productivity
package with the Zend Framework V1.5 and Google Apps" tutorial series, we will
build an application with Zend Framework V1.5 that uses Google Apps. Here
in Part 1, we explore the various features of the Zend Framework, outlining the many
new features in V1.5 that we will take advantage of to build an example Web site.
|
 |
Tutorials |
 |
24 Jun 2008 |
|
| |
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 |
|
| |
Mastering Facebook application development with PHP, Rational
Application Developer, WebSphere Application Server, and DB2, Part 3: Complete the Facebook stock broker demo application
This is the final tutorial of a three-part series on developing a fully functioning Facebook application in PHP and Java languages that provides a Facebook interface to an existing stock brokerage's trading application. In this tutorial you use all the tools you installed and components you developed in the first two parts of this series to implement the specifics of the Facebook application.
|
 |
Tutorials |
 |
16 Jun 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 |
|
| |
Implement Semantic Web standards in your Web site
With Yahoo's recent announcement that they will implement support of
Semantic Web standards in their search engine, the benefits that the Semantic Web
has for your site have never been clearer. In addition to the existing benefits such as your structured content giving you a free, open-ended API, you now get the opportunity for increased search rankings, and more importantly, increased relevance because the search engine can better understand what the content of your site is about. In this tutorial you will learn to implement a simple social networking site using PHP and MySQL, which will implement Semantic Web standards such as hCard and Friend of a Friend (FOAF) as part of a semantic Uniform Resource Identifier (URI) scheme.
|
 |
Tutorials |
 |
20 May 2008 |
|
| |
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 |
|
| |
What's new in Zend Framework V1.5
The popular open source Zend Framework just got some slick enhancements. Learn
what's new in V1.5 and how upgrades, including Zend_Form, Zend_Layout and Zend_View,
enhanced support for GData Web services, and improved Ajax support can help PHP
developers easily roll out cutting-edge Web applications.
|
 |
Articles |
 |
15 Apr 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 |
|
| |
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 |
|
| |
Use an XML database in PHP and Java applications
Native XML databases have grown in popularity along with XML, because data
is stored as native XML, rather than through tables in a traditional database. Using
a native XML database means that a change to the schema requires minimal changes to
your code and no change to the database. PHP and Java(TM) developers can benefit greatly
from using native XML databases. In this tutorial, you will get quickly up to speed using a native XML database and see how to use it to benefit XML development.
|
 |
Tutorials |
 |
25 Mar 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 |
|
| |
Create your own information space with Ajax and del.icio.us
del.icio.us is a social bookmarking Web site that allows users to create and
share browser-independent bookmarks, accessible directly over the Internet, in ways
your browser won't allow. The traditional hierarchical organization of browser bookmarks is overhauled, allowing users to instead associate each and every bookmark with any number of descriptive tags. Imagine a single page where you and your friends can surf the Web and have your del.icio.us tags, links, and functions handy, or a single page where you can save the site you're browsing directly into your del.icio.us account, along with comments and chosen tags. This tutorial shows you how to use Ajax to build just such a page using a PHP script as the server-side proxy.
|
 |
Tutorials |
 |
26 Feb 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 |
|
| |
Top 10 Open source tutorials and articles -- October 2009
Check out which Open source tutorials and articles developerWorks readers
found most interesting last month.
|
 |
|
 |
08 Feb 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 |
|
| |
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 |
|
| |
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 |
|
| |
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 |
|
| |
Pull parsing XML in PHP
Discover the XMLReader library, which is bundled with PHP 5 and enables PHP pages to process XML documents in an efficient streaming mode.
|
 |
Articles |
 |
11 Jan 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 |
|
| |
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 |
|
| |
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 |
|
| |
Web development with Eclipse Europa, Part 3: Ruby Development Toolkit and RadRails
It's a good time to be a Web developer. You've never had more choices in terms
of technologies. There are so many great open source Web servers, databases,
programming languages, and development frameworks. No matter what combination of
technologies you prefer to work with, there is a single integrated development
environment (IDE) that can increase your productivity: Eclipse. In Part 1 of this
three-part series on how to use Eclipse for Web development in Java, PHP, and Ruby, you
saw how the latest release of Eclipse -- Europa -- can be used to rapidly develop Java
Web applications. In Part 2, you saw how easy it is to develop PHP applications using
a different set of Eclipse plug-ins, collectively known as the PHP Development Toolkit
(PDT). Here in Part 3, we introduce the RDT and RadRails Eclipse plug-ins and show you
how to get these plug-ins and start using them. You will learn how to use RadRails to
do many common Ruby on Rails development tasks.
|
 |
Tutorials |
 |
18 Dec 2007 |
|
| |
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 |
|
| |
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 |
|
| |
Display Google Calendar events on your PHP Web site with XPath
Google Calendar and other online calendaring applications provide simple
centralized systems where online communities can maintain event calendars and
community members can get information about upcoming events. But many organizations
prefer to display event calendars on their community portals, forums, or blogs. They
often copy event calendar information from online calendaring applications
onto their Web sites, reducing the effectiveness of centrally managing events
online. Google Calendar provides an integration application program interface (API)
that provides a good solution to this problem. Find out how to use
XPath to extract and display Google Calendar data on your PHP Web site.
|
 |
Articles |
 |
27 Nov 2007 |
|
| |
Squash bugs in PHP applications with Zend Debugger
A special application called a debugger probes running code, allowing you to
suspend execution arbitrarily, examine objects, explore the call stack, and even change
the value of a variable on the fly. Learn how to use a debugger to squash bugs in your PHP code.
|
 |
Articles |
 |
13 Nov 2007 |
|
| |
Web 2.0 Starter Toolkit for IBM DB2, Part 1
Learn how to install the Web 2.0 Starter Toolkit for IBM DB2. This demo shows
how to install DB2 Express-C, Apache HTTP Server, PHP, additional PHP extensions and
the Atom and Web services control panel.
|
 |
Demos |
 |
07 Nov 2007 |
|
| |
Process XML configuration files with PHP
XML provides a convenient, easy-to-use expression language for an
application's configuration files. To extract this information into a PHP script can
sometimes pose a challenge. That's where the XJConf for PHP package comes in: It provides an API to read XML-encoded information and directly use it to configure PHP data structures like scalars, arrays and PHP objects. This article introduces the package and demonstrates some useful real-world applications of its usage, including configuring complex class trees and building a Web-based configuration interface.
|
 |
Articles |
 |
06 Nov 2007 |
|
| |
Ajax and XML: Ajax for media
With the advent of widely available broadband, media, movies, images, and sound
drive the Web 2.0 revolution. Learn to combine media with technologies
such as PHP and Asynchronous JavaScript + XML (Ajax) to create a compelling experience
for your customers.
|
 |
Articles |
 |
23 Oct 2007 |
|
| |
Refine and debug PHP applications with syslog
An old technique for exploring a running program is to place code that
"displays" the current value of variables at strategic points. But how is this done
without interfering with the standard output of the program? With PHP's syslog()
facility, examining these values is easy.
|
 |
Articles |
 |
16 Oct 2007 |
|
| |