JavaScript for backend

Caesar Chi
Caesar ChiCo-Founder at EXMA-Square corp
Javaforcript
          S Backend
                      Caesar Chi
                        clonn
13年1月14⽇日星期⼀一
Some
                ask
                    Question
                    Question
                  Question

13年1月14⽇日星期⼀一
Caesar Chi




                         clonncd
13年1月14⽇日星期⼀一
Javafrom Backend
           Script
                         Caesar Chi
                           clonn
13年1月14⽇日星期⼀一
Somethings
                  you
                 Should
                 Know
13年1月14⽇日星期⼀一
is
                {Java
                 Script}
13年1月14⽇日星期⼀一
install
                  won t
                tell

                detail
13年1月14⽇日星期⼀一
Most of them are libraries. Not JavaScript.
13年1月14⽇日星期⼀一
How   to   check
13年1月14⽇日星期⼀一
if
                then




13年1月14⽇日星期⼀一
if


                then



13年1月14⽇日星期⼀一
if     global === window




                else


13年1月14⽇日星期⼀一
Rule

                • global equals global that is
                • global equals window that is



13年1月14⽇日星期⼀一
{Java
                 Script}
                   a   different parts


13年1月14⽇日星期⼀一
script source loaded



13年1月14⽇日星期⼀一
jQuery is not defined




13年1月14⽇日星期⼀一
k2.js        caption.js

                var abc=123;   var abc=456;




13年1月14⽇日星期⼀一
k2.js            caption.js

                var abc=123;      var abc=456;
                            html script

                        var abc=789;

13年1月14⽇日星期⼀一
載⼊入
                                      無誤


                             ⽂文字




                solved loading JS source issue
13年1月14⽇日星期⼀一
• Require


                • module




13年1月14⽇日星期⼀一
{Java
                 Script}
                 follow


13年1月14⽇日星期⼀一
{Java
                 Script}
                      has


13年1月14⽇日星期⼀一
• manage modules
                • dependency is fun
                • publish, install module is easy
                • more than 8000 modules


13年1月14⽇日星期⼀一
{Java
                 Script}
                     ART
                   the     parts




13年1月14⽇日星期⼀一
{ shouldKnow:
                	[
                     	
                     variable,
                     	
                     function,
                     	
                     Array,
                     Object,
                     	
                     “What is this”
                                  	]
                                       };
13年1月14⽇日星期⼀一
太極拳只重其義,不重其招,
                你忘記所有招式,就練成太極
                拳了!



13年1月14⽇日星期⼀一
13年1月14⽇日星期⼀一
Callback   leave your function




13年1月14⽇日星期⼀一
JSON is Rock, and it won’t kill you

13年1月14⽇日星期⼀一
{
                       response: “hello world”
                   }




                I am JSON’s friend, NOT Freddy
13年1月14⽇日星期⼀一
give
                {Java
                 Script}
                    Power
13年1月14⽇日星期⼀一
give
                {Java
                 Script}
                    Power
13年1月14⽇日星期⼀一
Utility
                •   util




13年1月14⽇日星期⼀一
Server
                •   http
                •   https
                •   net
                •   dns

13年1月14⽇日星期⼀一
data / files

                •   file system
                •   stream




13年1月14⽇日星期⼀一
data / files

                •   file system
                •   stream




13年1月14⽇日星期⼀一
process
                •   process
                •   util




13年1月14⽇日星期⼀一
{Java
                 Script}
                    is
                   Power

13年1月14⽇日星期⼀一
We can DO It!




13年1月14⽇日星期⼀一
Nopain
                    gain


13年1月14⽇日星期⼀一
“Of Course”
                   with




13年1月14⽇日星期⼀一
http://nodetoolbox.com/




                   http://nodezoo.com/

13年1月14⽇日星期⼀一
Some
                    modules
                could
                       DO
                       modules
13年1月14⽇日星期⼀一
http(s)
                   +
                  spdy



13年1月14⽇日星期⼀一
http(s)
                   +
                  spdy



13年1月14⽇日星期⼀一
http(s)
                   +
                   file system




