Minggu, 22 Agustus 2010

Controller Action Design in MVC

Validate, Act, Translate, and Respond. That’s about it.I’ve been trying to come up with a nice acronym for how to structure code in Actions for some time now, and this is the best I have managed. I wish it spelt a nice word – so if you’ve a better suggestion shout up. What I’m trying to say is – “don’t stuff all your business logic and all sorts of other code into your controller” and, “follow a

Tidak ada komentar:

Posting Komentar