News for hackers. Stuff that matters.
Re:Ask HN: expanding on MVC with frameworks for declarative ... by micheljansen on Sunday June 06, 2010 @05:37PM (#1409230)
Although not a direct answer to your question, I do think Qt's Kinetic (http://labs.trolltech.com/page/Projects/Graphics/Kinetic) might be a good source for inspiration. It contains a declarative UI markup and scripting language called QML, that looks roughly like JS/JSON. An old example can be seen here: http://labs.trolltech.com/blogs/2009/05/13/qt-declarative-ui...

I am very curious about how Apple would react to something like this though. It's obviously a good idea, but they have been really frantic about alternative solutions to these kinds of problems :)

Re:Ask HN: expanding on MVC with frameworks for declarative ... by DenisM on Sunday June 06, 2010 @05:57PM (#1409262)
Thanks for the links, guys, I will look into them.

I'm not worried about Apple for two reasons:

- The layout engine I have prototyped (there is no binding, only layout proper) operates on native iPhone controls, i.e. it does not create a new abstraction layer on top of UIKit but rather extends it form the side with smart sizing and positioning. I think it's very important to avoid creating leaky abstractions and I plan to keep doing things this way. In other words the layout description describes layout of native UIKit controls, not some abstract presentation of data.

- I'm no Adobe, and I'm not likely to attract attention to myself.