Welcome Guest, Not a member yet? Register   Sign In
PHP 5.3 full-blown ActiveRecord
#3

[eluser]jpfuentes[/eluser]
No, I have not tried this with CI yet. I have used the earlier version with a custom framework. It can be used stand-alone or very easily added as a component to a framework. Basically there are only two configuration pieces you need: 1) declare the directory of the models 2) declare dsn strings like so -> array('development' => 'mysql://test:[email protected]/test');. As you can see, it wouldn't take much to use it for any framework, because it also makes use of spl_autoload which means you can invoke any class and it will try to find/load/require that class based on your model directory. It definitely works well and we have written a lot of tests with phpunit.


Messages In This Thread
PHP 5.3 full-blown ActiveRecord - by El Forum - 05-14-2009, 12:45 PM
PHP 5.3 full-blown ActiveRecord - by El Forum - 05-14-2009, 01:06 PM
PHP 5.3 full-blown ActiveRecord - by El Forum - 05-14-2009, 01:13 PM
PHP 5.3 full-blown ActiveRecord - by El Forum - 05-15-2009, 01:24 AM
PHP 5.3 full-blown ActiveRecord - by El Forum - 05-15-2009, 01:43 AM
PHP 5.3 full-blown ActiveRecord - by El Forum - 05-15-2009, 06:51 AM
PHP 5.3 full-blown ActiveRecord - by El Forum - 05-15-2009, 02:20 PM
PHP 5.3 full-blown ActiveRecord - by El Forum - 05-15-2009, 03:06 PM
PHP 5.3 full-blown ActiveRecord - by El Forum - 05-19-2009, 09:57 PM
PHP 5.3 full-blown ActiveRecord - by El Forum - 05-19-2009, 10:09 PM
PHP 5.3 full-blown ActiveRecord - by El Forum - 05-20-2009, 03:43 AM
PHP 5.3 full-blown ActiveRecord - by El Forum - 05-21-2009, 09:24 PM
PHP 5.3 full-blown ActiveRecord - by El Forum - 05-22-2009, 01:12 AM
PHP 5.3 full-blown ActiveRecord - by El Forum - 05-22-2009, 06:38 AM
PHP 5.3 full-blown ActiveRecord - by El Forum - 05-22-2009, 06:54 AM
PHP 5.3 full-blown ActiveRecord - by El Forum - 07-21-2009, 12:45 AM



Theme © iAndrew 2016 - Forum software by © MyBB