News for hackers. Stuff that matters.

nickw

Re:37signals Basecamp Mobile HTML5 app for WebKit browsers on Tuesday February 01, 2011 @01:41PM (#2166654)
This is something I'd really like to see solved in client side frameworks like this.

It seems to me that you could do something similar to how ActiveRecord queries the database for a model's attributes - but instead expose a JSON service that returns a models attributes and validations. But perhaps JS doesn't have the dynamic / meta-programming capabilities to make this happen like Ruby does.