News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Teknoid's Blog:
A deeper look at working with CakePHP shells
July 15, 2009 @ 09:48:41

On his blog recently teknoid has posted a deeper look at using shells for the CakePHP framework that allow you to quickly make your application usable from the command line.

Why is that a good thing or what is it generally used for? Well, probably the #1 reason to write a shell is to allow certain aspects of your application to be executed by cron (behind the scenes), rather than through human intervention or web interface. [...] The other option is, of course, to be able to automate some mundane tasks... just take a look at the power of "bake".

He's broken things up into a few different categories - a general look at what the shells are and how they can be used, some of the more handy shell methods included by default, how to load in models to get access to your data and, finally, how to call a method from one of your classes.

0 comments voice your opinion now!
commandline shell cakephp


blog comments powered by Disqus

Similar Posts

Chris Hartjes' Blog: Custom CakePHP 1.2 Pagination Queries

The Bakery: PremierMarinas.com, ScienceHack.com and an iPhone App

Leonid Mamchenkov's Blog: Disable and enable CakePHP plugins on the fly

Jonathan Snook's Blog: CakePHP: Setting Default Values

The Bakery: Clear the PHP4 warnings when working in eclipsePHP


Community Events





Don't see your event here?
Let us know!


voicesoftheelephpant interview deployment release conference laravel developer series podcast framework symfony list community api tips language library zendserver bugfix introduction

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