Johnny
Johnny
With inheritance of multiple files like a.volt extends b.volt extends c.volt, I have to use embedding blocks. Otherwise there's no profit to use inheritance more than one nesting level.
With inheritance of multiple files like a.volt extends b.volt extends c.volt, I have to use embedding blocks. Otherwise there's no profit to use inheritance more than one nesting level.
Hello! I want to offer a shorter record for prototype access in "this" context **Animal@say 'gaf!'** instead of **Animal::say.call this, 'gaf!'**, which compiles to ``` Animal.prototype.say.call(this, 'gaf!'); ``` Moreover sometimes...
I know that extension works much faster, but there's some reasons for php-version. PHP framework no need to install, just download and use it. If phalcon is realy good, then...
This code ``` $router->add( '/api/folder-list', [ 'controller' => 'Api\Folder', 'action' => 'list' ] ) ->setName( 'api-folder-list' ); ``` works fine, but this ``` $router->add( '/api/folder-list', 'Api\Folder::list' ) ->setName( 'api-folder-list' );...
I offer to add parameter preserveDirs to Volt engine, which will keep the directory structure. For example, in code: ``` $volt = new \Phalcon\Mvc\View\Engine\Volt($view, $di); $volt->setOptions(array "compiledPath" => "../app/views_c/", "preserveDirs"...
1. It would be cool if I could work with model in slave-master manner. All selects goes to slave, all updates goes to master. After changes, model(maybe along with relations)...
``` php var_dump( $this->request->getHttpHost(), $this->request->getServer('HTTP_HOST'), $_SERVER['HTTP_HOST'] ); ``` $this->request->getHttpHost() returns ":", but other variants works well. version 0.8
My model is about 2M documents with 1,5M dictionary and 400 topics. I'm getting segmentation fault when trying to save model in readable format. Actualy, integer overflow happens and memcpy...