Hi David,

I built a javascript UI framework, loooooooong ago ( say, 2001-3 ).
It had databinding and allowed javascript expressions in inline declarations

for example:

<span 
class="hey-im-a-binding-expression">getTextValue(anotherElement).toLowerCase()
+ "blabla"+getTextValue(yetAnotherElement)</span>

And the funny thing is that the final product was very similar to
longwell, in that it operated over a corpus of documents, extracted
"facets" and created a navigation framework automatically. It was
related to the real estate and construction industry, and could
understand formats such as autodesk whip ( ??? something like that, I
don't remember ) and PDFs... but I didn't know anything about RDF at
the time though ;(

Unfortunately, it is private, obscure, and I wouldn't even know if it
still exists hehe ( this was the customer: www.planok.com )

Back to your expressions... perhaps you could you check on the Dojo
toolkit for something similar. I haven't looked at the toolkit for a
while but they *should* have binding and quite probably a parser ( if
narcissus isn't modular enough ).

Best,
Aldo

On 12/21/06, Johan Sundström <[EMAIL PROTECTED]> wrote:
> On 12/22/06, David Huynh <[EMAIL PROTECTED]> wrote:
> > Johan Sundström wrote:
> > > I'd like string concatenation in there somehow, [...]
> >
> > Dave Morris asked for something like that a little while ago and I
> > introduced the ex:*-subcontent syntax (as opposed to ex:*-content) for
> > him. The conversation was in the 3rd section of
> >
> >     http://simile.mit.edu/wiki/Talk:Exhibit/Getting_Started_Tutorial
> >
> > But the idea is that you can write what you wanted above as follows:
> >
> >     <a ex:href-subcontent="/presidents/{{.label}}.html"
> > ex:content=".label"></a>
> >
> > And you can have several of those {{ }}.
>
> Oops; I shouldn't have skipped through the tutorial section. :-)
>
> > > Already useful, though. Some basic numeric operations for rounding,
> > > truncation and similar would also be convenient.
> >
> > Will do! Thanks!
> >
> > Note that while "add" and "date-range" are functions, "foreach" is a
> > control construct. I suppose "if" will be useful, too.
>
> And perhaps if-exists, unless that is something if would be able to
> handle too. I'm playing with exhibit:izing
> http://en.wikipedia.org/wiki/List_of_social_networking_websites and
> haven't come up with any very satisfying way of expressing sites whose
> number of users is unknown in the table view (ex:columns attribute);
> empty cells don't look very nice.
>
> --
>  / Johan Sundström, http://ecmanaut.blogspot.com/
>
> _______________________________________________
> General mailing list
> [email protected]
> http://simile.mit.edu/mailman/listinfo/general
>


-- 
::::: Aldo Bucchi :::::
mobile (56) 8 429 8300

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

Reply via email to