[BlueBream] Fresh project: structure
Ilshad
astoon.net at gmail.com
Thu Feb 11 00:01:15 EST 2010
Hi,
https://code.launchpad.net/~astoon/bluebream/alt-1<https://code.launchpad.net/%7Eastoon/bluebream/alt-1>
To test, it's possible `bzr branch lp:~astoon/bluebream/alt-1`,
build usual with buuildout and:
a) bin/paster create -t bluebream
b) bin/paster create -t bluebream-simple
Originally I wrote it with namespaces, then without it. It seems, we need
both variants...? :)
First template just moved to new directory. So, if issue #506854 (
https://bugs.launchpad.net/bluebream/+bug/506854) then it is necessary in
any case...
2010/2/5 Baiju M <mbaiju at zeomega.com>
On Fri, Feb 5, 2010 at 6:06 PM, Ilshad Khabibullin <astoon.net at gmail.com>
> wrote:
> > Good day, colleagues.
> >
> > I think need:
> >
> > 1) File configure.zcml should be not in /etc directory but just in the
> > project.
> > 2) Sample related files contain into one directory (to have quick
> remove).
> > 3) /tests directory for all testing related files.
> > 4) Remove application.zcml file.
> >
> > So, a fresh project structure:
> >
> > __init__.py
> > configure.zcml (here directives from /etc + <inlude package="example" />)
> > debug.py
> > startup.py
> >
> > tests/
> > tests/__init__.py
> > tests/configure.zcml
> > tests/tests.py
> > tests/ftesting.zcml
> > tests/ftests.txt (instead of README.txt)
> >
> > sample/
> > sample/__init__.py
> > sample/configure.zcml
> > sample/app.py (or sample.py)
> > sample/views.py (or browser.py)
> > sample/interfaces.py
> >
> > 5) And another question: I am concerned about the inability to do the
> > project without nested namespaces. I have to fix manually after creating
> > the project. Can we do fix this using paster functionality?
> >
> > What do you think?
>
> I think we can create a new template named "bluebream_simple"
> and distribute in the same package.
>
> Anyone volunteer to do it ?
>
> Regards,
> Baiju M
>
--
Ilshad Khabibullin
+7 922 600 56 06
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.zope.org/pipermail/bluebream/attachments/20100211/d05b922c/attachment.html
More information about the bluebream
mailing list