Calling and comparing the UI for GOOG-411 One Laptop Per Child – One Python Programmer
Apr 13

script type=”my dsl” and script type=”ruby”

JavaScript, Ruby, Tech Add comments

John Resig gave an enjoyable presentation on Javascript libraries.

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.

2 Responses to “script type=”my dsl” and script type=”ruby””

  1. replicahandbags Says:

    wow,you are fruitful,i’d say

  2. replica handbags Says:

    thanks

Leave a Reply

Spam is a pain, I am sorry to have to do this to you, but can you answer the question below?

Q: Type in the word 'cricket'

Loading...