Welcome Guest, Not a member yet? Register   Sign In
Model Philosophy
#6

[eluser]GregX999[/eluser]
I too first "learned" MVC programming in Rails and found that Datamapper - Overzealous Edition has a strong Rails flavor to it.

I was on the fence at first - between taking the path of creating CI-style models, or using DataMapper to have models that map to database tables, and I finally decided to go the DataMapper way. Having "objects" (like users or products or posts) that have their own methods is just too useful to pass-up!

Plus, writing a ton of methods in a model to do custom CRUD tasks is a pain. Having that stuff "automated" is a much more enjoyable way for me to program.

Greg


Messages In This Thread
Model Philosophy - by El Forum - 10-23-2009, 10:10 AM
Model Philosophy - by El Forum - 10-23-2009, 10:18 AM
Model Philosophy - by El Forum - 10-23-2009, 10:30 AM
Model Philosophy - by El Forum - 10-23-2009, 11:01 AM
Model Philosophy - by El Forum - 10-23-2009, 12:58 PM
Model Philosophy - by El Forum - 10-23-2009, 02:20 PM



Theme © iAndrew 2016 - Forum software by © MyBB