Virtualized servers have been the norm for years now. Deploying to a VPS (Virtual Private Server) is a handy option that gives you complete control over the operating system. VPSes are preferred method for many developers and while the PaaS hype has peaked, "the cloud" is still a great option to have.
Written by Jani Tarvainen on Thursday January 21, 2016
Written by Jani Tarvainen on Monday January 18, 2016
PrestaShop is a popular eCommerce platform built on the LAMP stack. Since it's inception in 2005 it has gone through a number of iterations, despite only being in version 1.6 currently.
Migrating sites to HTTP/2 is a simple task. Simply upgrade your web server and procure a valid certificate and you're done! That's it for something small like your blog, but complex sites built comprising of multiple subsystems and 3rd party client functionalities likely require more effort.
Written by Jani Tarvainen on Sunday January 10, 2016
Microservice architectures remain popular and microframeworks of all sorts are an essential part of the scene. At the end of November with the release of Symfony 3.0 (and 2.8) the Symfony Full Stack Framework received an option to use a lighter bootstrap, a Microkernel in Symfony terms.
In the previous articles we have evaluated PHP performance on different runtimes, adding server resources (CPU & RAM), and comparing the Symfony Proxy and Varnish - using eZ Platform - a CMS built on the Symfony Framework.
Now let's try an unconventional method of executing PHP applications, PHP-PM.
In the previous articles we have evaluated PHP performance on different runtimes (PHP 5.6, HHVM, PHP 7) as well as how it behaves when adding server resources (CPU & RAM) using eZ Platform - a CMS built on the Symfony Framework.
In production environments Symfony and eZ Platform are likely ran behind the Varnish Reverse Proxy, which we'll evaluate next by comparing it to the built in Symfony Proxy.
In the previous article in this series we took a look at how different runtimes affect Symfony performance, by comparing PHP 5.6, HHVM 3.11 and PHP 7.0.1. The conclusion was that both HHVM and PHP 7 offer significant improvements in performance without adding server resources. In this article we'll look at how adding them affects performance.
The timespan between launches was PHP 5 to 7 was long, but feature and performance wise there were a number of improvements in the 5.x series. For performance the greatest leap was inclusion of the Opcode cache by default since 5.5.
Benchmarks are the mother of all click baits. They draw people like flies, create controversy and make people jump to conclusions. For raw computation such as video encoding benchmarks can be very effective at demonstrating differences between different technologies.
For the dynamic environment web applications run in, benchmarks rarely represent reality and are more or less synthetic. Yet web benchmarks have got their place to give ballpark figures of differences.
Let's see how to merge together v8js and the Symfony Microkernel, making it possible to set the initial state of server rendered components using a PHP backend.
There are plenty of great tools for debugging PHP applications like ones built with Symfony, but catching reasons for slow processes in production can still be a tough cookie.
On December 15th 2015 eZ Systems released their new generation of content management products. Building on a foundation from 1999 the new product suite sheds all legacy code and is built on the Symfony Full Stack Framework.
React is an interface library that is rapidly gaining ground. It can be considered as similar to what Angular and Ember, for example, are. As opposed to Angular and Ember React.js focuses on User Interfaces alone, being neutral on routing and other duties. React can also be rendered on the server side, which is not unique - but very natural to it.
Written by Jani Tarvainen on Sunday December 13, 2015
The Symfony project is known for providing high quality software. Since 2011 the Symfony2 framework has been a trusted base for creating web applications and the various components have been adopted by numerous popular Open Source projects like Laravel and phpBB.
The current world of computing owes a lot to Microsoft. They made a bold bet on the value of software over hardware over 30 years ago. The legacy of this carries on today with commodity hardware, but software itself has also largely become a commodity with Open Source.
Yet there is still something we could learn from IBM PC Compatible clones at this time of "decoupling" content management. The focus remains in breaking up Open Source products to pieces and then gluing those bits together with a specific type of REST glue.
Written by Jani Tarvainen on Tuesday December 8, 2015
wordpress, cms, rest, drupal
Back in December 2014 I did some experimenting with the then unfinished version of the HTTP/2 protocol with the H2O web server. I managed to the the server up and running with the built in PHP server to serve some HTTP/2.
Written by Jani Tarvainen on Sunday December 6, 2015
Since it's inception commerce on the internet has been a perfect fit. The technology allows both window shopping and an easy route to the actual purchase. eCommerce has been around for quite a while, and not just with durable goods - Pizza Hut made their first online sale as early as 1994.
Written by Jani Tarvainen on Friday December 4, 2015
Today is an exciting day for PHP developers as PHP 7.0.0 is unleashed and we've got some news on the future of Symfony.
Written by Jani Tarvainen on Thursday December 3, 2015
Written by Jani Tarvainen on Tuesday December 1, 2015