{"id":1340,"date":"2010-08-04T16:53:19","date_gmt":"2010-08-04T20:53:19","guid":{"rendered":"http:\/\/crazedmonkey.com\/blog\/links\/bfg-is-a-pay-only-for-what-you-eat-web-framework.html"},"modified":"2011-11-16T22:31:18","modified_gmt":"2011-11-17T03:31:18","slug":"bfg-is-a-pay-only-for-what-you-eat-web-framework","status":"publish","type":"post","link":"http:\/\/crazedmonkey.com\/blog\/python\/bfg-is-a-pay-only-for-what-you-eat-web-framework.html","title":{"rendered":"BFG is a &#8220;pay only for what you eat&#8221; web framework"},"content":{"rendered":"<p>BFG is based on WSGI and is from the same guys who brought you worked on the Repoze project. BFG only provides URL mapping, templating and security; the rest is up to you.<\/p>\n<p>What I like about BFG  (after a few minutes of perusal): views as callables (meaning you can define a view class), built-in permissions-based security (although rolling your own is fairly trivial), built-in event listeners (although, again, rolling your own observer pattern is trivial).<\/p>\n<p>What I don&#8217;t like about BFG: ZCML configuration (XML, as opposed to Python), no Mako template support yet (although I&#8217;m sure I&#8217;d be OK with Chameleon).<\/p>\n","protected":false},"excerpt":{"rendered":"<p>BFG is based on WSGI and is from the same guys who brought you worked on the Repoze project. BFG only provides URL mapping, templating and security; the rest is up to you.<\/p>\n<p>What I like about BFG (after a few minutes of perusal): views as callables (meaning you can define a view class), built-in&nbsp;&hellip;&nbsp;<a class=\"read_more\" href=\"http:\/\/crazedmonkey.com\/blog\/python\/bfg-is-a-pay-only-for-what-you-eat-web-framework.html\" rel=\"bookmark\" title=\"Continue reading &ldquo;BFG is a &#8220;pay only for what you eat&#8221; web framework&rdquo;\"><span>Read more<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_mi_skip_tracking":false},"categories":[36,33,29],"tags":[],"_links":{"self":[{"href":"http:\/\/crazedmonkey.com\/blog\/wp-json\/wp\/v2\/posts\/1340"}],"collection":[{"href":"http:\/\/crazedmonkey.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/crazedmonkey.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/crazedmonkey.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"http:\/\/crazedmonkey.com\/blog\/wp-json\/wp\/v2\/comments?post=1340"}],"version-history":[{"count":1,"href":"http:\/\/crazedmonkey.com\/blog\/wp-json\/wp\/v2\/posts\/1340\/revisions"}],"predecessor-version":[{"id":1861,"href":"http:\/\/crazedmonkey.com\/blog\/wp-json\/wp\/v2\/posts\/1340\/revisions\/1861"}],"wp:attachment":[{"href":"http:\/\/crazedmonkey.com\/blog\/wp-json\/wp\/v2\/media?parent=1340"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/crazedmonkey.com\/blog\/wp-json\/wp\/v2\/categories?post=1340"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/crazedmonkey.com\/blog\/wp-json\/wp\/v2\/tags?post=1340"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}