 |
 |
 |
 |
 |
 |
Create an alerts system using XMPP, SMS, pureXML, and PHP
Thanks to the native XML support that pureXML offers IBM DB2 database developers, you can load XML data directly into your database, freeing up development time to add functionality to your application. Follow along in this tutorial to import an XML file with Euro foreign exchange rates into an IBM DB2 database and use special XQuery and SQL/XML functions to split this XML into separate database rows. You will also create a PHP script that pulls down new rates from the European Central Bank (ECB) Web site each day. Then you will extend the script to send update alerts to a Google Talk user using the XMPP protocol, and to a cell phone by SMS text message using the Clickatell SMS gateway service. Finally, you will create a PHP script that generates a PNG (Portable Network Graphics) graph of this data.
|
 |
Tutorial |
 |
24 Nov 2009 |
|
| |
Build a Support Knowledge Base using DB2 pureXML and PHP
Creating applications that use a hybrid of relational data and XML data is easy thanks to
the pureXML feature of IBM DB2 database servers.
In this tutorial, you use PHP to create a Web application that connects to an IBM DB2 Express-C
database and stores some of its data in traditional relational database columns, and some of it in native XML columns.
You also learn how to use SQL/XML queries to retrieve, insert, update, and delete data from this database.
Beyond the hands-on, project-based training, the tutorial equips you with the skills
and conceptual knowledge you need to develop your own hybrid applications.
|
 |
Tutorial |
 |
19 Nov 2009 |
|
| |
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 |
|
| |
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 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 |
|
| |
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 |
|
| |
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 |
|
| |
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 |
|
| |
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 |
|
| |
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 |
|
| |
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 |
|
| |
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 |
|
| |
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 |
|
| |
Overlay data on maps using XSLT, KML, and the Google Maps API, Part 1: Tap into the Google Geocoder Web service
Explore the Google Geocoder Web service that takes a street address and
returns data about that address including its longitude and latitude. In this two-part article series, you will combine it with the Google Maps API and XSLT to create data overlays for display in Google Maps and Google Earth. You will create an example application for a real-estate brokerage that lets a broker enter listings for apartments through an HTML form, uses Google's Geocoder Web service to translate those addresses into longitudes and latitude, and then creates KML overlays from the database of apartment listings. In Part 1, you build the first half of the application to collect 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 those coordinates in the database along with the address information.
|
 |
Articles |
 |
02 Sep 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 |
|
| |
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 |
|
| |
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 |
|
| |
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 |
|
| |
Ajax and XML: Ajax for tables
One strong suit of Asynchronous JavaScript + XML (Ajax) is presenting data from the server to users in a dynamic fashion. Discover several techniques that use Ajax for dynamic data display using tables, tabs, and gliders.
|
 |
Articles |
 |
11 Mar 2008 |
|
| |
Top ten XML articles and tutorials - March 2008
See what XML content your peers found most valuable last
month
|
 |
|
 |
07 Mar 2008 |
|
| |
Top ten XML articles and tutorials - January 2008
See what XML content your peers found most valuable last
month
|
 |
|
 |
07 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 |
|
| |
Create an Ajax mindreader application with E4X and Prototype, Part 1: Build the Twenty Questions infrastructure
XML seems like a natural format for passing Ajax data. However, to work with
XML in JavaScript using the Document Object Model (DOM) is not always the best way to handle this kind of
data. This has given rise to other choices, such as JSON, which provide a more
object-like feel for developers. Now ECMAScript for XML (E4X) combines many of the
best features of the DOM with extremely easy data binding to provide a more
straightforward way to deal with XML in the browser. In this two-part article
series, you'll learn to use both E4X and the Prototype JavaScript library to create
a simple Ajax mindreader application that plays Twenty Questions and learns about new objects as it goes along. Part 1 shows you how to create a system that takes an existing knowledge base and analyzes it to determine what the user may be thinking.
|
 |
Articles |
 |
12 Feb 2008 |
|
| |
Ajax and XML: Ajax for forms
Augmenting your HTML forms with Ajax callbacks to the server is a practical way to
add Web 2.0 functionality to your application. Discover a variety of techniques to add
Ajax code and enhance the user experience for 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 |
|
| |
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 |
|
| |
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 |
|
| |
Top ten XML articles and tutorials - December 2007
Explore the XML content that your fellow readers recently focused on.
|
 |