13年1月14⽇日星期⼀一
http(s)
                   +
                   file system
                   stream




13年1月14⽇日星期⼀一
web server
                restful server


13年1月14⽇日星期⼀一
+

            realtime server
13年1月14⽇日星期⼀一
+
                sass base, like compass



13年1月14⽇日星期⼀一
+
                Web Driver

                   auto test
13年1月14⽇日星期⼀一
13年1月14⽇日星期⼀一
+
                request
                   +




13年1月14⽇日星期⼀一
This is Y!




13年1月14⽇日星期⼀一
This is Y(-) (-)!
                      tw.yah00.com




     access cookie
     steal anything
     :D


13年1月14⽇日星期⼀一
This is Y(-) (-)!
                      tw.yah00.com




     access cookie
     steal anything
     :D


13年1月14⽇日星期⼀一
Why
                you
                  USE

13年1月14⽇日星期⼀一
{Java
                 Script}


13年1月14⽇日星期⼀一
Learning
                • http://nodejs.tw
                • http://book.nodejs.tw
                • http://javascript.tw
                • http://jsdc.tw


13年1月14⽇日星期⼀一
JSDC 2013
13年1月14⽇日星期⼀一
Thanks
                         clonncd
13年1月14⽇日星期⼀一
1 of 61

Recommended

20130113 Web Conference - communicate by
20130113 Web Conference - communicate20130113 Web Conference - communicate
20130113 Web Conference - communicateHitomi Yang
4K views37 slides
130113 why.&.how.smb.running.ux-light by
130113 why.&.how.smb.running.ux-light130113 why.&.how.smb.running.ux-light
130113 why.&.how.smb.running.ux-lightDavid Liu
1.8K views15 slides
Does firefox matter? by
Does firefox matter?Does firefox matter?
Does firefox matter?Irvin Chen
12.1K views80 slides
2013 01 13 webconf milkmidi Flash by
2013 01 13 webconf milkmidi Flash2013 01 13 webconf milkmidi Flash
2013 01 13 webconf milkmidi Flash綠茶 奶
1.6K views28 slides
Secret sauce of building php applications by
Secret sauce of building php applicationsSecret sauce of building php applications
Secret sauce of building php applicationsLin Yo-An
5.1K views228 slides
中文網路字型的現況與挑戰(Webconf 20130113) by
中文網路字型的現況與挑戰(Webconf 20130113)中文網路字型的現況與挑戰(Webconf 20130113)
中文網路字型的現況與挑戰(Webconf 20130113)michael 葉
4.8K views72 slides

More Related Content

Viewers also liked

WebConf 2013「Best Practices - The Upload」 by
WebConf 2013「Best Practices - The Upload」WebConf 2013「Best Practices - The Upload」
WebConf 2013「Best Practices - The Upload」Orange Tsai
14.4K views44 slides
Designing physical and digital experience in social web by
Designing physical and digital experience in social webDesigning physical and digital experience in social web
Designing physical and digital experience in social webJanet Huang
5.9K views46 slides
20130112用原型驅動設計@webconf by
20130112用原型驅動設計@webconf20130112用原型驅動設計@webconf
20130112用原型驅動設計@webconfJustin Lee
6K views53 slides
那些mockup沒告訴你的事@WebConf.tw 2013 by
那些mockup沒告訴你的事@WebConf.tw 2013那些mockup沒告訴你的事@WebConf.tw 2013
那些mockup沒告訴你的事@WebConf.tw 2013Adam Wang
31.8K views82 slides
超理性使用者介面設計 - Data-driven A/B Testing by
超理性使用者介面設計 - Data-driven A/B Testing超理性使用者介面設計 - Data-driven A/B Testing
超理性使用者介面設計 - Data-driven A/B TestingYing-Hsiang Liao
10.6K views28 slides
TypeScript 開發實戰:開發即時互動的 html5 websocket 聊天室應用程式 by
TypeScript 開發實戰:開發即時互動的 html5 websocket 聊天室應用程式TypeScript 開發實戰:開發即時互動的 html5 websocket 聊天室應用程式
TypeScript 開發實戰:開發即時互動的 html5 websocket 聊天室應用程式Will Huang
11.9K views27 slides

