On Tue, 2009-06-30 at 15:59 -0400, Tres Seaver wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> Iain Duncan wrote:
> > On Tue, 2009-06-30 at 15:30 -0400, Tres Seaver wrote:
> >> -----BEGIN PGP SIGNED MESSAGE-----
> >> Hash: SHA1
> >> Iain Duncan wrote:
> >>> Thanks for the clarification, that's what I tried last night, ( called
> >>> the top one PetContextFactory ). The problem I hit was that if the PCF
> >>> is the end of the traversal, then the context should be a list of pets,
> >>> but if it isn't, then there's no need to fetch all the pets from the db.
> >>> So I think you're right, I should try url dispatch. I mostly wanted to
> >>> try it with traversal first to wrap my end around Zope style traversal
> >>> and see what I came up with.
> >> You might have a look at the traversal-based storm example I played with:
> >> http://svn.repoze.org/playground/tseaver/stormy/
> >> which has both the "container" and the individual record-mapped objects
> >> as models.
> > Thanks Tres, I'll take a look. For my own edification, what made you
> > decide to do it with traversal?
> My brain works that way. ;)
Ha ha, part of my reason for working through them is to get my brain to
work more ways! ;-)
> BTW, I just updated the paster template for
> 'bfg_alchemy' to highlight the relationship between views on the
> container and views on the individual records.
Thanks! much appreciated.
> - --
> Tres Seaver +1 540-429-0999 tsea...@palladion.com
> Palladion Software "Excellence by Design" http://palladion.com
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.6 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
> -----END PGP SIGNATURE-----
Repoze-dev mailing list