Header image

Symfony Finland
Random things on PHP, Symfony and web development

Everlasting SEO principles that work, because the web is hypertext

Search Engines are a very significant factor in many businesses today. Many companies will fail or succeed depending on their ranking on Bing, DuckDuckGo or Google. This has understandably created a whole industry of Search Engine Optimisation around it. Money talks.

But it's worth noting that SEO, like programming, isn't a tangible good that you can own - it's free as in experience. You can get far in SEO with common sense and understanding that the nature of hypertext.

Your content needs to be good, trusted and accessible.

Written by Jani Tarvainen on Friday July 17, 2015
Permalink - Tags: web, seo, google, bing, symfony, cms, drupal, wordpress, ezplatform, webdev

Handling traffic peaks with CloudFlare CDN for free

Every once in a while you're lucky and end up with a positive problem - your website content is suddenly very popular. You might scramble and start turning up your servers and tuning up your caches or maybe someone's de-facto solution is to install HHVM to run your WordPress faster.

While this is all worth while if you plan for this to happen in the future as well, for and occasional hit piece of content it might not be worth it.

Written by Jani Tarvainen on Monday July 13, 2015
Permalink - Tags: performance, cdn, php, bolt, cloudflare, web, symfony

Symfony and Content Management: Comparing Bolt, Drupal 8 and eZ Platform

If you're working in the PHP content management space (a fancy way of saying building websites with WordPress, Drupal, etc.) you've likely heard about Symfony. While it is just one part of a larger renaissance in the PHP community, it's probably the best known brand known to developers and business folk alike.

Using Symfony as a concept, however is quite ambiguous. Let's take a look at how three different content management tools have done just this.

Written by Jani Tarvainen on Thursday July 9, 2015
Permalink - Tags: drupal, bolt, wordpress, php, cms, ezplatform, ez, symfony, silex, mysql

Test PHP 7 with Vagrant

The PHP core team have set themselves a deadline. They've publicly stated PHP 7 will be launched in October. While this does not feel like a remarkable thing, it still pushes the work forward like any other deadline out there.

Written by Jani Tarvainen on Thursday July 9, 2015
Permalink - Tags: php, vagrant

Choosing between a Framework and a CMS

Yeah, so... there's a new project coming to a trendy agency or a web tech sweatshop. Sales scramble and techies go bonkers on what to build it with - should we go for a CMS or a Framework?

Written by Jani Tarvainen on Wednesday July 8, 2015
Permalink - Tags: web, rant, work

Web Components will fulfil the promise of Modular XHTML

From all the foundation web technologies what browsers consume (HTML, CSS and JavaScript), the most resistant to change has without been HTML itself. We've had a movement towards XML standards with XHTML (only to be abandoned with HTML5), some new tags, etc. Still, in essence hypertext authoring is has remained largely the same for over two decades.

Written by Jani Tarvainen on Sunday July 5, 2015
Permalink - Tags: web, components, html, html5, xhtml

How to expose your Routes and Translations to your Front End JavaScript in Symfony

As more and more processing is moving over to the client side you're more likely than ever to need to expose your back end resources via an API. The top of mind is application data, but you'll likely need to get endpoint URLs and translations as well. Or maybe you don't, but you should - manual maintenance is laboursome and error prone.

Written by Jani Tarvainen on Thursday July 2, 2015
Permalink - Tags: symfony, php, javascript, api, i18n, l10n, php-fpm, ezplatform

Serving PHP on HTTP/2 with H2O and HHVM (Symfony, WordPress, Drupal...)

HTTP/2 as a protocol was locked down in February 2015 and published in the May of same year. It's the first major revamp of the most important (IMHO) protocol since 1999. It's no silver bullet, but the upgrade offers improvements that will make a big difference when applied in scale. Help save the planet (yes, really) and start deploying today!

Written by Jani Tarvainen on Monday June 22, 2015
Permalink - Tags: http, web, wordpress, drupal, php, http2, symfony, hhvm, php-fpm, h2o, nginx, apache