News Feed
Sections
News Archive


Community Events
php|tek 2008 PHP Conference



feed this:

Jonathan Snook's Blog:
Easier Static Pages for CakePHP 1.2
0 comments :: posted Tuesday February 05, 2008 @ 08:44:00
voice your opinion now!

Jonathan Snook has posted about a method he's using to make the creation/use of static pages in a CakePHP application (or website) simpler.

Traditionally in a CakePHP application, to do static pages you have two options: use the built-in Pages controller or set up an empty action in a controller.

Feeling that neither of these two options met how he wanted things to work, Jonathan (and Nate Abele) developed a class that extends the error handler in the CakePHP framework to handle "missing" actions and controllers. This means that, if an unknown controller/action combo is called, this script will check in its correct location (in the structure of the site) and try to find it to render it.

tagged with: cakephp framework static page error handle missing controller action


Alex Young's Blog:
The Future of PHP is More Depressing than Ever
0 comments :: posted Friday March 03, 2006 @ 07:03:29
voice your opinion now!
From Alex Young's blog there comes this post stating some of his opinions about the future of PHP and how it "is more depressing than ever".

Rasmus Lerdorf wrote quite a nice article called The no-framework PHP MVC framework. In it, he demonstrates how to create a simple application by using the model view controller design pattern. Using this design pattern, he creates a basic framework to save some effort with common tasks.

Put your hands up if you were a PHP programmer who was writing python or ruby on the side due to the incomprehensibly naive design of PHP… Now put your hands up if you understand and have worked extensively with object oriented programming, functional programming and perhaps agile programming. You're the guys I'm talking to.

He continues, alluding to the lack of sophistication amung PHP developers (procedural over OOP?) and some comments about what he thinks PHP is really missing. He does, however, encourage those out there just getting into design patterns with PHP to check out the article if for nothing more than a good intro to MVC.

tagged with: php future enhancement rasmus mvc no-framework what\'s missing php future enhancement rasmus mvc no-framework what\'s missing


package PHP5 developer cakephp pecl book ajax security framework zend database conference job application releases mysql zendframework release code PEAR

All content copyright, 2008 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework