20120512

Leyes del Ecuador


Esta es mi primera aplicación de iOS. Lenguaje nuevo, ambiente de desarrollo nuevo, sistema operativo nuevo...

20120105

Basic security

How often does one have to run across basic security issues being neglected in our beloved Internet, in daily use?

Too often.

20111030

Levels of abstraction

The other day I was .. "surfing the web" (which these days means looking at an endless twitter feed) when I stumbled across an interesting (and very long) post about a programmer's career and how to not screw it up, basically. One point Patrick made was about communication. Let me copy the paragraph and discuss it later:

20111017

A Github portfolio

In many professions, having a portfolio is a really good way of letting your work speak for yourself. A portfolio of your past work can help a potential employer decide whether they are going to hire you, and colleagues see what you're made of, and it often much more useful than a CV. Programmers can have portfolios too, in the form of public repositories, which is why I'm starting my own using Github.

20110521

God's chair

It's May 21, 9:16pm, and a big event hasn't yet occurred, but hey, have some faith, we still have a couple of hours. God, as I am right now, is probably just chilling in his Aeron chair.

20110505

USB Monitor

It's been a couple of days since I got my brand new iMo Mini-Monster Touch, which finally brings my monitor count to a grand total of three. I had tried the old-fashioned "get an extra video card" setup, but for some reason my computer didn't start at all (not even the BIOS) when I had the second card installed, even if both cards are supposedly compatible with my Intel motherboard and between themselves (screw you Nvidia).

20110328

Validation in Zend Framework model

The model part of the Zend Framework is very open. In fact, ZF doesn't help you at all with it, other than providing some classes that manage a DB connection. Zend_Db_Table is good and all, but if you want a real-life model you need to work from scratch.

Which is how it should be, really.

The model is the base for your application. It should have all the so called "business rules", and this includes, of course, validation. Now, ZF has some pretty neat validation classes that you can use. The problem is how to write the code only once for the model and for the forms (view).