ActiveRecord for PHP5.2

0 like 0 dislike
22 views
Can anyone suggest a good class (not in the framework, can be used without it) to ActiveRecord running under PHP5.2?
by | 22 views

6 Answers

0 like 0 dislike
I used ActiveRecord of Yii framework.
by
0 like 0 dislike
Doctrine?
by
0 like 0 dislike
Here, something more similar to ActiveRecord of Rails and CodeIgniter www.crystal-project.net
by
0 like 0 dislike
Here's another encountered such a thing www.phpactiverecord.org/
\r
"php-activerecord is an open source ORM library based on the ActiveRecord pattern. It aims to massively simplify the interactions with your database and eliminate the chore of hand written SQL for common operations. Unlike other ORMs, you do not need to use any code generators nor maintain mapping files for your tables. This library was inspired by Ruby on Rails' implementation and therefore borrows many of its conventions and ideas. The best place to get started is by checking out the Guides below! The library is licensed under the MIT License and so you are completely free to do whatever you want with it."
\r
Though not yuzal, so can not say anything, but you may want to look at it.
by
0 like 0 dislike
Approached a couple of times "voraciously" to the choice of an ActiveRecord class PHP.
\r
Doctrine
\r
The size of the library, a lot of files, many layers for an "honest" ActiveRecord, complete abstraction from SQL functions and specific DB. One instance of ORM is enough memory. Var_dump is better for him not to do it, will tear the screen.
\r
>> www.michaelpaul.com.br/introducao-orm-php-doctrine.html
>> ini_set('memory_limit', '256M');
\r
Does not suit me, now am using ActiveRecord from LIMB, the whole framework is not necessary to include. All that is in Doctrine, in addition to specific DQL, there is in the LIMB. Memory consumes less.
\r
Read more: habrahabr.ru/blogs/php/104106/
by
0 like 0 dislike
That's old, works for php4, the ADOdb library, you may also be interested:
\rphplens.com/lens/adodb/docs-active-record.htm
by

Related questions

0 like 0 dislike
3 answers
0 like 0 dislike
1 answer
0 like 0 dislike
1 answer
asked May 20, 2019 by alex2844
0 like 0 dislike
3 answers
asked May 10, 2019 by Obivankinobi
0 like 0 dislike
2 answers
110,608 questions
257,186 answers
0 comments
1,134 users