惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

aimingoo的专栏
aimingoo的专栏
Engineering at Meta
Engineering at Meta
有赞技术团队
有赞技术团队
博客园_首页
Apple Machine Learning Research
Apple Machine Learning Research
Vercel News
Vercel News
G
Google Developers Blog
Blog — PlanetScale
Blog — PlanetScale
IT之家
IT之家
MongoDB | Blog
MongoDB | Blog
Y
Y Combinator Blog
B
Blog
The GitHub Blog
The GitHub Blog
M
MIT News - Artificial intelligence
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
Stack Overflow Blog
Stack Overflow Blog
C
Check Point Blog
Microsoft Azure Blog
Microsoft Azure Blog
D
DataBreaches.Net
I
InfoQ
Recent Announcements
Recent Announcements
阮一峰的网络日志
阮一峰的网络日志
腾讯CDC
H
Help Net Security

Secret Weblog

Becoming More Xee: A Modern XPath and XSLT Engine in Rust Looking for new challenges! Repeat Yourself, A Bit The Curious Case of Quentell The Humble For Loop in Rust The Humble For Loop in JavaScript Don Question Best Practices I Was a 1980s Teenage Programmer Part 5: Achieving Assembly I Was a 1980s Teenage Programmer Part 4: The Call of Assembly The Tooling Shift I Was a 1980s Teenage Programmer Part 3: MSX-2 JavaScript: when you need two ways to do it! Empowering Programming Languages Bloat and Retrofuturism Refreshing my Blog Again Random Rust Impressions Apilar: An Alife System I Was a 1980s Teenage Programmer Part 2: Olivetti M24 I Was a 1980s Teenage Programmer: the Alphatronic SolidJS fits my brain Is premature optimization the root of all evil? Framework Patterns: JavaScript edition Roll Your Own Frameworks Framework Patterns Secret Weblog Highlights Refactoring to Multiple Exit Points mstform: a form library for mobx-state-tree Seven Years: A Very Personal History of the Web
Grok Status Update Part 2
Martijn Faassen · 2008-06-03 · via Secret Weblog

I continue yesterday's status update with some more topics. Lots of stuff is going on in the Grok world!

grokproject improvements

Maurits van Rees, Tim Terlegård, Reinout van Rees and others at the Grokkerdam sprint worked on improving grokproject in many ways:

  • improve paster integration
  • less questions asked and better defaults
  • less different URLs are involved when installing grokproject the first time, as we now have the ability to bundle a lot of eggs in a big file, lowering the chance of the installation failing because some site we pull in an egg from happens to be down.

After the sprint, Maurits continued to work on z3c.recipe.eggbasket, which should make this easy to manage for developers and release managers. All this is coming to you in Grok 0.13, if not earlier in an interim grokproject release.

megrok.kss

Godefroid Chapelle, Jeroen Vloothuis, Jean-Paul Ladage and others worked on polishing off KSS support in Grok, in the form of the Grok extension megrok.kss. KSS is a powerful, declarative way of doing AJAX in the form of something very much like a CSS sheet.

KSS actions have now become views on views, which seems to be a good place, as KSS actions actually typically apply to the view itself (on the browser-side, so HTML). Documentation on KSS was also extended, and some discussions were started about the KSS APIs. Jeroen switched over the extension to use KSS's new base library, kss.base with Grok, so we're up to speed on the latest and greatest KSS.

the url method

Thanks to the work done by Peter Bengtsson and Jan-Jaap Driessen at the Grokkerdam sprint, the url method on views now has an extra optional parameter, data, which can be passed a dictionary with query parameters.

A test coverage analysis and a bug report showed there were still problems with the support of the url method in viewlets and viewlet managers. This led to some discussions as to how fix viewlets. Work is being done to fix this on a branch by Jan-Wijbrand Kolman.

megrok.responseheaders

Peter Bengtsson (and I know others worked with him, but I now forget who.. sorry!) worked at the Grokkerdam sprint to develop a package called megrok.responseheaders. This is a nice example of how Grok can be extended with new directives for existing views. It adds two new directives, http_content_type and http_cache_control. These can be added to view classes to control view content type and cache control information.

Right now it's only available in SVN, here, as it is based on some changes made in a newer version of our Martian configuration library. Once Grok 0.13 is released, it'll need a bit of polishing and can be released.