Its important (and this is for me getting familiar with the Exhibit code)
that this is not Java. ECMAScript is a prototypical language. You *have* to
keep throwing more classes at it, and in a lot of ways, that's point. Just
my 2c...

On 3/17/07, carmen <[EMAIL PROTECTED]> wrote:

On Sat Mar 17, 2007 at 11:13:34AM +0000, Keith Alexander wrote:
> Hi again folks,
>
> I realised that the semantic templating idea I discussed in my last post
> to this list could also be applied to Exhibit's JSON database format,
> and that this could provide a pretty neat bridge between an Exhibit and
> an RDF database.

i tried doing this the other day, as i want to move the view generation in
my RDF-based app-development framework to the client, since i am moving the
server over to a minimal endpoint/glue(mongrel and redland) role. at this
point i need a clientside model cache and template engine and some
sorting/filtering, so i figured id just use Exhibit since its already
written.

well i got close, but get errors like "'property' has no properties" deep
in the bowels of the exhibit that i have no idea how to fix (line number of
the error in firebug is for the console.print() function) - i read most of
the it, and its a total JAVA clusterfuck - really smart people can often
hold so much structure and abstraction in their head that the resulting
solution is far from simple; couple that with the 'throw more classes at it'
JAVA programmer mentality and its not hard to see how you ended up with a
quarter meg (between the exhibit and simile-ajax libraries) just for some
table sorting stuff which is way over the top - looking at integrating my
ajax editors into this meant id have to use its idioms, and work within it's
code, which is a no go (i dont make any claims to be a great programmer, but
i had to read the JQuery source afterwards to settle down)..

still, i want to get it working, as an option especially when 'exporting'
the data for serverless exhibit purposes..


i'm just using absolute URIs for all the properties to start with since i
figured it could handle arbitrary strings. is that the problem?


it should also be noted that metaweb uses basically the same format as
exhibit and mentioned on
http://semwebdev.keithalexander.co.uk/blog/posts/Exhibit-JSON.html . JSON
pattern for query, a similar pattern back to substitute into a clientside
template. where Exhibit uses string predicates, MQL uses absolute paths like
/cars/modelyear and RDFa uses namespaced or absolute URIs... so theres a lot
of overlap and it should be trivial to make any tool support all three..

_______________________________________________
General mailing list
[email protected]
http://simile.mit.edu/mailman/listinfo/general

_______________________________________________
General mailing list
[email protected]
http://simile.mit.edu/mailman/listinfo/general

Reply via email to