See the blog post at http://blog.lonestarsoftware.net/2007/03/09/active_resources-010-released/ Reading through the rails blogosphere last week, I read a post (which I can not find again) that suggested a completely different approach to AJAX use in rails apps. The idea was to create a Javascript proxy to the ActiveRecord models and allow AR operations to be called from the client. I see this functionality broken into 3 major components: * Route generator which creates RESTful resources and nested resources based on a given AR model * Abstract controller providing basic CRUD and Finder functionality * Javascript proxy library interfacing to the controller API Today''s release of ActiveResources, version 0.1.0, provides the first bit of functionality (route generator). The plugin has 100% test coverage and passes heckling with no mutations remaining. It is in the very early stages, but I want to start gathering feedback on the interface and functionality so that this plugin may eventually be as useful as possible. Tony Payne Lone Star Software Engineering Services http://lonestarsoftware.net/ --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
On Mar 9, 2007, at 8:57 PM, Lone Star Software wrote:> See the blog post at http://blog.lonestarsoftware.net/2007/03/09/ > active_resources-010-released/Would it maybe be better to come up with a different name to avoid confusion with ActiveResource [1]? James. 1: http://svn.rubyonrails.org/rails/trunk/activeresource/ -- James Stewart Play: http://james.anthropiccollective.org Work: http://jystewart.net/process/ --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Thanks for letting me know about that. I should have done more research before settling on a name. However, that project and this one definitely share some common goals. Perhaps one day, it''ll all blend together. For now, let me think about what can be done... Tony On Mar 9, 8:30 pm, James Stewart <jystew...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> On Mar 9, 2007, at 8:57 PM, Lone Star Software wrote: > > > See the blog post athttp://blog.lonestarsoftware.net/2007/03/09/ > > active_resources-010-released/ > > Would it maybe be better to come up with a different name to avoid > confusion with ActiveResource [1]? > > James. > > 1:http://svn.rubyonrails.org/rails/trunk/activeresource/ > > -- > James Stewart > Play:http://james.anthropiccollective.org > Work:http://jystewart.net/process/--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
On 3/9/07, Lone Star Software <lonestarsoftware-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> > Thanks for letting me know about that. I should have done more > research before settling on a name. However, that project and this one > definitely share some common goals. Perhaps one day, it''ll all blend > together. For now, let me think about what can be done... > > TonyActually they''re completely different, ActiveResource is for consuming the very restful resources you''re exposing. -- Rick Olson http://lighthouseapp.com http://weblog.techno-weenie.net http://mephistoblog.com --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
I saw that you have also released mock active record. What is the need for mocking ActiveRecord objects? On 3/9/07, Lone Star Software <lonestarsoftware-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> > > very early stages, but I want to start gathering feedback on the > interface and functionality so that this plugin may eventually be as > useful as possible. > > Tony Payne > Lone Star Software Engineering Services > http://lonestarsoftware.net/ > > >--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
I use that for my test suite in active_record. I don''t want to actually create a DB in order to test that the routes are generated correctly. On Mar 10, 3:13 pm, "Bala Paranj" <bcpar...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> I saw that you have also released mock active record. What is the need for > mocking ActiveRecord objects?--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Hi Rick, My future plans for this plugin include an abstract controller and a javascript proxy library for consuming the services. A ruby proxy library would be a great thing to have as well. Tony On Mar 10, 11:56 am, "Rick Olson" <technowee...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> Actually they''re completely different, ActiveResource is for consuming > the very restful resources you''re exposing. > > -- > Rick Olsonhttp://lighthouseapp.comhttp://weblog.techno-weenie.nethttp://mephistoblog.com--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---