Welcome Guest, Not a member yet? Register   Sign In
RapidDataMapper, a new Object-Relational-Mapper
#11

[eluser]m4rw3r[/eluser]
The idea, at least this is how I have used RDM, is that I create a "method lib" which is the model.
This method lib contains a lot of the common operations (eg. get all artworks + their users + a cover image and make sure that it is active) which I use throughout my app, some of them perform queries and return the result, others return a query object which already has some data in it and to which I can add extra conditions (for edge cases) and eg. pagination.

I guess many used IgnitedRecord just as it was and wrote the lot of the queries in the model?
(Instead of adding new methods to the class inheriting from IgnitedRecord)
You can do that with RDM too, just use Db::find('classname') and then you have a query object you can manipulate.

So, to help with your error:

* Have you added the supplied MY_Loader.php?
* If you use a case sensitive system (Linux, Unix and the like (not mac OS X, strange enough)Wink, then make sure that the files are all lowercase (in app/data_model).
* Have you called either MY_Loader::initRDM() or $this->load->database() (after adding the MY_Loader) before you try to load anything RDM related (like the descriptor or the class in data_model)?
* A note about putting them in the same class: That will work as long as you *always* try to load the Track class before the descriptor.

PS. I've added a vote about which upcoming feature that is most important in the feature requests section in the RDM forum here: here.

Of course, if you have another suggestion, either post it here or in RDM forum's Feature Requests section.


Messages In This Thread
RapidDataMapper, a new Object-Relational-Mapper - by El Forum - 12-13-2009, 07:24 PM
RapidDataMapper, a new Object-Relational-Mapper - by El Forum - 12-14-2009, 03:12 AM
RapidDataMapper, a new Object-Relational-Mapper - by El Forum - 12-14-2009, 07:42 PM
RapidDataMapper, a new Object-Relational-Mapper - by El Forum - 12-14-2009, 10:40 PM
RapidDataMapper, a new Object-Relational-Mapper - by El Forum - 12-14-2009, 10:49 PM
RapidDataMapper, a new Object-Relational-Mapper - by El Forum - 12-14-2009, 11:34 PM
RapidDataMapper, a new Object-Relational-Mapper - by El Forum - 12-15-2009, 03:38 AM
RapidDataMapper, a new Object-Relational-Mapper - by El Forum - 12-15-2009, 11:42 AM
RapidDataMapper, a new Object-Relational-Mapper - by El Forum - 12-17-2009, 01:07 PM
RapidDataMapper, a new Object-Relational-Mapper - by El Forum - 12-17-2009, 01:22 PM
RapidDataMapper, a new Object-Relational-Mapper - by El Forum - 12-17-2009, 01:47 PM
RapidDataMapper, a new Object-Relational-Mapper - by El Forum - 12-17-2009, 01:59 PM
RapidDataMapper, a new Object-Relational-Mapper - by El Forum - 12-17-2009, 02:02 PM
RapidDataMapper, a new Object-Relational-Mapper - by El Forum - 12-17-2009, 02:54 PM
RapidDataMapper, a new Object-Relational-Mapper - by El Forum - 12-17-2009, 02:57 PM
RapidDataMapper, a new Object-Relational-Mapper - by El Forum - 12-17-2009, 03:19 PM
RapidDataMapper, a new Object-Relational-Mapper - by El Forum - 12-17-2009, 03:38 PM
RapidDataMapper, a new Object-Relational-Mapper - by El Forum - 12-17-2009, 03:57 PM
RapidDataMapper, a new Object-Relational-Mapper - by El Forum - 12-17-2009, 04:54 PM
RapidDataMapper, a new Object-Relational-Mapper - by El Forum - 12-17-2009, 04:58 PM
RapidDataMapper, a new Object-Relational-Mapper - by El Forum - 12-17-2009, 05:07 PM
RapidDataMapper, a new Object-Relational-Mapper - by El Forum - 12-17-2009, 08:54 PM
RapidDataMapper, a new Object-Relational-Mapper - by El Forum - 12-18-2009, 05:44 AM
RapidDataMapper, a new Object-Relational-Mapper - by El Forum - 12-18-2009, 08:11 AM
RapidDataMapper, a new Object-Relational-Mapper - by El Forum - 12-20-2009, 10:18 AM
RapidDataMapper, a new Object-Relational-Mapper - by El Forum - 12-20-2009, 06:15 PM
RapidDataMapper, a new Object-Relational-Mapper - by El Forum - 12-21-2009, 07:45 AM
RapidDataMapper, a new Object-Relational-Mapper - by El Forum - 12-21-2009, 09:15 AM
RapidDataMapper, a new Object-Relational-Mapper - by El Forum - 12-21-2009, 09:17 AM
RapidDataMapper, a new Object-Relational-Mapper - by El Forum - 12-21-2009, 09:43 AM
RapidDataMapper, a new Object-Relational-Mapper - by El Forum - 12-21-2009, 10:16 PM
RapidDataMapper, a new Object-Relational-Mapper - by El Forum - 12-22-2009, 04:03 AM
RapidDataMapper, a new Object-Relational-Mapper - by El Forum - 12-23-2009, 08:25 AM
RapidDataMapper, a new Object-Relational-Mapper - by El Forum - 12-24-2009, 08:26 AM
RapidDataMapper, a new Object-Relational-Mapper - by El Forum - 12-24-2009, 08:35 AM
RapidDataMapper, a new Object-Relational-Mapper - by El Forum - 12-29-2009, 11:51 AM
RapidDataMapper, a new Object-Relational-Mapper - by El Forum - 12-29-2009, 01:37 PM
RapidDataMapper, a new Object-Relational-Mapper - by El Forum - 12-30-2009, 08:15 PM
RapidDataMapper, a new Object-Relational-Mapper - by El Forum - 12-30-2009, 10:16 PM
RapidDataMapper, a new Object-Relational-Mapper - by El Forum - 12-31-2009, 05:16 AM
RapidDataMapper, a new Object-Relational-Mapper - by El Forum - 01-04-2010, 03:24 PM
RapidDataMapper, a new Object-Relational-Mapper - by El Forum - 01-04-2010, 04:13 PM
RapidDataMapper, a new Object-Relational-Mapper - by El Forum - 01-04-2010, 04:22 PM
RapidDataMapper, a new Object-Relational-Mapper - by El Forum - 01-04-2010, 05:01 PM
RapidDataMapper, a new Object-Relational-Mapper - by El Forum - 01-08-2010, 03:09 PM
RapidDataMapper, a new Object-Relational-Mapper - by El Forum - 01-16-2010, 07:25 AM
RapidDataMapper, a new Object-Relational-Mapper - by El Forum - 01-16-2010, 07:35 AM
RapidDataMapper, a new Object-Relational-Mapper - by El Forum - 02-05-2010, 01:33 PM
RapidDataMapper, a new Object-Relational-Mapper - by El Forum - 02-20-2010, 07:18 AM
RapidDataMapper, a new Object-Relational-Mapper - by El Forum - 02-20-2010, 07:28 AM
RapidDataMapper, a new Object-Relational-Mapper - by El Forum - 03-03-2010, 03:46 AM
RapidDataMapper, a new Object-Relational-Mapper - by El Forum - 03-04-2010, 09:20 AM



Theme © iAndrew 2016 - Forum software by © MyBB