Logo
  • PHP
    • HipHop / HHVM
    • Modern PHP
    • PHPStorm
    • LAMP
    • Laravel
    • Composer
    • PDO
  • JavaScript
    • node.js
    • AngularJS
  • CSS
    • SASS
    • “CSS4” (CSS level 4)
  • HTML
  • Git
  • LAMP
  • Vagrant
  • UI / UX
  • Architecture of …
  • Off-Topic
With ♥ from Berlin
December 25, 2013
Chris
Modern PHP, PHP, PHP-compiling
Comments Off on Which PHP-framework to learn in 2014 ? PHALCON, by far the fastest ever!

Which PHP-framework to learn in 2014 ? PHALCON, by far the fastest ever!

PreviousNext
php-phalcon-logo

Hey guys, just a short little article between the years: If you have the possibility to learn and use a new PHP framework for your job or your private projects, then definitly give PHALCON a try. It will change the PHP world more than just a little bit. Why ? That’s why:

php-benchmark-phalconphp-benchmark-phalcon-memory

This is the result of independent tests (see systemsarchitect.net) and tests made by the Phalcon crew (see phalconphp.com) and shows what other tests confirm, sometimes not that fast, but in general Phalcon is always (!) by far the #1 in all benchmarks. This awesome increase of speed / request rate is made possibly by pre-compiling. While HipHop/HHVM (if you never heard, do a google research now) is a real virtual machine inside your server that pre-compiles and serves your PHP, Phalcon is a “c-extension” that will be installed into your operating system (can be installed in Linux, Mac, Windows), not downloaded via Git like usually. With native PHP, the requested .php file is compiled at every request (which means, PHP, which is itself written in C, will do a syntax check, then the contents will be translated into C, then compiled and then executed). From my understanding Phalcon does the syntax-check and the compiling to C only once until the php file changes, so basically a request hits compiled C code, not to-be-compiled PHP code. Please comment on this article if I’m not correct here (it’s kind of hard to find out how Phalcon works on the inside without being a C developer).

Installing and getting started with Phalcon

You don’t download Phalcon like other frameworks. Phalcon needs to be installed! But that’s easy, in most unixes you do this with one or a few lines of code (here), even in Windows you simply need to drag & drop one file (useful for local development) like in this tutorial video. Don’t forget to restart.

In general Phalcon comes without PHP code (okay that’s not true as there are Unit tests for all the inbuilt function, but let’s skip this), so you start with … nothing. To create an application, you should follow the excellent intro tutorial which shows how to build something from scratch (very useful, as you’ll know every line of your project).

In case you are impatient, download the skeleton demo app like described here or get the awesome full-feature “Album O’Rama” demo application that holds information for 100.000 music tracks.

There are also some nice tutorials on the official Vimeo channel, like this one: How to create a poll application in 15 minutes with Phalcon.

Udemy.com has a paid tutorial on Phalcon here. By the way, the guy doing this tutorial is Jesse Boyer / JREAM, who has also written the most popular (and highly recommendable!) MVC framework tutorial on YouTube. This free YouTube-tutorial has changed my PHP life. ;)

More…

Have a look on Phalcon on GitHub, the official blog, Twitter and Google+.

Please also note: The currently shown version is 1.2.4, but the 2.0 branch is in development and planned for 2014.

Cool update: Sitepoint has published an article about How to integrate Phalcon directly into Vagrant (so it’s already installed when you do vagrant up).

Cool update #2: DigitalOcean has published a How to install tutorial.

cphalconPHPpre-compiling
Share this

Adobe releases Firebug-like developer tools to edit and extract PSDs

A big step in frontend-development: According to this presentation on Adobe Max 2014 Adobe has just released a very interesting

hearthbleed-ssl-bug

The SSL Heartbleed bug explained in 30 seconds

Another excellent comic by xkcd (a site that publishes dev/op/web-related comics, usually nailing things right to the head): This time

[Link] Improving Smashing Magazine’s Performance: A Case Study

The title says it all: A very interesting guide through the optimization process on one of the largest blogs in

php

PHP 5.7 gets refactored core, is 10%-30% faster than PHP 5.5! Wow!

What an announcement! The awesome PHP core guys have refactored the Zend Engine (which drives PHP) and could successfully speed

phpstorm-8

PHPStorm 8 (early access version) released – for free

JetBrains have just released an Early Access version of the upcoming PHPStorm 8. In case you never worked with PHPStorm

Joshua Davis – my hero of Flash – in two excellent interviews (audio, video)

Joshua Davis is the reason why I’ve started to code. Seriously. Back in the late 90ies, the internet was a

angular js

Learn AngularJS in 20 (or 90) minutes with Dan Wahlin

Definitly two of the best and most up-to-date short-introductions into AngularJS: Dan Wahlin shows how to build a full little

php

Must-read PHP blog: PHPweekly.com

Probably one of the best ressources for your weekly doze of news from the PHP scene: phpweekly.com simply publishes a

php-7

PHP 6.0 will be PHP 7

Germany’s excellent PHP Magazin just posted interesting news: The next major version of PHP will be PHP 7, the development

Experimenting with HHVM at Etsy (Link)

Extremely interesting blog post of Etsy on how they try out HHVM / HipHop: https://codeascraft.com/2015/04/06/experimenting-with-hhvm-at-etsy/

1/4

Categories

Search

Adobe releases Firebug-like developer tools to edit and extract PSDs
github-logo-octocat
GitHub rolls out .PSD diff and viewing
photoshop-cc-deal
Adobe offers Photoshop for $9.99 per month (limited deal)
GitHub finally introduces repo traffic stats
phpstorm-8
A PHPStorm shortcuts cheat sheet (for Windows, Mac OS and Linux)
phpstorm-8
PHPStorm 8 has just been released
offf-2014
Europeans: Get ready for OFFF conference / festival in Barcelona, May 2014
Going node.js at Netflix (Slides by Micah R of Netflix)
vagrant
How to copy Vagrant boxes (or duplicate them)
php
How to use the PHP 5.5 password hashing functions
O’Reilly’s Programming JavaScript Applications by Eric Elliott for free (Early Access release)
windows-xp-eol
Windows XP is officially dead from today. Do you know people still using it ? Punch them.
php
PHP 5.6 announced, statically typed (!) “new” PHP announced by Facebook devs
angular js
Learn AngularJS in 20 (or 90) minutes with Dan Wahlin
Frontend Ops Conf 2014 – Paul Irish: Delivering The Goods In Under 1000ms (40min video)

Tags

apache bash centos composer conference coupon CSS debian fonts framework git GitHub hack HHVM HipHop HTML HTML5 IDE JavaScript JS LAMP laravel linux mod_rewrite MVC MySQL Nginx optimization PHP PHP 5.5 PHP 5.6 phpmyadmin PHPStorm security server SSD Ubuntu UI UX vagrant video virtual machine voucher VPS wordpress
Side-Project: Wordle-Solver:
www.wordle-helper.info

Pages

  • Privacy Policy