Header image

Symfony Finland
Random things on PHP, Symfony and web development

Bolt CMS is WordPress done right(er)

WordPress is like the bumble bee. Computer Scientists that studied the core code have concluded it is a miracle it works at all. It's clearly a product that taught the original developers how to work with PHP and MySQL. And it shows.

Over the years, cheeky kludge functions and inside jokes have been left in place as Poetry™. The core team stubbornly refuses to keep up with the times and adopt modern PHP development standards.

Superb skills in WordPress are like a country only exporting bananas. It gets you nowhere in the long run. So do you self a favour and save yourself from WordPress!

Written by Jani Tarvainen on Friday July 24, 2015
Permalink - Tags: php, wordpress, bolt, symfony, silex

Dear PHP, the times are a-changin'

The PHP community has been buzzing about all the significant releases such as PHP 7, Symfony 3 and Drupal 8 in 2015. With improved userland application frameworks, better performance and lower memory usage PHP is about to be better than ever.

Yet the world is changing and maybe PHP shouldn't (or can't) even try to keep up with the Joneses.

Written by Jani Tarvainen on Tuesday July 21, 2015
Permalink - Tags: php, javascript, hhvm

Improve Quality with Software Components

Software bugs are familiar to both the developers and users of software. In his book, the Science of Debugging, Matthew A. Telles offers the following definition for a bug: “Bugs are behaviours of the system that the development team (developers, testers and project managers) and customers have agreed are undesirable.”

Due to human errors and bad specifications, bugs will continue to be a part of software development projects. Despite improved tooling and the introduction of Agile methodologies.

Written by Jani Tarvainen on Saturday July 18, 2015
Permalink - Tags: webdev, php, symfony

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