Re: [Tutor] preliminary app design question

2006-04-06 Thread Ron Phillips
You might also consider JSON (http://www.json.org), which is generally lighter weight than XML, fairly human-readable, and useful in several languages (most, anymore) . Python, Javascript, and ECMAScript use it natively through Eval(), if you don't have security concerns; or through a wrapper if se

Re: [Tutor] preliminary app design question

2006-04-06 Thread Kent Johnson
Richard Querin wrote: > > On 4/5/06, *Alan Gauld* <[EMAIL PROTECTED] > > wrote: > > Sounds like creating each app as a class which can be instantiated on > demand by the master application would be a possible design option. > > I guess writing the master progr

Re: [Tutor] preliminary app design question

2006-04-06 Thread Alan Gauld
>> The class approach coupled to a config XML file would do this. > > Define a file that looks something like >> >> >> >> My Foo App >> >> >>MyName >> >So for the master program this makes sense. However, what about the >

Re: [Tutor] preliminary app design question

2006-04-06 Thread Richard Querin
On 4/5/06, Hugo González Monteverde <[EMAIL PROTECTED]> wrote: Now seriously. Are there file formats meant to be used and understood byother programs in principle (we know it is a nice feature, but is itnecessary?)?There will be input data and output results from program A that may be utilized by p

Re: [Tutor] preliminary app design question

2006-04-06 Thread Richard Querin
On 4/5/06, Alan Gauld <[EMAIL PROTECTED]> wrote: Sounds like creating each app as a class which can be instantiated ondemand by the master application would be a possible design option.I guess writing the master program (or some simplified version of it) would be required from the start in order to

Re: [Tutor] preliminary app design question

2006-04-05 Thread Hugo González Monteverde
Richard Querin wrote: > My question before I start is whether or not using an XML format for the > individual file formats is the way to go, and if I have to anticipate > every little thing in the file formats before hand. I don't want to do > this, I would rather like to be able to just add an

Re: [Tutor] preliminary app design question

2006-04-05 Thread Alan Gauld
> wxPython, but nothing very complex. I want to write a suite of in-house > structural engineering design programs for my own purposes. Sounds emminently pythonic. > - write each program independently as a standalone structural design app > - design and write the programs in such a way that in th

[Tutor] preliminary app design question

2006-04-05 Thread Richard Querin
I am planning to write a program (or series of programs) and want some advice beforehand. I've written a few small programs with Python and wxPython, but nothing very complex. I want to write a suite of in-house structural engineering design programs for my own purposes. I want to do the following: