Header Image
Models & Me
With my new venture into RoR and Ruby programing, I've started to work more closely to the Standard MVC structure. The framework for PHP that I use now does a great job at this however it is very flexible and isn't strict with MVC like RoR is. So here lately I've been learning to use models and keep the controllers clean, working on the aspect of Fat Model, Slim Controller So with that said I've learned to do a lot in models and really make tasks that I repetitively do; not so repetitive. So like I said here is a prime example of making things easier now with pagination config and it keeps it a lot cleaner in my controller which is the goal; a controller is a Junction Box not a junk pile.


Before:
before

After:
before


So I'm happy that its much cleaner now and just looks better :). Cheers guys!
Posted in Development by: CodyPChristian on Monday, January 14, 2008
brad says:
hi cody cool man
Commented on: Monday, January 14, 2008
Add Comment:

Full Name/Nickname

Email Address (Not Published to Public)

Website (Optional)

Comment


What color is a ripe apple?