Full article on Onextrapixel: An Overview of PHP Framework Guides for Developers via Hacker News
Category Archives: PHP
Hump Day Link Dump – Nov. 11, 2009
PHP 5.3 Released!
Be sure to read the Migration Guide before upgrading to the latest and greatest.
Develop web Applications using the MVC CakePHP Framework with New Book from Pack
CakePHP is an open source web application framework written in PHP. It uses well-known design patterns and provides a structured framework that enables PHP users to develop robust web applications, without any loss of flexibility. The user can code faster, better, and it makes writing Web 2.0-style applications easier.
The book introduces the user to installing the MVC Framework and building his first application, and follows with looking at each main component of a CakePHP application in detail. The book also teaches how to build Web 2.0 style applications using a case study application.
This book walks the PHP developer through setting up a CakePHP environment, and develops an example application to illustrate all of the techniques the user needs to write a complete, non-trivial application in PHP. The user will also learn about the MVC pattern and coding styles through practical examples.
PHP developers wanting to develop cutting-edge Web 2.0 applications, or see how to write code in a faster, more productive way will find this book useful.
For more details on the book, please visit http://www.packtpub.com/cakephp-application-development/book
How do you Time and Profile your code?
Add your ideas to the comments and I’ll do what I can to fold them into the presentation.
Does anyone really use PHP anymore?
Then today, my inbox had a little gift from Zend. They have provided a list of case studies, including one on Fox Interactive’s IGN sites who have recently rolled out Grand Theft Auto ‘Hood, Super Smash Bros World, and Voodoo Extreme–all of which are using the Zend Framework and PHP 5.
You can read more about it (including the full whitepaper) and other case studies at: http://framework.zend.com/whyzf/casestudies#fox
40 Tips for optimizing your php Code
And, it is just kind of fun reading.
40 Tips for optimizing your php Code
Thanks Joel!
Three PHP Frameworks Compared/Contrasted
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
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
If you want to have some fun with a nice academic exercise, read the article and start hacking!
[code]
$t=getdate();
$today = mktime(0,0,0,$t['mon'],$t['mday'],$t['year']);
$this_month_start = mktime(0,0,0,$t['mon'],1,$t['year']);
$next_month_start = mktime(0,0,0,$t['mon']+1,1,$t['year']);
$this_month_date = strtotime("Third Saturday",$this_month_start);
$next_month_date = strtotime("Third Saturday",$next_month_start);
if($today <= $this_month_date) {
$event_date = $this_month_date;
} else {
$event_date = $next_month_date;
}
print "Saturday, ".date('F dS, Y',$event_date)." 2:30pm";
?>[/code]
Now make me proud and post your improvements.
Happy Hacking!!