How are you supposed to organise your models in a PHP MVC application? What goes where? What is a service class, a mapper or an entity? This talk will look at the components of the model layer and the options you have when creating your models. We’ll look at the different schools of thought in this area and compare and contrast their strengths and weaknesses with an eye to flexibility and testability.
We’ll discuss the terminology and also take a look at what a service layer is and see how you use service classes to provide the business logic for your application and hide your persistence code from your controllers. By the end of this session you will be equipped to create excellent, maintainable models in your projects.
Rob Allen is a software engineer, project manager and trainer. Rob Allen has been programming in a with PHP for a very long time now and contributes to Zend Framework and other open source projects. He is a ZF contributor, member of the ZF Community team and also wrote Zend Framework in Action. Rob holds a Masters degree in Electronic Engineering from the University of Birmingham in the UK and started out writing C++ applications; he now concentrates solely on web-based applications in PHP. Rob is UK-based and runs Nineteen Feet Limited, focussing on web development, training and consultancy.
Comments on this page are now closed.
For exhibition and sponsorship opportunities, contact Sharon Cordesse at email@example.com
For information on trade opportunities with O'Reilly conferences contact firstname.lastname@example.org
For media-related inquiries, contact Maureen Jennings at email@example.com
View a complete list of OSCON contacts