Forest header image

Symfony Finland
Random things on PHP, Symfony and web development

Overview for typescript

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

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