Forest header image

Symfony Finland
Random things on PHP, Symfony and web development

Overview for javascript

A practical introduction to TypeScript for PHP developers

Most developers I know should be classified with the trendy word polyglot. Polyglot means a person that speaks multiple languages, where as for developers they're programming languages. Even if you consider yourself as a PHP developer, you're likely more diverse.

Programming languages rise and fall in relevance, so your skillset and routine varies over time - depending on trends as well as the line of work you're in. Let's take a practical look at why you might find TypeScript a worthy language to use in 2017 and beyond.


Written by Jani Tarvainen on Sunday February 5, 2017
Permalink - Tags: php, typescript, javascript

Sharing state in a Symfony hybrid with Twig, React & any JavaScript/PHP apps

Front end development has certainly grown up in the last few years. UI logic is increasingly being moved to the client side, but the traditional server-rendered views aren't going anywhere soon. And they shouldn't.

The two methods will live alongside each other and you'll have to work with two worlds. Let's explore an idea how to make this pleasant to work with, by sharing state between Twig templates and JavaScript.


Written by Jani Tarvainen on Wednesday January 25, 2017
Permalink - Tags: php, javascript, react, typescript



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