My DBA is asking me to use XML so he can combine a series of SELECT whatever FROM queries to reduce execution plans which will improve database performance. The problem is that I use jQuery and my functions are often remote.
My thought is if I could use populateModel inside of my model function then I could then could use my setters to put the data into the model and then use the XMLConverter when passing the argument to the database.
I assume that I have to somehow inject populateModel into the model to be able to use it. Can anyone tell me if this is the correct approach? What would that injection look like? I’ve only injected things like plugins.
Thanks
Jonathan