Dear comrades, I tried the act_as_tree template of ROR. I found it clumsy, slow.... for a drag and drop workable solution of a shopping cart. I have a ready made shopping cart written in PHP and a ROR web page with restful_authentication. Could I force a marriage or a liaison between the unwilling partners ? Could anyone direct me to any resources so that I could be enlightened? regards, Dror Chung -- Posted via http://www.ruby-forum.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 -~----------~----~----~----~------~----~------~--~---
On 9 Apr 2008, at 18:31, Dror Chung wrote:> > Dear comrades, > > I tried the act_as_tree template of ROR. I found it clumsy, slow.... > for > a drag and drop workable solution of a shopping cart. I have a ready > made shopping cart written in PHP and a ROR web page with > restful_authentication. Could I force a marriage or a liaison between > the unwilling partners ? Could anyone direct me to any resources so > that > I could be enlightened?acts_as_tree sounds like an extremely odd choice for a shopping cart. Something for maintaining a database representation of a tree structure seems completely unrelated to a drag and drop shopping cart. The answer to your question probably depends on exactly what you want to do (ie how does the rails site relate to the php bits, what must they share etc...) Fred --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
Frederick Cheung wrote: Tks Fred, I have a ready made PhP shopping cart . I have a ready made ROR model with restful authentication. These models share a common MYSQL database. My simple and naive idea is combine them together, Perhaps you could enlighten me how to develop a shopping cart for my ROR project. regards, Dror Chung -- Posted via http://www.ruby-forum.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 -~----------~----~----~----~------~----~------~--~---
On Wed, 9 Apr 2008, Dror Chung wrote:> Perhaps you could enlighten me how to develop a shopping cart for my ROR > project.Perhaps you could enlighten us and tell us why a shopping cart needs to be a tree data structure? -- A --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
Perhaps the product categorization needs to be a tree structure. Julian. Learn Ruby on Rails! Check out the FREE VIDS (for a limited time) VIDEO #3 out NOW! http://sensei.zenunit.com/ On 10/04/2008, at 7:39 AM, Eno wrote:> > On Wed, 9 Apr 2008, Dror Chung wrote: > >> Perhaps you could enlighten me how to develop a shopping cart for >> my ROR >> project. > > Perhaps you could enlighten us and tell us why a shopping cart needs > to be > a tree data structure? > > > -- > A > > > >--~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
http://substruct.googlecode.com might be a good start :p On Wed, Apr 9, 2008 at 11:05 AM, Dror Chung <rails-mailing-list-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org> wrote:> > Frederick Cheung wrote: > > Tks Fred, > > I have a ready made PhP shopping cart . > I have a ready made ROR model with restful authentication. > These models share a common MYSQL database. > My simple and naive idea is combine them together, > Perhaps you could enlighten me how to develop a shopping cart for my ROR > project. > > > regards, > Dror Chung > > -- > Posted via http://www.ruby-forum.com/. > > > >-- -------------------- seth at subimage interactive ----- http://sublog.subimage.com ----- Cashboard - Estimates, invoices, and time tracking software - for free! http://www.getcashboard.com ----- Substruct - Open source RoR e-commerce software. http://code.google.com/p/substruct/ --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
Eno wrote:> On Wed, 9 Apr 2008, Dror Chung wrote: > >> Perhaps you could enlighten me how to develop a shopping cart for my ROR >> project. > > Perhaps you could enlighten us and tell us why a shopping cart needs to > be > a tree data structure? > > > -- > AI googled for plugin or template for drag and drop. I found act_as _tree and ajax. That''s how I started to think drag and drop should have been for RoR. Materials in the web in this area is very limited. Agree? I have to be enlightened. Regards, -- Posted via http://www.ruby-forum.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 -~----------~----~----~----~------~----~------~--~---
Rails supports drag&drop with the Scriptaculous js library: http://api.rubyonrails.org/classes/ActionView/Helpers/PrototypeHelper/JavaScriptGenerator/GeneratorMethods.html#M000992 http://api.rubyonrails.org/classes/ActionView/Helpers/ScriptaculousHelper.html#M000954 act_as_tree is only one of many options, you can make nearly every html tag draggable or accept drags have a look at the linked pages and here: http://wiki.script.aculo.us/scriptaculous/ this should give you a good overview what to use/expect and search for -- Posted via http://www.ruby-forum.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 -~----------~----~----~----~------~----~------~--~---
Spree is another option you might want to consider. http://spreehq.org On Apr 9, 9:21 pm, "subimage interactive" <subim...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> http://substruct.googlecode.commight be a good start :p > > On Wed, Apr 9, 2008 at 11:05 AM, Dror Chung > > > > <rails-mailing-l...-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org> wrote: > > > Frederick Cheung wrote: > > > Tks Fred, > > > I have a ready made PhP shopping cart . > > I have a ready made ROR model with restful authentication. > > These models share a common MYSQL database. > > My simple and naive idea is combine them together, > > Perhaps you could enlighten me how to develop a shopping cart for my ROR > > project. > > > regards, > > Dror Chung > > > -- > > Posted viahttp://www.ruby-forum.com/. > > -- > -------------------- > seth at subimage interactive > -----http://sublog.subimage.com > ----- > Cashboard - Estimates, invoices, and time tracking software - for free!http://www.getcashboard.com > ----- > Substruct - Open source RoR e-commercesoftware.http://code.google.com/p/substruct/--~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---