On Dec 20 2008, 6:04 pm, jpick <[email protected]> wrote:
> So, currently, the two apps are really covering separate ground.  I
> can see extending TiddlyWeb to go more of what the Acre app does, and
> extending the Acre app to handle TiddlyWeb's concept of 'Recipes' and
> 'Bags'.
>
> I haven't looked at TiddlyWeb's plugin interface yet, but it should be
> possible to write a driver for it that could query the recipes stored
> in Freebase using their JSON interface, and use them directly.  There
> is already plenty of Python Freebase code ready to use for that.

One thing that might be cool to do with TiddlyWeb and your work would
be to make--what's called in TiddlyWeb--a store that talks to
FreeBase. Then you could store recipes and tiddlers in bags in
FreeBase and get the benefit of TiddlyWeb's existing bits (such as
auth and perms handling). A design principle in TiddlyWeb is that the
stores should be just as useful as proxies to other storage systems as
systems for doing storage themselves. You may have seen tiddlywebweb
[1] which stores tiddlyweb content in a remote tiddlyweb. Because it
is all just python, and there's a relatively simple interface to
adhere to, you can write the store to do whatever you want. So you
could do tree traversal, transformation and aggregation, etc.

The plugin interface on TiddlyWeb is not really nailed down yet: It's
really multiple things:

# Alternate storage mechanisms: classes that implement (at least some
of) the StorageInterface
# Alternate serialization mechanism: classes that implement (at least
some of) the SerializationInterface
# Extensions to the filter system.
# Random code that gets imported at startup time (of both the web
server and the twanager command line too) and has init(config) called
on the module.

That last is what is being called "plugins" but it isn't so much a
plugin as "more code". In most of the examples so far, the code adds
urls and methods (standard WSGI applications) to handle them or
commands to twanager. You could just as easily monkey patch the entire
system if you wanted.

If you want to play with any of these notions, feel free to contact me
and we can learn on it together.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TiddlyWikiDev" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/TiddlyWikiDev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to