Soumettre la recherche
Mettre en ligne
龍華大學前端技術分享 Part1
•
0 j'aime
•
158 vues
Jia-Long Yeh
Suivre
1. 介紹sublime text以及Emmet套件 2. 介紹knockoutJS以及MVVM pattern
Lire moins
Lire la suite
Ingénierie
Signaler
Partager
Signaler
Partager
1 sur 38
Télécharger maintenant
Télécharger pour lire hors ligne
Recommandé
Sphinx как база данных
Sphinx как база данных
Александр Ежов
Realm Java
Realm Java
Leonardo YongUk Kim
Kiosk / PHP
Kiosk / PHP
Basuke Suzuki
Shankar's mongo db presentation
Shankar's mongo db presentation
Shankar Kamble
Learning How To Use Jquery #5
Learning How To Use Jquery #5
Takahiro Yoshimura
PhDigital Bootcamp: Web Development Concepts
PhDigital Bootcamp: Web Development Concepts
Cindy Royal
Vim Script Programming
Vim Script Programming
Lin Yo-An
Happy Go Programming
Happy Go Programming
Lin Yo-An
Recommandé
Sphinx как база данных
Sphinx как база данных
Александр Ежов
Realm Java
Realm Java
Leonardo YongUk Kim
Kiosk / PHP
Kiosk / PHP
Basuke Suzuki
Shankar's mongo db presentation
Shankar's mongo db presentation
Shankar Kamble
Learning How To Use Jquery #5
Learning How To Use Jquery #5
Takahiro Yoshimura
PhDigital Bootcamp: Web Development Concepts
PhDigital Bootcamp: Web Development Concepts
Cindy Royal
Vim Script Programming
Vim Script Programming
Lin Yo-An
Happy Go Programming
Happy Go Programming
Lin Yo-An
Getting Started with MongoDB
Getting Started with MongoDB
Michael Redlich
Happy Go Programming Part 1
Happy Go Programming Part 1
Lin Yo-An
Unleash your inner console cowboy
Unleash your inner console cowboy
Kenneth Geisshirt
Pig Hands On November
Pig Hands On November
Ryan Bosshart
Latinoware
Latinoware
kchodorow
Володимир Гоцик. Getting maximum of python, django with postgres 9.4. PyCon B...
Володимир Гоцик. Getting maximum of python, django with postgres 9.4. PyCon B...
Alina Dolgikh
Parse, scale to millions
Parse, scale to millions
Florent Vilmart
FIFA fails, Guy Kawasaki and real estate in SF - find out about all three by ...
FIFA fails, Guy Kawasaki and real estate in SF - find out about all three by ...
Elżbieta Bednarek
Ruby is an Acceptable Lisp
Ruby is an Acceptable Lisp
Astrails
Computational Social Science, Lecture 09: Data Wrangling
Computational Social Science, Lecture 09: Data Wrangling
jakehofman
PDF.JS at SwissJeese 2012
PDF.JS at SwissJeese 2012
Julian Viereck
Joshua Wehner - Tomorrows Programming Languages Today
Joshua Wehner - Tomorrows Programming Languages Today
Refresh Events
Jpa hibernate and building customize library (knowledge share)
Jpa hibernate and building customize library (knowledge share)
Yuhao Zhang
Building Awesome CLI apps in Go
Building Awesome CLI apps in Go
Steven Francia
Building Your First App: An Introduction to MongoDB
Building Your First App: An Introduction to MongoDB
Great Wide Open
Value protocols and codables
Value protocols and codables
Florent Vilmart
Cache and Drupal
Cache and Drupal
Kornel Lugosi
RediSearch Mumbai Meetup 2020
RediSearch Mumbai Meetup 2020
⚡️ Vikram Sahu
Swift 4 : Codable
Swift 4 : Codable
SeongGyu Jo
Packets Falling From The Air
Packets Falling From The Air
Jeremy Stinson
十分鐘看懂Landing page
十分鐘看懂Landing page
Jia-Long Yeh
Architect,
Architect,
JuanRamon Acosta
Contenu connexe
Tendances
Getting Started with MongoDB
Getting Started with MongoDB
Michael Redlich
Happy Go Programming Part 1
Happy Go Programming Part 1
Lin Yo-An
Unleash your inner console cowboy
Unleash your inner console cowboy
Kenneth Geisshirt
Pig Hands On November
Pig Hands On November
Ryan Bosshart
Latinoware
Latinoware
kchodorow
Володимир Гоцик. Getting maximum of python, django with postgres 9.4. PyCon B...
Володимир Гоцик. Getting maximum of python, django with postgres 9.4. PyCon B...
Alina Dolgikh
Parse, scale to millions
Parse, scale to millions
Florent Vilmart
FIFA fails, Guy Kawasaki and real estate in SF - find out about all three by ...
FIFA fails, Guy Kawasaki and real estate in SF - find out about all three by ...
Elżbieta Bednarek
Ruby is an Acceptable Lisp
Ruby is an Acceptable Lisp
Astrails
Computational Social Science, Lecture 09: Data Wrangling
Computational Social Science, Lecture 09: Data Wrangling
jakehofman
PDF.JS at SwissJeese 2012
PDF.JS at SwissJeese 2012
Julian Viereck
Joshua Wehner - Tomorrows Programming Languages Today
Joshua Wehner - Tomorrows Programming Languages Today
Refresh Events
Jpa hibernate and building customize library (knowledge share)
Jpa hibernate and building customize library (knowledge share)
Yuhao Zhang
Building Awesome CLI apps in Go
Building Awesome CLI apps in Go
Steven Francia
Building Your First App: An Introduction to MongoDB
Building Your First App: An Introduction to MongoDB
Great Wide Open
Value protocols and codables
Value protocols and codables
Florent Vilmart
Cache and Drupal
Cache and Drupal
Kornel Lugosi
RediSearch Mumbai Meetup 2020
RediSearch Mumbai Meetup 2020
⚡️ Vikram Sahu
Swift 4 : Codable
Swift 4 : Codable
SeongGyu Jo
Tendances
(19)
Getting Started with MongoDB
Getting Started with MongoDB
Happy Go Programming Part 1
Happy Go Programming Part 1
Unleash your inner console cowboy
Unleash your inner console cowboy
Pig Hands On November
Pig Hands On November
Latinoware
Latinoware
Володимир Гоцик. Getting maximum of python, django with postgres 9.4. PyCon B...
Володимир Гоцик. Getting maximum of python, django with postgres 9.4. PyCon B...
Parse, scale to millions
Parse, scale to millions
FIFA fails, Guy Kawasaki and real estate in SF - find out about all three by ...
FIFA fails, Guy Kawasaki and real estate in SF - find out about all three by ...
Ruby is an Acceptable Lisp
Ruby is an Acceptable Lisp
Computational Social Science, Lecture 09: Data Wrangling
Computational Social Science, Lecture 09: Data Wrangling
PDF.JS at SwissJeese 2012
PDF.JS at SwissJeese 2012
Joshua Wehner - Tomorrows Programming Languages Today
Joshua Wehner - Tomorrows Programming Languages Today
Jpa hibernate and building customize library (knowledge share)
Jpa hibernate and building customize library (knowledge share)
Building Awesome CLI apps in Go
Building Awesome CLI apps in Go
Building Your First App: An Introduction to MongoDB
Building Your First App: An Introduction to MongoDB
Value protocols and codables
Value protocols and codables
Cache and Drupal
Cache and Drupal
RediSearch Mumbai Meetup 2020
RediSearch Mumbai Meetup 2020
Swift 4 : Codable
Swift 4 : Codable
En vedette
Packets Falling From The Air
Packets Falling From The Air
Jeremy Stinson
十分鐘看懂Landing page
十分鐘看懂Landing page
Jia-Long Yeh
Architect,
Architect,
JuanRamon Acosta
Heuristic usability evaluation of Zaman University Classroom System
Heuristic usability evaluation of Zaman University Classroom System
Bob Carter
The Boltzmann Equation in Cosmology
The Boltzmann Equation in Cosmology
Jia-Long Yeh
龍華大學前端技術分享 Part2
龍華大學前端技術分享 Part2
Jia-Long Yeh
Greetings
Greetings
james4a
Sermon Slide Deck: "Waging War by the Spirit" (Galatians 5:16-25)
Sermon Slide Deck: "Waging War by the Spirit" (Galatians 5:16-25)
New City Church
Sermon Slide Deck: "Living in Light of Eternity" (Luke 12:41-48)
Sermon Slide Deck: "Living in Light of Eternity" (Luke 12:41-48)
New City Church
Fundição por centrifugação
Fundição por centrifugação
Alex Lourenco Dias
Collcom2005 agent basedft
Collcom2005 agent basedft
JuanRamon Acosta
Ipdps intel dynreconf
Ipdps intel dynreconf
JuanRamon Acosta
Agent basedqos
Agent basedqos
JuanRamon Acosta
Greetings
Greetings
james4a
Sermon Slide Deck: "The Relentless Revolution" (Luke 13:18-21)
Sermon Slide Deck: "The Relentless Revolution" (Luke 13:18-21)
New City Church
Introductionto agents
Introductionto agents
JuanRamon Acosta
Sermon Slide Deck: "The Anatomy of Sin's Seduction" (James 1:13-15)
Sermon Slide Deck: "The Anatomy of Sin's Seduction" (James 1:13-15)
New City Church
En vedette
(17)
Packets Falling From The Air
Packets Falling From The Air
十分鐘看懂Landing page
十分鐘看懂Landing page
Architect,
Architect,
Heuristic usability evaluation of Zaman University Classroom System
Heuristic usability evaluation of Zaman University Classroom System
The Boltzmann Equation in Cosmology
The Boltzmann Equation in Cosmology
龍華大學前端技術分享 Part2
龍華大學前端技術分享 Part2
Greetings
Greetings
Sermon Slide Deck: "Waging War by the Spirit" (Galatians 5:16-25)
Sermon Slide Deck: "Waging War by the Spirit" (Galatians 5:16-25)
Sermon Slide Deck: "Living in Light of Eternity" (Luke 12:41-48)
Sermon Slide Deck: "Living in Light of Eternity" (Luke 12:41-48)
Fundição por centrifugação
Fundição por centrifugação
Collcom2005 agent basedft
Collcom2005 agent basedft
Ipdps intel dynreconf
Ipdps intel dynreconf
Agent basedqos
Agent basedqos
Greetings
Greetings
Sermon Slide Deck: "The Relentless Revolution" (Luke 13:18-21)
Sermon Slide Deck: "The Relentless Revolution" (Luke 13:18-21)
Introductionto agents
Introductionto agents
Sermon Slide Deck: "The Anatomy of Sin's Seduction" (James 1:13-15)
Sermon Slide Deck: "The Anatomy of Sin's Seduction" (James 1:13-15)
Similaire à 龍華大學前端技術分享 Part1
Sublime Text Round-up
Sublime Text Round-up
Pagepro
Vim - Amazing Editor for DBAs
Vim - Amazing Editor for DBAs
Leyi (Kamus) Zhang
Javascript done right - Open Web Camp III
Javascript done right - Open Web Camp III
Dirk Ginader
Sublime Text3 for Django Development
Sublime Text3 for Django Development
Willy Liu
Protect Your Payloads: Modern Keying Techniques
Protect Your Payloads: Modern Keying Techniques
Leo Loobeek
CPAN 模組二三事
CPAN 模組二三事
Lin Yo-An
Python教程 / Python tutorial
Python教程 / Python tutorial
ee0703
HTML5 History & Features
HTML5 History & Features
Dave Ross
Gashuku Presen
Gashuku Presen
Daisuke Mori
Gashuku Presen
Gashuku Presen
guest3f1f27
Go Web Development
Go Web Development
Cheng-Yi Yu
플렉스팀 프론트엔드 기술 스택의 이해: `lint`, `build`, `run`
플렉스팀 프론트엔드 기술 스택의 이해: `lint`, `build`, `run`
Heejong Ahn
Learning How To Use Jquery #3
Learning How To Use Jquery #3
Takahiro Yoshimura
Overview of the Hive Stinger Initiative
Overview of the Hive Stinger Initiative
Modern Data Stack France
PHP記帳網頁教材(第一頁是空白的)
PHP記帳網頁教材(第一頁是空白的)
TaiShunHuang
On Web Browsers
On Web Browsers
Hajime Morrita
On the Edge Systems Administration with Golang
On the Edge Systems Administration with Golang
Chris McEniry
Django at Scale
Django at Scale
bretthoerner
Python.pptx
Python.pptx
AshaS74
Python in 90 minutes
Python in 90 minutes
Bardia Heydari
Similaire à 龍華大學前端技術分享 Part1
(20)
Sublime Text Round-up
Sublime Text Round-up
Vim - Amazing Editor for DBAs
Vim - Amazing Editor for DBAs
Javascript done right - Open Web Camp III
Javascript done right - Open Web Camp III
Sublime Text3 for Django Development
Sublime Text3 for Django Development
Protect Your Payloads: Modern Keying Techniques
Protect Your Payloads: Modern Keying Techniques
CPAN 模組二三事
CPAN 模組二三事
Python教程 / Python tutorial
Python教程 / Python tutorial
HTML5 History & Features
HTML5 History & Features
Gashuku Presen
Gashuku Presen
Gashuku Presen
Gashuku Presen
Go Web Development
Go Web Development
플렉스팀 프론트엔드 기술 스택의 이해: `lint`, `build`, `run`
플렉스팀 프론트엔드 기술 스택의 이해: `lint`, `build`, `run`
Learning How To Use Jquery #3
Learning How To Use Jquery #3
Overview of the Hive Stinger Initiative
Overview of the Hive Stinger Initiative
PHP記帳網頁教材(第一頁是空白的)
PHP記帳網頁教材(第一頁是空白的)
On Web Browsers
On Web Browsers
On the Edge Systems Administration with Golang
On the Edge Systems Administration with Golang
Django at Scale
Django at Scale
Python.pptx
Python.pptx
Python in 90 minutes
Python in 90 minutes
Dernier
Coefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptx
Asutosh Ranjan
IMPLICATIONS OF THE ABOVE HOLISTIC UNDERSTANDING OF HARMONY ON PROFESSIONAL E...
IMPLICATIONS OF THE ABOVE HOLISTIC UNDERSTANDING OF HARMONY ON PROFESSIONAL E...
RajaP95
Call Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service Nashik
Call Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service Nashik
Call Girls in Nagpur High Profile
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
RajkumarAkumalla
Processing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptx
pranjaldaimarysona
Porous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writing
rakeshbaidya232001
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
Soham Mondal
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur High Profile
Roadmap to Membership of RICS - Pathways and Routes
Roadmap to Membership of RICS - Pathways and Routes
M Maged Hegazy, LLM, MBA, CCP, P3O
SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )
Tsuyoshi Horigome
the ladakh protest in leh ladakh 2024 sonam wangchuk.pptx
the ladakh protest in leh ladakh 2024 sonam wangchuk.pptx
humanexperienceaaa
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
KurinjimalarL3
★ CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR
★ CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR
9953056974 Low Rate Call Girls In Saket, Delhi NCR
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Dr.Costas Sachpazis
UNIT-V FMM.HYDRAULIC TURBINE - Construction and working
UNIT-V FMM.HYDRAULIC TURBINE - Construction and working
rknatarajan
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur High Profile
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Dr.Costas Sachpazis
College Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
Call Girls in Nagpur High Profile
Extrusion Processes and Their Limitations
Extrusion Processes and Their Limitations
120cr0395
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
soniya singh
Dernier
(20)
Coefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptx
IMPLICATIONS OF THE ABOVE HOLISTIC UNDERSTANDING OF HARMONY ON PROFESSIONAL E...
IMPLICATIONS OF THE ABOVE HOLISTIC UNDERSTANDING OF HARMONY ON PROFESSIONAL E...
Call Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service Nashik
Call Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service Nashik
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
Processing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptx
Porous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writing
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Roadmap to Membership of RICS - Pathways and Routes
Roadmap to Membership of RICS - Pathways and Routes
SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )
the ladakh protest in leh ladakh 2024 sonam wangchuk.pptx
the ladakh protest in leh ladakh 2024 sonam wangchuk.pptx
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
★ CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR
★ CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
UNIT-V FMM.HYDRAULIC TURBINE - Construction and working
UNIT-V FMM.HYDRAULIC TURBINE - Construction and working
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
College Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
Extrusion Processes and Their Limitations
Extrusion Processes and Their Limitations
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
龍華大學前端技術分享 Part1
1.
2013-12-24
2.
葉佳隆 台灣大學物理研究所 業餘Web Developer 興趣-網頁前端技術 Who am I
?
3.
4.
5.
6.
工欲善其事, 必先利其器。
7.
Sublime Text 2
8.
Cross Platform
9.
Awesome Feature
10.
Mini Map
11.
Multi-Selection • Ctrl +
Left Mouse Click • Select Word → Ctrl + D • Select Line → Ctrl + Shift + D
12.
Go To Anything •
Ctrl + P • Fuzzy Search of Opened Files • Go to line → :num of line • Go to symbol → Ctrl + R or @symbol
13.
Command Palette • Ctrl
+ Shift + P • Set Syntax • Command of package • Key-Binding • Setting
14.
Python Console • Ctrl
+ `
15.
Search • Search in
current file → Ctrl + F • Search in files → Ctrl + Shift + F • Regular Expression Supported
16.
Project Save • Menu
Bar -> Project Save
17.
Package Control
18.
Install • Execute following
command in Console. (which we can find in https://sublime.wbond.net/installation#st2.) • import urllib2,os; pf='Package Control.sublime- package'; ipp = sublime.installed_packages_path(); os.makedirs( ipp ) if not os.path.exists(ipp) else None; urllib2.install_opener( urllib2.build_opener( ur llib2.ProxyHandler( ))); open( os.path.join( ipp, pf), 'wb' ).write( urllib2.urlopen( 'http:// sublime.wbond.net/' +pf.replace( ' ','%20' )).read()); print( 'Please restart Sublime Text to finish installation’)
19.
Usage • Command Palette(ctrl
+ shift + P) → type “package control” • install package • remove package • list installed packages
20.
Notes • Documentation • http://docs.sublimetext.tw/ •
Facebook • https://www.facebook.com/SublimeTextTW • Shortcut • win/linux • http://docs.sublimetext.info/en/latest/reference/keyboard_shortcuts_win.html • https://gist.github.com/hileon/1311735 • mac • http://docs.sublimetext.info/en/latest/reference/keyboard_shortcuts_osx.html
21.
Excise • Install package
control • install the package “Emmet”
22.
Emmet • Ultra-fast coding
on HTML • CSS selector style • Support lot of editors (e.g. Coda, Vim, Notepad++, TextMate…) • http://emmet.io/
23.
Emmet for HTML •
use “tab” to convert CSS-selector into HTML tags. • div → <div></div>
24.
Nesting operators • “>”
: Child • “+” : Sibling • “^” : Climb-up • “*” : Multiplication • “()” : Group
25.
Attribute operators • “.”
: Class • “#” : Id • “[]” : Custom attribute • “{}” : Text
26.
Implicit tag name •
div ➝ div • span ➝ span • ul, ol ➝ li • table ➝ tr • tr ➝ td • select ➝ option
27.
Lorem • >lorem • >lorem100
28.
Emmet for CSS •
w ➝ width: ; • w10 ➝ width: 10px; • w10-20 ➝ width: 10px 20px; • w10e20p ➝ width: 10em 20%;
29.
Fuzzy Search • ov:h
➝ overflow: hidden; • ov-h ➝ overflow: hidden; • ovh ➝ overflow: hidden; • oh ➝ overflow: hidden;
30.
Emmet Action • Wrap
with Abbreviation • Remove Tag • Go To Matching Pair
31.
Notes • Cheat-Sheet • http://docs.emmet.io/cheat-sheet/ •
Emmet Documentation • http://docs.emmet.io/ • You may deal with key-binding issue. • https://github.com/sergeche/emmet-sublime
32.
If you want
to construct…
33.
Knockout • MVVM Pattern •
Combination of View and ViewModel • Separation of concerns(SOC)
34.
MVVM View Model ViewModel
35.
Import knockout <script type='text/javascript'
src="./knockout-3.0.0.js"></script>
36.
data-bind <p>First name: <input
data-bind="value: firstName" /></p> function ViewModel() { var self = this; self.firstName = ko.observable('Sean'); }; Attribute
37.
Binding $(function () { //
Bind View and ViewModel ko.applyBindings(new ViewModel()); })
38.
observableArray • example
Télécharger maintenant