[BlueBream] last question: bluebream vs. django
astoon.net at gmail.com
Sun Jun 6 09:54:42 EDT 2010
Hi, here are short instruction for ZEO quick start :)
Setup ZEO server:
$ mkdir zeoserver
$ cd zeoserver
Take buildout.cfg template here: http://gist.github.com/366185
(or $ wget
$ wget http://python-distribute.org/bootstrap.py
Edit buildout.cfg. Notice the name of filestorage (in the template - `foo`)
- ZEO client will seek at ZEO server by this name (ZEO server can serve
number of databases.) See more info in documention of zeo package and
Build and run the ZEO server:
$ python bootstrap.py
$ bin/server start
$ bin/server stop
$ bin/server status
See other scripts in bin/ directory.
Next, make you BlueBream project be a ZEO client:. For this, change
zope.conf like this:
the name of the storage).
That's it, basically.
2010/6/6 Tamer Higazi <th982a at googlemail.com>
> dear Justin,
> Thanks for your quick answer. The next project I'd love to pull out of
> the ground will be done entirely with bluebream.
> Therefor I'd love to donate to your community sharing my business
> success with you. Is there a way to donate to your community?!
> Or will I have to pass through the Zope e.V. (Zope society in germany) ?!
> Another question guys, where may I find infos about ZEO (Zope
> Clustering) for bluebream? And what are GoF books ?!
> Am 05.06.2010 20:38, schrieb Justin Ryan:
> > On Sat, Jun 5, 2010 at 8:11 AM, Tamer Higazi <th982a at googlemail.com
> > <mailto:th982a at googlemail.com>> wrote:
> > Hi people!
> > sorry to ask you this last question.
> > We hope it won't be the last. :)
> > After working out several books in python I can say, that I like this
> > language very much (perhaps I will deal so or so with the core api
> > more
> > or less).
> > Python is a fine tool..
> > Django seems to be simple, but the DB interface is very limitized
> > and I
> > need ODBC connections, as well I have to define everything myself
> > specially according abject creation and re-usability. When I say
> > reusability, I am thinking in the level of design patterns like:
> > Singleton
> > Factory
> > Prototype
> > Builder
> > ...
> > BlueBream / ZTK is influenced heavily by Design Patterns. I often
> > recommend the GoF book to folks not familiar with them as helpful in
> > understanding the approach we take.
> > There comes my question:
> > Does bluebream (i will never say zope again, I promise you, please
> > don't
> > hit me!) take care about objects which had been created at runtime
> > through a user request before?!
> > No violence in BlueBream, we promise. ;)
> > Scenario web app built on bluebream:
> > 1 a). User open site
> > 1 b). bluebream creates object
> > 2 a) 2nd user open site
> > 2 b) bluebream determines that the object was previously created
> > before
> > and uses the object allocated in memory
> > Short answer: Yes.
> > Long answer: as the site grows to lots of objects, an in-memory cache
> > of instantiated objects will have the most used. In zope.conf you can
> > set the cache-size in both number of objects, and size in MB.
> > Best of luck!
> > Justin
> bluebream mailing list
> bluebream at zope.org
Ilshad R. Khabibullin
+7 922 600 56 06
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the bluebream