Three PHP Frameworks Compared/Contrasted

IBM DeveloperWorks has posted the first part of a five-part series on three PHP frameworks: Zend Framework, symfony, and CakePHP. In this series, the author will build a web application using each of the three frameworks.

Part I: Getting Started
Part II: Building the application in each of the frameworks – compare and contrast.
Part III: Weaknesses in each of the frameworks when extending the application
Part IV: AJAX support
Part V: Working outside of the frameworks

Building a better Programmer

Spend 2 minutes on Google, and I’m sure you can have a bunch of PHP is better than Ruby and visa-versa. That’s not why I’m posting this. This article doesn’t interest me because it is Ruby vs. PHP, nor does his use of cursing appeal to me all that much. What I like about it are the lessons the author provides.

Look at that old cruddy PHP code you worked on two years ago. You know what I’m talking about. Seriously, it’s only cruddy because you are two years wiser–two years more experienced. The site is still up–still maintainible.

Now, go learn Ruby and Rails…go learn .NET, J2EE or who knows what else. When you come back to PHP (and you will ;-)) you are going to crank out the meanest, slickest, hottest code you ever wrote.

That’s the lesson I liked so much: Never stop learning new ways to make the best tool for the job even better.

http://www.oreillynet.com/ruby/blog/2007/09/7_reasons_i_switched_back_to_p_1.html

Scripting Fun :: Automatic Next Meeting Date Calculation

OK. I have finally taken the time to hack together a block for automatically stating the Next PHP Meeting date. What I needed was a way to get the third Saturday of the current month unless it has already past. Then it would get the third Saturday of next month.

If you want to have some fun with a nice academic exercise, read the article and start hacking!

The “algorithm” I hacked together was:
[code]
[/code]

Now make me proud and post your improvements.

Happy Hacking!!

PHP 4 End-Of-Life Announced

Maybe this will get vendors to start switching their buggy code over to PHP 5, which is already 3 years old. Of course, PHP 6 is on the horizon… Support (patches, mostly) will be offered through the end of the year 2007. Then it’s game over for PHP 4.

_QUOTEC


The end is in sight for the 7-year-old but still popular version 4 of PHP, open-source software that lets servers create customized Web pages such as online catalog pages or a list of search results.

Full Story via cNet News.com

HTML Purifier

Do you offer HTML input on your website or blog? Are you nervous about XSS (Cross-Site Scripting) vulnerabilities; or even more concerning–are you unsure what they are? Does it frustrate you when your users continue to use depricated tags like center in their posts?

Well, be troubled no more. Check out the HTML Purifier today. Now in version 2.0: tidy and tag extensibility!

Get your HTML Purifier today and code safer!

Pixy: Application vulnerability scanner for PHP code

Cross-site scripting (XSS) and SQL injection (SQLI) vulnerabilities are present in many modern web applications, and are reported continuously on pages such as BugTraq. In the past, finding such vulnerabilities usually involved manual source code audits. Unfortunately, this manual vulnerability search is a very tiresome and error-prone task.

More about Pixy here