Ed Leafe wrote:
On Jun 6, 2006, at 12:44 PM, Paul McNett wrote:

Write a tool to convert a cdxml class into a .py file (generated Python code).

dabo.lib.DesignerXmlConverter.py does just that. The dump of that conversion is the CLASSTEXT.py debugging detritus that is currently left behind.

Comments on this idea?

For a one-time tool, this would work. But how many times has your initial UI design remained etched in stone? Once you do this conversion, you're stuck with making all future changes in code.

No, it wouldn't. You'd be saving your design in the cdxml file, but importing from the equivilent of CLASSTEXT.py. So, you change your design, re-run the cdxml->py conversion, and voila, your modified design is live next time you run your app.

I think that this is something that we should not be focusing on. The spirit of open source development says that if someone finds this important, they should take it upon themselves to invest the time. I want to focus on developing tools for the vast majority of developers, instead of getting sidetracked into individual preferences. How many VFP, VB, Access, Filemaker, Delphi, etc., developers have you heard complain that they have to edit their UI code in that tool's IDE? Only people coming from a "do it all in code" background would be concerned about such things.

I wasn't implying that I wanted you to do the work, just asking for comments from the group regarding the idea.

We are at a point with Dabo that we could almost attract some of those types of developers that 'do it all in code', but we are kind of far away from attracting the VB-types still. If we can make it so designs can be edited visually, but people can still use whatever editor or IDE or debugger they like, then even if that is a temporary solution it is better if it attracts people like Alex and makes them want to invest more time into developing apps with Dabo. Furthermore, if much of the machinery is already written anyway...

--
Paul McNett
http://paulmcnett.com
http://dabodev.com


_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users

Reply via email to