Our Properties: Gamasutra GameCareerGuide IndieGames Indie Royale GDC IGF Game Developer Magazine GAO
My Message close
Latest News
spacer View All spacer
 
February 10, 2012
 
Road to the IGF: Lucky Frame's Pugs Luv Beats
 
Analyst questions validity of unusual January NPD results [4]
 
Strong Tales of Xillia sales help Namco Bandai to Q3 profits
spacer
Latest Jobs
spacer View All     Post a Job     RSS spacer
 
February 10, 2012
 
Beachhead / Activision
Senior Operations Engineer
 
Sony Computer Entertainment America LLC
Manager Quality Assurance
 
Beachhead / Activision
Senior Front End Web Engineer
 
Beachhead / Activision
Senior Back End Web Engineer
 
Beachhead / Activision
User Experience Lead
 
Sony Computer Entertainment America LLC
Senior Software Engineer
spacer
Latest Features
spacer View All spacer
 
February 10, 2012
 
arrow Principles of an Indie Game Bottom Feeder [19]
 
arrow Postmortem: CyberConnect 2's Solatorobo: Red the Hunter [1]
 
arrow Jerked Around by the Magic Circle - Clearing the Air Ten Years Later [40]
 
arrow Building the World of Reckoning [4]
 
arrow SPONSORED FEATURE: TwitchTV - How to Build Community Around Your Game in 2012 [13]
 
arrow Happy Action, Happy Developer: Tim Schafer on Reimagining Double Fine [9]
 
arrow Building an iOS Hit: Phase 1 [11]
 
arrow Postmortem: Appy Entertainment's SpellCraft School of Magic [5]
spacer
Latest Blogs
spacer View All     Post     RSS spacer
 
February 10, 2012
 
Audio Passes: Success Through Layering
 
What the current RPG can learn from Diablo 1
 
Double Fine's Kickstarter Windfall: Will Patronage Supplant Traditional Game Publishing? [5]
 
The Principles of Game Monetization
 
Did DoubleFine Just break the publishing model for good? [14]
spacer
About
spacer Editor-In-Chief/News Director:
Kris Graft
Features Director:
Christian Nutt
Senior Contributing Editor:
Brandon Sheffield
News Editors:
Frank Cifaldi, Tom Curtis, Mike Rose, Eric Caoili, Kris Graft
Editors-At-Large:
Leigh Alexander, Chris Morris
Advertising:
Jennifer Sulik
Recruitment:
Gina Gross
 
Feature Submissions
 
Comment Guidelines
Sponsor
Features
  Book Review: PHP Game Programming
by Justin Lloyd [Programming, Book Reviews]
Post A Comment Share on Twitter Share on Facebook RSS
 
 
May 28, 2004
 

Occasionally you get halfway through a book and start thinking to yourself “when is the author going to tell me how to use this technology to create something cool?” With PHP Game Programming, by Matt Rutledge, I had that feeling right up until the last page. I wouldn’t consider myself an expert PHP programmer—not by a long shot—and Rutledge sure knows his onions from years spent as a web developer and database programmer, so as a beginning text to PHP this book is reasonably good. It’s aimed at beginning to intermediate developers interested in broadening their game development skills.

Verdict
On Game Design cover
Title: PHP Game Programming
Author: Matt Rutledge
Publisher: Premier Press (Thomson/Course Technology)
ISBN: 1-59200-153-X
Published: Feb. 2004
Pages: 356
Price: $39.99
Rating (out of 5):
2.0 out of 5 stars
Pros
  1. A gentle introduction to PHP programming.
  2. CD-ROM contains all the tools you’ll need to explore the examples.
  3. CD-ROM contains working source to all of the examples.
Cons
  1. Lacks punch in its coverage of games.
  2. The games presented were technologically backward in 1995.
  3. Needs more concrete examples of why you should use PHP for game development.

It is the coverage of game programming that causes the book to really fall down. The subject of PHP Game Programming would have been cutting-edge in 1994 when the World Wide Web was a new frontier and “on-line gaming” on the Internet consisted of dynamically generated pages using CGI Perl scripts to maintain the state. Today, the techniques presented are really nothing more than an interesting footnote of how not to create web-based games. Rutledge knows his stuff, but his book is nine years too late. Following the basic introduction to PHP, he develops a couple of HTML games—tic-tac-toe and a simple chess game driven by a non-relational database that stores the possible moves. Once the basics of PHP and HTML are covered, Rutledge moves on to develop “more sophisticated” games, such as an Artillery clone that lets you lob cannonballs at your opponent over a hill by setting elevation and power. A sort of thinking man’s version of “guess the number” that utilizes the third-party GD graphics library to generate images in “real time.” These images are served as each player enters their moves using a standard HTML form. I wrote an Artillery-like game for the unexpanded 2K Acorn Atom in 1978, and it was more interesting than Rutledge’s version. Mine even had animated explosions and sound—more than can be said for the version presented in this book. This isn’t to reflect on either Rutledge’s or my own programming prowess, just an observation of the suitability of the technology used to solve a problem.


In chapter 10, Rutledge demonstrates the use of sockets by creating a persistent server and dedicated client that he later develops this into what he terms a “massively multiplayer online game.” To be honest, though, I would be hard-pressed to consider using PHP to create a persistent server for any game that I expected to support massive numbers of players.

Of the exceedingly few cool features in the book, the section covering dynamic generation of Flash movies certainly stands out as something rather neat. This section provides a reasonable introduction to the concept, but then fails to develop it. Other than learning how to draw a few lines and boxes on the screen, no space is given to developing interesting games or even ideas that use the technique. I can only think of a few uses for this scheme: protecting Flash movies (there are other equally adequate ways of doing this, however) and streaming dynamic content from a database (though the newer versions of Flash include this capability). I’m sure there are some very cool ideas that could make use of this dynamic content generation, it’s a shame the author never explores any of them in the text.

As an introductory text to the PHP language, PHP Game Programming is adequate. If you’re looking to learn PHP programming, however, I’d personally recommend reading one or more of several PHP books published by O’Reilly.

 
Article Start Page of
 
Comments


none
 
Comment:
 




UBM Techweb
Game Network
Game Developers Conference | GDC Europe | GDC Online | GDC China | Gamasutra | Game Developer Magazine | Game Advertising Online
Game Career Guide | Independent Games Festival | Indie Royale | IndieGames

Other UBM TechWeb Networks
Business Technology | Business Technology Events | Telecommunications & Communications Providers

Privacy Policy | Terms of Service | Contact Us | Copyright © UBM TechWeb, All Rights Reserved.