Installation of PHPUnit on a Dreamhost Account

I know it’s been awhile since I posted here.  I needed to get some other web work complete, such as the Trenton 1784 website, which took me away from the Zend Framework for a bit.  Now I am back at it.

Since I have the Zend Framework in Action book, in order to fill out my knowledge of Zend, I wanted to get my server fully set up for the applications in this book and this required the downloading of PHPUnit in order to do the Unit Testing.  Now it doesn’t seem like this would be a requirement to actually go through the book,  but I had always done unit testing when I was a consultant developing desktop apps for Fortune 500 companies.  Since Zend Framework in Action also explains how to use PHPUnit, I might as well take advantage of it.Continue reading

Zend Framework in Action

Well I got my Zend Framework in Action book in today.  I figure it will help me to understand more fully what I am learning in the Practical Web 2.0 Applications with PHP.  Since this is the first time using Zend Framework, I am trying to get up to speed as quickly as possible – so the more information I have at my disposal to cross reference, the better.  This is generally how I have always learned – it was how I taught myself PowerBuilder.  I would use five books at one time sometimes – using each to supplement the information I was looking for. One book may not explain something in a easily understood manner, or may leave something out, but by combining the books, it helped in understanding the complex concepts.Continue reading

Practical Web 2.0 Applications with PHP – Chapter 3

Chapter 3 is basically setting up the user tables in the database and the functionality for loading, inserting and deleting the records.  There are two custom built classes that the author developed that will need to be downloaded from the source code – DatabaseObject.php and Profile.php. I’m wondering if these are watered down versions of the classes the author actually uses because there are limited comments in the code and he stresses in the beginning of the book the importance of commenting.Continue reading

Practical Web 2.0 Applications with PHP – Chapter 2

Okay – I’ve pretty much made it through Chapter 2.  I won’t go over Chapter 1, because that chapter was basically just an introduction.  Chapter 2 covers developing the base classes and functionality that application will be built upon.    One of the hardest things was making sure that Zend and Smarty were installed properly and that my custom PHP.ini file was correct.  I’m using a live server on the web, so I had make absolutely sure that everything was working properly.

I did run into a few issues going through Chapter 2, but overall the chapter walked through everything really well and explained everything.  So what issues did I run into?Continue reading

Practical Web 2.0 Applications with PHP – a Chapter a Day

I got the Practical Web 2.0 Applications with PHP.  The book seems very detailed  which is unusual for a computer book.  Most computer books have disjointed examples, however this one walks through the development of an entire Blog application from start to finish.

It does use the Zend Framework, the Smarty Template Engine and Scriptaculous.  MY goal is to work through this book within a month from start to finish.  With 14 chapters, if I do a half chapter or a chapter a day  I should be able to reach this goal.  I’ve skimmed through the book for the last two weeks, just looking casually at the concepts – such as how the author handles creating search engine friendly URLs.  I’ve created search friendly URLs for, but I would like to see how others do it.

After each chapter – I will include a summary and notes about various things I learned.  This will not only help me- but those who may be also using the book.

Well I guess I better get to work instead of writing about it!