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
php

How to prevent PHP sessions being shared between different apache vhosts / different applications

When you run multiple applications on one server, you might run into the session-sharing problem: All your applications share the

Increase your HTML / CSS coding speed with EMMET

Codeninja.com just published a very interesting article about the excellent free code-completion/code-generation tool EMMET, which allows you to create huge

increase-your-pagespeed-score

Increase your PageSpeed score (10min video with Matt Gaunt)

Compact and clever information for dramatic speed increases. Definitly worth watching.

php

[Link] Excellent PHP best practices, 2014 style

Excellent post on This interests me: A collection of useful best practices in modern PHP development, like Redirecting the user

laracon-2014-eu-amsterdam

Laracon 2013 – Kapil Verma: Engineering Complex Applications with Laravel 4 (40min video)

More videos of 2013’s and 2014’s Laracon events from US and EU on their Youtube channel.

Bézier Curves – Under the Hood (4min video)

Take a peek under the hood to see how computers draw cubic Bézier curves, as used in design and motion

How to get a single table out of a massive MySQL .sql database backup file (mysql dump splitter)

Imagine the following situation: Somebody backs up an entire MySQL database – a very large one – with common tools.

JavaScript ECMAScript6 – A short video introduction (5min)

Excellent introduction into the new ECMAScript6, the spec behind JavaScript.

“Fuck you. Pay Me.” How to deal with clients, the professional way. An excellent talk with Mike Monteiro.

Excellent (and very useful) speech by Mike Monteiro about how to deal with clients, how to create a professional relation

Awesome next-gen PS4 graphics in “The Order: 1886”

We are entering a very interesting time: The differences between cinematic movies and video games are getting lesser and lesser.

1/4

Categories

Search

Compare 250+ cloud server plans with Cloud Cost Calculator
PHPStorm: 42 Tips and Tricks (47min video talk by Mikhail Vink at Dutch PHP Conference 2015)
git-php-deployment
Extremely simple deployment with PHPloy
unreal-4-engine
Tim Sweeney talks about the future of game graphics (and which hardware we need to “clone” reality)
github-logo-octocat
GitHub buys Easel.io, a code-free full website creator worth a look
php
Slides from International PHP Conference 2014
js javascript
Push database changes to all clients in real-time (!) with AngularJS and Firebase
First look on Gitter, the chat for GitHub
digitalocean coupon
Free $10 coupon for DigitalOcean SSD cloud VPS hosting
mod-rewrite-ubuntu-14-04-lts
How to install / setup PHP 5.5.x on Ubuntu 12.04 LTS
vagrant
How to setup a (or multiple) server/LAMP-stack inside a virtual machine for local development with Vagrant and PuPHPet
Hacked french TV channel exposed passwords in TV interview (video, screenshots, links)
bash-command-line-tutorial
Best introduction to unix command line / bash ever (by André Augusto Costa Santos)
mod-rewrite-ubuntu-14-04-lts
How to enable mod_rewrite in Ubuntu 14.04 LTS
anti block adblock
Show ads to ad-blockering visitors – with PageFair.com

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