"PHP Game Programming" by Matt Rutledge - Rating: 3/10
This is actually the book that made me think about a reviews section. I was initially drawn to this book when I was wanting to learn PHP game programming (to supplement Halls' tutorials), mostly because it is the only book out there on the subject that I am aware of.
Stay away from this book! It is outdated, so the object-oriented PHP is going to act quite differently than today. There is also a large issue with database usage. Why Rutledge decided to skimp on the explanation of using relational databases, I will never know. It is no small part of the subject, and almost everything you do when coding a PHP game relies on MySQL, or another relational database. For much of the book, the author uses flat files, which are not robust or scalable. Maybe when the book was written a PHP game could only be expected to have a handful of users, but times have changed, and there is really no valid reason to not start with a full relational database. If you don't, you are only making it harder on yourself later.
Also, what would likely be considered the major draw of the book, the section on PHP MMOs, is short with a very simplistic example game called "Kiddy Kartel". It is a very basic crime game. The problems here is that it only has extremely simplistic gameplay (not really even enough to consider it a full game) and it is also the first section of the book that brings up relational databases, so if you are not already familiar with them, this will all be confusing. The example project also uses a custom game library that the author does not explain, and instead only offers as a download on some website that was not available when I tried to go to it. The game is not complete by any stretch of the imagination, and the author simply says things like "you should see how this is done now, and should be able to expand it".
I am glad that I didn't waste money on this book, considering that I read it on Safari Books Online. Halls's tutorials have much more info than this book, use MySQL from the start and don't use custom libraries. Anything else you may need for custom features can usually be pulled off the internet.
PHP Game Programming (book)
- Jackolantern
- Posts: 10891
- Joined: Wed Jul 01, 2009 11:00 pm
PHP Game Programming (book)
The indelible lord of tl;dr
Re: PHP Game Programming (book)
Tommorow I'll post a review for Andy Harris's PHP 6/MySQL for the absolute beginner: Through simple game creation 
Coding-PHP, Javascript, C++, HTML, mySQL
Modeling/Art-Blender, GIMP
Games-Unity, Game Maker 8
Modeling/Art-Blender, GIMP
Games-Unity, Game Maker 8
- hallsofvallhalla
- Site Admin
- Posts: 12026
- Joined: Wed Apr 22, 2009 11:29 pm
Re: PHP Game Programming (book)
haha I am glad you posted this review for I too got suckered into this book and found its downfalls quickly. This book was a inspiration to my own tuts. This and the Torque books. I got sick of no real world examples. The Kiddy cartel example was terrible.
Re: PHP Game Programming (book)
I'm trying to study object-oriented right now in both PHP and C++ and it's challenging in C++but not so much with PHP.
Coding-PHP, Javascript, C++, HTML, mySQL
Modeling/Art-Blender, GIMP
Games-Unity, Game Maker 8
Modeling/Art-Blender, GIMP
Games-Unity, Game Maker 8
- Jackolantern
- Posts: 10891
- Joined: Wed Jul 01, 2009 11:00 pm
Re: PHP Game Programming (book)
Well, PHP is called object-oriented, but it really isn't 100%. Also, multiple inheritance needlessly makes C++ OO harder to learnZeroComp wrote:I'm trying to study object-oriented right now in both PHP and C++ and it's challenging in C++but not so much with PHP.
The indelible lord of tl;dr
-
Loopy
Re: PHP Game Programming (book)
Also got suckered into this book years ago, and also was disappointed. I actually had dialog with the author for months before it came out and he got me really excited about it... and then it just sucked big time.
- Jackolantern
- Posts: 10891
- Joined: Wed Jul 01, 2009 11:00 pm
Re: PHP Game Programming (book)
Looking forward to thatZeroComp wrote:Tommorow I'll post a review for Andy Harris's PHP 6/MySQL for the absolute beginner: Through simple game creation
The indelible lord of tl;dr
Re: PHP Game Programming (book)
I've read/watch Andy Harris's PHP 5 and MySQL for the absolute beginner. Its how I learned PHP/MySQL! You can watch the videos that I learned from here although they are for the previous book (php 5). I will warn you now that they are done using old tech, they are Real Media files. I know that nobody uses that anymore, but I encourage anyone looking to learn PHP/MySQL to watch the videos then read the book.
For those that are interested Andy Harris is a teacher as IUPUI (Indiana University / Purdue University, Indianapolis). He has taught there for many many years and I have watch many of his classes. I've learn PHP/MySQL and Python from him.
Just my 2 cents...
-KunoNoOni
For those that are interested Andy Harris is a teacher as IUPUI (Indiana University / Purdue University, Indianapolis). He has taught there for many many years and I have watch many of his classes. I've learn PHP/MySQL and Python from him.
Just my 2 cents...
-KunoNoOni
- hallsofvallhalla
- Site Admin
- Posts: 12026
- Joined: Wed Apr 22, 2009 11:29 pm
Re: PHP Game Programming (book)
awesome thanks for the link!