" /> Linux Web Developer: January 2006 Archives

« December 2005 | Main | February 2006 »

January 28, 2006

Build a Perl/CGI voting system Many Web-deployed applications


Build a Perl/CGI voting system
Many Web-deployed applications are written within elaborate database-driven server-side development frameworks such as PHP and Java servlets, but for simple applications (for example, where the entire dataset fits comfortably within a Web server's RAM), data persistence can be easily accomplished using locked DBM files in conjunction with the Perl MLDBM module. This article presents a real-world example -- a Web-based voting application -- that highlights the use of minimal external modules, forgoes using client-based cookies, and takes advantage of CGI attributes.

Technorati Tags:

Discover Python, Part 6: Programming in Python This


Discover Python, Part 6: Programming in Python
This article explores the Python for loop. The for loop is used to iterate through the items in a Python collection, including the Python tuple, string, and list container types discussed in previous "Discover Python" articles. The for loop can also be used to access elements from a container type by using the range (or xrange) method. In addition, you can use the range method to execute a group of statements a specific number of times within a for loop.

Create a Web storefront using PHP, Derby and


Create a Web storefront using PHP, Derby and PayPal, Part 3
This series chronicles the building of a Web storefront in PHP using PHP Data Objects to access a Derby database. The storefront includes a user manageable shopping cart that allows item purchases using PayPal, and includes the ability for merchants to notify customers via e-mail on successful orders automatically. This final part covers the addition of transactions, a shipping component, and an e-mail notification feature.

IBM WebSphere Developer Technical Journal: Get started with


IBM WebSphere Developer Technical Journal: Get started with WebSphere Application Server Community Edition
IBM WebSphere Application Server Community Edition is an open source Java 2 Platform, Enterprise Edition (J2EE) application server based on Apache Geronimo. This article will help you understand why you might want to use this new product, when it might be the best choice for your project, and then walks you through what you need to know to get up and running quickly with WebSphere Application Server Community Edition, from setting up your environment and choosing the right download package to deploying applications.

January 27, 2006

WebSphere migrations: Migrate from Gluecode SE or Apache


WebSphere migrations: Migrate from Gluecode SE or Apache Geronimo to WebSphere Application Server Community Edition
For Gluecode Standard Edition or Apache Geronimo users, this article explains how to migrate a J2EE application from either of these open source application server environments to IBM WebSphere Application Server Community Edition 1.0.

January 24, 2006

WebSphere migrations: Migrate from Gluecode SE or Apache


WebSphere migrations: Migrate from Gluecode SE or Apache Geronimo to WebSphere Application Server Community Edition
For Gluecode Standard Edition or Apache Geronimo users, this article explains how to migrate a J2EE application from either of these open source application server environments to IBM WebSphere Application Server Community Edition 1.0.

January 23, 2006

Cultured Perl: Perl polishes its Unicode support Although


Cultured Perl: Perl polishes its Unicode support
Although Perl 6 with its promised Unicode support is right around the corner, the Unicode features built into Perl 5.8.6 are reason enough to get started writing localized apps. Using his preferred editor, Yudit, Ted shows how Perl can read, interpret, and manipulate UTF-8-encoded Unicode.

Technorati Tags:

Sockets programming in Python This tutorial shows how


Sockets programming in Python
This tutorial shows how to develop sockets-based networking applications using Python. In this tutorial, you first learn a few Python basics and see why Python makes a good network programming language. Then you move on to the basic sockets features of Python, using a sample chat application as a guide, and look at several other, high-level, classes that provide asynchronous communications.

Create a Web storefront using PHP and PayPal,


Create a Web storefront using PHP and PayPal, Part 1
This series chronicles the building of a Web storefront in PHP using PHP Data Objects to access a Derby database. The storefront includes a user manageable shopping cart that allows item purchases using PayPal, and includes the ability for merchants to notify customers via e-mail on successful orders automatically.

WebSphere migrations: Migrate from JBoss to WebSphere Application


WebSphere migrations: Migrate from JBoss to WebSphere Application Server Community Edition
The introduction of IBM WebSphere Application Server Community Edition is a golden opportunity for small and medium sized organizations to leverage the support and the architecture of WebSphere Application Server and Apache Geronimo as a superior alternative to JBoss Application Server. This document describes resources to help you migrate applications running on JBoss to WebSphere Application Server Community Edition.

January 21, 2006

Use IBM Cloudscape/Apache Derby as RFT database in


Use IBM Cloudscape/Apache Derby as RFT database in GT4
This article describes the code and configuration changes required to use the Apache Derby open source database management system (DBMS) as the database manager for the Reliable File Transfer (RFT) service in Globus Toolkit 4.0 (GT4). GT4 currently supports the PostgreSQL and MySQL DBMS. As a 100-percent Java technology system, Derby can be embedded in a GT4 distribution, which would greatly simplify installation, configuration, and operation for your grid. The core GT4 component that requires a DBMS is the RFT.

Reading and writing the XML DOM with PHP


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.

January 18, 2006

Get the most out of high performance message-driven


Get the most out of high performance message-driven beans and WebSphere Application Server
When high performance is a priority, it is important to make sure that both the application server and the JMS provider are properly configured. Explore the configuration options available to you in IBM WebSphere Application Server, and learn how to handle potential limitations and performance issues with some general rules of thumb and some best practices.

Technorati Tags:

Discover Python, Part 6: Programming in Python This


Discover Python, Part 6: Programming in Python
This article explores the Python for loop. The for loop is used to iterate through the items in a Python collection, including the Python tuple, string, and list container types discussed in previous "Discover Python" articles. The for loop can also be used to access elements from a container type by using the range (or xrange) method. In addition, you can use the range method to execute a group of statements a specific number of times within a for loop.

Create graphics the smart way with PHP This


Create graphics the smart way with PHP
This article shows how to build an object-oriented graphics layer in PHP. Using object-oriented systems can make building complex graphics much easier than building the graphics using the primitives in the standard PHP library.

IBM WebSphere Developer Technical Journal: Get started with


IBM WebSphere Developer Technical Journal: Get started with WebSphere Application Server Community Edition
IBM WebSphere Application Server Community Edition is an open source Java 2 Platform, Enterprise Edition (J2EE) application server based on Apache Geronimo. This article will help you understand why you might want to use this new product, when it might be the best choice for your project, and then walks you through what you need to know to get up and running quickly with WebSphere Application Server Community Edition, from setting up your environment and choosing the right download package to deploying applications.

January 13, 2006

Perl programming with DB2 Universal Database Learn how


Perl programming with DB2 Universal Database
Learn how to write simple Perl programs that extract or manipulate data stored in DB2 UDB. You will go from the simple task of selecting a row from a database into a Perl program, to more advanced topics, including dealing with large objects and invoking stored procedures.

Technorati Tags:

Discover Python, Part 4: Explore the Python type


Discover Python, Part 4: Explore the Python type hierarchy
Python provides a number of useful features, of which the list class is one of the most important. This article introduces the list class and demonstrates some of the many ways in which you can use it to simplify difficult programming tasks.

Debugging techniques for PHP programmers This article details


Debugging techniques for PHP programmers
This article details various methods for debugging PHP applications, including turning on error reporting in Apache and PHP, and by placing strategic print statements to locate the source of more difficult bugs through a simple example PHP script. The PHPEclipse plug-in for Eclipse, a slick development environment with real-time syntax parsing abilities, will also be covered, as well as the DBG debugger extension for PHPEclipse.

IBM WebSphere Application Server Community Edition, Apache Geronimo,


IBM WebSphere Application Server Community Edition, Apache Geronimo, and Gluecode
With the recent announcement of IBM WebSphere Application Server Community Edition, the developerWorks staff sat down with Scott Cosby, Gluecode Transition Executive at IBM, and Paul Buck, Director of Gluecode Development at IBM. Find out what this announcement means to the WebSphere product family and the open source Apache Geronimo development community.

January 11, 2006

IBM WebSphere Application Server Community Edition, Apache Geronimo,


IBM WebSphere Application Server Community Edition, Apache Geronimo, and Gluecode
With the recent announcement of IBM WebSphere Application Server Community Edition, the developerWorks staff sat down with Scott Cosby, Gluecode Transition Executive at IBM, and Paul Buck, Director of Gluecode Development at IBM. Find out what this announcement means to the WebSphere product family and the open source Apache Geronimo development community.

January 09, 2006

Build a Perl/CGI voting system Many Web-deployed applications


Build a Perl/CGI voting system
Many Web-deployed applications are written within elaborate database-driven server-side development frameworks such as PHP and Java servlets, but for simple applications (for example, where the entire dataset fits comfortably within a Web server's RAM), data persistence can be easily accomplished using locked DBM files in conjunction with the Perl MLDBM module. This article presents a real-world example -- a Web-based voting application -- that highlights the use of minimal external modules, forgoes using client-based cookies, and takes advantage of CGI attributes.

Technorati Tags:

Discover Python, Part 3: Explore the Python type


Discover Python, Part 3: Explore the Python type hierarchy
Unlike many other programming languages, the Python language does not include a special data type to handle a single character, such as "a" or "z." In contrast, Python takes a different approach: It uses a class designed especially for holding sequences of characters. This article introduces the string class and demonstrates different ways in which you can use a string within Python.

Create a Web storefront using PHP and PayPal,


Create a Web storefront using PHP and PayPal, Part 1
This series chronicles the building of a Web storefront in PHP using PHP Data Objects to access a Derby database. The storefront includes a user manageable shopping cart that allows item purchases using PayPal, and includes the ability for merchants to notify customers via e-mail on successful orders automatically.

Develop Web services with Axis2, Part 1: Deploy


Develop Web services with Axis2, Part 1: Deploy and consume simple Web services using the Axis2 runtime
Get an introduction to the new architecture of Axis2 and learn how to deploy and consume Web services using Axis2. This is the first installment of a two-part series about developing Web services using the Axis2 runtime. Axis2 is the next generation of Apache Axis Simple Object Access Protocol (SOAP) runtime.

January 06, 2006

Implement and deploy Web services in an Apache


Implement and deploy Web services in an Apache Geronimo application
In the last three years, Web services have taken the world by storm. Today, it does't matter if your enterprise application is deployed at a small mom-and-pop shop or is part of a multidomain enterprise infrastructure -- if your application collaborates with others, it must support Web services. In this article, the IBM Advanced Technology Solutions team gives you a thorough overview of the Apache Geronimo application server's Web services features and a demonstration of how these features can be used to create Web services-enabled enterprise applications. Follow along and find out how to implement and deploy Web services into a Geronimo application using the example, which uses an emulated banking scenario.

January 04, 2006

Perl programming with DB2 Universal Database Learn how


Perl programming with DB2 Universal Database
Learn how to write simple Perl programs that extract or manipulate data stored in DB2 UDB. You will go from the simple task of selecting a row from a database into a Perl program, to more advanced topics, including dealing with large objects and invoking stored procedures.

Technorati Tags:

Discover Python, Part 7: Explore the Python type


Discover Python, Part 7: Explore the Python type hierarchy
This article returns to the exploration of the Python type hierarchy and introduces the Python dictionary container type. Unlike the Python tuple, string, and list container types discussed in previous articles, the dictionary type is an unordered container that relies on a key-to-value mapping. As a result, items in a dictionary are accessed by a key value and not by their location within a sequence. The unique features of the dictionary type may seem unusual, but they provide a great deal of power when used properly.

Debugging techniques for PHP programmers This article details


Debugging techniques for PHP programmers
This article details various methods for debugging PHP applications, including turning on error reporting in Apache and PHP, and by placing strategic print statements to locate the source of more difficult bugs through a simple example PHP script. The PHPEclipse plug-in for Eclipse, a slick development environment with real-time syntax parsing abilities, will also be covered, as well as the DBG debugger extension for PHPEclipse.

IBM WebSphere Developer Technical Journal: Get started with


IBM WebSphere Developer Technical Journal: Get started with WebSphere Application Server Community Edition
IBM WebSphere Application Server Community Edition is an open source Java 2 Platform, Enterprise Edition (J2EE) application server based on Apache Geronimo. This article will help you understand why you might want to use this new product, when it might be the best choice for your project, and then walks you through what you need to know to get up and running quickly with WebSphere Application Server Community Edition, from setting up your environment and choosing the right download package to deploying applications.