Re: agx: Moving forward

Daniel Nouri <[email protected]>
Newsgroups gmane.comp.web.zope.plone.archetypes.devel
Message-ID <[email protected]>
Reinout van Rees wrote:
> Martin Aspeli wrote:
> 
>> On Mon, 06 Feb 2006 02:01:34 -0000, Daniel Nouri 
>> <[email protected]> wrote:
> 
>>
> 
>>>  And then its raving use of newlines.
>>
>>
>> mmmm.... I'm normally quite picky about whitespace, and deo is
>> normally  the worst. Deo has made a few fixes lately, and I made some
>> earlier. It  doesn't offend me so much any more.
> 
> 
> Partly it is caused by using DTML for generating the python files. It is
> hard to get the indentation-sensitive python code generated reliably
> with template systems, also with DTML. In that case it is safer to add
> an extra whiteline at certain points.
> 
> I agree that those whitelines can be ugly. Perhaps we need to try even
> harder ;-)

Standard python string substitution should do the job?

>>> Some problems I have with ArchGenXML
>>> generated code arguably originate in how people use it.  This file of
>>> the agx (soon-to-be 'genesis') project itself is a good example of some
>>> of the problems mentioned:
>>>
>>> http://svn.plone.org/svn/collective/agx/trunk/transformations/python/pyattributeadapter.py
>>>
>>>
>>> Files like this don't really help.
>>
>>
>> Well sure, but it's obviously a file that isn't finished. How can you 
>> judge a CASE tool by people leaving unfinished files around?
> 
> 
> Agreed. We didn't get to finish it all during the castle sprint. Give us
> a bit of a break, Daniel. Many of the files in that directory are
> clearly just placeholders to indicate functionality, aren't they?
> 
> Just jumping on one or two obvious placeholder files as easy criticism
> targets doens't help.

Those placeholders are rotting.  They're not documented, which makes it
hard to find out what they're really about.

>> Why not just start calling it Genesis right now, then? If Jensens,
>> Phil,  Reinout et. al. agree?
> 
> 
> Hey, I've already called it genesis in the last two messages :-)

Does this count as three votes? ;-)

Daniel



-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.