Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Phalcon PHP

Avatar for sparkphp sparkphp
December 06, 2011

Phalcon PHP

PHP Framework written as C extension

Avatar for sparkphp

sparkphp

December 06, 2011
Tweet

Other Decks in Technology

Transcript

  1. Why? • Using of frameworks has become mandatory in professional

    development with PHP • They offers a philosophy and organized structures to easily maintain projects writting less code and making work more fun
  2. How PHP works? 1. PHP have dynamic and weak types

    2. PHP is interpreted (not compiled) 3. Every time a script is loaded, should be interpreted by PHP 4. If a bytecode cache (like APC) isn’t used, syntax checking is performed every time
  3. How traditional php frameworks works? 1. Multiples files with classes

    and functions are read at every request made to applications 2. Modern frameworks use lazy loading (autoload) for execute only the code needed 3. Continuous code reading and interpreting could be expensive and impact your application performance
  4. How a PHP C extension works? 1. C extensions are

    loaded together with PHP once time on the web server dispatch process 2. Classes and functions provided by the extension are ready to use for any application 3. Code isn’t interpreted because is compiled to a specifically platform and processor