Re: meta language to define forms

2014-03-28 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

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 rustompm...@gmail.com 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

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 more

Re: meta language to define forms

2014-03-28 Thread Marko Rauhamaa
Rustom Mody rustompm...@gmail.com: 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

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 of

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

Re: meta language to define forms

2014-03-28 Thread Marko Rauhamaa
Rustom Mody rustompm...@gmail.com: 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

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

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

Re: meta language to define forms

2014-03-27 Thread Chris Angelico
On Fri, Mar 28, 2014 at 7:56 AM, Sells, Fred fred.se...@adventistcare.org 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

Re: meta language to define forms

2014-03-27 Thread Roy Smith
In article mailman.8653.1395975737.18130.python-l...@python.org, Chris Angelico ros...@gmail.com wrote: On Fri, Mar 28, 2014 at 7:56 AM, Sells, Fred fred.se...@adventistcare.org wrote: I don't have a lot of time or management support to do something elegant like XML and then parse it, I'm

Re: meta language to define forms

2014-03-27 Thread Chris Angelico
On Fri, Mar 28, 2014 at 2:13 PM, Roy Smith r...@panix.com wrote: In article mailman.8653.1395975737.18130.python-l...@python.org, Chris Angelico ros...@gmail.com 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

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 of

Re: meta language to define forms

2014-03-27 Thread Chris Angelico
On Fri, Mar 28, 2014 at 2:44 PM, Rustom Mody rustompm...@gmail.com 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

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 engine