|
 |
07 Jan 2008 |
|
| |
Push RSS to new limits
This tutorial presents an innovative use of the well-known Really Simple
Syndication (RSS) format's associative properties to emulate the functionality of a
simple relational database. It demonstrates using RSS channels to store contact
information and meeting information -- much as a personal address book and calendar
does. It uses RSS elements and attributes such as items and guids to create a neural-network-like mesh of related data.
|
 |
Tutorials |
 |
18 Dec 2007 |
|
| |
Top ten XML articles and tutorials - November 2007
Explore the XML content that your fellow readers recently focused on.
|
 |
|
 |
11 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 |
|
| |
Ajax and XML: Ajax for chat
Learn to build a chat system into your Web application with Asynchronous
JavaScript + XML (Ajax) and PHP. Your customers can talk to you and to each other about
the content of the site without having to download or install any special instant-messaging software.
|
 |
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 |
|
| |
Top ten XML articles and tutorials - October 2007
Explore the XML content that your fellow readers recently focused on.
|
 |
|
 |
08 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 |
|
| |
Top ten XML articles and tutorials - September 2007
Explore the XML content that your fellow readers recently focused on.
|
 |
|
 |
12 Oct 2007 |
|
| |
Top ten XML articles and tutorials - August 2007
Explore the XML content that your fellow readers recently focused on.
|
 |
|
 |
13 Sep 2007 |
|
| |
Use PHP to create XForms, Part 2: Using the PHP XForms library to create useful XForms
This two-part article series is designed to get PHP developers up to speed in leveraging Web 2.0 XForms forms for their PHP forms development so that they can finally put their outdated Web 1.0 HTML forms away. In Part 1, you created the PHP XForms library. In this article, Part 2, you will enhance the library to include some error checking and convenience functions to help make using the library more manageable, and lastly you'll demo the library by creating a proof of concept XForm.
|
 |
Articles |
 |
12 Sep 2007 |
|
| |
Tip: Read News Industry Text Format (NITF) files with PHP
The News Industry Text Format is an XML-based format used by the news industry to encode and share the content of news articles. PEAR's XML_NITF package provides an extensible API to read and parse NITF-formatted files, making it easy to extract bibliographical information and article content for use in any PHP application.
|
 |
Articles |
 |
28 Aug 2007 |
|
| |
Use PHP to create XForms, Part 1: Creating a PHP XForms library
This two-part article series is designed to get PHP developers up to speed in leveraging Web 2.0 XForms forms for their PHP forms development so that they can finally put their outdated Web 1.0 HTML forms away. This will be accomplished by creating a library of functions that generate XForms elements when called upon. In this article, Part 1 of a two-part series, developers will create the XForms library using PHP, allowing each function to take in parameters and output XForm elements.
|
 |
Articles |
 |
28 Aug 2007 |
|
| |
Manage ODF and Microsoft Office 2007 documents with DB2 9 pureXML
Integrate your ODF and Microsoft Office 2007 documents into your enterprise and Internet applications more easily than ever before with DB2 9. Review older methods of data interchange with MS Office documents, and learn how MS Office 2007 offers better data interchange. This article discusses interchange with DB2 9 XQuery, Zend Core for IBM, PHP, and PDO technologies.
|
 |
Articles |
 |
16 Aug 2007 |
|
| |
iPhone development with PHP and XML
The Apple iPhone is the hottest new device on the market. Discover how
you can develop an application for it using your existing Web tools.
|
 |
Articles |
 |
14 Aug 2007 |
|
| |
Tip: Create portable database representations with PEAR MDB2_Schema
To change an application's database back-end is a complex task, that often
requires the developer to manually re-create database tables and records using data
types and SQL functions compatible with the new RDBMS. The PEAR MDB2_Schema package can make this task easier, by generating a vendor-neutral representation of a database using XML and providing tools to import this representation into any supported RDBMS.
|
 |
Articles |
 |
07 Aug 2007 |
|
| |
Ajax and XML: Ajax for ratings and comments
In the age of the people-powered Web, allowing your readers to rate and
review content on your site is critical. Discover just how easy it is to add rating
and commenting features to a site with Ajax.
|
 |