Viewers also liked(10)

WebConf 2013「Best Practices - The Upload」 by Orange Tsai
WebConf 2013「Best Practices - The Upload」WebConf 2013「Best Practices - The Upload」
WebConf 2013「Best Practices - The Upload」
Orange Tsai14.4K views
Designing physical and digital experience in social web by Janet Huang
Designing physical and digital experience in social webDesigning physical and digital experience in social web
Designing physical and digital experience in social web
Janet Huang5.9K views
20130112用原型驅動設計@webconf by Justin Lee
20130112用原型驅動設計@webconf20130112用原型驅動設計@webconf
20130112用原型驅動設計@webconf
Justin Lee6K views
那些mockup沒告訴你的事@WebConf.tw 2013 by Adam Wang
那些mockup沒告訴你的事@WebConf.tw 2013那些mockup沒告訴你的事@WebConf.tw 2013
那些mockup沒告訴你的事@WebConf.tw 2013
Adam Wang31.8K views
超理性使用者介面設計 - Data-driven A/B Testing by Ying-Hsiang Liao
超理性使用者介面設計 - Data-driven A/B Testing超理性使用者介面設計 - Data-driven A/B Testing
超理性使用者介面設計 - Data-driven A/B Testing
Ying-Hsiang Liao10.6K views
TypeScript 開發實戰:開發即時互動的 html5 websocket 聊天室應用程式 by Will Huang
TypeScript 開發實戰:開發即時互動的 html5 websocket 聊天室應用程式TypeScript 開發實戰:開發即時互動的 html5 websocket 聊天室應用程式
TypeScript 開發實戰:開發即時互動的 html5 websocket 聊天室應用程式
Will Huang11.9K views
A brief introduction to SPDY - 邁向 HTTP/2.0 by Wen-Tien Chang
A brief introduction to SPDY - 邁向 HTTP/2.0A brief introduction to SPDY - 邁向 HTTP/2.0
A brief introduction to SPDY - 邁向 HTTP/2.0
Wen-Tien Chang20.7K views
使用Javascript及HTML5打造協同運作系統 by Hsu Ping Feng
使用Javascript及HTML5打造協同運作系統使用Javascript及HTML5打造協同運作系統
使用Javascript及HTML5打造協同運作系統
Hsu Ping Feng4.6K views
借力使力的乾坤挪移大法-以使用者為中心的設計決策奧妙 by 悠識學院
借力使力的乾坤挪移大法-以使用者為中心的設計決策奧妙 借力使力的乾坤挪移大法-以使用者為中心的設計決策奧妙
借力使力的乾坤挪移大法-以使用者為中心的設計決策奧妙
悠識學院4K views
Webconf2013-非典型貧窮網站維運經驗分享 by Mu-Fan Teng
Webconf2013-非典型貧窮網站維運經驗分享Webconf2013-非典型貧窮網站維運經驗分享
Webconf2013-非典型貧窮網站維運經驗分享
Mu-Fan Teng5.8K views

Similar to JavaScript for backend

Concurrent programming in iOS by
Concurrent programming in iOSConcurrent programming in iOS
Concurrent programming in iOSDongxu Yao
553 views76 slides
Yeoman - A Node.js cli tool for web developers by
Yeoman - A Node.js cli tool for web developersYeoman - A Node.js cli tool for web developers
Yeoman - A Node.js cli tool for web developersCaesar Chi
2K views43 slides
Django deploy by
Django deployDjango deploy
Django deployAndy Dai
1.5K views45 slides
3 d html5 game by
3 d html5 game3 d html5 game
3 d html5 gameYi-Fan Liao
930 views7 slides
Web basic develop mode - Node.js by
Web basic develop mode - Node.jsWeb basic develop mode - Node.js
Web basic develop mode - Node.jsCaesar Chi
604 views37 slides
Web design using compass by
Web design using compassWeb design using compass
Web design using compass貫銘 盛
374 views58 slides

Similar to JavaScript for backend(6)

