{"id":177691,"date":"2013-04-23T14:36:04","date_gmt":"2013-04-23T10:36:04","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=177691"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=177691","title":{"rendered":"<span class=\"post_title\">Phalcon 1.1 beta<\/span>"},"content":{"rendered":"<div class=\"content html_format\">   \t<img decoding=\"async\" align=\"right\" src=\"http:\/\/habrastorage.org\/storage2\/ede\/b07\/dd7\/edeb07dd7dacef7135ae417b1ecedb46.png\"\/><br \/>  \u041f\u043e\u0441\u043b\u0435 \u0443\u0441\u043f\u0435\u0448\u043d\u043e\u0433\u043e \u0440\u0435\u043b\u0438\u0437\u0430 PHP-\u0444\u0440\u0435\u0439\u043c\u0432\u043e\u0440\u043a\u0430 <a href=\"http:\/\/habrahabr.ru\/post\/171915\/\">Phalcon 1.0<\/a>, \u043a\u043e\u043c\u0430\u043d\u0434\u0430 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u043e\u0432 \u043f\u0440\u043e\u0434\u043e\u043b\u0436\u0430\u0435\u0442 \u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c \u043d\u0430\u0434 \u0435\u0433\u043e \u0440\u0430\u0437\u0432\u0438\u0442\u0438\u0435\u043c. \u0412 \u044d\u0442\u043e\u0439 \u0441\u0442\u0430\u0442\u044c\u044f \u044f \u0445\u043e\u0447\u0443 \u043e\u0441\u0432\u0435\u0442\u0438\u0442\u044c \u043d\u0430\u0438\u0431\u043e\u043b\u0435\u0435 \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u044b\u0435 \u0444\u0438\u0447\u0438, \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u043d\u044b\u0435 \u0432 \u0432\u0435\u0440\u0441\u0438\u0438 1.1.0 BETA<\/p>\n<ul>\n<li><a href=\"#chapter1\">\u041f\u0430\u0433\u0438\u043d\u0430\u0446\u0438\u044f \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u043e\u0432 \u043a\u043e\u043d\u0441\u0442\u0440\u0443\u043a\u0442\u043e\u0440\u0430 \u0437\u0430\u043f\u0440\u043e\u0441\u043e\u0432 (QueryBuilder)<\/a><\/li>\n<li><a href=\"#chapter2\">\u0421\u0435\u0440\u0432\u0435\u0440 \u043e\u0447\u0435\u0440\u0435\u0434\u0435\u0439 Beanstalkd<\/a><\/li>\n<li><a href=\"#chapter3\">\u0428\u0438\u0444\u0440\u043e\u0432\u0430\u043d\u0438\u0435<\/a><\/li>\n<li><a href=\"#chapter4\">Assets Management<\/a><\/li>\n<li><a href=\"#chapter5\">\u0420\u0435\u0436\u0438\u043c Exception \u0434\u043b\u044f ORM-\u0432\u0430\u043b\u0438\u0434\u0430\u0442\u043e\u0440\u043e\u0432<\/a><\/li>\n<li><a href=\"#chapter6\">\u0420\u043e\u0443\u0442\u0438\u043d\u0433 \u043f\u043e \u0438\u043c\u0435\u043d\u0438 \u0445\u043e\u0441\u0442\u0430<\/a><\/li>\n<li><a href=\"#chapter7\">\u0418\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435 \u043a\u043e\u043d\u0442\u0440\u043e\u043b\u043b\u0435\u0440\u043e\u0432 \u0432 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f\u0445 Mvc\\Micro<\/a><\/li>\n<li><a href=\"#chapter8\">\u041f\u043e\u0441\u043b\u0435\u0441\u043b\u043e\u0432\u0438\u0435<\/a><\/li>\n<li><a href=\"#chapter9\">\u041f\u043e\u043c\u043e\u0433\u0438\u0442\u0435 \u0441\u043e\u043e\u0431\u0449\u0435\u0441\u0442\u0432\u0443, \u043f\u0440\u043e\u0433\u043e\u043b\u043e\u0441\u043e\u0432\u0430\u0432 \u0437\u0430 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u043a\u0443 Phalcon \u0432 cPanel<\/a><\/li>\n<\/ul>\n<p>  <a name=\"habracut\"><\/a><br \/>  <a name=\"chapter1\"><\/a>  <\/p>\n<h4>\u041f\u0430\u0433\u0438\u043d\u0430\u0446\u0438\u044f \u0432 \u043a\u043e\u043d\u0441\u0442\u0440\u0443\u043a\u0442\u043e\u0440\u0435 \u0437\u0430\u043f\u0440\u043e\u0441\u043e\u0432 (QueryBuilder)<\/h4>\n<p>  \u0420\u0430\u043d\u0435\u0435 \u043f\u0430\u0433\u0438\u043d\u0430\u0442\u043e\u0440 \u0431\u044b\u043b \u0434\u043e\u0441\u0442\u0443\u043f\u0435\u043d \u043b\u0438\u0448\u044c \u0434\u043b\u044f \u0432\u044b\u0432\u043e\u0434\u0430 \u0434\u0430\u043d\u043d\u044b\u0445 \u041c\u043e\u0434\u0435\u043b\u0438 \u0438 \u043d\u0430\u0442\u0438\u0432\u043d\u044b\u0445 \u043c\u0430\u0441\u0441\u0438\u0432\u043e\u0432. \u0422\u0435\u043f\u0435\u0440\u044c \u043f\u0430\u0433\u0438\u043d\u0430\u0446\u0438\u044f \u043c\u043e\u0436\u0435\u0442 \u0431\u044b\u0442\u044c \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0430 \u043f\u0440\u0438 \u0432\u044b\u0432\u043e\u0434\u0435 \u0434\u0430\u043d\u043d\u044b\u0445 \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u043b\u044c\u043d\u043e\u0433\u043e \u0437\u0430\u043f\u0440\u043e\u0441\u0430 \u0447\u0435\u0440\u0435\u0437 \u043a\u043e\u043d\u0441\u0442\u0440\u0443\u043a\u0442\u043e\u0440 QueryBuilder, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442 SQL \u043e\u043f\u0435\u0440\u0430\u0442\u043e\u0440\u044b LIMIT\/OFFSET. \u041e\u043d \u0431\u0443\u0434\u0435\u0442 \u043f\u043e\u043b\u0435\u0437\u0435\u043d \u0434\u043b\u044f \u0432\u044b\u0432\u043e\u0434\u0430 \u0431\u043e\u043b\u044c\u0448\u0438\u0445 \u043d\u0430\u0431\u043e\u0440\u043e\u0432 \u0434\u0430\u043d\u043d\u044b\u0445.<\/p>\n<pre><code class=\"php\">use Phalcon\\Paginator\\Adapter\\QueryBuilder;  $builder = $this-&gt;modelsManager-&gt;createBuilder()     -&gt;columns('id, name')     -&gt;from('Robots')     -&gt;orderBy('name');  $paginator = new Paginator(array(     &quot;builder&quot; =&gt; $builder,     &quot;limit&quot;   =&gt; 10,     &quot;page&quot;    =&gt; 1 ));  $page = $paginator-&gt;getPaginate(); <\/code><\/pre>\n<p>  <a name=\"chapter2\"><\/a>  <\/p>\n<h4>\u0421\u0435\u0440\u0432\u0435\u0440 \u043e\u0447\u0435\u0440\u0435\u0434\u0435\u0439 Beanstalkd<\/h4>\n<p>  \u041f\u0440\u043e\u0441\u0442\u043e\u0439 \u043a\u043b\u0438\u0435\u043d\u0442 \u0434\u043b\u044f \u0441\u0435\u0440\u0432\u0435\u0440\u0430 \u043e\u0447\u0435\u0440\u0435\u0434\u0435\u0439 <a href=\"http:\/\/kr.github.io\/beanstalkd\/\">Beanstalkd<\/a> \u0442\u0435\u043f\u0435\u0440\u044c \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u0447\u0430\u0441\u0442\u044c\u044e \u0444\u0440\u0435\u0439\u043c\u0432\u043e\u0440\u043a\u0430<\/p>\n<pre><code class=\"php\">\/\/ \u0421\u043e\u0435\u0434\u0438\u043d\u0435\u043d\u0438\u0435 \u0441 \u0441\u0435\u0440\u0432\u0435\u0440\u043e\u043c $queue = new Phalcon\\Queue\\Beanstalk(array(     'host' =&gt; '192.168.0.21' ));  \/\/ \u0414\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u0437\u0430\u0434\u0430\u0447\u0443 \u0432 \u043e\u0447\u0435\u0440\u0435\u0434\u044c (\u043f\u0440\u043e\u0441\u0442\u0430\u044f \u0437\u0430\u043f\u0438\u0441\u044c) $queue-&gt;put(array('proccessVideo' =&gt; 4871));  \/\/ \u0414\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u0437\u0430\u0434\u0430\u0447\u0443 \u0432 \u043e\u0447\u0435\u0440\u0435\u0434\u044c (\u0441 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u0430\u043c\u0438) $queue-&gt;put(     array('proccessVideo' =&gt; 4871),     array('priority' =&gt; 250, 'delay' =&gt; 10, 'ttr' =&gt; 3600) );  while (($job = $queue-&gt;peekReady()) !== false) {     $message = $job-&gt;getBody();     var_dump($message);     $job-&gt;delete(); } <\/code><\/pre>\n<p>  <a name=\"chapter3\"><\/a>  <\/p>\n<h4>\u0428\u0438\u0444\u0440\u043e\u0432\u0430\u043d\u0438\u0435<\/h4>\n<p>  \u0412 \u044d\u0442\u0443 \u0432\u0435\u0440\u0441\u0438\u044e Phalcon \u0434\u043e\u0431\u0430\u0432\u043b\u0435\u043d \u043a\u043b\u0430\u0441\u0441 \u0448\u0438\u0444\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u043e\u0441\u043d\u043e\u0432\u0430\u043d\u043d\u044b\u0439 \u043d\u0430 PHP \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0435 <a href=\"http:\/\/php.net\/manual\/en\/book.mcrypt.php\">mcrypt<\/a><\/p>\n<pre><code class=\"php\">\/\/ \u0421\u043e\u0437\u0434\u0430\u0451\u043c \u044d\u043a\u0437\u0435\u043c\u043f\u043b\u044f\u0440 \u043a\u043b\u0430\u0441\u0441\u0430 \u0448\u0438\u0444\u0440\u043e\u0432\u0430\u043d\u0438\u044f $encryption = new Phalcon\\Crypt();  $key  = 'le password'; $text = 'This is a secret text';  $encrypted = $encryption-&gt;encrypt($text, $key);  echo $encryption-&gt;decrypt($encrypted, $key); <\/code><\/pre>\n<p>  <a name=\"chapter4\"><\/a>  <\/p>\n<h4>Assets Management<\/h4>\n<p>  \u0421 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u044d\u0442\u043e\u0433\u043e \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u0430 \u043c\u043e\u0436\u043d\u043e \u0441 \u043b\u0451\u0433\u043a\u043e\u0441\u0442\u044c\u044e \u0443\u043f\u0440\u0430\u0432\u043b\u044f\u0442\u044c \u0441\u0442\u0430\u0442\u0438\u0447\u043d\u044b\u043c\u0438 \u0440\u0435\u0441\u0443\u0440\u0441\u0430\u043c\u0438, \u0442\u0430\u043a\u0438\u043c\u0438 \u043a\u0430\u043a CSS \u0438 Javascript<\/p>\n<pre><code class=\"php\">\/\/ \u0421\u043d\u0430\u0447\u0430\u043b\u0430 \u0432 \u043a\u043e\u043d\u0442\u0440\u043e\u043b\u043b\u0435\u0440\u0435 \u0434\u043e\u0431\u0430\u0432\u0438\u043c \u043d\u0435\u043c\u043d\u043e\u0433\u043e CSS $this-&gt;assets     -&gt;addCss('css\/style.css')     -&gt;addCss('css\/index.css');  \/\/ \u0438 \u0447\u0443\u0442\u044c-\u0447\u0443\u0442\u044c js-\u0441\u043a\u0440\u0438\u043f\u0442\u043e\u0432 $this-&gt;assets     -&gt;addJs('js\/jquery.js')     -&gt;addJs('js\/bootstrap.min.js'); <\/code><\/pre>\n<p>  \u0430 \u0437\u0430\u0442\u0435\u043c \u043f\u043e\u043a\u0430\u0436\u0435\u043c \u0438\u0445 \u0432 \u0448\u0430\u0431\u043b\u043e\u043d\u0435   <\/p>\n<pre><code class=\"html\">&lt;html&gt;     &lt;head&gt;         &lt;title&gt;Some amazing website&lt;\/title&gt;         &lt;?php $this-&gt;assets-&gt;outputCss() ?&gt;     &lt;\/head&gt;     &lt;body&gt;          &lt;!-- ... --&gt;          &lt;?php $this-&gt;assets-&gt;outputJs() ?&gt;     &lt;\/body&gt; &lt;\/html&gt; <\/code><\/pre>\n<p>  <a name=\"chapter5\"><\/a>  <\/p>\n<h4>\u0420\u0435\u0436\u0438\u043c Exception \u0434\u043b\u044f ORM-\u0432\u0430\u043b\u0438\u0434\u0430\u0442\u043e\u0440\u043e\u0432<\/h4>\n<p>  \u041f\u0440\u0438 \u0432\u0430\u043b\u0438\u0434\u0430\u0446\u0438\u0438 \u0434\u0430\u043d\u043d\u044b\u0445, \u0432 \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u0435 \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u044f\/\u043e\u0431\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u044f \u0437\u0430\u043f\u0438\u0441\u0438 \u0411\u0414, \u043c\u0435\u0442\u043e\u0434\u044b save()\/create()\/update() \u0432\u043e\u0437\u0432\u0440\u0430\u0449\u0430\u044e\u0442 \u0431\u0443\u043b\u0435\u0432\u043e \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435, \u0442.\u0435. FALSE, \u0435\u0441\u043b\u0438 \u043e\u0434\u0438\u043d \u0438\u0437 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u043e\u0432 \u043d\u0435 \u043f\u0440\u043e\u0448\u0451\u043b \u0432\u0430\u043b\u0438\u0434\u0430\u0446\u0438\u044e. \u0422\u0435\u043f\u0435\u0440\u044c \u044d\u0442\u043e \u043f\u043e\u0432\u0435\u0434\u0435\u043d\u0438\u0435 \u043c\u043e\u0436\u043d\u043e \u0438\u0437\u043c\u0435\u043d\u0438\u0442\u044c \u0438 \u0432\u044b\u0431\u0440\u0430\u0441\u044b\u0432\u0430\u0442\u044c \u0438\u0441\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435:<\/p>\n<pre><code class=\"php\">use Phalcon\\Mvc\\Model\\ValidationFailed;  try {     $robot = new Robots();     $robot-&gt;name = 'Bender';     $robot-&gt;save(); } catch (ValidationFailed $e) {     echo 'Reason: ', $e-&gt;getMessage(); } <\/code><\/pre>\n<p>  <a name=\"chapter6\"><\/a>  <\/p>\n<h4>\u0420\u043e\u0443\u0442\u0438\u043d\u0433 \u043f\u043e \u0438\u043c\u0435\u043d\u0438 \u0445\u043e\u0441\u0442\u0430<\/h4>\n<p>  \u0412 \u043f\u0440\u0430\u0432\u0438\u043b\u0430\u0445 \u0440\u043e\u0443\u0442\u0438\u043d\u0433\u0430 \u0442\u0435\u043f\u0435\u0440\u044c \u043c\u043e\u0436\u043d\u043e \u0443\u043a\u0430\u0437\u0430\u0442\u044c \u0438\u043c\u044f \u0445\u043e\u0441\u0442\u0430<\/p>\n<pre><code class=\"php\">$router = new Phalcon\\Mvc\\Router();  $router-&gt;addGet('\/api\/robots', array(     'module'     =&gt; 'api',     'controller' =&gt; 'robots',     'action'     =&gt; 'index' ))-&gt;setHostName('api.phalconphp.com'); <\/code><\/pre>\n<p>  \u0422\u0430\u043a \u0436\u0435 \u043c\u043e\u0436\u043d\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0433\u0440\u0443\u043f\u043f\u0443 \u043c\u0430\u0440\u0448\u0440\u0443\u0442\u043e\u0432  <\/p>\n<pre><code class=\"php\">$group = new Phalcon\\Mvc\\Router();  $group-&gt;setHostName('api.phalconphp.com');  $groop-&gt;addGet('\/api\/robots', array(     'module'     =&gt; 'api',     'controller' =&gt; 'robots',     'action'     =&gt; 'index' ));  $groop-&gt;addGet('\/api\/robots\/{id}', array(     'module'     =&gt; 'api',     'controller' =&gt; 'robots',     'action'     =&gt; 'show' ));  $router-&gt;mount($group); <\/code><\/pre>\n<p>  <a name=\"chapter7\"><\/a>  <\/p>\n<h4>\u0418\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435 \u043a\u043e\u043d\u0442\u0440\u043e\u043b\u043b\u0435\u0440\u043e\u0432 \u0432 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f\u0445 Mvc\\Micro<\/h4>\n<p>  \u0414\u043b\u044f \u043b\u0443\u0447\u0448\u0435\u0439 \u043e\u0440\u0433\u0430\u043d\u0438\u0437\u0430\u0446\u0438\u0438 \u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u044b \u043c\u0438\u043a\u0440\u043e-\u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f \u0432 \u043d\u043e\u0432\u043e\u0439 \u0432\u0435\u0440\u0441\u0438\u0438 Phalcon, \u0432 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0435 \u043e\u0431\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u0430 \u0437\u0430\u043f\u0440\u043e\u0441\u0430 \u043c\u043e\u0436\u043d\u043e \u0443\u043a\u0430\u0437\u044b\u0432\u0430\u0442\u044c \u043a\u043e\u043d\u0442\u0440\u043e\u043b\u043b\u0435\u0440\u044b (\u0440\u0430\u043d\u0435\u0435 \u043c\u043e\u0436\u043d\u043e \u0431\u044b\u043b\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0442\u043e\u043b\u044c\u043a\u043e callable \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f).<\/p>\n<pre><code class=\"php\">$collection = new Phalcon\\Mvc\\Micro\\Collection();  \/\/ \u041d\u0435\u043c\u0435\u0434\u043b\u0435\u043d\u043d\u0430\u044f \u0438\u043d\u0438\u0446\u0438\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u044f $collection     -&gt;setPrefix('\/posts');     -&gt;setHandler(new PostsController());  \/\/ \u041b\u0435\u043d\u0438\u0432\u0430\u044f \u0438\u043d\u0438\u0446\u0438\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u044f $collection     -&gt;setPrefix('\/posts');     -&gt;setHandler('PostsController', true);  $collection-&gt;get('\/', 'index');  $collection-&gt;get('\/edit\/{id}', 'edit');  $collection-&gt;delete('\/delete\/{id}', 'delete');  $app-&gt;mount($collection); <\/code><\/pre>\n<p>  <a name=\"chapter8\"><\/a>  <\/p>\n<h4>\u041f\u043e\u0441\u043b\u0435\u0441\u043b\u043e\u0432\u0438\u0435<\/h4>\n<p>  Phalcon 1.1.0 \u0432\u043a\u043b\u044e\u0447\u0430\u0435\u0442 \u0438 \u0434\u0440\u0443\u0433\u0438\u0435 \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u044f \u0438 \u0431\u0430\u0433-\u0444\u0438\u043a\u0441\u044b. \u041f\u043e\u043b\u043d\u044b\u0439 \u0441\u043f\u0438\u0441\u043e\u043a \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u0439 \u043c\u043e\u0436\u043d\u043e \u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u0432 <a href=\"https:\/\/github.com\/phalcon\/cphalcon\/blob\/1.1.0\/CHANGELOG\">CHANGELOG<\/a>, \u0430 \u0442\u0430\u043a \u0436\u0435 \u043f\u043e\u0447\u0438\u0442\u0430\u0442\u044c <a href=\"http:\/\/docs.phalconphp.com\/en\/1.1.0\/\">\u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u044e<\/a> \u043a \u044d\u0442\u043e\u0439 \u0432\u0435\u0440\u0441\u0438\u0438 \u0444\u0440\u0435\u0439\u043c\u0432\u043e\u0440\u043a\u0430.<\/p>\n<p>  \u0415\u0441\u043b\u0438 \u0432\u044b \u0434\u043e \u0441\u0438\u0445 \u043f\u043e\u0440 \u043b\u0438\u0447\u043d\u043e \u043d\u0435 \u043e\u043f\u0440\u043e\u0431\u043e\u0432\u0430\u043b\u0438 \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u044c Phalcon, \u0432\u044b \u043c\u043e\u0436\u0435\u0442\u0435 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c \u0435\u0433\u043e \u043f\u0440\u044f\u043c\u043e \u0441\u0435\u0439\u0447\u0430\u0441  <\/p>\n<pre><code class=\"bash\">git clone http:\/\/github.com\/phalcon\/cphalcon cd build git checkout 1.1.0 sudo .\/install <\/code><\/pre>\n<p>  \u0430 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f\u043c Windows \u0434\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u043e \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c DLL \u0441\u043e <a href=\"http:\/\/phalconphp.com\/download\">\u0441\u0442\u0440\u0430\u043d\u0438\u0446\u044b \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0438<\/a>.<\/p>\n<p>  \u0420\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u0438 \u043f\u0440\u0438\u0433\u043b\u0430\u0448\u0430\u044e\u0442 \u043e\u0431\u0441\u0443\u0434\u0438\u0442\u044c \u044d\u0442\u043e\u0442 \u0440\u0435\u043b\u0438\u0437 \u043d\u0430 <a href=\"http:\/\/forum.phalconphp.com\/\">\u0444\u043e\u0440\u0443\u043c\u0435<\/a> (\u043a\u043e\u0442\u043e\u0440\u044b\u0439, \u043a\u0441\u0442\u0430\u0442\u0438, \u0442\u0430\u043a \u0436\u0435 \u043d\u0430\u043f\u0438\u0441\u0430\u043d \u043d\u0430 Phalcon) \u0438 <a href=\"http:\/\/stackoverflow.com\/questions\/tagged\/phalcon\">Stack Overflow<\/a>.<br \/>  \u0415\u0441\u043b\u0438 \u0436\u0435 \u0432\u044b \u043e\u0442\u043b\u043e\u0432\u0438\u0442\u0435 \u0431\u0430\u0433, <a href=\"http:\/\/github.com\/phalcon\/cphalcon\/\">Github<\/a> \u0441 \u0443\u0434\u043e\u0432\u043e\u043b\u044c\u0441\u0442\u0432\u0438\u0435\u043c \u043f\u0440\u0438\u043c\u0435\u0442 pull-\u0440\u0435\u043a\u0432\u0435\u0441\u0442 \u0438\u043b\u0438 failing-\u0442\u0435\u0441\u0442.<\/p>\n<p>  <a name=\"chapter9\"><\/a>  <\/p>\n<h3>\u041f\u043e\u043c\u043e\u0433\u0438\u0442\u0435 \u0441\u043e\u043e\u0431\u0449\u0435\u0441\u0442\u0432\u0443, \u043f\u0440\u043e\u0433\u043e\u043b\u043e\u0441\u043e\u0432\u0430\u0432 \u0437\u0430 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u043a\u0443 Phalcon \u0432 cPanel<\/h3>\n<p>  \u0420\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u0438 Phalcon \u043f\u0440\u0435\u0434\u043b\u0430\u0433\u0430\u044e\u0442 \u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u043a\u0443 \u0444\u0440\u0435\u0439\u043c\u0432\u043e\u0440\u043a\u0430 \u0432 \u043f\u0430\u043d\u0435\u043b\u044c \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044f \u0432\u0435\u0431-\u0445\u043e\u0441\u0442\u0438\u043d\u0433\u043e\u043c <a href=\"http:\/\/cpanel.net\/\">cPanel<\/a>.<\/p>\n<p>  \u0415\u0441\u043b\u0438 Phalcon \u0441\u0442\u0430\u043d\u0435\u0442 \u0434\u043e\u0441\u0442\u0443\u043f\u043d\u044b\u043c \u0440\u0430\u0441\u0448\u0438\u0440\u0435\u043d\u0438\u0435\u043c \u0434\u043b\u044f \u043a\u043b\u0438\u0435\u043d\u0442\u043e\u0432 cPanel, \u0442\u043e \u044d\u0442\u043e \u043d\u0435 \u0442\u043e\u043b\u044c\u043a\u043e \u0443\u0432\u0435\u043b\u0438\u0447\u0438\u0442 \u043f\u043e\u043f\u0443\u043b\u044f\u0440\u043d\u043e\u0441\u0442\u044c \u0444\u0440\u0435\u0439\u043c\u0432\u043e\u0440\u043a\u0430, \u043d\u043e \u0438 \u043f\u043e\u0439\u0434\u0451\u0442 \u043d\u0430 \u043f\u043e\u043b\u044c\u0437\u0443 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u0430\u043c, \u0445\u043e\u0441\u0442\u0438\u043d\u0433\u043e\u0432\u044b\u043c \u043a\u043e\u043c\u043f\u0430\u043d\u0438\u044f\u043c, \u0430 \u0432 \u043f\u043e\u0441\u043b\u0435\u0434\u0441\u0442\u0432\u0438\u0438 \u0438 \u043a\u043e\u043d\u0435\u0447\u043d\u044b\u043c \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f\u043c, \u0432\u0435\u0434\u044c Phalcon \u043d\u0430\u043f\u0438\u0441\u0430\u043d \u043d\u0430 C, \u0430 \u0437\u043d\u0430\u0447\u0438\u0442 \u043f\u043e\u0442\u0440\u0435\u0431\u043b\u044f\u0435\u0442 \u043c\u0435\u043d\u044c\u0448\u0435 \u043f\u0430\u043c\u044f\u0442\u0438 \u0438 \u0441\u043e\u0437\u0434\u0430\u0451\u0442 \u043c\u0435\u043d\u044c\u0448\u0443\u044e \u043d\u0430\u0433\u0440\u0443\u0437\u043a\u0443 \u043d\u0430 \u0441\u0435\u0440\u0432\u0435\u0440 \u0432 \u0441\u0440\u0430\u0432\u043d\u0435\u043d\u0438\u0438 \u0441 \u0430\u043d\u0430\u043b\u043e\u0433\u0430\u043c\u0438 \u043d\u0430\u043f\u0438\u0441\u0430\u043d\u043d\u044b\u043c\u0438 \u043d\u0430 PHP.<\/p>\n<p>  \u041f\u043e\u0434\u0434\u0435\u0440\u0436\u0430\u0442\u044c \u0440\u0430\u0437\u0432\u0438\u0442\u0438\u0435 \u0444\u0440\u0435\u0439\u043c\u0432\u043e\u0440\u043a\u0430 \u0432\u044b \u043c\u043e\u0436\u0435\u0442\u0435 \u043f\u0440\u043e\u0433\u043e\u043b\u043e\u0441\u043e\u0432\u0430\u0432 \u0437\u0430 feature-\u0440\u0435\u043a\u0432\u0435\u0441\u0442 \u043d\u0430 \u0441\u0430\u0439\u0442\u0435 cPanel:<br \/>  <a href=\"http:\/\/features.cpanel.net\/responses\/add-support-for-phalconphp-extension-apache-php\">http:\/\/features.cpanel.net\/responses\/add-support-for-phalconphp-extension-apache-php<\/a><\/p>\n<hr\/>\n<p>  \u0418\u0441\u0442\u043e\u0447\u043d\u0438\u043a\u0438:  <\/p>\n<ul>\n<li><a href=\"http:\/\/blog.phalconphp.com\/post\/48089073098\/phalcon-1-1-beta-released\">Phalcon 1.1 beta released!<\/a><\/li>\n<li><a href=\"http:\/\/blog.phalconphp.com\/post\/48284679009\/help-the-community-to-make-phalcon-available-on-cpanel\">Help the community to make Phalcon available on cPanel<\/a><\/li>\n<\/ul>\n<p>  P.S. \u0422\u0435\u043a\u0441\u0442 \u043f\u0435\u0440\u0435\u0432\u0435\u0434\u0451\u043d \u0438 \u043f\u043e\u0434\u0433\u043e\u0442\u043e\u0432\u043b\u0435\u043d \u0441\u0438\u043b\u0430\u043c\u0438 <a href=\"http:\/\/habrahabr.ru\/users\/agent_j\/\" class=\"user_link\">agent_j<\/a>, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0432\u0432\u0438\u0434\u0443 \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0451\u043d\u043d\u044b\u0445 \u043f\u0440\u0438\u0447\u0438\u043d \u043d\u0435 \u043c\u043e\u0436\u0435\u0442 \u0435\u0433\u043e \u0441\u0430\u043c\u043e\u0441\u0442\u043e\u044f\u0442\u0435\u043b\u044c\u043d\u043e \u0440\u0430\u0437\u043c\u0435\u0441\u0442\u0438\u0442\u044c.    \t \t\t   \t<\/p>\n<div class=\"clear\"><\/div>\n<\/p><\/div>\n<p> \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 <a href=\"http:\/\/habrahabr.ru\/post\/177691\/\"> http:\/\/habrahabr.ru\/post\/177691\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<div class=\"content html_format\">   \t<img decoding=\"async\" align=\"right\" src=\"http:\/\/habrastorage.org\/storage2\/ede\/b07\/dd7\/edeb07dd7dacef7135ae417b1ecedb46.png\"\/><br \/>  \u041f\u043e\u0441\u043b\u0435 \u0443\u0441\u043f\u0435\u0448\u043d\u043e\u0433\u043e \u0440\u0435\u043b\u0438\u0437\u0430 PHP-\u0444\u0440\u0435\u0439\u043c\u0432\u043e\u0440\u043a\u0430 <a href=\"http:\/\/habrahabr.ru\/post\/171915\/\">Phalcon 1.0<\/a>, \u043a\u043e\u043c\u0430\u043d\u0434\u0430 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u043e\u0432 \u043f\u0440\u043e\u0434\u043e\u043b\u0436\u0430\u0435\u0442 \u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c \u043d\u0430\u0434 \u0435\u0433\u043e \u0440\u0430\u0437\u0432\u0438\u0442\u0438\u0435\u043c. \u0412 \u044d\u0442\u043e\u0439 \u0441\u0442\u0430\u0442\u044c\u044f \u044f \u0445\u043e\u0447\u0443 \u043e\u0441\u0432\u0435\u0442\u0438\u0442\u044c \u043d\u0430\u0438\u0431\u043e\u043b\u0435\u0435 \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u044b\u0435 \u0444\u0438\u0447\u0438, \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u043d\u044b\u0435 \u0432 \u0432\u0435\u0440\u0441\u0438\u0438 1.1.0 BETA<\/p>\n<ul>\n<li><a href=\"#chapter1\">\u041f\u0430\u0433\u0438\u043d\u0430\u0446\u0438\u044f \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u043e\u0432 \u043a\u043e\u043d\u0441\u0442\u0440\u0443\u043a\u0442\u043e\u0440\u0430 \u0437\u0430\u043f\u0440\u043e\u0441\u043e\u0432 (QueryBuilder)<\/a><\/li>\n<li><a href=\"#chapter2\">\u0421\u0435\u0440\u0432\u0435\u0440 \u043e\u0447\u0435\u0440\u0435\u0434\u0435\u0439 Beanstalkd<\/a><\/li>\n<li><a href=\"#chapter3\">\u0428\u0438\u0444\u0440\u043e\u0432\u0430\u043d\u0438\u0435<\/a><\/li>\n<li><a href=\"#chapter4\">Assets Management<\/a><\/li>\n<li><a href=\"#chapter5\">\u0420\u0435\u0436\u0438\u043c Exception \u0434\u043b\u044f ORM-\u0432\u0430\u043b\u0438\u0434\u0430\u0442\u043e\u0440\u043e\u0432<\/a><\/li>\n<li><a href=\"#chapter6\">\u0420\u043e\u0443\u0442\u0438\u043d\u0433 \u043f\u043e \u0438\u043c\u0435\u043d\u0438 \u0445\u043e\u0441\u0442\u0430<\/a><\/li>\n<li><a href=\"#chapter7\">\u0418\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435 \u043a\u043e\u043d\u0442\u0440\u043e\u043b\u043b\u0435\u0440\u043e\u0432 \u0432 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f\u0445 Mvc\\Micro<\/a><\/li>\n<li><a href=\"#chapter8\">\u041f\u043e\u0441\u043b\u0435\u0441\u043b\u043e\u0432\u0438\u0435<\/a><\/li>\n<li><a href=\"#chapter9\">\u041f\u043e\u043c\u043e\u0433\u0438\u0442\u0435 \u0441\u043e\u043e\u0431\u0449\u0435\u0441\u0442\u0432\u0443, \u043f\u0440\u043e\u0433\u043e\u043b\u043e\u0441\u043e\u0432\u0430\u0432 \u0437\u0430 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u043a\u0443 Phalcon \u0432 cPanel<\/a><\/li>\n<\/ul>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-177691","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/177691","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=177691"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/177691\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=177691"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=177691"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=177691"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}