[Solar-talk] Method-Based Actions

Paul M Jones pmjones at solarphp.com
Sat Jun 24 12:47:44 PDT 2006


After entirely too much deliberation and indecision, I've settled on  
actionExample() (vice exampleAction()).  It groups the actions  
together nicely, and it helps separate it from things like _preAction().

Also, have repurposed the _preAction() and _postAction() hooks so  
that they execute before and after each action, instead of before the  
first action and after the last.  For that, we now have _preRun() and  
_postRun().  See code here:

     http://solarphp.com/svn/trunk/Solar/Controller/Page.php

Prepping the 0.20.0 release now, should be out later today with a  
*huge* change log, will write up a change narrative after the  
release.  You can see the current change notes here:

     http://solarphp.com/svn/info/0.20.0/notes



--

Paul M. Jones  <http://paul-m-jones.com>

Solar: Simple Object Library and Application Repository
for PHP5.   <http://solarphp.com>

Savant: The simple, elegant, and powerful solution for
templates in PHP.   <http://phpsavant.com>




More information about the solar-talk mailing list