And just a general thought:

in a framework it might be a good idea to convert all php native errors 
into exceptions, so that you didn't pretend everything is fine while it is 
not, like here:

`@mkdir($basedir . 'logs');` (from 
https://github.com/powerstack/powerstack/blob/master/lib/powerstack/plugins/cron.php#L50
)

If it was an exception you could handle it differently depending on if it 
was a race condition and directory already exists (it's fine), or there is 
no wright permissions and in that case further `file_put_contents()` will 
fail as well

On Wednesday, May 8, 2013 10:57:25 AM UTC+12, chtombleson wrote:
>
> New PHP 5 web framework Powerstack.
>
> Currently in beta
>
> Website: http://powerstack-php.org/
> Github: https://github.com/powerstack/powerstack
>
>
> Powerstack is a full featured framework that draws on some of the most 
> popular frameworks out there. Powerstack mainly draws ideas from 
> Dancer<http://perldancer.org>a perl web framework.
>
> Powerstack includes a very powerful plugin and hooks system, this make it 
> very easy to extend the core functionality or provide your own custom 
> functionality. 
>
> The most interesting and cool thing in Powerstack is how you define your 
> routes/urls. It uses a similar system to that in Dancer<http://perldancer.org>
> .
> This makes creating Restful web applications easy and straight forward. 
>
>

-- 
-- 
NZ PHP Users Group: http://groups.google.com/group/nzphpug
To post, send email to [email protected]
To unsubscribe, send email to
[email protected]
--- 
You received this message because you are subscribed to the Google Groups "NZ 
PHP Users Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to