We have moved our forum to GitHub Discussions. For questions about Phalcon v3/v4/v5 you can visit here and for Phalcon v6 here.

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:

https://blog.phalcon.io/post/44715359754/phalcon-1-0-0-beta-released



29.4k

Finally! Keep it up, guys!



32.5k

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



43.9k

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



17.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: https://habrahabr.ru/post/171915/

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



36.0k

Great!

What about HMVC in Phalcon?

Great work! Thanks!



17.0k

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 ?



17.0k

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

Added Phalcon\Forms ......



17.0k

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.:)