I have all of the unit tests run in Jaxer with runat=server. I recently started trying to get the GearsORM example to run in Jaxer using runat=server and runat=server-proxy. I'm having a little trouble now with the server-proxy part. I believe I understand correctly that I will want to be using oncallback() to prepare the ORM library for server-proxy and I also understand that data does not persist between callback and that I must use functions to recreate any data which I may need to access. I have tried these things but no go yet. So if anyone would like to get example.html working based on the code in the unit tests, be my guest.
Thanks URI and Daver for your assistance!
I uploaded the adaptation here:
http://code.google.com/p/js-orm/source/checkout
It doesn't have to live here however this project should support Jaxer and Gears; SQLite and MySql, etc.
Notes:
I stripped the api comments from the files temporarily for my own benefit.
I have done some significant code formatting changes to improve readability such as: brackets everywhere, spaces around colons, spelling corrections, moving actual comments to the same line.
I may have introduced a defect which causes one of the unit tests to fail - I need to go back and look at that.
These changes are based on Uriel's work with GearsORM. I am actually seeking a project which I can own but it doesn't have to be ORM. Recently I have also been interested in being able to store data using JSONPath so maybe I'll continue on that path. It can be on top of this or not. Thanks for reading.
Philip
