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

推荐订阅源

J
Java Code Geeks
Google DeepMind News
Google DeepMind News
H
Hackread – Cybersecurity News, Data Breaches, AI and More
T
The Blog of Author Tim Ferriss
A
About on SuperTechFans
N
Netflix TechBlog - Medium
阮一峰的网络日志
阮一峰的网络日志
H
Help Net Security
I
InfoQ
月光博客
月光博客
量子位
Blog — PlanetScale
Blog — PlanetScale
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
云风的 BLOG
云风的 BLOG
雷峰网
雷峰网
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
Jina AI
Jina AI
Engineering at Meta
Engineering at Meta
G
Google Developers Blog
D
DataBreaches.Net
宝玉的分享
宝玉的分享
V
Visual Studio Blog
让小产品的独立变现更简单 - 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.