Articles |
 |
24 Jul 2007 |
|
| |
Top ten XML articles and tutorials - July 2007
Explore the XML content that your fellow readers recently focused on.
|
 |
|
 |
17 Jul 2007 |
|
| |
Use XForms and Ajax to create an autosuggest form field
Web application development has been revolutionized by Ajax. What was once a new and flashy technology is now becoming ubiquitous. End users are coming to expect that certain interactions with a Web application will be done "with no refresh," in other words, using Ajax. The ubiquity of Ajax for users has not yet translated to client-side technologies. There are many Ajax frameworks out there that make it simpler to use Ajax, hiding some of the cross-browser issues, but building an Ajax-enabled Web application is still a non-trivial task, to say the least. XForms is a standardized technology that offers many benefits that are complimentary to Ajax. In this article you will see some of the benefits of using Ajax and XForms together by implementing an autosuggest field.
|
 |
Articles |
 |
10 Jul 2007 |
|
| |
Top ten XML articles and tutorials - May 2007
Explore the XML content that your fellow readers recently focused on.
|
 |
|
 |
12 Jun 2007 |
|
| |
Top ten XML articles and tutorials - June 2007
Explore the XML content that your fellow readers recently focused on.
|
 |
|
 |
12 Jun 2007 |
|
| |
Convert XML to JSON in PHP
With the growing popularity of Web 2.0, a new data interchange format called JavaScript Object Notation (JSON) is emerging as a useful way to represent data in the business logic running on browsers. Learn how PHP-based server programs can convert XML-formatted enterprise application data into JSON format before sending it to browser applications.
|
 |
Articles |
 |
05 Jun 2007 |
|
| |
Tip: How to use Atom's slug header when you publish content
One advantage of the Atom Publishing Protocol is the ability to not only retrieve information, but also to add or edit information. In this tip, learn to use Atom's Slug header to influence the final URL for this information. This tip uses the Blogapps server, which supports draft 10 of the Atom Publishing Protocol 1.0 specification, but is applicable to any APP 1.0 compliant server.
|
 |
Articles |
 |
05 Jun 2007 |
|
| |
Use XForms to create an accounting tool, Part 6: Wrapping it up
This six-part series demonstrates how to leverage the power of XForms in conjunction with MySQL and PHP to create an online accounting tool called X-Trapolate. Every good programming technology possesses a range of problems it excels at solving. This series highlights some of the problems that the XForms solves effectively, such as the need for live calculations and greater interactivity. Part 6 of this six-part series takes a final review and lessons learned approach, making sure there are no gaps in the final application and looking at future possibilities.
|
 |
Articles |
 |
15 May 2007 |
|
| |
Use XForms to create an accounting tool, Part 5: Developing liability management functionality
This six-part series demonstrates how to leverage the power of XForms in conjunction with MySQL and PHP to create an online accounting tool called X-Trapolate. Every good programming technology possesses a range of problems it excels at solving. The series highlights some of the problems that the XForms solves effectively, such as the need for live calculations and greater interactivity. Part 5 of this six-part series demonstrates how to create a payables form for liability and payment, and a reports form to analyze billing data and statistics.
|
 |
Tutorials |
 |
08 May 2007 |
|
| |
PHP and RSS: Getting it together
RSS Syndication is virtually ubiquitous these days, so it's imperative that a PHP developer at least understand RSS and how it works. This article explains the basics of RSS, some of its many uses, how to use PHP to create an RSS feed from a database, and how to use the XML_RSS module to read an existing RSS feed and translate it into HTML.
|
 |
Articles |
 |
01 May 2007 |
|
| |
Use XForms to create an accounting tool, Part 4: More asset management and reporting
This six-part series demonstrates how to leverage the power of XForms in conjunction with MySQL and PHP for support processing to create an online accounting tool called X-Trapolate. Every good programming technology possesses a range of problems it excels at solving. The series highlights some of the problems that the XForms solves effectively, such as the need for live calculations and greater interactivity. Part 4 of this six-part series demonstrates how to pull together many of the techniques touched on in earlier installments using the example of the order review form and the asset management form, with special privileges for procurement users. It also introduces new techniques for handling real world issues.
|
 |
