Thoughts about GUI layout techniques
"A Caveat: Because Python lends itself so well to writing data-driven code, you may want to reconsider using a GUI builder for some tasks. In many cases, Python's introspection features make it possible to write generic GUI code that you can use to build user interfaces on the fly based on models of your data and your application. This can be much more efficient than using a GUI builder to craft individual menus and dialogs by hand. In general hand-coded GUIs also tend to be more maintainable."
There are two schools of thought regarding GUI layout: manual and automatic layout. Popular programming environments such as VB and Delphi helped to disseminate the notion that manual layout is the way to go. On the other hand, automatic layout tools suffered from a log time, due to the dull results achieved by their application on most situations.
Enter the new generation of Web applications. The clever use of the CSS+HTML+Javascript combination is producing glitzy high performance interfaces that are at the same time efficient, cross platform, and highly usable. Compare that to the now "legacy" web applications -- the same ones that looked so good a couple of years ago; what lessons can we learn from them?
One striking lesson is the relative value of positioning. In layout, positioning is everything. This has led to a school of absolute, fine tuned positioning, that is represented in tools such as Adobe Acrobat and, to a certain extent, in the IDEs forementioned. But the reality of Web design has taught us something important. Due to the differences between web browsers, and also to the inherent limitations of CSS and HTML, it's impossible to bring high precision absolute positioning to the web world. As a result, web designers had to resort to their creativity to achieve precise designs that are mostly based on relative positioning.
The web browser is, for the most part, an automatic layout tool. HTML and CSS have only a limited input here. True high-precision layout engines, such as Adobe Acrobat, could never make as much success due to the very way the web is supposed to work. Relative positioning, as used in today's web design, teach us a valuable lesson: it's possible to strike a compromise between beauty, ellegancy, and functionality in a web world through the concious use of a limited feature set of positioning primitives. In a way, it's the rescue of the automatic layout engines. That leaves us with the question, why don't use the same set of techniques for native applications? That's what I'm studying right now -- how to design native interfaces with GUI libraries (such as wxPython) that use the newest lessons of web design to achieve a good looking, flexible, and high performance result. For it to work, we must go beyond the traditional approach for native frameworks -- automatic positioning, ar at best simple very automatic layouts (vertical, horizontal, or grid) -- towards a vision of the native GUI renderer as a type of "document renderer", that is capable of distributing the visual content in a good layout given a set of layout constraints as based on the document reading flow. We must remember that we're targeting human users; we must design graphical interfaces that read right, and there's no better example of this than the web applications of today.
On a related note, it's interesting to note how dated some popular PHP-based applications look today. Countless forums feature PHPforums-based discussions. The default design used by these forums is a tribute to the old style of Web design; cluttered, inefficient, with bad use of white space that forces the user to scroll vertically through long pages to read all the posts. It's funny because a couple years ago PHP-based websites were hot. This is not a problem with the language itself -- I'm sure good designs can be made with it -- but a sign of the speed at which web interface design evolved recently.
34 Comments:
At September 28, 2004 at 10:49 AM, Anonymous said…
Very well put !
I agree completely. The pixelwise positioning modes of traditional GUI-Builders are more trouble than they are worth in the long ( and intemediate ) run.
Norbert Klamann
At November 2, 2005 at 4:05 PM, Anonymous said…
Hi: ##Name## I was just out searching for some information on trust deeds, when I ran across your site, and even though, Thoughts about GUI layout techniques is not exactly what I am looking for, it did get my attention. I now know why I found you when I was looking for trust deeds. Very nice read, I am glad I was able to find you, thank you.
At November 6, 2005 at 5:35 AM, Anonymous said…
High Google and Yahoo link popularity can be yours,
At November 9, 2005 at 3:21 PM, Anonymous said…
Hi there Carlos Ribeiro, I had been out looking for some new information on cash flows when I found your site and Thoughts about GUI layout techniques. Though not just what I was searching for, it drew my attention. An interesting post and I thank you for it.
At November 10, 2005 at 5:54 AM, Anonymous said…
Hello Carlos Ribeiro, been looking for the latest info on cash flow business and found Thoughts about GUI layout techniques. Though not exactly what I was searching for, it did get my attention. Interesting post, thanks for a great read.
At November 10, 2005 at 3:41 PM, Anonymous said…
Hi there Carlos Ribeiro, I had been out looking for some new information on real estate note when I found your site and Thoughts about GUI layout techniques. Though not just what I was searching for, it drew my attention. An interesting post and I thank you for it.
At November 14, 2005 at 12:58 PM, Anonymous said…
Hi Carlos Ribeiro, Out surfing for information on cash flow note & happened upon your site. While Thoughts about GUI layout techniques wasn't exactly spot on, it did strike a note with me. Thank you for the really good read.
At November 16, 2005 at 10:45 PM, Anonymous said…
Hello Carlos Ribeiro, been looking for the latest info on real estate note and found Thoughts about GUI layout techniques. Though not exactly what I was searching for, it did get my attention. Interesting post, thanks for a great read.
At November 18, 2005 at 9:14 AM, Anonymous said…
Hi: ##Name## I was just going about trying to find the latest information on Promissory note, when I came to your site, and even though, Thoughts about GUI layout techniques, is not quite what I was searching for, it did get my attention. I now see why when I was looking for Promissory note, related information It led me here. Good to be able find out about this. Thanks for the info.
At November 19, 2005 at 12:03 PM, Anonymous said…
Hello Carlos Ribeiro, been looking for the latest info on business notes and found Thoughts about GUI layout techniques. Though not exactly what I was searching for, it did get my attention. Interesting post, thanks for a great read.
At November 21, 2005 at 5:37 PM, Anonymous said…
Hi there Carlos Ribeiro, I had been out looking for some new information on notenetwork when I found your site and Thoughts about GUI layout techniques. Though not just what I was searching for, it drew my attention. An interesting post and I thank you for it.
At November 27, 2005 at 3:13 PM, Anonymous said…
Hi Carlos Ribeiro, Out surfing for information on discounted notes & happened upon your site. While Thoughts about GUI layout techniques wasn't exactly spot on, it did strike a note with me. Thank you for the really good read.
At November 27, 2005 at 8:41 PM, Anonymous said…
Hi there Carlos Ribeiro, I had been out looking for some new information on business notes when I found your site and Thoughts about GUI layout techniques. Though not just what I was searching for, it drew my attention. An interesting post and I thank you for it.
At December 7, 2005 at 6:33 AM, Anonymous said…
Hi Carlos Ribeiro, Out surfing for information on notenetwork & happened upon your site. While Thoughts about GUI layout techniques wasn't exactly spot on, it did strike a note with me. Thank you for the really good read.
At August 14, 2006 at 3:16 AM, Anonymous said…
Dear friend, Your blog is very interesting and well written. I feel like I have learned a wealth of information by stopping and spending some time here. As a way to repay your kindness, I have just decided to show you how to recieve about 397 dollars worth of downloadable gifts. This must be a limited time offer, as I don't know how much longer this exiting information will be on my website....Go and check out the opportunites I have for you. Your gifts are a way saying thank for your kindness and consideration.
To find out more, visit my mlm business site. It successfully covers FREE information exposing FREE traffic and mlm business related stuff.
At December 3, 2006 at 11:52 PM, Anonymous said…
Hello. Good day
Who listens to what music?
I Love songs Justin Timberlake and Paris Hilton
At December 30, 2006 at 11:32 PM, Anonymous said…
Great work guys. Good resources here, very useful. Your web site is helpful. I will bookmark!
- pythonnotes.blogspot.com n
07 car civic honda
buy used car
car undefined used
used car bergen
used car oakland
used car greensboro
used car raleigh
used car killeen
used car vallejo
used car tacoma
At February 7, 2007 at 6:46 PM, Anonymous said…
Hey you have a grea blog here I'm definitely going to bookmark you!
promotion seo I have a web development site with a blog about development, web design, hosting and morepromotion seo Come check it out if you get time!
At February 14, 2007 at 8:35 AM, Anonymous said…
Regarding your blog - explorer internet provider search setting. I have just signed up to talktalk broadband and is an absolutely superb deal. I get free telephone calls 24/7 plus free 8Mb/s broadband (which is lightening fast btw). I would definitely recommend talktalk broadband for anyone in the uk. Also available at www.bargainplace.co.uk
At March 2, 2007 at 5:11 AM, Anonymous said…
Hi
Sorry to intrude but I saw your blog, noticed you have anonymous posting enabled and thought you might be interested in this great search engine optimization tool for your blog and website (if you have one) that a techi mate recommended to me. Apparently it's all the rage in the IT arena.
I am involved in affiliate internet marketing and I've found the best way of promoting my blogs and websites is The amazing link referral program. Don't worry it is absolutely free to join and you can generate visitors to your site by visiting others. It is really quick and easy to set up and the traffic you generate will help your website increase in google ranking. Give it a go now!!
I have generated amazing traffic from this program - increasing my affiliate sales and cannot recommend this enough. Believe me, if you have tried all the other programs on the market that you have had to pay for then you realise this one is the best - and it's free!!!
Best of luck with the blog!! I hope you get as much out of this program as I have ;-)
At April 9, 2010 at 3:13 PM, Anonymous said…
[URL=http://imgwebsearch.com/35357/link/free%20spyware/7_spyware3.html][IMG]http://imgwebsearch.com/35357/img0/free%20spyware/7_spyware3.png[/IMG][/URL]
[URL=http://imgwebsearch.com/35357/link/adult%20dating/5_adultdating4.html][IMG]http://imgwebsearch.com/35357/img0/adult%20dating/5_adultdating4.png[/IMG][/URL]
[URL=http://imgwebsearch.com/35357/link/buy%20viagra%20online/8_buygenericviagra1.html][IMG]http://imgwebsearch.com/35357/img0/buy%20viagra%20online/8_buygenericviagra1.png[/IMG][/URL]
At April 10, 2010 at 1:04 AM, Anonymous said…
[URL=http://imgwebsearch.com/35357/link/adult%20dating/17_adultdating1.html][IMG]http://imgwebsearch.com/35357/img0/adult%20dating/17_adultdating1.png[/IMG][/URL]
[URL=http://imgwebsearch.com/35357/link/adult%20dating/1_adultdating4.html][IMG]http://imgwebsearch.com/35357/img0/adult%20dating/1_adultdating4.png[/IMG][/URL]
[URL=http://imgwebsearch.com/35357/link/adult%20dating/6_adultdating1.html][IMG]http://imgwebsearch.com/35357/img0/adult%20dating/6_adultdating1.png[/IMG][/URL]
At August 7, 2012 at 1:32 PM, pay per head horse racing said…
I enjoyed reading your articles. This is truly a great read for me. I have bookmarked it and I am looking forward to reading new articles an i keep a nice post
At February 28, 2016 at 9:22 PM, angelacooper839 said…
The web browser is, for the most part, an automatic layout tool. HTML and CSS have only a limited input here. MBA dissertation help
At March 4, 2016 at 8:43 PM, Anonymous said…
swarovski jewelry, coach outlet, links of london uk, canada goose, canada goose pas cher, moncler, barbour, ugg pas cher, louis vuitton, supra shoes, converse, wedding dresses uk, pandora charms, canada goose uk, karen millen uk, ugg,uggs,uggs canada, canada goose outlet, louis vuitton uk, pandora uk, replica watches, moncler, moncler pas cher, ugg,ugg australia,ugg italia, moncler, swarovski uk, canada goose outlet, canada goose jackets, moncler, converse shoes outlet, bottes ugg pas cher, barbour jackets uk, canada goose jackets, hollister, marc jacobs, thomas sabo uk, ugg uk, toms shoes, moncler uk, sac louis vuitton, sac louis vuitton, gucci, pandora jewelry, moncler jackets, juicy couture outlet, pandora jewelry, montre pas cher, juicy couture outlet, canada goose, louis vuitton, moncler outlet, ray ban, lancel
ninest123 16.03
At October 9, 2018 at 4:47 AM, Anonymous said…
Jio Balance Check Number
Jio Balance Check Number
Jio Balance Check Number
Jio Balance Check Number
Happy 13th Birthday Wishes
At February 11, 2019 at 3:51 AM, Sahib Khan said…
Rorek
Vidak For congress
Squareone Solutions
Childrens Food Campaign
Lephone W7 Firmware
Voto V2 Firmware Flash File
At February 11, 2019 at 3:51 AM, Sahib Khan said…
Oale X1 Firmware Flash File
Oale X2 Firmware Flash File
Flow Internet Settings
Viva Internet Settings
Claro Internet Settings
Banglalink Apn Setting
At February 21, 2019 at 11:19 PM, Sahib Khan said…
busobusobuso
mixaxoz
nomapnomap
rawihrawih
vagege
zuyitonew
basazexusa
jihijihijihi
sekisekisekiseki
xixed
At April 5, 2019 at 9:29 AM, Sahib Khan said…
Earth Day 2019
Earth Day 2019 Theme
Earth Day Facts 2019
At April 26, 2019 at 6:28 AM, BalanceCheckMan said…
I do really love your article, and i have to admit, I haven't read such an awesome article, on this topic. BOOKMARKED!! Waiting for next article.
Airtel 4G Balance Check Code
Idea 4G Balance Check Code
Vodafone 4G Balance Check Code
Jio 4G Balance Check Code
BSNL 4G Balance Check Code
Balance Check Code For Airtel 4G, Idea 4G, Vodafone 4G, Jio 4G
How To Know Airtel 4G Balance
How To Know Vodafone 4G Balance
How To Know Idea 4G Balance
How To Know Jio 4G Balance
At August 25, 2020 at 11:24 PM, Anonymous said…
projector sales on black friday
projector sales on black friday
projector sales on black friday
projector sales on black friday
projector sales on black friday
projector sales on black friday
projector sales on black friday
get black friday deals and sales
get black friday deals and sales
get black friday deals and sales
At October 23, 2020 at 11:12 PM, Sahib Khan said…
tv sales black friday
dji spark black friday 2020
guitar center black friday 2020
black friday wifi router deals
black friday furniture deals 2020
tv sales black friday
dji spark black friday 2020
guitar center black friday 2020
black friday wifi router deals
black friday furniture deals 2020
At May 16, 2022 at 11:50 PM, Sahib Khan said…
YouTube
Website
tech blog
Saas products
health sources
e-commerce news
Post a Comment
<< Home