Our hero is at it again, thanks for the demo. For those (like me) that didn't see it, Cannon made some very interesting posts to the Forums in France about the Cassowary "constraint solving" algorithm. This tool is well-known and widely used. There are implementations in Java, C++, Python, JavaScript and so on. Give his thread a look and give it a +1!
http://forums.4d.fr/Post/EN/18160796/1/18160797#18160797 Just a few points from it that I like: * Declarative GUI construction is super cool, once you've used it. As Cannon noted, you tell the system _what_ you want to have happen and let the tool figure out _how_. So much easier, particularly for people that think of "x" and "y" only as letters in the alphabet ;-) * You can stack up a stack of constraints (polite requests, really) and let the solver optimize the result. Sometimes the outcome is going to be a tiny bit off from what you would want, but normally it's going to be pretty darn nice. * Cannon explains how 4D could insert this into 4D, use it internally, and _not_ break any legacy code. How sweet is that? Given this is such a well-established tool, it looks like a great option for 4D to consider. ********************************************************************** 4D Internet Users Group (4D iNUG) FAQ: http://lists.4d.com/faqnug.html Archive: http://lists.4d.com/archives.html Options: http://lists.4d.com/mailman/options/4d_tech Unsub: mailto:[email protected] **********************************************************************

