finally, I have made a fallback to ordinary arrays, storing objects
like :
0 => { tag : "lion", count : 10 }
1 => { tag : ''cat', count : 4 }
or for association table :
{ id_article : 0, id_tag : 0}
{ id_article : 0, id_tag : 1}
using array indexes as id's
Prototype is commun with Array#select method which is useful and can
be used as a customisable database SQL SELECT statement
Thanks for your views (advice)
demo is visible at
www.eozine.fr/trigradyn/
links at the bottom of the page
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Spinoffs" group.
To post to this group, send email to rubyonrails-spinoffs@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/rubyonrails-spinoffs?hl=en
-~----------~----~----~----~------~----~------~--~---