Concurrent programming in iOS by Dongxu Yao
Concurrent programming in iOSConcurrent programming in iOS
Concurrent programming in iOS
Dongxu Yao553 views
Yeoman - A Node.js cli tool for web developers by Caesar Chi
Yeoman - A Node.js cli tool for web developersYeoman - A Node.js cli tool for web developers
Yeoman - A Node.js cli tool for web developers
Caesar Chi2K views
Django deploy by Andy Dai
Django deployDjango deploy
Django deploy
Andy Dai1.5K views
Web basic develop mode - Node.js by Caesar Chi
Web basic develop mode - Node.jsWeb basic develop mode - Node.js
Web basic develop mode - Node.js
Caesar Chi604 views
Web design using compass by 貫銘 盛
Web design using compassWeb design using compass
Web design using compass
貫銘 盛374 views

More from Caesar Chi

為何技術老人這樣想那樣做? by
為何技術老人這樣想那樣做?為何技術老人這樣想那樣做?
為何技術老人這樣想那樣做?Caesar Chi
105 views121 slides
面試AI技術大進化,加速招聘軟體工程師的全套攻略! by
面試AI技術大進化,加速招聘軟體工程師的全套攻略!面試AI技術大進化,加速招聘軟體工程師的全套攻略!
面試AI技術大進化,加速招聘軟體工程師的全套攻略!Caesar Chi
88 views25 slides
初探工程師升級手冊 2022 by
初探工程師升級手冊 2022初探工程師升級手冊 2022
初探工程師升級手冊 2022Caesar Chi
83 views57 slides
預約及客服 LINE 服務串接大挑戰 by
預約及客服 LINE 服務串接大挑戰預約及客服 LINE 服務串接大挑戰
預約及客服 LINE 服務串接大挑戰Caesar Chi
74 views23 slides
Remote monitoring widget setup and customization by
Remote monitoring  widget setup and customizationRemote monitoring  widget setup and customization
Remote monitoring widget setup and customizationCaesar Chi
101 views26 slides
JS 從 Non-type 到 Type 的愛恨情仇 by
JS 從 Non-type 到 Type 的愛恨情仇JS 從 Non-type 到 Type 的愛恨情仇
JS 從 Non-type 到 Type 的愛恨情仇Caesar Chi
128 views27 slides

More from Caesar Chi(20)

