开发者

Repoze.bfg or Grok

开发者 https://www.devze.com 2023-01-03 09:13 出处:网络
I am about to take the head long plunge into Zope land and am wondering which framework would fit my needs better. I have some experience toying around with django and the primary reason I am switchin

I am about to take the head long plunge into Zope land and am wondering which framework would fit my needs better. I have some experience toying around with django and the primary reason I am switching to a zope-based framework is ZPT and also needing to 开发者_如何学Coccasionally do things with Plone. Both seem to be well run projects I am mainly wondering which would have the better learning overlap with Plone? Thanks in advance!


BFG doesn't have very much to do with Zope, except:

  • it uses some Zope libraries internally.

  • it uses a variant of ZPT as its built-in templating language.

  • it uses some concepts, such as traversal, that will be familiar to Zope people.

If you know Zope 3 very well, and you like it, you'll like Grok. If you want a framework maybe a bit more like Pylons, but slightly cleaner, and which uses some Zope technologies and concepts, you'll like BFG.


So Repoze.bfg advertises "pay for only what you eat", meaning that you can pick and choose what portions of the framework you need to include, and you don't have extra cruft in your app.

It looks like you can mix Plone and Repoze.bfg: Here's a link to a Plone 2008 coference talk, and the templating language matches ZPT too.

But, it's very possible that the community around Zope is bigger, and certainly has been established longer: it may just depend on your confort level. You might want to write a small app in each and see how you feel.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号