Ajaxlights: TCP, bindings, jQ file tree, on-demand js

July 3rd, 2008

“TCP sockets” in the browser:

  1. var conn = new TCPSocket(hostname, port)

  2. conn.onopen = function() { alert(‘connection opened!’) }
  3. conn.onread = function(data) { alert(‘RECEIVE: ‘ + data) }
  4. conn.onclose = function(data) { alert(‘connection closed!’) }

  5. conn.send(‘Hello World’);

If you like Cocoa bindings, keep an eye out for the opening of http://objective-j.org/. Check out the demo app, 280 Slides.

jQuery UI is looking more and more promising. A recent file tree component looks great.

Resource/packet management is still a bit of a drag in javascript. Here are two great candidates: module.js and ensure. Alex Russel used similar techniques to push initial dojo load size down to 6k!

Javascript is on the verge of being typed. Ecmascript 4 can now be converted into 1.2 javascript with Mascara. On a related note, here’s a nice writeup/example on the potential usefulness of typed js.

Oh, and on an unrelated note: if you haven’t checked it out yet, go get jott.com. I now twitter only by talking :P

5 Responses to “Ajaxlights: TCP, bindings, jQ file tree, on-demand js”

  1. baby shower food Says:

    baby shower food…

    baby shower food…

  2. home turbine wind Says:

    home turbine wind…

    home turbine wind…

  3. science definitions Says:

    science definitions…

    science definitions…

  4. Chinese Calendar For Gender Says:

    Chinese Calendar For Gender…

    Chinese Calendar For Gender…

  5. CarmelaDODSON Says:

    Do you recognize that this is correct time to receive the home loans, which can make your dreams come true.

Leave a Reply

You must be logged in to post a comment.