Forest header image

Symfony Finland
Random things on PHP, Symfony and web development

PHP/Symfony development with Windows Subsystem for Linux (WSL)

Windows has always been somewhat of an oddball when it comes to PHP development. In the past years it has lost out on developer mindshare to UNIX-like Operating Systems like Linux and macOS.

With the release of Windows 10 Anniversary Update in August 2016 Microsoft now offers an interesting option for PHP development in the Windows environment: The Windows Subsystem for Linux (WSL)


Written by Jani Tarvainen on Saturday August 6, 2016
Permalink - Tags: php, symfony, linux, microsoft

Versioning an API in GraphQL vs. REST

GraphQL is a technology which is a modern and uniform alternative to the wealth of different RESTful interfaces. REST was introduced back in 2000 and is only an architectural style, not a specification. In REST any self-respecting developer is used to versioning, but in GraphQL there is no concept of versioning in the same sense.


Written by Jani Tarvainen on Friday August 5, 2016
Permalink - Tags: graphql, rest, javascript, php

Choosing a front end architecture for Symfony framework projects

Most projects created with the Symfony framework nowadays also include quite a bit of logic done on the client side. There is a large number of options on the market and this can lead to trouble choosing between the options. The JavaScript scene is full of camps and cutting through the buzz is quite a bit of work.


Written by Jani Tarvainen on Saturday July 30, 2016
Permalink - Tags: javascript, symfony

What is TypeScript and why should I care?

TypeScript is a programming language that builds on top of JavaScript. It's not a complete language, but rather a layer that adds new features to JavaScript. The foremost of these is obviously strong typing, where the name is derived from.


Written by Jani Tarvainen on Saturday July 30, 2016
Permalink - Tags: javascript, typescript, angular

Symfony2 turns five, Symfony 3.2 continues the momentum

Late in 2015 the Symfony project as a whole celebrated it's tenth anniversary. Another significant milestone is reached in July 2016 as Symfony2, the second major iteration celebrates it's fifth anniversary. Five years is a long time in IT, but even more so in web development.


Written by Jani Tarvainen on Saturday July 23, 2016
Permalink - Tags: symfony, php





Cache enhancements in Symfony 3.1 and 3.2: PSR-6 and tag invalidation

It's been said that there are only two hard things in Computer Science: cache invalidation and naming things. It seems that this statement from Phil Karlton continues to be true. Naming things is as close as code can be to poetry, so I'll leave that for the philosophers to discuss.

Invalidating items from cache is much more clear-cut problem to define. The more efficient and easy the solution, the better. Symfony3 already has some improvements for that, with more coming in the near future.


Written by Jani Tarvainen on Wednesday June 22, 2016
Permalink - Tags: symfony, cache, php


What is GraphQL and how does it differ from REST APIs?

The technology world is filled with hype spiced up with jargon. Each passing day there is a new technology that supercedes the previous one. For the last few years RESTful APIs have been the hottest thing.

But today many vow to the name of GraphQL and dance on the graves of REST APIs. But what exactly is GraphQL and how is it different from REST APIs?


Written by Jani Tarvainen on Thursday June 16, 2016
Permalink - Tags: graphql, rest

Symfony and JWT (JSON Web Token)

JSON Web Tokens are a relatively new method for authentication. JWT for short is an open standard for passing claims between parties in web application environments. Instead of relying on a cookie, applications can rely on passing forward JSON Web Tokens.


Written by Jani Tarvainen on Monday June 13, 2016
Permalink - Tags: symfony, jwt, javascript


Introduction to Angular 2 for Symfony developers

Angular is a household name in JavaScript frameworks. Like Symfony2 in it's time, the second major iteration of Angular is a revolution. In this article we'll take a look at the key concepts of Angular 2 and how they compare to ones in the Symfony Full Stack Framework.


Written by Jani Tarvainen on Sunday June 5, 2016
Permalink - Tags: symfony, angular