Tutorials |
 |
17 Apr 2007 |
|
| |
Tip: Paging Atom: Create a multi-section Atom collection or feed
As feeds move beyond merely announcing new content on somebody's blog and into organizing data, you can easily find situations where you don't want your feed to include all of the available data. This tip shows you how to create an Atom feed that lets users page through it using "next" and "previous" links or buttons. While the tip shows you how to implement this functionality using PHP, the concepts are the same for any programming language.
|
 |
Articles |
 |
10 Apr 2007 |
|
| |
Ajax RSS reader
Learn how to build an Asynchronous JavaScript and XML (Ajax) Really Simple Syndication (RSS) reader, as well as a Web component that you can place on any Web site to look at the articles in the RSS feeds.
|
 |
Articles |
 |
03 Apr 2007 |
|
| |
Use XForms to create an accounting tool, Part 3: Developing asset management functionality
This six-part series demonstrates how to leverage the power of XForms in conjunction with MySQL and PHP for support processing to create an online accounting tool called X-Trapolate. The series highlights some of the problems that the XForms solves effectively, such as the need for live calculations and greater interactivity. Part 3 of this six-part series demonstrates how to leverage the power of XForms in conjunction with PHP and MySQL to create some tools for interacting with the data of day-to-day business.
|
 |
Tutorials |
 |
03 Apr 2007 |
|
| |
Use XForms to create an accounting tool, Part 2: Logging in and accounts
This six-part series demonstrates how to leverage the power of XForms in conjunction with MySQL and PHP for support processing to create an online accounting tool called X-Trapolate. Every good programming technology possesses a range of problems it excels at solving. The series highlights some of the problems that the XForms solves effectively, such as the need for live calculations and greater interactivity. Part 2 of this six-part series demonstrates how to leverage the power of XForms in conjunction with PHP and MySQL to create the basic "login," "registration," and "account management" functionality seen in many modern Web applications.
|
 |
Tutorials |
 |
27 Mar 2007 |
|
| |
Use XForms to create an accounting tool, Part 1: The making of X-Trapolate
This six-part series demonstrates how to leverage the power of XForms in conjunction with MySQL and PHP for support processing to create an online accounting tool called "X-Trapolate." Every good programming technology possesses a range of problems it excels at solving. The series highlights some of the problems that the XForms solves effectively, such as the need for live calculations and greater interactivity. This article, Part 1 of the series, provides an overview of the different forms and functionality that will be created in this series, examining some of the aspects of this type of tool you must consider when undertaking the design.
|
 |
Articles |
 |
20 Mar 2007 |
|
| |
Top ten XML articles and tutorials - January 2007
Explore the XML content that your fellow readers recently focused on.
|
 |
|
 |
14 Mar 2007 |
|
| |
Top ten XML articles and tutorials - February 2007
Explore the XML content that your fellow readers recently focused on.
|
 |
|
 |
14 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 |
|
| |
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 |
|
| |
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 |
|
| |
Creating an XForms-based logo generator
Scalable Vector Graphics (SVG) provides an easy way to declaratively create an image using XML, and XForms provides an easy way to edit XML. In this article you will put the two together to create an XForms-based XVG editor for creating SVG images such as logos.
|
 |
Articles |
 |
20 Feb 2007 |
|
| |
XForms tip: Use XForms to upload a file to PHP
Uploading files is a fairly common task using HTML forms, but how do you do it in XForms, where the data gets stored as part of an XML document? This tip explains how to create an XForms form that enables the user to upload a file, and it explains how to create a PHP script that saves the file on the server once it arrives.
|
 |
Articles |
 |
03 Jan 2007 |
|
| |
Generate Flash movies on the fly with PHP
Rich Internet Applications is the new buzz-phrase for Web 2.0, and a key component of the substance behind Web 2.0 is Adobe Flash. Learn how to integrate Flash movies into your application and generate Flash movies dynamically using the Ming library.
|
 |
Articles |
 |
19 Dec 2006 |
|
| |
XForms tip: Sending XForms data using e-mail
Part of the value of forms is their ability to send information where you need it. In the case of Web forms, that destination is normally a Web server that analyzes the right data. But what if you want to send the information using e-mail? In XForms, you have two options for accomplishing this feat; one on the server side, and one on the client side. This tip shows you how to e-mail XForms data from PHP, and also directly from the browser.
|
 |
