-----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. ;)  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.



Tres.
- --
===================================================================
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

iD8DBQFKSm6I+gerLs4ltQ4RAq3yAJ42eYXQTAudwjj/X5eoVRFoA6ILMQCg2NWW
RK57Y6StAUGvg50fmfD+jNg=
=9Wj4
-----END PGP SIGNATURE-----
_______________________________________________
Repoze-dev mailing list
Repoze-dev@lists.repoze.org
http://lists.repoze.org/listinfo/repoze-dev

Reply via email to