Zope development tutorial (Re: [Zope] Re: Product refreshing in
Zope 2.9)
Tim Nash
thedagdae at gmail.com
Thu Feb 2 14:50:26 EST 2006
> The things that tie together are Zope itself and larger frameworks
> on top of it, such as e.g. the CMF or Plone/CPS/Silva.
Do you mean that nobody actually writes an application without using
CMF or Plone/CPS/Silva? If that is the case then that explains my slow
rate of development. But I wonder if I want to continue with zope. It
looks like a cool application server, I have written an application
(slowly) and I was hoping that I could see better examples of how to
write a complete application. There is very little on sourceforge.
I have read the "zope bible" cover to cover and I have read most of
the zope book, but I admit that I haven't read the developer book. (
hate reading large amounts of text online). I guess that is my future.
As for a specific question. Here goes:
Could I please get a Zope application written by someone who has >
2 years of Zope experience that uses several dtml or zpt pages, that
1. registers a user 2. collects data from a user and saves that data
to the zodb 3. manages the accumulation of data in the zodb? If it was
developed outside the zmi (I hope) can you also send me the associated
test framework?
Thanks!
On 2/1/06, Dieter Maurer <dieter at handshake.de> wrote:
> Tim Nash wrote at 2006-1-31 11:48 -0800:
> > ...
> > I have "completed" my first zope
> >product and I find that the change in mindset is the biggest
> >challenge. Zope is cool but it is quite different from php or java or
> >cgi.
>
> Have you read the "Zope Developper Guide"?
>
> It is something like a basic guide to product development in Zope 2.
>
> > ...
> >I have downloaded many of the products from
> >zope.org but they really don't tie everything togather.
>
> "Products" are extensions that try to have very few dependancies.
> Therefore, they try not to tie other things together but use
> only services of Zope (which is always available).
>
> The things that tie together are Zope itself and larger frameworks
> on top of it, such as e.g. the CMF or Plone/CPS/Silva.
>
> >I am looking
> >for something that covers login in users,
>
> Look for the product "PAS" (PluggableAuthenticationService).
>
> >building tables out of data
> >stored in zodb,
>
> There is a product "TinyTables" (or similar) for (as the name tells you)
> "tiny" tables.
>
> Zope does not (yet) support large tables (it is not a relational database).
> But, you can use the "ZCatalog" to search your objects.
> Read the "searching" chapter in the Zope Book (Online, 2.7 edition).
>
> > ...
> >getters and setters for objects in the zodb,
>
> There is no difference in attribute access for persistent objects
> (those in the ZODB) and standard Python objects.
>
> Read the Python tutorial.
>
> >collecting a variable in one page and passing it on to another page
>
> You have the standard HTML facility (e.g. query string and hidden variables;
> function in "ZTUtils.Zope" help you in using them) and
> you have sessions (explained in the Zope Book; read it!)
>
> >where it modifies the data display, working with Sessions, etc. I
> >guess what I'm looking for is a template for a real application, not
> >for the individual pieces of functionality.
>
> I guess, you read the resources mentioned above ("Zope Developper Guide"
> and "Zope Book, 2.7 edition, online") and then come back with concrete
> questions.
>
> Maybe, you then write the tutorial you are looking for now -- to
> the profit of future new Zope users...
>
> --
> Dieter
>
More information about the Zope
mailing list