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

Phalcon Framework: San Antonio Web Developers Group

Josh Freeman
March 20, 2014
20

Phalcon Framework: San Antonio Web Developers Group

Presentation by Josh Freeman at the San Antonio Web Developers Group Meetup on March 20, 2014.

Josh Freeman

March 20, 2014
Tweet

Transcript

  1. What is a Framework? • Web Development Library • Application

    Skeleton • Proven Functionality • Hopes and Dreams of a Developer
  2. PHP as an Interpreted Language ➔ Receive Request (from Apache/Nginx)

    ➔ Read file from HHD/SSD ➔ Parse file ➔ Compile into OpCodes ➔ Execute through Zend Engine ➔ Render Output Davey Shafik: PHP Performance I: Everything You Need to Know about OpCode Caches
  3. Back to the Problem with Frameworks • Framework design requires

    many files • PHP lifecycle runs for every file called during runtime (without caching) • Framework load happens for EVERY request
  4. Benchmarks Operating System: Mac OS X Lion 10.7.4 Web Server:

    Apache httpd 2.2.22 PHP: 5.3.15 CPU: 2.04 Ghz Intel Core i5 Main Memory: 4GB 1333 MHz DDR3 Hard Drive: 500GB SATA Disk
  5. OK, What Do I Start? ~$ sudo apt-get install php5-dev

    libpcre3-dev gcc make ~$ git clone git://github.com/phalcon/cphalcon.git ~$ cd cphalcon/build ~$ sudo ./install
  6. Roll the Credits • Phalcon Development Team – phalconphp.com •

    Davey Shafik – PHP Performance: Under The Hood – PHP Performance I: Everything You Need to Know about OpCode Caches • MemeGenerator/KnowYourMeme