Articles |
 |
17 Oct 2006 |
|
| |
SimpleXML processing with PHP
Discover the SimpleXML extension, which is bundled with PHP version 5 and enables PHP
pages to query, search, modify, and republish XML in a PHP-friendly syntax.
|
 |
Articles |
 |
10 Oct 2006 |
|
| |
XForms tip: Accepting XForms data in PHP
In some ways, an XForms form is just like an HTML form; with the proper encoding, the server-side script receiving the data won't even know the difference. But the strength of XForms forms is in many ways the fact that the data can be submitted directly as XML. Of course, this capability doesn't do you any good unless the script is prepared to receive the data. In this tip, you will see how to create a PHP script that can receive and work with XML data submitted by an XForms form.
|
 |
Articles |
 |
26 Sep 2006 |
|
| |
Practical business graphing with SVG and XML
Learn to build business graphs using XML, PHP and the Scalable Vector Graphics (SVG) standard. The SVG standard gives your graphics infinite vector scalability, visual effects, and even scripted interactivity.
|
 |
Articles |
 |
18 Jul 2006 |
|
| |
The Ajax transport method
Discover three Ajax data transport mechanisms (XMLHttp, script tags, and frames or iframes) and their relative strengths and weaknesses. This tutorial provides code for both the server side and the client side and explains it in detail to provide the techniques you need to put efficient Ajax controls anywhere you need them.
|
 |
Tutorials |
 |
06 Jun 2006 |
|
| |
Reading and writing the XML DOM with PHP
Myriad techniques are available for reading and writing XML in PHP. This article presents three methods for reading XML: using the DOM library, using the SAX parser, and using regular expressions. Writing XML using DOM and PHP text templating will also be covered.
|
 |
Articles |
 |
06 Dec 2005 |
|
| |
Develop apps with Web services and the eBay SDK, Part 3: Develop eBay applications with PHP5 and Web services
Create applications in PHP5 that interact with eBay through Web services. Almost half of eBay's transactions occur through its Web services platform. In this tutorial, you'll acquire a solid understanding of the mechanics of the eBay XML API and learn how to use the Services_Ebay PHP extension.
|
 |
Tutorials |
 |
08 Nov 2005 |
|
| |
Use DB2 native XML with PHP
You will be able to use PHP with the native XML capability coming in the next version of DB2 UDB to develop Web apps with a smaller code size, reduced complexity, simpler relational schema, and better management of schema evolution as business requirements change. This article illustrates the concepts with a usage scenario modeled around an online shop selling antique silverware to registered customers.
|
 |
Articles |
 |
27 Oct 2005 |
|
| |
Using Ajax with PHP and Sajax
For years, the goal of creating a truly responsive Web application was hampered by one simple fact of Web development: To change the information on part of a page, a user must reload the entire page. Not anymore. Thanks to asynchronous JavaScript and XML (Ajax), we can now request new content from the server and change just part of a page. This tutorial explains how to use Ajax with PHP and introduces the Simple Ajax Toolkit (Sajax), a tool written in PHP that lets you integrate server-side PHP with JavaScript that makes this work.
|
 |
Tutorials |
 |
18 Oct 2005 |
|
| |
Read and write Excel data with PHP
Learn how to use the XML support in PHP to read the data from the XML exported from Microsoft Excel 2003. Also, learn to export data from your PHP application as Excel XML so your users can see their data in a real spreadsheet.
|
 |
Articles |
 |
04 Oct 2005 |
|
| |
Code generation in XSLT 2.0, Part 2: Generate PHP with XSLT 2.0
In Part 2 of this two-part series on XSLT, Jack Herrington shows you how to expand the XSLT 2.0 code generator that you built in Part 1 to create the PHP portion of the code that provides the database access for a Web server.
|
 |
Articles |
 |
18 Feb 2005 |
|
| |
SAX-like apps in PHP
Nicholas Chase demonstrates a SAX-like method in PHP that allows developers to work with both local and remote XML files.
|
 |
Articles |
 |
01 Mar 2003 |
|
| |