Yet another use of Phalcon

  • Published on
    29-Nov-2014

  • View
    8.839

  • Download
    3

Embed Size (px)

DESCRIPTION

 

Transcript

<ul><li> 1. Yet another use of phalcon Phalcon </li> <li> 2. About me Yuji Iwai @104 20122 : PHP(3y)/Perl(7y)/Python(1y)/Objective-C(1y) : symfony1.4/Silex/Codeigniter Phalcon: 1 Phalcon </li> <li> 3. 3 </li> <li> 4. Phalcon 10 </li> <li> 5. 2013 AWS AWS:c1.mediam CPU Apache 1100MB CPU m1.large EC2 </li> <li> 6. CPU 30MB EC2: t1.micro/m1.small t2 </li> <li> 7. App Nginx + php-fpm PHP v5.4 (Non APC) Phalcon v1.3.1 Memcached fluentd Worker Upstart start-stop-daemon DynamoDB, SQS, SNS, RDS, ElastiCache(Redis) </li> <li> 8. ini YAML RoutingAnnotationYAML Composer Volt coredump Symfony1.4 Phalcon </li> <li> 9. Phalcon </li> <li> 10. </li> <li> 11. PSR-0 ComposerAutoloader Phalcon registerNamespace </li> <li> 12. RoutingYAML </li> <li> 13. ServiceProvider Laravel Silex ServiceProviderPhalcon DI Component Component ServiceProvider </li> <li> 14. Application Application register Phalconhandle override boot </li> <li> 15. ServiceProviderInterface </li> <li> 16. CacheServiceProvider </li> <li> 17. ServiceProvider </li> <li> 18. ServiceProvider YAML index.php index.php Component </li> <li> 19. ServiceProvider ServiceProvider database-service-provider volt-service-provider cache-service-provider aws-service-provider gaufrette-service-provider elasticsearch-service-provider ServiceProvider </li> <li> 20. redirect return LocationStatusCode Route API app-&gt;useImplicitView(false) response-&gt;setContent($content) return </li> <li> 21. useDynamicUpdate, keepSnapshots true Update 12 save/update snapshot SELECT save/update/delete model-&gt;getMessages() transaction-&gt;getMessages() PDO PDO::ATTR_STRINGIFY_FETCHES =&gt; false, PDO::ATTR_EMURATE_PREPARES =&gt; false $connection-&gt;affectedRows() </li> <li> 22. 502 Bad Gateway Volt NullNull Fatal Error Core dump Null </li> <li> 23. C C PHP https://github.com/scento/phalcon-php core dump </li> <li> 24. Phalcon </li> <li> 25. phalcon-devtools composer create-project create-project </li> <li> 26. Phalcon + AWS http://www.sonicmoov.com/recruit/ </li> </ul>