Harmonique

Play radio

Notes

Semantic Coding?

Marc in Space · Builds software and draws with robots

What is sfException?

As the sfException phpDoc says:

sfException is the base class for all symfony related exceptions and provides an additional method for printing up a detailed view of an exception.

If you look at the code of sfException you’ll see that sfException has a bunch of tool to wrap an exception inside an sfException. That’s why when an exception of any kind is thrown in symfony, you see a nice html output.

Continue reading →

Keep cool, use vim

Marc in Space · Builds software and draws with robots

Fed up by using Eclipse (So slow) and Netbeans (always crashing), some folks at Sensio Labs told me to start using Vim. At first, I said: “Just the name makes me want to puke, but why not.”. A few weeks later, guess which tool I used to edit my code? Yes, Vim. No, I didn’t even puke!

VIM does not stand for “VIM Is Magic” but it could. It’s lightweight and usable everywhere. Whether you’re editing code, writing a blogpost in markdown or configuring an apache vhost over an ssh connection, it’s a wonderful tool to do the job.

Continue reading →