PHP ActiveRecord: Newshttp://www.phpactiverecord.org/2011-09-26T12:43:49-04:00An easy to use ORM for PHP
Redmine Website Downtimehttp://www.phpactiverecord.org/news/62011-09-26T12:43:49-04:00Kien La
<p>We've moved! Previously this website was running at a less than ideal facility. Over the weekend we moved it to a much better and stable host so hurricanes and power outages should no longer be taking the site down.</p> Did you know? PHP-AR has Eager Loadinghttp://www.phpactiverecord.org/news/52010-08-31T19:31:08-04:00Jacques Fuentes
<p>Eager loading cuts down on the number of queries that are executed when dealing with associations. Specifically, it circumvents the <a href="http://www.google.com/search?hl=en&q=n+%2B+1+query+problem&aq=f&aqi=g1&aql=&oq=&gs_rfai=" class="external">N + 1 query problem</a>. Some of you may have already been using this feature as it has been a part of PHP-AR even before 1.0, but we never got around to documenting its usage. Please let us know if you have questions/problems.</p>
<p>You can read about the feature <a href="/projects/main/wiki/Finders#eager-loading">here</a>.</p> php-activerecord 1.0 released!http://www.phpactiverecord.org/news/42010-06-27T20:02:55-04:00Kien La
<p>Version 1.0 is now official. Here are the list of changes from 1.0 RC1:</p>
<ul>
<li><a href="http://github.com/kla/php-activerecord/commit/d2bed65" class="external">d2bed65</a> fixed an error with eager loading when no records exist</li>
<li><a href="http://github.com/kla/php-activerecord/commit/c225942" class="external">c225942</a> fixed set methods on DateTime objects to properly flag attributes as dirty</li>
<li><a href="http://github.com/kla/php-activerecord/commit/46a1219" class="external">46a1219</a> fixed a memory leak when using validations</li>
<li><a href="http://github.com/kla/php-activerecord/commit/c225942" class="external">c225942</a> fixed problem with some model functionality not working correctly after being deserialized </li>
<li><a href="http://github.com/kla/php-activerecord/commit/3e26749" class="external">3e26749</a> fixed validates_numericality_of to not ignore other options when only_integer is present and matches</li>
<li><a href="http://github.com/kla/php-activerecord/commit/53ad5ec" class="external">53ad5ec</a> fixed ambiguous id error when finding by pk with a join option</li>
<li><a href="http://github.com/kla/php-activerecord/commit/26e40f4" class="external">26e40f4</a> fixed conditions to accept DateTime values</li>
<li><a href="http://github.com/kla/php-activerecord/commit/41e52fe" class="external">41e52fe</a> changed serialization to serialize datetime fields as strings instead of the actual DateTime objects</li>
<li><a href="http://github.com/kla/php-activerecord/commit/dbee94b" class="external">dbee94b</a> Model::transaction() now returns true if commit was successful otherwise false</li>
</ul> Website updated with forums and wikihttp://www.phpactiverecord.org/news/32010-06-18T17:37:23-04:00Kien La
<p>The site is now running with <a href="http://www.redmine.org/" class="external">Redmine</a>. This means we finally have a <a href="/projects/main/boards/">forum</a> for everyone that's been looking for that. Also, the <a href="/projects/main/wiki/">guides</a> are now powered by a wiki so all are welcome to add content you feel would be helpful to others in learning how to use php-activerecord.</p>
<p>You'll need to create an <a href="/account/register/">account</a> to post on the <a href="/projects/main/boards/">forums</a> and/or edit the <a href="/projects/main/wiki/">wiki</a>.</p> php-activerecord 1.0 RC1 released!http://www.phpactiverecord.org/news/22010-04-06T20:00:15-04:00Kien La
<p>After a long 0.9 beta we've released 1.0 RC1. Special thanks to everyone that submitted patches, bug reports and feedback. This release includes the following major new features:</p>
<ul>
<li>support for Oracle</li>
<li>support for PostgreSQL</li>
<li>added <a href="/guides/utilities#topic-delegators">delegators</a></li>
<li>added <a href="/docs/ActiveRecord/Model#var$setters">setters</a></li>
<li>added <a href="/docs/ActiveRecord/Model#var$getters">getters</a></li>
<li>added <a href="/guides/finders#topic-having">HAVING</a> as a finder option</li>
<li>added ability to find using a hash</li>
<li>added <a href="/docs/ActiveRecord/Model#method__callStatic">find_or_create_by</a></li>
<li>added <a href="/guides/validations#topic-validates_uniqueness_of">validates_uniqueness_of</a></li>
<li>added dynamic <a href="/docs/ActiveRecord/Model#method__callStatic">count_by</a></li>
<li>added eager loading</li>
<li>and many bug fixes</li>
</ul> Welcome to www.phpactiverecord.org!http://www.phpactiverecord.org/news/12009-08-01T20:00:15-04:00Kien La
<p>We're happy to finally have the site done! We've been doing a lot of documentation and guides over the past month. If you're new to php-activerecord or just interested in finding out what it's about, head over to the <a href="/guides/quick_start">quick start guide</a>. We've got many other <a href="/guides">guides</a> as well in addition to the <a href="/docs">api documentation</a>.</p>
<p>Look for the 1.0 release sometime in the next few months. It should have new stuff like additional database adapters and other cool things.</p>
<p>If you have any questions and/or feedback please don't hesitate to contact us via the <a href="/projects/main/boards">forums</a>.</p>