4 ms·
There are two frameworks that come close to this, both of them are rarely mentioned and I am not really sure why other than the fact that they aren't "sexy". F
by gfodor 16y ago
There are two frameworks that come close to this, both of them are rarely mentioned and I am not really sure why other than the fact that they aren't "sexy".
First is SmartClient:
http://www.smartclient.com/ http://www.smartclient.com/
SmartClient has the best databinding support I've seen in a JS lib. Binding is automatic between server and client, between controls, and validation code can be written once. It also has the richest UI control library I've seen, full of controls that actually work and aren't just a shiny layer over simple code.
Second up is OpenLaszlo:
http://www.openlaszlo.org/ http://www.openlaszlo.org/
OpenLaszlo provides a much more raw layer for creating UX on the web, similar to the OP's complaints about not having a UIKit like API. Additionally, it provides a declarative language for laying out controls, and also provides expression binding, so you can say "the width of this element is always 2x the height of this other one" and the binding and event handlers are created automatically. Its declarative language is XML, so there are some nice homiconic properties you get by making it possible to return XML from a web service to generate UI elements. As a bonus, it can generate Flash or DHTML.
Edit: Of course, both of these frameworks have their downsides. They're horribly ugly to look at (out of the box.) The declarative language for SmartClient is really ugly Javascript, and the language for Laszlo is really ugly XML.
However, they've solved the hard problems and left the "easy" ones. They're both open source. If someone were to come along and clean up some of the syntax and add some real polish to either of these, I think they'd really be remarkable technologies.
- clojurerocks 16y agoThe problem with OpenLaszlo is that while apparently its actively developed i rarely hear about anybody using it. It seems to have had its hayday years ago and now is used only by a very few projects.
- gfodor 16y agoMy entire point here is that these frameworks are not sexy or popular but have very strong technical foundations and it would be a noble goal to fork either of them to polish them into something better.
- nzmsv 16y agoPandora is probably the best-known app written with OpenLaszlo (and I'm not sure how well-known this fact is). When I tried OpenLaszlo a few years ago it was very nice to work with - definitely better than plain Flash. Then again, I actually don't mind XML.
- salsakran 16y agoI haven't used openlazlo, but SmartClient is slow on the client. Ditto a lot of the current set of heavy "desktop app" client side frameworks. As soon as you get out of developer class machines things get brutally unusable.
- gfodor 16y agoI've found it to be reasonably speedy once you deploy things correctly (though I haven't used it too much.) That said, they've certainly got the "make it work" part down, getting the "make it fast" has a way to go. Again, the "make it work" part always strikes me as the challenge, and to me these two projects are several generations ahead of the capabilities of things like jQuery for things like databinding and custom drawing capabilities.
- iwwr 16y agoThank you for the references. Posted to keep this thread in my saved queue.