Sabrish Subramanian wrote:
> hi , 
>
>   how does the expression retrieves the data from the database ? and where
> does this happen. i cant figure out the exact file but i guess the
> expression.evaluate () itself does this. is this true ?  but the link to the
> db.js is misssing.... 
>   
Expressions are parsed in
    
http://simile.mit.edu/repository/exhibit/trunk/src/webapp/api/scripts/data/expression-parser.js
and constructed into objects implemented in
    
http://simile.mit.edu/repository/exhibit/trunk/src/webapp/api/scripts/data/expression.js
These objects have evaluate* methods that retrieve the data from the 
database.

There is no db.js. There is database.js.
    
http://simile.mit.edu/repository/exhibit/trunk/src/webapp/api/scripts/data/database.js

The database is a graph-based database. It stores triples of
    subject --predicate--> object
The expression language provides an abstraction on top of that graph 
model. The graph model is briefly described here
    http://simile.mit.edu/wiki/Exhibit/Understanding_Exhibit_Database

Hope that helps,

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

Reply via email to