IgnitedRecord 1.0 pre-release - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Libraries & Helpers (https://forum.codeigniter.com/forumdisplay.php?fid=22) +--- Thread: IgnitedRecord 1.0 pre-release (/showthread.php?tid=7996) |
IgnitedRecord 1.0 pre-release - El Forum - 11-08-2008 [eluser]m4rw3r[/eluser] Well, by default version 0.2 already uses IQ for the queries (the bundled version has some flaws, so I recommend to upgrade, at least IQ) but can be configured to use CI's AR. It also uses CI's AR for saving. 1.0 on the other hand, can be used with $active_record = false; and uses IQ for all queries. (release date cannot really be guesstimated, need to implement through relations and finish the validation + rewrite a lot of the manual and check it and then recheck it ) About the more "advanced" usages of IR, I may do a screencast about that PS. You can fetch a pre-release version of 1.0 at the SVN here IgnitedRecord 1.0 pre-release - El Forum - 11-08-2008 [eluser]fightbulc[/eluser] Hey Martin, there seems to be a bug in ignitedquery.php at line 1612. You only pass the keys but a bit further you refer to the values which are not passed. Therfore its impossible to insert new data. Cheers Tino EDIT: Forgot to mention that I am talking about Version 1.0 IgnitedRecord 1.0 pre-release - El Forum - 11-09-2008 [eluser]m4rw3r[/eluser] Ok, fixed that one. Thanks! IgnitedRecord 1.0 pre-release - El Forum - 11-09-2008 [eluser]r2b2_kvr[/eluser] Hi Martin, are you also going to include validation in the next IR release? THanks and looking forward.. R2b2 IgnitedRecord 1.0 pre-release - El Forum - 11-10-2008 [eluser]m4rw3r[/eluser] Validation is going into the next release, and form generation will also probably make it. IgnitedRecord 1.0 pre-release - El Forum - 11-11-2008 [eluser]amrnt[/eluser] Need help ... i cant get with this library!!! how can i make a Relation ?? I have (posts) table and (categories) table .. ... category has many posts ... ... posts belong to category ... categories - -id -name posts - -id -title -body -category_id how can i make this relation with this GREAT LIBRARY from the begin?? thanks in advance!!! IgnitedRecord 1.0 pre-release - El Forum - 11-11-2008 [eluser]sophistry[/eluser] if your posts belong to multiple categories you will need to expand your data model and add a join table. if you only allow one category per post then your data model looks ok. in the second case (one category per post) make two models extended from ignitedrecord: category "has many" posts and posts "has one" category. if you decide you need a join table (to support multiple categories per post) then see the quick start for an example with a join table. cheers. IgnitedRecord 1.0 pre-release - El Forum - 11-12-2008 [eluser]Sander Versluys[/eluser] Hi Martin, Started using the 1.0 version from svn and it's really neat. Thanks for building this great library. I believe this orm library can be the best and most usefull thing next to a standard CI install. The 0.2 version did not work very well with my dbs, those weren't anything near the default naming conventions. But the 1.0 version really works like a charm. Yay! Keep up the good work! IgnitedRecord 1.0 pre-release - El Forum - 11-12-2008 [eluser]amrnt[/eluser] can i use this library without using a joining_table? IgnitedRecord 1.0 pre-release - El Forum - 11-12-2008 [eluser]Sander Versluys[/eluser] @brainythink Are you using 0.2? I personnaly suggest using 1.0... Code: class Categories extends IgnitedRecord { This should work based on your database. You probably know this but it this config, each post belongs to just ONE category. |