[silva-dev] [issue528] pythonscript.py module
silva at issues.infrae.com
Tue Jul 22 15:04:12 CEST 2003
New submission from Martijn Faassen <faassen at infrae.com>:
Right now there are some things that can be imported from Python scripts scattered
around the source, I think particularly in helpers.py.
I suggest we create a new module called pythonscript.py, which contains all
functions that can be imported from a Python script (unless there is a clear
cluster of functions that can be in their own module). helpers.py is cleaned
from those functions.
We should also keep an eye out for opportunities to make more view code
use such functionality. It applies in particular to Python scripts which
do something that does not really have a clear object related to it, so
that it doesn't make much sense to make them a method on a content
object. Pluggability is not necessary, so it doesn't make much sense to
create them on a service, either.
nosy: faassen, johnny, jw, zagy
title: pythonscript.py module
Silva issue tracker <silva at issues.infrae.com>
More information about the silva-dev