Play-dough: How to Model Your PHP Objects

Matthew Weier O'Phinney (May 22, 2009)
Talk at php|tek 2009 Unconference (English - US)

Rating: 5 of 5

Model-View-Controller (MVC) architectures are the norm these days in the PHP community. However, while everyone seems to understand and have opinions on how Controllers and Views might work and interact, the Model languishes in a position of being simply "data access". Indeed, most frameworks, PHP and otherwise, tend to focus on modelling solutions that are tied directly to the database, with no regard or attention to how to test or the fact that a database is simply one way to persist the data in a model.

In this session, we'll look at how to use objects to _model_ entities, and some techniques for then perisisting the model data and metadata -- via databases, caching, and web services. In addition, we'll look at how to separate the model from data persistence, and how this can benefit both test driven development and rapid application development.

 
Comments closed.

Comments

Rating: 5 of 5

May 4, 2009, 15:30 by stefan

important topic that should get some attention. I'd be up for attending this one :)

Rating: 4 of 5

May 4, 2009, 15:59 by aaronmccall

Very interested.

Rating: 4 of 5

May 12, 2009, 02:18 by Anonymous

I'll be attending this session !

Rating: 5 of 5

May 15, 2009, 15:49 by barry.austin

Must see. Voted.

Rating: 5 of 5

May 15, 2009, 16:36 by jqs

must have

© Joind.in 2010