Re: dabo framework dependancies

2007-05-25 Thread daniel gadenne
Hi Paul, Peter, Uwe

Thank to the three of you for your
clear answers :)

-- 
http://mail.python.org/mailman/listinfo/python-list


Re: dabo framework dependancies

2007-05-23 Thread Uwe Grauer
daniel gadenne wrote:
 Paul McNett wrote:
 Shameless plug: consider using Dabo on top of wxPython - we feel it
 makes wxPython even easier and more pythonic, but admittedly there's a
 bit of a learning curve there too. Even though Dabo is a full
 application framework originally meant for desktop database
 applications, it is modular and you can choose to only use the UI
 bits... http://dabodev.com
 
 
 Hi Paul,
 
 I'm considering moving over to dabo for wxpython development.
 However I do not write traditional database applications
 à la foxpro (I'm a 20 years user of fox...) anymore.
 Only xml-fed applications.
 
 I'm a bit hesitant to jump onboard since dabo seemns to carry
 over its own lot of database connectivity dependancy.
 
 Can you reasonably use dabo for plain datafree application?
 
 François
 
 

Yes, the only database dependency is sqlite as a store for app-preferences.
But even this could get changed easily.

Uwe
-- 
http://mail.python.org/mailman/listinfo/python-list

Re: dabo framework dependancies

2007-05-23 Thread Peter Decker
On 5/22/07, daniel gadenne [EMAIL PROTECTED] wrote:

 I'm considering moving over to dabo for wxpython development.
 However I do not write traditional database applications
 à la foxpro (I'm a 20 years user of fox...) anymore.
 Only xml-fed applications.

 I'm a bit hesitant to jump onboard since dabo seemns to carry
 over its own lot of database connectivity dependancy.

 Can you reasonably use dabo for plain datafree application?

That's exactly how I use it. I write apps that don't use database
servers, and don't have any database programs installed. I just want
the dabo.ui stuff, since it makes wxPython so easy to work with.

-- 

# p.d.
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: dabo framework dependancies

2007-05-23 Thread Paul McNett
Peter Decker wrote:
 On 5/22/07, daniel gadenne [EMAIL PROTECTED] wrote:
 
 I'm considering moving over to dabo for wxpython development.
 However I do not write traditional database applications
 à la foxpro (I'm a 20 years user of fox...) anymore.
 Only xml-fed applications.

 I'm a bit hesitant to jump onboard since dabo seemns to carry
 over its own lot of database connectivity dependancy.

 Can you reasonably use dabo for plain datafree application?
 
 That's exactly how I use it. I write apps that don't use database
 servers, and don't have any database programs installed. I just want
 the dabo.ui stuff, since it makes wxPython so easy to work with.

Dabo has three main modules: db, biz, and ui, and an overarching 
application object. Every class descends from an abstract dObject. For 
database apps, you'd typically set some connection information in the db 
layer, put all your business code in the biz layer, and define your GUI 
in the (you guessed it) ui layer. You can certainly do what Peter has 
done and only use the ui layer and application object. I've done this 
myself and if I ever had to code a non-database UI that's probably what 
I'd do, too. Although I have to admit I can't really picture an 
application that doesn't need to save data. Here's a simple example that 
puts up a textbox:


import dabo
dabo.ui.loadUI(wx)

app = dabo.dApp()
app.setup()

frm = app.MainForm
tb = dabo.ui.dTextBox(frm, Value=Type in here, FontBold=True)

app.start()


You can easily define your own subclasses, too:


import dabo
dabo.ui.loadUI(wx)

class MyRadioList(dabo.ui.dRadioList):
   def initProperties(self):
 self.Choices = [Snakes, Bees, Fishes]

   def onHit(self, evt):
 print Radio choice '%s' selected. % self.Value

app = dabo.dApp()
app.setup()
frm = app.MainForm
rl = MyRadioList(frm)
app.start()


So, yes, you can reasonably use Dabo even if you have no traditional 
database in the mix.

-- 
pkm ~ http://paulmcnett.com
-- 
http://mail.python.org/mailman/listinfo/python-list

dabo framework dependancies

2007-05-22 Thread daniel gadenne
Paul McNett wrote:
 Shameless plug: consider using Dabo on top of wxPython - we feel it 
 makes wxPython even easier and more pythonic, but admittedly there's a 
 bit of a learning curve there too. Even though Dabo is a full 
 application framework originally meant for desktop database 
 applications, it is modular and you can choose to only use the UI 
 bits... http://dabodev.com


Hi Paul,

I'm considering moving over to dabo for wxpython development.
However I do not write traditional database applications
à la foxpro (I'm a 20 years user of fox...) anymore.
Only xml-fed applications.

I'm a bit hesitant to jump onboard since dabo seemns to carry
over its own lot of database connectivity dependancy.

Can you reasonably use dabo for plain datafree application?

François


-- 
http://mail.python.org/mailman/listinfo/python-list