Tutorial: Using (Renaissance) XUL & Python on OS X

Gerald Bauer <[email protected]> Wed, 3 Nov 2004 19:51:38 -0800 (PST)
Newsgroups gmane.comp.lang.xul.announce
Message-ID <[email protected]>
Hello,

  Dethe Elza has written two blog stories titled
"Hello Renaissance" and "A New Renaissance" that shows
you how you can build XUL apps using GNUstep
Renaissance and Python on OS X.

    Dethe writes:

   Yesterday I laid out the issues I have with using
Interface Builder to create Cocoa applications
(whether in Objective-C or Python), and my
requirements for a replacement. To sum up, here are
the requirements again

    * Declarative
    * Simple _and_ powerful
    * Able to replace NIB files and Interface Builder
    * Text-based, not binary
    * Agile for rapid development, adapts to rapidly
changing code
    * Able to specify simple apps completely, in code,
without resorting to pictures or talking the user
through mouse gestures


  As I hinted at previously, I think I've found the
tool I was looking forin GNUstep Renaissance, and as
an added bonus, it can be used to create applications
for Linux, unix, and Windows using the GNUstep
framework. So although I'm interested mainly in
building applications for OS X, there is still a
chance for cross-platform compatibility.

  So what does Renaissance look like? It's and XML
format, similar to HTML and Mozilla XUL (but simpler
than XUL). Today I will cover how to install
Renaissance and set it up to use from PyObjC.   

   More @
http://livingcode.blogspot.com/2004/11/new-renaissance.html
    and
http://livingcode.blogspot.com/2004/11/hello-renaissance.html

    If anyone has tried out Renaissance, let us know
what you think.

    - Gerald

PS: Here's a snippet from the Hello Renaissance
sample:

<window title="Hello World" closable="NO" >
  <vbox>
    <label>Hello World!</label>
    <button title="Click this button to quit"
action="terminate:"/>
  </vbox>
</window>



-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click