web前端開發分享-css,js工具篇

來源:互聯網
上載者:User

標籤:

來源:http://www.cnblogs.com/jikey/p/3607133.html

 

web前端開發乃及其它的相關開發,推薦sublime text, webstorm(jetbrains公司系列產品)這兩個的原因在於,有個技術叫emmet, http://docs.emmet.io,而這兩個對他的支援是:

sublime text 是所有編輯器裡邊支援emmet比較好的的唯一一款。

webstorm是所有編輯器裡邊唯一內建emmet的一款,並且將emmet的精神往前推動的一款。

  phpstorm,idea包括所有webstorm的功能。只是phpstorm是針對phper的,idea是針對javaer,webstorm針對前端er。 

他們的詳細對比: http://www.36ria.com/5884

 

一. css工具:

1. emmet http://docs.emmet.io/

a. 可以以外掛程式的形式安裝在dreamweaver,notepad++,editplus,sublime各個編輯器上。

http://www.qianduan.net/zen-coding-a-new-way-to-write-html-code.html

http://www.qianduan.net/the-zen-coding-renamed-as-emmet.html

http://www.qianduan.net/zen-coding-update-to-0-7.html

http://www.qianduan.net/zen-coding-resources-to-update.html

http://www.qianduan.net/zen-coding-for-dreamweaver-plug-in-tutorial.html

emmet在sublime上的效果:

1). css :他與其它編輯器的區別在於細節上,比如ctrl,alt+方向鍵可以修和裡邊的數值

2). html 效果:

3). sublime的emmet規則修改:

packages->Emmet->emmet->snippets.json

b. 只有一個例外jetbrain公司的產品線:webstorm,phpstorm,intellij idea都是內建的,不需要安裝。

1).

寫js的效果:

2). webstorm的emmet規則修改:Files -> settings -> Live Templates

2. css壓縮辦法:

a. 通過正則五步替換法,適用於任何編輯器:

http://www.cnblogs.com/sky000/archive/2010/12/22/1913719.html

b. 模組化工具

二. js工具:

1. 壓縮等:

http://www.yulonghu.com/?post=5

在線壓縮

http://tools.css-js.com/

在線壓縮

http://tool.oschina.net/

工具集

2. 以emmet的方式開發js,php,jsp,java and so on。

http://www.cnblogs.com/jikey/archive/2012/03/28/2420704.html

http://www.cnblogs.com/jikey/archive/2012/06/14/2549347.html

3. firebug,chrome調試工具的使用: 

html、css和js查看和調試:
支援在位修改(即使ctrl+s,也不會修改源碼)
如果編輯就不能用這邊的工具啦。自己找對應的編輯工具(+支援文法高亮+文法認證+文法提示+快速完成)

-------通用
js調試工具Console命令詳解
http://www.jb51.net/article/56504.htm

JavaScript調試技巧之console.log()詳解
http://www.jb51.net/article/48233.htm


-------chrome 瀏覽器 (這個最好)
F12快速鍵也可以呼叫出來
在Sources裡面斷點調試
在console裡面輸入“alert(‘hello world‘)”後,按下斷行符號鍵,就調試代碼了

作為Web開發人員,我為什麼喜歡Google Chrome瀏覽器
http://www.cnblogs.com/QLeelulu/archive/2011/08/28/2156402.html

Chrome的JS調試工具
http://www.360doc.com/content/14/0620/14/12278201_388327756.shtml

查看html元素繫結的事件與方法的利器
http://www.cnblogs.com/xiaoyao2011/p/3447421.html


用Chrome開發人員工具做JavaScript效能分析
http://blog.jobbole.com/31178/

使用Chrome DevTools的Timeline和Profiles提高Web應用程式的效能
http://www.oschina.net/translate/performance-optimisation-with-timeline-profiles

Android上的遠端偵錯
http://www.seejs.com/archives/296

chrome console 命令詳解
https://developers.google.com/chrome-developer-tools/docs/commandline-api 看?

chrome移動版調試
https://developers.google.com/chrome-developer-tools/docs/mobile-emulation 看?

用Google(Chrome)瀏覽器來當手機模擬器
http://blog.moocss.com/code-snippets/mobile-web-code-snippets/1384.html 看?

綜合瀏覽器開發工具
http://jinlong.github.io/blog/2013/08/29/devtoolsecrets/ 看?

Chrome神器Vimium快速鍵學習記錄
http://www.cppblog.com/deercoder/archive/2011/10/22/158886.html 看?

Chrome 開發工具 Workspace 使用
http://www.iinterest.net/2014/05/09/chrome-dev-tool-workspace/ 看?

 

-------IE 瀏覽器
IE Developer Tools
F12快速鍵也可以呼叫出來
能調試各個版本瀏覽器和不同瀏覽器

IETester-同時擁有IE6、IE7、IE8(Vista相容)
主要用於Internet Explorer 瀏覽器各個版本的頁面呈現測試


IE8“開發人員工具”使用詳解上(各級菜單詳解)
http://www.cnblogs.com/JustinYoung/archive/2009/03/24/kaifarenyuangongju.html

IE8"開發人員工具"使用詳解下(瀏覽器模式、文字模式、JavaScript調試、探查器)
http://www.cnblogs.com/JustinYoung/archive/2009/04/03/kaifarenyuangongju2.html

常用JS調試工具使用方法,幫你快速定位問題
http://www.360doc.com/content/14/0620/14/12278201_388326976.shtml

-------Firefox瀏覽器的
Firebug

Firebug入門指南
http://www.ruanyifeng.com/blog/2008/06/firebug_tutorial.html

常用JS調試工具使用方法,幫你快速定位問題
http://www.360doc.com/content/14/0620/14/12278201_388326976.shtml

Firebug控制台詳解
http://www.ruanyifeng.com/blog/2011/03/firebug_console_tutorial.html

 

 

 

4. js參考手冊:

w3c手冊

5. 其它開發工具:

新手推薦:editplus,vim

團隊開發:

webstorm, phpstorm(phper), pycharm(pythoner), intellij idea(javaer).

http://note.youdao.com/share/?id=2d7ff03aeca64808fdc0f394ffb520bf&type=notebook

6. 模組化開發grunt

http://www.gruntjs.org/article/getting_started.html

入門

http://stackoverflow.com/questions/17059487/how-to-setup-grunt-in-webstorm-on-windows

擴充工具grunt

http://www.gruntjs.org/article/home.html

http://www.cnblogs.com/tugenhua0707/p/3497488.html

前端項目構建工具---Grunt

http://javascript.ruanyifeng.com/tool/grunt.html

http://www.infoq.com/cn/articles/GruntJs

http://blog.segmentfault.com/frankfang/1190000000372612

享受 Grunt

http://www.cnblogs.com/yexiaochai/p/3603389.html

http://www.cnblogs.com/yexiaochai/p/3594561.html

葉小釵 第一彈

7. gulpjs

http://gulpjs.com

官網

http://www.tuicool.com/articles/n2Uj2y

教程

http://gratimax.github.io/search-gulp-plugins

gulp plugins

https://github.com/gulpjs/gulp

http://blog.segmentfault.com/laopopo/1190000000372547?page=1

前端構建工具gulp入門教程

http://zhuanlan.zhihu.com/TLA42/19691575

Gulp 另一種自動化流水線

三:jq工具

1. oschina參考手冊大全。

2. w3c_all.chm,w3cschool離線版,包含了javascript,jquery,php,sql,html,css2.x,3.x的手冊。

 

web前端開發分享-css,js工具篇

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.