Phalcon 1.0.0 beta released

We’re ​are releasing today the beta version of Phalcon 1.0.0. Our goal is to get this version out to the community so as to discover bugs and get feedback. This post highlights some of the more important features introduced in this release:

http://blog.phalconphp.com/post/44715359754/phalcon-1-0-0-beta-released



20.6k

Finally! Keep it up, guys!



23.1k

Add, please, 1.0.0 dll into download page if you says that it can be downloaded from there ^_^

@Eavu I have added them and they will soon propagate to the server. If you cannot wait :) then go ahead and download them from here https://github.com/niden/website/tree/master/public/files



31.3k

DLLs are available on the website. Enjoy and let us know what you think :)



12.8k
<?php

$ultraFastFrontend = new Phalcon\Cache\Frontend\Data(array(
    "lifetime" => 3600
));

$fastFrontend = new Phalcon\Cache\Frontend\Data(array(
    "lifetime" => 86400
));

$slowFrontend = new Phalcon\Cache\Frontend\Data(array(
    "lifetime" => 604800
));

//Backends are registered from the fastest to the slower
$cache = new \Phalcon\Cache\Multiple(array(
    new Phalcon\Cache\Backend\Apc($frontCache, array(
        "prefix" => 'cache',
    )),
    new Phalcon\Cache\Backend\Memcache($fastFrontCache, array(
        "prefix" => 'cache',
        "host" => "localhost",
        "port" => "11211"
    )),
    new Phalcon\Cache\Backend\File($slowestFrontCache, array(
        "prefix" => 'cache',
        "cacheDir" => "../app/cache/"
    ))
));

//Save, saves in every backend
$cache->save('my-key', $data);
<?php

$ultraFastFrontend = new Phalcon\Cache\Frontend\Data(array(
    "lifetime" => 3600
));

$fastFrontend = new Phalcon\Cache\Frontend\Data(array(
    "lifetime" => 86400
));

$slowFrontend = new Phalcon\Cache\Frontend\Data(array(
    "lifetime" => 604800
));

//Backends are registered from the fastest to the slower
$cache = new \Phalcon\Cache\Multiple(array(
    new Phalcon\Cache\Backend\Apc($ultraFastFrontend, array(
        "prefix" => 'cache',
    )),
    new Phalcon\Cache\Backend\Memcache($fastFrontend, array(
        "prefix" => 'cache',
        "host" => "localhost",
        "port" => "11211"
    )),
    new Phalcon\Cache\Backend\File($slowFrontend, array(
        "prefix" => 'cache',
        "cacheDir" => "../app/cache/"
    ))
));

//Save, saves in every backend
$cache->save('my-key', $data);

Excellent! Thanks!

Russian translate: http://habrahabr.ru/post/171915/

Ребят, вот перевод анонса на русском профильном ресурсе: http://habrahabr.ru/post/171915/



26.9k

Great!

What about HMVC in Phalcon?

Great work! Thanks!



11.5k

Multi-Level Cache

$ultraFastFrontend = new Phalcon\Cache\Frontend\Data(array( "lifetime" => 3600 ));

$fastFrontend = new Phalcon\Cache\Frontend\Data(array( "lifetime" => 86400 ));

$slowFrontend = new Phalcon\Cache\Frontend\Data(array( "lifetime" => 604800 ));

if will expire $ultraFastFrontend data load in it from $fastFrontend and further will once again work ultraFastFrontend or if will expire $ultraFastFrontend , that data will load only from second $fastFrontend ?



11.5k

and question two when will get ready new documentation? interests this component

Added Phalcon\Forms ......



11.5k

else... how integrate volt in phpstorm? from absences of support I do not use volt ))

@denveras There is no support for volt in phpstorm. However since volt has been inspired by Twig you can use that.:)