Re: meta language to define forms

2014-03-28 Thread Marko Rauhamaa
Rustom Mody : > On Friday, March 28, 2014 5:44:48 PM UTC+5:30, Marko Rauhamaa wrote: >> I don't thing anything should need to upgrade config files. > > Strange thing to say. > There may be new config options. The missing options should default to the old behavior. > The defaults may be altered w

Re: meta language to define forms

2014-03-28 Thread Eric S. Johansson
On 3/27/2014 4:56 PM, Sells, Fred wrote: I'm trying to use python classes and members to define complex data entry forms as a meta language The idea is to use a nice clean syntax like Python to define form content, then render it as HTML but only as a review tool for users, The actual render

Re: meta language to define forms

2014-03-28 Thread Rustom Mody
On Friday, March 28, 2014 5:44:48 PM UTC+5:30, Marko Rauhamaa wrote: > Rustom Mody wrote: > > On the other hand in linux I find that when something is upgraded and > > needs to upgrade *its own* config files in /etc it can often have > > trouble. > Linux (service) configuration has given me a lot

Re: meta language to define forms

2014-03-28 Thread Marko Rauhamaa
Rustom Mody : > On the other hand in linux I find that when something is upgraded and > needs to upgrade *its own* config files in /etc it can often have > trouble. Linux (service) configuration has given me a lot of grief as well. However, I don't thing anything should need to upgrade config fil

Re: meta language to define forms

2014-03-28 Thread Rustom Mody
On Friday, March 28, 2014 2:34:07 PM UTC+5:30, alister wrote: > On Fri, 28 Mar 2014 14:57:11 +1100, Chris Angelico wrote: > > wrote: > >> [BTW I consider the windows registry cleaner than the linux /etc for > >> the same reason] > > And if I felt like trolling, I'd point out that there are a lot m

Re: meta language to define forms

2014-03-28 Thread alister
On Fri, 28 Mar 2014 14:57:11 +1100, Chris Angelico wrote: > On Fri, Mar 28, 2014 at 2:44 PM, Rustom Mody > wrote: >> [BTW I consider the windows registry cleaner than the linux /etc for >> the same reason] > > And if I felt like trolling, I'd point out that there are a lot more > search engine h

Re: meta language to define forms

2014-03-27 Thread alex23
On 28/03/2014 6:56 AM, Sells, Fred wrote: The idea is to use a nice clean syntax like Python to define form content, then render it as HTML but only as a review tool for users, The actual rendering would go into a database to let a vendor's tool generate the form in a totally non-standard syn

Re: meta language to define forms

2014-03-27 Thread Rustom Mody
On Friday, March 28, 2014 9:27:11 AM UTC+5:30, Chris Angelico wrote: > On Fri, Mar 28, 2014 at 2:44 PM, Rustom Mody wrote: > > [BTW I consider the windows registry cleaner than the linux /etc for > > the same reason] > And if I felt like trolling, I'd point out that there are a lot more > search

Re: meta language to define forms

2014-03-27 Thread Chris Angelico
On Fri, Mar 28, 2014 at 2:44 PM, Rustom Mody wrote: > [BTW I consider the windows registry cleaner than the linux /etc for > the same reason] And if I felt like trolling, I'd point out that there are a lot more search engine hits for "windows registry cleaner" than "linux etc cleaner". :) ChrisA

Re: meta language to define forms

2014-03-27 Thread Rustom Mody
On Friday, March 28, 2014 8:43:21 AM UTC+5:30, Roy Smith wrote: > Chris Angelico wrote: > > Your syntax there looks reasonable already. I'd recommend you make it > > a flat data file, though, don't try to make it a programming language > > - unless you actively need it to be one. Here are a couple

Re: meta language to define forms

2014-03-27 Thread Chris Angelico
On Fri, Mar 28, 2014 at 2:13 PM, Roy Smith wrote: > In article , > Chris Angelico wrote: >> Rule of Python: XML is not the answer. XML is the question, and "NO!" >> is the answer :) > > The nice thing about that rule is that it ports easily to so many other > programming languages. Except possi

Re: meta language to define forms

2014-03-27 Thread Roy Smith
In article , Chris Angelico wrote: > On Fri, Mar 28, 2014 at 7:56 AM, Sells, Fred > wrote: > > I don't have a lot of time or management support to do something elegant > > like XML and then parse it, I'm thinking more like > > > > Class FyFormNumber001(GeneralForm): > > Section1 = Sec

Re: meta language to define forms

2014-03-27 Thread Chris Angelico
On Fri, Mar 28, 2014 at 7:56 AM, Sells, Fred wrote: > I don't have a lot of time or management support to do something elegant like > XML and then parse it, I'm thinking more like > > Class FyFormNumber001(GeneralForm): > Section1 = Section(title="Enter Patient Vital Signs") >

Re: meta language to define forms

2014-03-27 Thread Terry Reedy
On 3/27/2014 4:56 PM, Sells, Fred wrote: I'm trying to use python classes and members to define complex data entry forms as a meta language The idea is to use a nice clean syntax like Python to define form content, then render it as HTML but only as a review tool for users, The actual rendering

meta language to define forms

2014-03-27 Thread Sells, Fred
I'm trying to use python classes and members to define complex data entry forms as a meta language The idea is to use a nice clean syntax like Python to define form content, then render it as HTML but only as a review tool for users, The actual rendering would go into a database to let a vendo