On Oct 6, 2006, at 7:59 AM, Man-wai CHANG wrote:

I'm sure you could. I'm sure your could also create a web framework
in COBOL. The point is: why would you want to?

COBOL doesn't support classes, nor macro substitution. It's also a
strongly typed language. You can't implement OOP on it, can you?

Perhaps not, but you could still write a similar markup language in COBOL that would generate dynamic web pages like PHP or ASP does.

PHP is good at what it was designed to do. Python is far superior as
a language. It is infinitely more readable, maintainable, and elegant to
code in.

PHP can support classes now. Not back then, I can't remember.

Oh goodie - another grafted-on, me-too 'feature'. Python is object oriented from the ground up.

the platform to do the drawing. The reason why a wxPython button looks good on Windows is because it's actually a Windows button; on the Mac,
it's a Mac button, and on Gtk, it's a Gtk button, etc.

You meant wxWidgets may be working on top of Qtk/Qt? You seems to have
more interest and confidence with the Windows platform....

When running under Gtk, it uses Gtk to draw widgets. When running under OS X, it uses Aqua to draw widgets. When running under Win32, it uses Win32API to draw widgets.

It doesn't have anything to do with confidence in one platform or another. A fundamental design goal of Dabo has always been to be cross-platform, and to that end, wxPython was far and away the best choice for our initial UI toolkit.

Another fundamental design goal of Dabo has always been to be able to support multiple UI toolkits. When you code UI in Dabo, you don't use the wxPython API; you use the dabo.ui API. If you absolutely wanted to use Qt for your app, you could wrap Qt's controls and events so that the dabo.ui calls map to the appropriate Qt API calls, and then change one line in your app:
        from: dabo.ui.load("wx")
        to: dabo.ui.load("qt")
Of course, wrapping a UI toolkit is not trivial. For Dabo, it represents about 70% of the time we've put into the entire project to date.

-- Ed Leafe
-- http://leafe.com
-- http://dabodev.com




_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to