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

推荐订阅源

Stack Overflow Blog
Stack Overflow Blog
云风的 BLOG
云风的 BLOG
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
Recent Announcements
Recent Announcements
Microsoft Security Blog
Microsoft Security Blog
Microsoft Azure Blog
Microsoft Azure Blog
J
Java Code Geeks
D
DataBreaches.Net
U
Unit 42
P
Proofpoint News Feed
I
InfoQ
Apple Machine Learning Research
Apple Machine Learning Research
Google DeepMind News
Google DeepMind News
博客园 - Franky
博客园_首页
IT之家
IT之家
博客园 - 叶小钗
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
酷 壳 – CoolShell
酷 壳 – CoolShell
博客园 - 【当耐特】
Hugging Face - Blog
Hugging Face - Blog
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
阮一峰的网络日志
阮一峰的网络日志

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
megrok.rdf finally checked in
Martijn Faassen · 2008-08-01 · via Secret Weblog

Jasper Op de Coul and I worked on megrok.rdf during the post-europython Grok sprint a few weeks ago. We had a few logistical problems concerning access to svn.zope.org, but yesterday Jasper finally managed to check in megrok.rdf:

http://svn.zope.org/megrok.rdf/trunk/

megrok.rdf is far from finished, and should be classified as a prototype. It has me excited for two reasons:

  • if people were to hack on this I think Grok could quickly grow first-class RDF support without tremendous effort. What megrok.rdf can do for you is represent RDF subjects as models. These can then get views and adapters and such. RDF predicates can show up as object relations. These relations can be made to be traversable using grok.traversable().
  • the way megrok.rdf works is quite similar to megrok.rdb, Grok's SQLAlchemy integration. This is not a surprise, as megrok.rdf's design is heavily influenced by my experiences with megrok.rdb. It still helps validate to me that Grok's way of exposing models makes a lot sense and is flexible. Grok has ZODB-backed Models and Containers, but it also has RDB backed Models and Containers and now, at least experimentally, RDF backed versions of the same.

A lot of work remains to be done. One thing we should do is to actually start documentation/doctests to solidify the approach. The way an RDF database is accessed (and integrated with Zope's transaction machinery) also needs attention.

I hope we can get some help from people interested in RDF. If people are interested, please join us at grok-dev.