為何技術老人這樣想那樣做? by Caesar Chi
為何技術老人這樣想那樣做?為何技術老人這樣想那樣做?
為何技術老人這樣想那樣做?
Caesar Chi105 views
面試AI技術大進化,加速招聘軟體工程師的全套攻略! by Caesar Chi
面試AI技術大進化,加速招聘軟體工程師的全套攻略!面試AI技術大進化,加速招聘軟體工程師的全套攻略!
面試AI技術大進化,加速招聘軟體工程師的全套攻略!
Caesar Chi88 views
初探工程師升級手冊 2022 by Caesar Chi
初探工程師升級手冊 2022初探工程師升級手冊 2022
初探工程師升級手冊 2022
Caesar Chi83 views
預約及客服 LINE 服務串接大挑戰 by Caesar Chi
預約及客服 LINE 服務串接大挑戰預約及客服 LINE 服務串接大挑戰
預約及客服 LINE 服務串接大挑戰
Caesar Chi74 views
Remote monitoring widget setup and customization by Caesar Chi
Remote monitoring  widget setup and customizationRemote monitoring  widget setup and customization
Remote monitoring widget setup and customization
Caesar Chi101 views
JS 從 Non-type 到 Type 的愛恨情仇 by Caesar Chi
JS 從 Non-type 到 Type 的愛恨情仇JS 從 Non-type 到 Type 的愛恨情仇
JS 從 Non-type 到 Type 的愛恨情仇
Caesar Chi128 views
LINE@ 2.0 offline to online by Caesar Chi
LINE@ 2.0  offline to onlineLINE@ 2.0  offline to online
LINE@ 2.0 offline to online
Caesar Chi2.1K views
Chatbot 智能溝通策 流程規劃與實做 e-Commerce Chatbot - AI strategy and Chat bot user flow by Caesar Chi
Chatbot 智能溝通策 流程規劃與實做 e-Commerce Chatbot - AI strategy and Chat bot user flow Chatbot 智能溝通策 流程規劃與實做 e-Commerce Chatbot - AI strategy and Chat bot user flow
Chatbot 智能溝通策 流程規劃與實做 e-Commerce Chatbot - AI strategy and Chat bot user flow
Caesar Chi1.2K views
PWA and Chatbot - with e-Commerce experience sharing by Caesar Chi
PWA and Chatbot - with e-Commerce experience sharingPWA and Chatbot - with e-Commerce experience sharing
PWA and Chatbot - with e-Commerce experience sharing
Caesar Chi1.2K views
Morden F2E Education - Think of Progressive Web Apps by Caesar Chi
Morden F2E Education - Think of Progressive Web AppsMorden F2E Education - Think of Progressive Web Apps
Morden F2E Education - Think of Progressive Web Apps
Caesar Chi657 views
codecept.js introduce - front end test E2E tool introduce by Caesar Chi
codecept.js introduce - front end test E2E tool introducecodecept.js introduce - front end test E2E tool introduce
codecept.js introduce - front end test E2E tool introduce
Caesar Chi2.2K views
遠端團隊專案建立與管理 remote team management 2016 by Caesar Chi
遠端團隊專案建立與管理 remote team management 2016遠端團隊專案建立與管理 remote team management 2016
遠端團隊專案建立與管理 remote team management 2016
Caesar Chi2.9K views
Introduce Angular2 & render & firebase flow by Caesar Chi
Introduce Angular2 & render & firebase flowIntroduce Angular2 & render & firebase flow
Introduce Angular2 & render & firebase flow
Caesar Chi1.3K views
如何提昇技術力 - 參與技術社群之經驗分享 by Caesar Chi
如何提昇技術力 - 參與技術社群之經驗分享如何提昇技術力 - 參與技術社群之經驗分享
如何提昇技術力 - 參與技術社群之經驗分享
Caesar Chi815 views
html5 & phonegap by Caesar Chi
html5 & phonegaphtml5 & phonegap
html5 & phonegap
Caesar Chi785 views
From devOps to front end Ops, test first by Caesar Chi
From devOps to front end Ops, test firstFrom devOps to front end Ops, test first
From devOps to front end Ops, test first
Caesar Chi20.3K views
Docker with Cloud Service GCPUG by Caesar Chi
Docker with Cloud Service  GCPUGDocker with Cloud Service  GCPUG
Docker with Cloud Service GCPUG
Caesar Chi1.4K views
從失敗中學習打造技術團隊 by Caesar Chi
從失敗中學習打造技術團隊從失敗中學習打造技術團隊
從失敗中學習打造技術團隊
Caesar Chi6.6K views
Docker with Cloud Service by Caesar Chi
Docker with Cloud ServiceDocker with Cloud Service
Docker with Cloud Service
Caesar Chi2.3K views
技術單兵作戰及團隊開發流程差異 by Caesar Chi
技術單兵作戰及團隊開發流程差異技術單兵作戰及團隊開發流程差異
技術單兵作戰及團隊開發流程差異
Caesar Chi1.4K views

