Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Symfony Finland:
Serving PHP on HTTP/2 with H2O and HHVM (Symfony, WordPress, Drupal...)
Jun 23, 2015 @ 11:48:27

On the Symfony Finland blog there's a new post showing you how to serve PHP over HTTP/2 with HHVM and H2O. H2O describes itself as a "new generation HTTP server providing quicker response to users when compared to older generation of web servers".

This article is not about improvements made in HTTP/2 - as there are plenty of locations for you to read up on the internals. It's a hands on article to get started using HTTP/2 today with popular tools such as Symfony, WordPress and Drupal with the HHVM PHP runtime from Facebook. You can just as well use PHP-FPM.

They start with a bit of a look at the current state of PHP and HTTP/2 on the various major web server types. H2O, while younger, natively supports HTTP/2, he does offer the caveat that "waiting won't kill you". Despite this, they go on to show you how to set up the PHP+H2O+HHVM combination complete with configuration examples and what to look for in the logs to ensure HTTP/2 functionality.

tagged: serve http2 h2o hhvm tutorial webserver configuration

Link: https://www.symfony.fi/entry/serving-php-on-http-2-with-h2o-and-hhvm-symfony-wordpress-drupal

Submission:
Taylor Luk Releases H2o Templating System (Django-inspired)
Nov 13, 2008 @ 09:31:41

Taylor Luk submitted some info about a project he's been working on for a while and is ready to release into the wild and see how useful it can be for others - H2o Template, a Django-inspired templating system.

I have been developing this for quite a while, started as a fun project to do django like syntax and compiles down to php code. Unlike the last django-like template for Zend Framework, this one is more stand alone. After couple major rewrite, now i am releasing 0.3 beta.

The syntax of the templates is pretty similar to Django and it includes a built-in caching driver, an extension system that allows for external filters/tags/extensions to be added in easily and internationalization support. He's currently using it on a CakePHP website in a view class on a production system.

Get more details and access the source on the project's github page.

tagged: h2o template django inspire extension filter internationalize

Link: