iain duncan wrote: > Hi Dabo folks, I am checking out options for a python fat client to a > python backed ( turbogears/pylons ) restful web service. I have my web > service command line client working ok, defined as various model classes > that look a lot like an sqlalchemy or sqlobject orm. I've always liked > using raw wxPython for my hobby hacking but am wondering if dabo could > speed up the process of building forms and doing simple validation for a > fairly generic business tool. If anyone has done or tried similar > things I'd love to hear success/horror/warning stories. > > So in dabo I want to use my custom model in the backend that will do > stuff like: > > - make beautiful form for entering new client > - validate a form for entering a new client > - save through my webserviced backed model instead of the usual dabo db > - get results from the web service as xml, parse with elementtree, > display results in beautiful ouput
I would say Dabo can live up to your needs. You would use the application and ui layers of dabo, and ignore the existence of the db and biz layers (you effectively already have your own bizobj, the webservice client). Dabo has data-bound ui controls, that don't need to be bound directly to db data, but can be bound to your own properties or functions as you need. You'd probably build a lightweight wrapper around your webservice client to bind your ui controls to. Your form validation, for example, would hopefully call a method like validateClient() in your webservice client. The form wouldn't be able to close unless that function returns True or the user cancels. No problem with any of that. Saving data: same thing. Displaying XML "beautifully": I guess I'd need to know what you mean. We have an editor widget that syntax-colors xml, but perhaps you are thinking that you aren't going to display the xml, but whatever the xml represents. If this is the customer data, then yes, no problem. -- pkm ~ http://paulmcnett.com _______________________________________________ Post Messages to: [email protected] Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users Searchable Archives: http://leafe.com/archives/search/dabo-users This message: http://leafe.com/archives/byMID/dabo-users/[EMAIL PROTECTED]
