kohana
Favourite Kohana Tips & Features? [closed]
Generating Form::select() options from database result Kohana 3.1 and 3.0 $options = ORM::factory(‘model’) ->order_by(‘title’,’ASC’) ->find_all() ->as_array(‘id’,’title’); $select = Form::select(‘name’, $options); It should be noted this is not restricted to the ORM and can be used on all database results (they all support as_array). See the database results information for more details. If you want to … Read more
Optimizing Kohana-based Websites for Speed and Scalability
What I will say in this answer is not specific to Kohana, and can probably apply to lots of PHP projects. Here are some points that come to my mind when talking about performance, scalability, PHP, … I’ve used many of those ideas while working on several projects — and they helped; so they could … Read more
What is the HMVC pattern?
Sam de Freyssinet (one of the Kohana developers) wrote a rather in-depth article about HMVC, what it is, and how it can be used. Link is dead: New Link – https://web.archive.org/web/20160214073806/http://techportal.inviqa.com/2010/02/22/scaling-web-applications-with-hmvc/
nginx + php-fpm – where are my $_GET params?
You are not passing get arguments in your try_files call in the question: location / { try_files $uri $uri/ /index.php; } Should be: location / { try_files $uri $uri/ /index.php?$query_string; } You can use either $query_string or $args, they are equivalent – except $query_string is readonly (or alternatively, $args can be updated by any other … Read more