Web Developer's Virtual Library: Encyclopedia of Web Design Tutorials, Articles and Discussions


Java/Open Source Daily

Active Server Pages
JSP/Java Servlets
Microsoft SQL Server
Daily Backup
Dedicated Servers
Streaming Audio/Video
24-hour Support    

jobs.webdeveloper.com

Hiermenus


e-commerce
Partner With Us















Developer Channel
FlashKit.com
JavaScript.com
JavaScriptSource
Developer Jobs
ScriptSearch
StreamingMediaWorld
Web Developer's Journal
Web Developer's Virtual Library
WebDeveloper.com
Webreference
Web Hosts
XMLfiles.com

internet.com
IT
Developer
Internet News
Small Business
Personal Technology

Search internet.com
Advertise
Corporate Info
Newsletters
Tech Jobs
E-mail Offers


Professional PHP4 Web Development Solutions

December 2, 2002

This case study explores a very basic Content Management System (CMS) designed for internal use by a team of technically capable contributors. Our excerpt discusses a very simple CMS in which the content of a document takes on several forms while using a single database.

The true power of PHP lies in its strength to create dynamic web content. Developers have moved on from using the newbie style of PHP books, to making PHP work for them by using the theoretical offerings (from existing PHP books) to create small to medium websites. This transition has created a definite information void, and through the Professional PHP4 Web Development Solutions book we hope to exactly fill that space - by helping you create a variety of real world, interactive web sites using PHP4 along with HTML, a DBMS system (MySQL), PEAR::DB, and XML or WML wherever applicable.

This book is replete with case studies showing PHP's use with output in HTML, XML, and WML. The PHP programming techniques are presented in such a manner that you'll find focused pieces of code that you can directly plug into your applications that will help you to build sites faster and better.

Who is this book for? This book is a resource for working PHP developers who need to fill the 'solutions' gap in their knowledge base, left behind by the multitude of theory-based PHP books in the market. The intent is to extend the real-world conversation started in those books, as well as to offer solid web application design techniques and solutions using PHP, databases, and markup languages.

What does this book cover?

  • Creating an association directory using XML markup and MySQL
  • Creating a web forum using PHP with MySQL and PEAR::DB
  • Building a PDA/Wireless store directory application using PHPLib
  • Creating a job board using PHP, WML, MySQL, and Smarty
  • Building a news service using PHP, MySQL, and Smarty
  • Creating a web corpus using simple PHP scripts
  • Building a classified ads board using PHP with MySQL, and Smarty
  • Building content management systems using PHP, MySQL, and XML
  • Building a search engine for dynamic sites PHP, MySQL, and PHPLib
  • Building a three-tier, multi-client, wireless data warehousing application
  • Creating a PHP/MySQL based data repository
  • Building a robust site architecture using the PostNuke CMS

Buy this book
Title: Professional PHP4 Web Development Solutions
Author: Matt Anton, Raj Dash, Bryan Waters, Alison Gionetto, Jo Henrik
ISBN: 1-861007-43-4
US: $49.99
Publication Date: November 2002
Pages: 640
© 2002 Wrox Press

A Simple Content Management System

This case study explores a very basic Content Management System (CMS) designed for internal use by a team of technically capable contributors. For those who are looking for a CMS that can be used by by administrators and non-technical contributors, it would be advisable to go through this case study first and then proceed to Chapter 10, which deals with an an advanced Content Management System (CMS).

In the course of this chapter we will look at:

  • Specifications
    To begin with, we need to define the features of the CMS.
  • Designing the Data
    The CMS will be based on a MySQL database. This section describes how the tables in this database are structured.
  • Managing the Data
    We need some PHP code that manages the data in the database.
  • Possible Enhancements
    The most obvious enhancements to the core application are presented at the end of the chapter.

This chapter discusses a very simple CMS in which the content of a document takes on several forms while using a single database. This is accomplished by using XML to define each document.

While all documents have the same skeleton set of XML tags, each document type differs in the tags used within the <body> element. This content markup is actually stored as is in the database. Each document type will require its own application component to parse and manipulate the document body.

Specifications - Page 2


Up to => Home / Authoring / Languages / PHP