Welcome Guest, Not a member yet? Register   Sign In
OO Approach to Models
#1

[eluser]jon74[/eluser]
Hi All,

I have an existing application built on CodeIgniter which leverages the default CI ActiveRecord approach for handling database records from the models. I'd like to make this more object driven by implementing a simple object approach for handling CRUD processes.

Is it possible to do this on top of an existing application structure using the default approach (activerecord), i.e. for example implement an 'Objects' or 'Domain' directory that the models call for CRUD processes? Is it best to create something or use Doctrine,DataMapper,Gas which are all solutions I've looked at but the docs recommend they replace the CI Models.

I'd like to avoid re-engineering the existing structur within the Models, but would like to implement more of an object driven approach.

I'd greatly appreciate any steer!

Thanks!




Theme © iAndrew 2016 - Forum software by © MyBB