Quick design question. I am trying to get a better understanding of
Prototype. While reading through the source I am stumped by form.js.
There is a "Field" object and a "Form.Element". Both object seem to
consists of a series of actions that making interacting with form fields
easier.
My question is why two objects? It seems that there should be one object
that has this functionality. Is there a design reason behind this? Or is
it just because of historical accident? They seem to have overlapping
purposes. I couldn't determine the reason for myself so I figured I
would go to the source.
Eric
_______________________________________________
Rails-spinoffs mailing list
[email protected]
http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs