Alessandro Nadalin

PHP User Group Dubai, Here We Start Again!

| Comments

Dubai, PHP, PUG

After launching a couple PHP User Groups in Italy (Rome and Friuli), I started to feel kind of lost here in Dubai, a place that gathers together lots of talents but doesn’t have that much of knowledge-sharing culture.

Given this and the pro-active involvement of some of my colleagues from Namshi, I really wanted to see some sort of community raise in this desert.

Integrating Twig in Your Legacy PHP Code

| Comments

PHP, legacy, twig

It might happen that you are working on a legacy code that is years old, with its own templating mechanism1 that doesn’t really allow you to take advantage of the benefits that a structured and object-oriented engine like Twig.

In this situations, when a complete replacement would cost too much to your organization, you can take advantage of a wild integration between this advanced template engine and your existing code.

Why Our Business Choose Symfony2 Over Any Other PHP Framework

| Comments

Doctrine2, Namshi, PHP, SOA, Symfony2, framework, testing

Everyone knows that I am a big fan of the Symfony2 ecosystem, and going SOA with this framework was a very trivial decision for us at Namshi; all in all, besides personal preferences, there is a plethora of reasons to choose this framework among the others available in PHP, so I am going to list the most important factors that influenced our decision.

Believe it or not, all of the following factors matter first for the business, then for the developers.

Automated Tests From a Novice’s Perspective

| Comments

TDD, testing

Today I got one of those moments of pride when one of our developers, who is working since – roughly – a year, decided to send an email to the team after working on automated tests for the first weeks of his career:

Automated testing is great idea

If you have a ticket which requires a lot of changes (20 files, for example) Automated tests are very helpful and save your time, it saves about 30% of your time; even if it’s still not perfect, its good
For example look at this PR [link to a PR on Github], if i want to test all cases i need about half a day but it only took half an hour