Contenu connexe Similaire à 웹 소프트웨어 시대의 새로운 롤(role) 모델, 자바스크립트 (20) 웹 소프트웨어 시대의 새로운 롤(role) 모델, 자바스크립트7. 그런데
생명은커녕웹을작살내버렸다.
툭하면에러를내뱉는웹
브라우저를다운시키는주요원인
http://bellavita.tistory.com/51
8. 마우스에게생명을...
생명을불어넣겠다는목적은
온데간데없고
“마우스를따라다니는시계”를
구현하는데쓰임
그래도멋있어가져다쓰자
자바스크립트의CopyPaste부흥기
머~어~ 생며엉~?
http://www.zoc.kr/977
15. Corona
PhoneGap chrome
POSIX unix
os
iPad iPhone
HPWeb
Android os
window
server
Tatanium linux
Appspresso Mobile
Arduino
JavaScript
safari
Robot
chrome
industry
embed browser
firefox
Screen
car Kiosk DBMS
home IE opera
3D
STB
Graphic
Cleaner TV
Cleaner Thread Network
ATM
16. 웹기술의진화속도는
초속53,042,034cm
http://justice1977.tistory.com/991
17. med.js tinyJSdefer.js Bean.js Kizzy
Backbone.jsLAB.js
Classy html-minify
functools UgliyJS Easel.js
d3.js arguments.
LazyLoadDojo Raphael
d.js
Broad eventEmitter Jo
Qunit Processing.js
Underscore
typeface.js JSGI
marked Janis JSSpec
Shifty.js Boostrap Events.js DragDrop.js
Narwhal AMD Zepto Milk.js
RingoJS Date.js
Ext.js Objs CoffeeScript
store.js uuid.js $dom.js
아~손아프다.
LocalStoragetimed.js DartLang SproutCore
hsi.js Browser.js
loader.js JavaScript++
highChartAppengineJS
Canvas slang.js
Appspresso molt.js
Jaml.js
extend.js
cssFx
PhoneGap Require.js
Vine
Mootools Hyber.js WebWorker
Socket.io ModernizrShinyCar.js
CommonJS
microcache.js
Three.js WebSocket Titanium Node.js
W.js
Snack.js include.js
Satisfy
WebGL system.js jQueryMobile Sencha.io
my.class.js
20. 표준화역사
FirstEdition 1997
SecondEdition 1998
ThirdEdition 1999 현재의자바스크립트
ForthEdition 2008 중단
FifthEdition 2009,2011
Harmony(sixth) progress 2013년목표
22. 워킹그룹(TC39)분열
기존자바스크립트를
VS
발전시켜야한다.
ES4를밀어부쳐야한다.
Yahoo! Mozilla
Microsoft Adobe
etc ect
26. 트랜스파일러(Transpiler)
transfer라는단어와compiler라는용어가합쳐져만들어짐
BrendanEich에의해서최초로소개됨
자바스크립트가새로운형태의문법을파싱하여자바스크립트로
변환시켜자바스크립트엔진이이해할수있도록해주는일종의
라이브러리
CoffeeScript
GoogleTracuer,MozillaNarcissus,
JavaScript++
BrendanEich
http://en.wikipedia.org/wiki/Transcompiler
27. CoffeeScript
2011년3월16일부터소셜코딩사이트
Github에서주시하고있는개발자가가장많은
프로젝트중의하나
RubyonRails3.1부터공식지원
BrendanEich는블로그와JSConf.eu를통해차세대자
바스크립트에큰영향을미친언어로언급하고있습니다.
http://jashkenas.github.com/coffee-script/
28. CoffeeScriptExample
varcube,square;
square=function(x){
returnx*x;
}; square=(x)-x*x
cube=(x)-square(x)*x
cube=function(x){
returnsquare(x)*x;
};
http://jashkenas.github.com/coffee-script/
29. CoffeeScript
Ruby,Python과Haskell에영향을받음
간결함과가독성이향상
배열함축기법,패턴매칭과같은기능이추가
큰성능저하없이짧은코드프로그램작성(자바스크립
트에비해1/3)
서버측자바스크립트에서널리사용되고있음
http://jashkenas.github.com/coffee-script/
31. DartLang
Dash에서Dart로공식명칭을변경
구글에의해개발되어진웹을위한프로그래밍언어
2011년10월덴마크오르후스에서개최된GOTO컨퍼
런스에서최초공개
웹브라우저내장스크립트언어로자바스크립트를대처
할목적으로만들어짐
http://www.dartlang.org/
32. DartLangExample
intfib(intn){
if(n=1)returnn;
returnfib(n-1)+fib(n-2);
}
main(){
print('fib(20)=${fib(20)}');
}
http://www.dartlang.org/
33. DartLang
기존의자바스크립트는해결할수없는문제가있다.
Dart는대규모프로젝트에도무리없고보안면에서도
더나은설계
“Brightly”라는클라우드기반통합개발환경을
Dart로개발중
Dart를지원하지않는브라우저를위해ES3로
변환하는도구를제공
DartVM을크롬브라우저에통합중
http://www.dartlang.org/
35. CommonJS
브라우저환경을벗어난자바스크립트에코시스템을위한
프로젝트이다.
ServerJS라는이름으로처음2009년
시작하여CommonJS로개명
자바스크립트표준화그룹인
ECMAInternational과는별도의단체이다.
CommonJS도차세대
자바스크립트표준화사양의일부이다.
http://www.commonjs.org/
36. 라이크버튼
Map모듈 모듈 Plugin
oAuth인증
Search모듈
모듈 댓글모듈
Plugin
Google Facebook jQuery
Plugin
loader.js
require.js 메일유효
체크모
MySite
Sencha 주민번호유
Browsers 차트모듈
효성체크모
듈
로그인모듈
그리드모듈
데이터모듈
37. 라이크버튼
Map모듈 모듈 Plugin
oAuth인증
Search모듈
모듈 댓글모듈
Plugin
Google Facebook jQuery
Plugin
Node.js
RingoJS 메일유효
체크모
MySite
Sencha 주민번호유
Server 차트모듈
효성체크모
듈
로그인모듈
그리드모듈
데이터모듈
38. 라이크버튼
Map모듈 모듈 Plugin
oAuth인증
Search모듈
모듈 댓글모듈
Plugin
Google Facebook jQuery
Plugin
Titanium
AdobeAIR 메일유효
체크모
MySite
Sencha 주민번호유
Mobile 차트모듈
효성체크모
듈
로그인모듈
그리드모듈
데이터모듈
39. CommonJSModules
(function(define){
define(function(require,exports){
vardep1=require(“foo”);
vardep2=require(“bar”);
exports.hello=function(){...};
exports.world=function(){...};
});
})(typeofdefine==”function”
?define
:function(factory){factory(require,exports)});
http://www.commonjs.org/
40. ES-HarmonyModules
moduleSafeWidget{
importalertfromWidget;
var_private=“someValue”;
exportvardocument={
write:function(txt){
alert(‘Outofluck,buck’);
},
...
};
}
http://www.commonjs.org/
41. CommonJS구현체
Node.js,Narwhal,RingoJS,JSGI,Helma
jQuery1.7,Dojo,SproutCore
Akshell,JoyentSmartPlatform,v8cgi,JSBuild,
XULJet
Titanium,AdobeAIR
CouchDB,MongoDB
http://www.commonjs.org/
42. 요약
CoffeeScript,CommonJS,Dart는차세대자바스크립
트에가장큰영향을미치고있음
소개하지못한다양한프로젝트들의장점도논의후사양
으로책정할것이다.
제대로된기능들이추가되고있기도하지만사양에서제
외되기도한다.
FirefoxSpiderMonkey와GoogleV8에서프로토타이
핑과사용자기반한테스트도진행중에있다.
2013년완료를목표로열띤논의중이다.
http://www.ecmascript.org/ http://www.ecma-international.org/
44. 서버아키텍쳐의변환점
1세대 Perl기반
2세대 High-endUnix머신을기반으로한Java
3세대 클라우드를기반으로한PHP,Ruby,Python
4세대 서버측자바스크립트
46. HTTPServer
var http = require('http');
http.createServer(function (req, res) {
res.writeHead(200, {'Content-Type': 'text/plain'});
res.end('Hello H3 Conferencen');
}).listen(1337, 127.0.0.1);
console.log('Server running at http://127.0.0.1:1337/');
% node example.js
Server running at http://127.0.0.1:1337/
http://nodejs.org/
47. TCPserver
var net = require('net');
var server = net.createServer(function (socket) {
socket.write(Echo serverrn);
socket.pipe(socket);
});
server.listen(1337, 127.0.0.1);
http://nodejs.org/
51. lastest update create
5000 4652
3978
3812
3750 3444
2700 2674 2782
2500 2092
1981
1749 1782
1342
1250 847
628 726
515 602 555 582
422 436
367 447
388 480
309 323 322 341
228 346
121 93 168 187
22
0
2010-12 2011-02 2011-04 2011-06 2011-08 2011-10
52. RoR
Ruby on Rails
Node.js
2004.12 first commit 2009.02 first commit
11250 11400
57. 당신의집을지어보자.
こんにちは。
머라는거여~어~?
고만노닥거리고일하라고~~ Nice,devous
répondre.
58. 모든것이하나의룰
client:
JavaScript
Mobile:JavaScript Server:JavaScript
59. @rhiokim
rhio.kim@gmail.com
질문은메일이나트위터로언제든지해주세요.