![]() |
More information about using models with relational Data - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23) +--- Thread: More information about using models with relational Data (/showthread.php?tid=14802) |
More information about using models with relational Data - El Forum - 01-15-2009 [eluser]jinfusion[/eluser] Noobie here, Like the subject says, I wish there was more. The user guide leaves alot to be desired, clear as it is. And... Are there helpers in CI for data display and manipulation? Joel More information about using models with relational Data - El Forum - 01-15-2009 [eluser]everdaniel[/eluser] [quote author="jinfusion" date="1232084576"]Noobie here, Like the subject says, I wish there was more. The user guide leaves alot to be desired, clear as it is. And... Are there helpers in CI for data display and manipulation? Joel[/quote] Well, you have the form helper functions to display data in a form, and you have the form validation library to validate this info and do whatever you need to do with this data (save in a DB, call an API, etc) Maybe you can be more specific... More information about using models with relational Data - El Forum - 01-15-2009 [eluser]sophistry[/eluser] welcome noob...jinfusion. sounds like you might want to check out some of the ORM contributions: IgnitedRecord and DataMapper are two that spring to mind. More information about using models with relational Data - El Forum - 01-15-2009 [eluser]Colin Williams[/eluser] Relational data to me means using JOINs. This is ActiveRecord/Database class related, so check that section for how to perform joins. You might also want to do a general search on SQL joins and how to iterate/process the results of join queries. Or, look at the ORM contributions like sophistry pointed out. More information about using models with relational Data - El Forum - 01-15-2009 [eluser]nikefido[/eluser] I don't think you'll find many helpers for data display and manipulation like you do within .NET framework, but I know CI has an output helper that will convert your datatable results into a table which you can style as you need. Adding functionality to it is something that is left out (as per [i believe] the framework's mantra of keepign out of the developers way ![]() |