• Save
ArtLung Rosetta Presentation for NC JQuery & JavaScript Camp
Upcoming SlideShare
Loading in...5
×
 

ArtLung Rosetta Presentation for NC JQuery & JavaScript Camp

on

  • 1,918 views

 

Statistics

Views

Total Views
1,918
Views on SlideShare
1,671
Embed Views
247

Actions

Likes
0
Downloads
0
Comments
0

4 Embeds 247

http://artlung.com 243
http://speakerrate.com 2
http://www.slideshare.net 1
http://www.google.com 1

Accessibility

Categories

Upload Details

Uploaded via as OpenOffice

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

    ArtLung Rosetta Presentation for NC JQuery & JavaScript Camp ArtLung Rosetta Presentation for NC JQuery & JavaScript Camp Presentation Transcript

    • ArtLung Rosetta Visit: http://github.com/artlung/ Choose: ArtLung Rosetta Click “Download Source”
    • Who Joe Crawford @artlung Web Developer [email_address]
    • What 0.1 ArtLung Rosetta is an effort to contain example code for the major JavaScript libraries. In short: I know how to do X with Y library, how do I do that in Z library? It's very basic, seeking feedback, suggestions.
    • What 0.2 What libraries are included? Ext Core Glow dojo jQuery MooTools Prototype
    • When? Created September 2009. Inactive since then.
    • Where? http://lab.artlung.com/rosetta/ http://github.com/artlung/Artlung-Rosetta/ http://github.com/artlung/
    • Why? While working for large multiplayer game site, it standardized dojo. I saw similarities and differences between it and jQuery. I also was tasked to examine some exploit code (injected cookie grabber) that used ExtJS. Frustration with my ignorance led to the thought that side by side “hello world” examples should exist. Thus, ArtLung Rosetta.
    • Examples
    • Get library version number Dojo: dojo.version ExtJS: CoreExt.version Glow: glow.VERSION Jquery: jQuery().jquery MooTools: MooTools.version Prototype: Prototype.Version
    • So similar dojo.query('h1').addClass('active'); // dojo Ext.select('h1').addClass('active'); // ExtJS glow.dom.get('h1').addClass('active'); // Glow $('h1').addClass('active'); // jQuery $$('h1').addClass('active'); // MooTools $$('h1').addClass('active'); //Prototype
    • So different: dojo.byId('myId').innerHTML = 'hello world'; Ext.get('myId').dom.innerHTML = 'hello world'; glow.dom.get('#myId').text('hello world'); $('#myId').text('hello world'); // jQ $('myId').set('html', 'hello world'); // Moo $('myId').update('hello world'); // Proto
    • When? Started in September 2009.
    • Where? http://lab.artlung.com/rosetta/ git clone git@github.com:artlung/Artlung-Rosetta.git http://github.com/artlung/
    • Your Turn Ideas? Suggestions? Talk at me! Or twitter @artlung Or email joe@artlung.com