This post originated from an RSS feed registered with Java Buzz
by dion.
Original Post: script type="my dsl" and script type="ruby"
Feed Title: techno.blog(Dion)
Feed URL: http://feeds.feedburner.com/dion
Feed Description: blogging about life the universe and everything tech
This wasn't a talk about choosing library A over library B. It was meta. It was about what libraries give you, and why they are here.
John also showed his text/jquery DSL that is up at jquery2 (a bad name that will not probably be jquery2).
We are seeing more and more of this. People are following the pattern of sneaking in their own script by putting in their own mime type and then using DOM scripting to go back and do the right thing.
I am hopeful that we will see a <script type="text/ruby"> soon:
<script type="text/ruby">
document.ready do |dom|
dom["table tr"] <<"<td>test"
end
</script>
Yummy. Then Try Ruby would literally be... try ruby in the browser.