Re: [Zope-dev] ZPatterns, MySQL, Full Text Searching
Hi Chris, ZPatterns and ZCatalog work fine. Here is a skin script I've been using to keep a catalog up to day with DataSkins: WHEN OBJECT ADDED CALL Catalog.catalog_object(self, _.string.join(self.getPhysicalPath(),'/')) WHEN OBJECT DELETED CALL Catalog.uncatalog_object(_.string.join(self.getPhysicalPath(),'/')) WHEN OBJECT CHANGED CALL Catalog.uncatalog_object(_.string.join(self.getPhysicalPath(),'/')), Catalog.catalog_object(self, _.string.join(self.getPhysicalPath(),'/')) The problem (I think) is DataSkins and CatalogAware, which don't mix. -steve > "Chris" == Chris Withers <[EMAIL PROTECTED]> writes: Chris> Hello, Chris> I've read that ZPatterns and ZCatalog don't interact too Chris> well and I was wondering if this is also true of the new Chris> ZPatterns release. I might be looking to move something to Chris> ZPatterns so that it can get all benefits of Zope's Chris> security system and things like the Catalog, obviously if Chris> the Catalog doesn't work with ZPatterns, that's a bit of a Chris> problem :-S Chris> On a related note, has anyone thought of using MySQL's new Chris> full text searching to implement the Catalog interface? Has Chris> anyone thought of or actually made the Catalog stuff into Chris> an interface so people can implement other options to Chris> ZCatalog? Chris> cheers, Chris> Chris Chris> PS: Is there a ZPatterns demo/tutorial around anywhere? How Chris> should I start getting into ZPatterns? What should I read? Chris> Where should I start? (The four most common ZPatterns Chris> FAQ's if I'm not mistaken ;-) Chris> ___ Zope-Dev Chris> maillist - [EMAIL PROTECTED] Chris> http://lists.zope.org/mailman/listinfo/zope-dev ** No cross Chris> posts or HTML encoding! ** (Related lists - Chris> http://lists.zope.org/mailman/listinfo/zope-announce Chris> http://lists.zope.org/mailman/listinfo/zope ) ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] ZPatterns, MySQL, Full Text Searching
Chris Withers wrote: > I've read that ZPatterns and ZCatalog don't interact too well and I was > wondering if this is also true of the new ZPatterns release. I might be > looking to move something to ZPatterns so that it can get all benefits > of Zope's security system and things like the Catalog, obviously if the > Catalog doesn't work with ZPatterns, that's a bit of a problem :-S CatalogAwareness and DataSkings don't work together. However, I wrote and stevea maintains a replacement, for DataSkins, thats better than CatalogAwareness - it automatically recatalogs when the object changes - no more reindex_object() calls. The product is DataSkinAddons. Older version of ZPatterns didn't support subtransactions - newest version does, so it should work fine with ZCatalog. -- Itamar S.T. [EMAIL PROTECTED] ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )
[Zope-dev] ZPatterns, MySQL, Full Text Searching
Hello, I've read that ZPatterns and ZCatalog don't interact too well and I was wondering if this is also true of the new ZPatterns release. I might be looking to move something to ZPatterns so that it can get all benefits of Zope's security system and things like the Catalog, obviously if the Catalog doesn't work with ZPatterns, that's a bit of a problem :-S On a related note, has anyone thought of using MySQL's new full text searching to implement the Catalog interface? Has anyone thought of or actually made the Catalog stuff into an interface so people can implement other options to ZCatalog? cheers, Chris PS: Is there a ZPatterns demo/tutorial around anywhere? How should I start getting into ZPatterns? What should I read? Where should I start? (The four most common ZPatterns FAQ's if I'm not mistaken ;-) ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )