Header image

Symfony Finland
Random things on PHP, Symfony and web development

Symfony and the Google App Engine

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
Permalink -

Boring is the new Awesome

2015 was yet another year of rapid technical development in the world of the web. JavaScript was (and continues to be) the poster child of progress which is supposedly the answer to all of life's problems. Before JavaScript there were other messiahs, Java, NoSQL and Responsive Design to mention a few.

Written by Jani Tarvainen on Monday January 18, 2016
Permalink - Tags: php, javascript, symfony

Symfony and PrestaShop

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.

Written by Jani Tarvainen on Sunday January 10, 2016
Permalink - Tags: symfony, ecommerce, prestashop

Migrating large sites to HTTP/2

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
Permalink - Tag: http2

Symfony Benchmarks: Symfony Proxy vs. Varnish

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.

Written by Jani Tarvainen on Friday January 1, 2016
Permalink - Tags: php, symfony, varnish, proxy, benchmark

Symfony Benchmarks: Scaling PHP by adding CPU & RAM

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.

Written by Jani Tarvainen on Friday January 1, 2016
Permalink - Tags: php, php-fpm, ram, cpu, core, scaling, benchmark

Symfony Benchmarks: Introduction

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.

Written by Jani Tarvainen on Saturday December 26, 2015
Permalink - Tags: symfony, php, mysql, hhvm, php7, benchmark

Testing React.js isomorphic rendering with php-v8js and the Symfony Microkernel

React.js is often thought of as as a front end technology. They can, however be rendered on the server side too - using JavaScript. This naturally turns the scale towards Node.js, but PHP with the v8js installation can handle it too.

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.

Written by Jani Tarvainen on Saturday December 19, 2015
Permalink - Tags: react, javascript, v8, v8js, php, symfony

Introduction to React.js Components and Server Side Rendering in PHP

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
Permalink - Tags: react, php, node, javascript

On the sustainability of Symfony

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.

Written by Jani Tarvainen on Thursday December 10, 2015
Permalink - Tags: symfony, php, javascript, software

Your CMS REST API should be WordPress Compatible

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
Permalink - Tags: wordpress, cms, rest, drupal

HTTP/2 2015 Retrospective

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
Permalink - Tags: http2, web

Commerce and content go together

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
Permalink -