JavaScript for backend

  • 1. Javaforcript S Backend Caesar Chi clonn 13年1月14⽇日星期⼀一
  • 2. Some ask Question Question Question 13年1月14⽇日星期⼀一
  • 3. Caesar Chi clonncd 13年1月14⽇日星期⼀一
  • 4. Javafrom Backend Script Caesar Chi clonn 13年1月14⽇日星期⼀一
  • 5. Somethings you Should Know 13年1月14⽇日星期⼀一
  • 6. is {Java Script} 13年1月14⽇日星期⼀一
  • 7. install won t tell detail 13年1月14⽇日星期⼀一
  • 8. Most of them are libraries. Not JavaScript. 13年1月14⽇日星期⼀一
  • 9. How to check 13年1月14⽇日星期⼀一
  • 10. if then 13年1月14⽇日星期⼀一
  • 11. if then 13年1月14⽇日星期⼀一
  • 12. if global === window else 13年1月14⽇日星期⼀一
  • 13. Rule • global equals global that is • global equals window that is 13年1月14⽇日星期⼀一
  • 14. {Java Script} a different parts 13年1月14⽇日星期⼀一
  • 16. jQuery is not defined 13年1月14⽇日星期⼀一
  • 17. k2.js caption.js var abc=123; var abc=456; 13年1月14⽇日星期⼀一
  • 18. k2.js caption.js var abc=123; var abc=456; html script var abc=789; 13年1月14⽇日星期⼀一
  • 19. 載⼊入 無誤 ⽂文字 solved loading JS source issue 13年1月14⽇日星期⼀一
  • 20. • Require • module 13年1月14⽇日星期⼀一
  • 21. {Java Script} follow 13年1月14⽇日星期⼀一
  • 22. {Java Script} has 13年1月14⽇日星期⼀一
  • 23. • manage modules • dependency is fun • publish, install module is easy • more than 8000 modules 13年1月14⽇日星期⼀一
  • 24. {Java Script} ART the parts 13年1月14⽇日星期⼀一
  • 25. { shouldKnow: [ variable, function, Array, Object, “What is this” ] }; 13年1月14⽇日星期⼀一
  • 26. 太極拳只重其義,不重其招, 你忘記所有招式,就練成太極 拳了! 13年1月14⽇日星期⼀一
  • 28. Callback leave your function 13年1月14⽇日星期⼀一
  • 29. JSON is Rock, and it won’t kill you 13年1月14⽇日星期⼀一
  • 30. { response: “hello world” } I am JSON’s friend, NOT Freddy 13年1月14⽇日星期⼀一
  • 31. give {Java Script} Power 13年1月14⽇日星期⼀一
  • 32. give {Java Script} Power 13年1月14⽇日星期⼀一
  • 33. Utility • util 13年1月14⽇日星期⼀一
  • 34. Server • http • https • net • dns 13年1月14⽇日星期⼀一
  • 35. data / files • file system • stream 13年1月14⽇日星期⼀一
  • 36. data / files • file system • stream 13年1月14⽇日星期⼀一
  • 37. process • process • util 13年1月14⽇日星期⼀一
  • 38. {Java Script} is Power 13年1月14⽇日星期⼀一
  • 39. We can DO It! 13年1月14⽇日星期⼀一
  • 40. Nopain gain 13年1月14⽇日星期⼀一
  • 41. “Of Course” with 13年1月14⽇日星期⼀一
  • 42. http://nodetoolbox.com/ http://nodezoo.com/ 13年1月14⽇日星期⼀一
  • 43. Some modules could DO modules 13年1月14⽇日星期⼀一
  • 44. http(s) + spdy 13年1月14⽇日星期⼀一
  • 45. http(s) + spdy 13年1月14⽇日星期⼀一
  • 46. http(s) + file system 13年1月14⽇日星期⼀一
  • 47. http(s) + file system stream 13年1月14⽇日星期⼀一
  • 48. web server restful server 13年1月14⽇日星期⼀一
  • 49. + realtime server 13年1月14⽇日星期⼀一
  • 50. + sass base, like compass 13年1月14⽇日星期⼀一
  • 51. + Web Driver auto test 13年1月14⽇日星期⼀一
  • 53. + request + 13年1月14⽇日星期⼀一
  • 55. This is Y(-) (-)! tw.yah00.com access cookie steal anything :D 13年1月14⽇日星期⼀一
  • 56. This is Y(-) (-)! tw.yah00.com access cookie steal anything :D 13年1月14⽇日星期⼀一
  • 57. Why you USE 13年1月14⽇日星期⼀一
  • 58. {Java Script} 13年1月14⽇日星期⼀一
  • 59. Learning • http://nodejs.tw • http://book.nodejs.tw • http://javascript.tw • http://jsdc.tw 13年1月14⽇日星期⼀一
  • 61. Thanks clonncd 13年1月14⽇日星期⼀一