I guess you could try implementing a table data structure with Hash
instances but its performance will most likely be weak.
It would make sense to try to use DOM built-in API for working with
tabular data - using table element. Such implementation could
encapsulate an actual table and provide a convenient interface on top
of that.

Another option would be to use google gears.
http://code.google.com/apis/gears/

- kangax

On May 22, 6:39 pm, hefeust <[EMAIL PROTECTED]> wrote:
> hi,
>
> for some purpose, I need a "in-javascript database", maybe built with
> some Prototype $H function calls for creating "tables"
> but what about junction tables, I mean those which express many-to-
> many relations between two entity tables ?
>
> I though using concatenation of strings with a separator, for example
> "key1 key2"
> "1234-56"
> or "ABC \n 789"
> but is it a really good way to do this ?
>
> could Prototype's Hash or Enumerable be useful for that ?
>
> regards,
>
> Hefeustwww.eozine.fr
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to