Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
網頁開發工具 草稿吧
Search
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
danny
June 05, 2014
96
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
網頁開發工具 草稿吧
danny
June 05, 2014
Transcript
33 slides
網⾴頁開發⼯工具介紹 國網中⼼心 網路與資安組 葉永信 2014/06/30
網⾴頁開發的歷史 HTML + CGI + JAVASCRIT + Java Applet! ASP/JSP/PHP
+ Database + Flash! AJAX + XML + ASP.Net/PHP/JSP! HTML5 + CSS3 + WebSocket +javascript
網⾴頁開發編輯器演進
None
None
None
None
None
None
網⾴頁排版技術 ! frame! iframe! table! div + CSS! RWD SinglePage
歷史中的網⾴頁畫⾯面
None
None
None
None
None
None
None
None
現今網⾴頁排版
None
None
None
None
網⾴頁開發⾯面臨了什麼問題 ⾏行動裝置尺⼨寸過多! 開發時期如何測試預覽! 如何寫⼀一次⽤用在多個尺⼨寸上
GRUNT! the javascript task runner
⽩白話的說,它就是make
它可以為我們做什麼︖? 去掉開發時期你加入的註解! 編輯檔案時,讓瀏覽器⾃自動reload! ⾃自動編譯scss成css! ⾃自動將多張⼩小圖合成⼀一張⼤大圖! ⾃自動OOOO
GRUNT How to yum install nodejs! npm install -g grunt-cli!
在你的專案⽬目錄下npm install grunt --save-dev
編寫 gruntfile.js module.exports = function(grunt) {! grunt.initConfig({! watch: {! options:
{ livereload: true },! files: ['*/*.php', '*/*.html', '*/*.js', '*/*.css'],! }! });! grunt.loadNpmTasks('grunt-contrib-watch');! grunt.registerTask('default', ['watch']);! };
在你的專案⽬目錄下執⾏行grunt
live demo
–Yeh, Yung-Hsin “The end”
More Decks by danny
See All by danny
geolocation & html5
danny
0
120
Featured
See All Featured
Taking LLMs out of the black box: A practical guide to human-in-the-loop distillation
inesmontani
PRO
3
2.5k
Improving Core Web Vitals using Speculation Rules API
sergeychernyshev
21
1.7k
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
508
140k
State of Search Keynote: SEO is Dead Long Live SEO
ryanjones
0
360
How STYLIGHT went responsive
nonsquared
100
6.4k
Designing Experiences People Love
moore
143
24k
Automating Front-end Workflow
addyosmani
1370
210k
JAMstack: Web Apps at Ludicrous Speed - All Things Open 2022
reverentgeek
1
680
Visual Storytelling: How to be a Superhuman Communicator
reverentgeek
2
750
New Earth Scene 8
popppiees
5
2.9k
Paper Plane (Part 1)
katiecoart
PRO
3
12k
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
333
23k