Tuesday, November 22, 2005

GUI Builders: Data vs. Code

Some people are of the concerted opinion that GNUstep, Cocoa, and indeed GNOME are on the wrong path when it comes to building GUIs when compared to editors of the likes of NetBeans or Eclipse. The first set of technologies have chosen to generate data (even though Glade can generate code... the GNOME project recommends against this), whether they are serialized streams or XML, to represent thier GUIs whereas most Java GUI builders generate code.

This is a fundamentally mistaken position for a very important reason: Metadata is portable across different languages. In GNOME there is a Java interface as well as a C and C++ interface to libglade. This means that my program, no matter which of these languages it's written in, can load my interface without any problems. In NetBeans or Eclipse, it's not necessary for them to consider that SWT or Swing will ever be used by anyone but them, so they can generate the code. However, data is better in general, since it can also be manipulated outside of the program. For instance, it's possible to apply a stylesheet to an XML file and transform it as needed. Why not do this to an interface file? This way an XML interface file can be manipulated like data inside the program and the resulting XML can be loaded as the GUI.

So I hope this settles any arguments about which type is better. In my opinion, Data generating GUI builders are better, hands down.

11 comments:

Chris Moonbeams said...

Hi there, just wandering the blogosphere and I found your blog. I really enjoy how this all works.

This is one to watch.

Many thanks,

how to birdwatching

Anonymous said...

Wow what a cool blog you have here! I am impressed. You really put a lot of time and effort into this. I wish I had your creative writing skills, progressive talent and self- discipline to produce a blog like you did. Your blog really does deserve an honest compliment. If you have some time, stop by my site. It deals with stuff like, click here: free testdrive online and then feel free to e-mail me with your words of wisdom.

P.S. I'll sure put the word out about your site and I would appreciate any business you may send my. way... Later, Scott.

Anonymous said...

Hi my friends! I'm writing to you because I just came across a business that I think has great potential. It lets you save money on almost everything. Make money from almost everything, Including home loans- plus... help lower your taxes--best of all--it requires absolutely no investment. I thought you might be interested and like to check it out...

Here I have a multi-level marketing site/blog. It successfully covers multi-level marketing related stuff and almost everything else!

Come and check it out if you get time, Scott.

Anonymous said...

A片下載|成人影片下載|免費A片下載|日本A片|情色A片|免費A片|成人影城|成人電影|線上A片|A片免費看

米蘭情趣用品|情趣用品|情趣|飛機杯|自慰套|充氣娃娃|AV女優.按摩棒|跳蛋|潤滑液|角色扮演|情趣內衣|自慰器|穿戴蝴蝶|變頻跳蛋|無線跳蛋|電動按摩棒|情趣按摩棒|

Anonymous said...

.,.,
自慰套,自慰器,情趣,自慰套,情趣,視訊交友,充氣娃娃,性感丁字褲,AV,按摩棒,電動按摩棒,情趣按摩棒,按摩棒,變頻跳蛋,跳蛋,無線跳蛋,
男女,潤滑液,
SM,情趣內衣,內衣,性感內衣,角色扮演,角色扮演服,吊帶襪,丁字褲,情趣用品,情趣用品,飛機杯,自慰套

Adi said...

Oes Tsetnoc one of the ways in which we can learn seo besides Mengembalikan Jati Diri Bangsa. By participating in the Oes Tsetnoc or Mengembalikan Jati Diri Bangsa we can improve our seo skills. To find more information about Oest Tsetnoc please visit my Oes Tsetnoc pages. And to find more information about Mengembalikan Jati Diri Bangsa please visit my Mengembalikan Jati Diri Bangsa pages. Thank you So much.
Oes Tsetnoc | Semangat Mengembalikan Jati Diri Bangsa

Anonymous said...

Retail Logo | Sports Logo

s said...

喇叭網 金屬擴張網Plastic injection Mold developmentInjection Mold Plastic injection molding Injection molding ISO9001認證 射出成形 塑膠製成品塑膠模具設計 模具開發 精密射出 縫衣機塑件Industrial PCB Heavy Copper PCB Microwave PCB Medical PCB 膠框創業 加盟 早餐店加盟 meat processing equipment food processing mixers 化糞池 通馬桶
導光板 衝孔網 菱型網 不鏽鋼 壯陽 成人用品春藥 壯陽藥品 持久 手工水餃 中華湯包 mini usb 催情 增大 模具廠 104法拍網 信義房屋 房屋買賣 台北法拍屋 塑膠射出成型 模具 Odm 塑膠射出模具 Oem代工廠化妝品盒 藥盒

Sarah Saad said...


شركة تنظيف منازل بالدمام
شركة تسليك مجارى بالدمام
شركة غسيل فلل بالدمام
غسيل عمائر بالدمام
شركة نظافة بالدمام
شركة تنظيف موكيت بالدمام
شركة تنظيف سجاد بالدمام
شركة غسيل مكيفات بالدمام

Indian World Packers and Movers said...

Thanks for your great article. Totally super evrything you said. Kindly visit us @
Packers and movers nagercoil
Packers and movers tuticorin

Angel Claudia said...

Are you a university, college, or high school student looking to hire Best Dissertation Writers? Then fret not, because we got you sorted. We offer the best online Nursing WRiting Services for all your essay needs.

Swift->ObjC interop

Some interesting notes. I will update this posting as i find more: * https://dart.dev/guides/libraries/objective-c-interop