Skip to main content

By clicking Submit, you agree to the developerWorks terms of use.

The first time you sign into developerWorks, a profile is created for you. Select information in your developerWorks profile is displayed to the public, but you may edit the information at any time. Your first name, last name (unless you choose to hide them), and display name will accompany the content that you post.

All information submitted is secure.

  • Close [x]

The first time you sign in to developerWorks, a profile is created for you, so you need to choose a display name. Your display name accompanies the content you post on developerworks.

Please choose a display name between 3-31 characters. Your display name must be unique in the developerWorks community and should not be your email address for privacy reasons.

By clicking Submit, you agree to the developerWorks terms of use.

All information submitted is secure.

  • Close [x]

Kick-start takes you to the movies: Kick-start takes you to the movies, Part 1

Developing a personal movie database application, based on PHP and DB2

Ian D. M. Hakes (ihakes@ca.ibm.com), Software Developer, IBM
Author photo
Ian Hakes is one of the DB2 Express-C community facilitators bringing the Express-C product to the world. He has worked at IBM since 1999, in a variety of roles: technical writer, developer, team lead, and technical marketing. Ian holds a B.Sc.H. degree in Physics and a B.A. in English, both from Queen's University. In his spare time, Ian enjoys reading and writing novels, and playing road hockey.

Summary:  Explore PHP and XML development using the Eclipse IDE, IBM® DB2® Express-C 9, and IBM WebSphere® Application Server Community edition. Learn how to configure these applications, part of a program designed to kick-start your application development, to develop a Web-based movie information database. This is part one of a two-part tutorial, covering the installation and configuration of the tools, along with some basic proof-of-concept code development.

View more content in this series

Date:  15 Aug 2006
Level:  Intermediate PDF:  A4 and Letter (401 KB | 24 pages)Get Adobe® Reader®

Activity:  6760 views
Comments:  

Before you start

Introduction

The world's a stage, and every one plays their part. So goes the proverb. But where does that leave us in this day and age of home theaters and ever growing DVD collections? With thousands of choices over what to pick for entertainment, and a headache with trying to keep track of it all.

But what if there were a means to store and search all the information about the movies in our personal collection? We could decide what to watch, based on almost any whim. Feel like a tear-jerking drama? How about a blockbuster starring Denzel Washington? Or a period-piece comedy with Derek Jacobi and Ian McKellan? With enough stored information, and a usable retrieval system, it suddenly gets a lot easier to do.


About this tutorial

In this tutorial, you'll learn how to combine the Eclipse integrated development environment, the PHP Hypertext Preprocessor, and the new XML capabilities of DB2 9 into a Web application to deliver this storage and retrieval system.


Objectives

After completing this tutorial, you will understand how to store and retrieve XML data through PHP and a back end database. The applications and skills we'll cover in this specific example can be easily extrapolated into many other software development ideas for business processes.


Prerequisites

This tutorial is written for software developers and analysts whose skills and experience are at an intermediate level. You should have a general familiarity with using an integrated development environment, and a basic knowledge of PHP webpage creation, SQL, and XML.


System requirements

You will need:

These tasks can be handled by three different computers, or you can set up all the applications on just one system.

The details of how to install these applications are covered in much more depth and detail elsewhere in developerWorks and on these applications' respective Web sites. See the Resources for links.

I won't go into much detail about specific product installation instructions in this tutorial. I will try to be as platform independent as possible. My Web server, DB2 database, and PHP installation are all on a Linux®-based (Red Hat Enterprise 4) system, and my Eclipse IDE is installed on a Microsoft® Windows® XP system. Of course, the setup is entirely up to you, as all of the kick-start applications are available for both Windows and Linux operating systems.

1 of 7 | Next

Comments



Help: Update or add to My dW interests

What's this?

This little timesaver lets you update your My developerWorks profile with just one click! The general subject of this content (AIX and UNIX, Information Management, Lotus, Rational, Tivoli, WebSphere, Java, Linux, Open source, SOA and Web services, Web development, or XML) will be added to the interests section of your profile, if it's not there already. You only need to be logged in to My developerWorks.

And what's the point of adding your interests to your profile? That's how you find other users with the same interests as yours, and see what they're reading and contributing to the community. Your interests also help us recommend relevant developerWorks content to you.

View your My developerWorks profile

Return from help

Help: Remove from My dW interests

What's this?

Removing this interest does not alter your profile, but rather removes this piece of content from a list of all content for which you've indicated interest. In a future enhancement to My developerWorks, you'll be able to see a record of that content.

View your My developerWorks profile

Return from help

static.content.url=http://www.ibm.com/developerworks/js/artrating/
SITE_ID=1
Zone=Information Management, SOA and web services
ArticleID=153808
TutorialTitle=Kick-start takes you to the movies: Kick-start takes you to the movies, Part 1
publish-date=08152006
author1-email=ihakes@ca.ibm.com
author1-email-cc=

Tags

Help
Use the search field to find all types of content in My developerWorks with that tag.

Use the slider bar to see more or fewer tags.

Popular tags shows the top tags for this particular content zone (for example, Java technology, Linux, WebSphere).

My tags shows your tags for this particular content zone (for example, Java technology, Linux, WebSphere).

Use the search field to find all types of content in My developerWorks with that tag. Popular tags shows the top tags for this particular content zone (for example, Java technology, Linux, WebSphere). My tags shows your tags for this particular content zone (for example, Java technology, Linux, WebSphere).

Try IBM PureSystems. No charge.