Nov 11

Laravel Migrations: Write those Foreign Keys from the start!

By Diego | Laravel

“I see dead records…” has become a fairly common catch phrase for me in some projects lately. The dark practice of delaying the proper writing of the FKs in the migration files. Why devs fall into it and for what purpose is, most of the time,  shady at best.

I never found a good explanation for this practice. Read through, you may be another “Cole” from The Sixth Sense with the potential to save hundreds of lost records…

Continue reading

Sep 16

The importance of frontend techs for backend developers

By Diego | Software Practices

During the past few years I’ve been working mostly as software engineer focused on the backend side and architecture of the systems I developed. But in the last few weeks I had to get up to speed with some frontend techs that sparked an old flame. How could I’ve been out of this for so long? Today I’m rambling a little about why I think a developer needs to keep in touch with both worlds, with my personal story mixed… and the usual song treat at the end ;)

Continue reading

Jun 29

How I fell in love with Laravel

By Diego | Misc

Hello everyone! I’m back from a long absence in the blog. So much has changed and evolved since I started the website and publishing my initial posts. Let me try to summarize what happened, with a love story included, and what you can expect from now on.

Continue reading

Jun 09

Adding HWIOAuthBundle to your Symfony2 project

By Diego | Dev Tutorials

When it comes the time to add OAuth support to your Symfony2 project, and allow your users to login using their accounts of Facebook, Google, Twitter, Linkedin, etc., it really makes sense to use some of those great third-party bundles that already solve this problem.

One of these bundles is the HWIOAuthBundle. This is a great bundle that allows you very easily to add support for authenticating users via OAuth1.0a or OAuth2 in Symfony2, handling more than 20 providers.

But as today, there is only a little problem… documentation is not as detailed as some may want. This is only my very small contribution after fighting to make it work.

Continue reading

Mad Max: Beyond Thunderdome
Feb 24

We don’t need another hero!

By Diego | Software Practices

Hero developers. That breed of super heroes that solve every damn coding problem that arises in our software projects. They are fast, and usually they complement it with lateral thinking, boosting their quickness with solutions that seems taken out of a magic hat. And it seems they are always there when we need them. They have a great commitment to the project, they love to save the day, even on weekends! They seem to have an affinity with programming languages, they even understand the ones they have never seen before… and quickly.

Continue reading