由买买提看人间百态

topics

全部话题 - 话题: minified
1 (共1页)
h******b
发帖数: 6055
1
来自主题: Programming版 - angular是否淘汰jquery了
这篇文章真心没水平。angular minify已经有不少work around了。 2.0可以彻底解决
这个问题。
http://chrislarson.me/blog/how-minify-angularjs-scripts
用grunt和ngmin/uglify可以基本上一键完成minify/cache,在手机上速度提升不小。
http://forum.ionicframework.com/t/compressed-code-is-fast/2225
x***u
发帖数: 297
2
来自主题: Programming版 - Python真是一种长得很丑的语言
什么时候 JS 可以和“贵为”放在同一行哪?
This is javascript. If you put big wheels and a racing stripe on a golf cart
, it's still a
fucking golf cart.
minify 就跟裹脚一样,极显小家子气。为了15%的节省,不想办法提高代码效率,反而
在white space上扣扣索索。要不这样,所有的变量都用a, b, c, d, a1, b1 ... 来,
说不定还能节省10%。

javascript取消分号是一种傻逼自杀的反传统行为。javascript之所以贵为C族语言一
员,就是因为有分号和括号,而且javascript之所以能够被用于前端作为脚本,就是因
为有了分号和括号可以被压缩minify。现在这么瞎写的新程序员都是因为没有接触过其
他C族语言(C, C , Java, C#, Objective-C, PHP, Perl等等),从python或者其他
所谓的新语言转过来的菜菜。
h******b
发帖数: 6055
3
来自主题: Programming版 - Python真是一种长得很丑的语言
minify/uglify也是一定程度上的代码保护。
最少比裸奔强,增加剽窃成本。
反正我个人看到minify/uglify以后的代码是没动力抄袭了。
J*****v
发帖数: 314
4
来自主题: JobHunting版 - PHP怎么这么火啊?
The most popular Framework technologies on the internet.
Name Websites Usage 10k %
PHP 28,065,259 32.36
ASP.NET 10,206,517 19.43
Shockwave Flash Embed 7,461,998 7.94
Frontpage Extensions 4,172,152 2.32
Adobe Dreamweaver 3,496,944 3.33
DAV 1,654,660 1.6
Perl 1,488,459 0.87
Microsoft Frontpage 882,701 0.36
J2EE 822,847 6.87
ASP.NET Ajax 705,767 5.24
Python 456,616 0.28
Ruby on Rails 240,309 2.12
Adobe ColdFusion 204,0... 阅读全帖
C**********L
发帖数: 246
5
来自主题: Florida版 - Free LEGOLAND admission
*Free LEGOLAND admission is only available to registered VIP Members and a
valid VIP Card must be shown upon arrival. VIP Members must print and
present this
original voucher, a valid VIP Card or Welcome VIP Email, and photo ID upon
arrival at LEGOLAND to receive one free one-day admission to LEGOLAND Parks.
New
VIP members who have not yet received their VIP cards may present a copy of
their VIP Welcome Email instead. Offer is valid for two (2) registered VIP
Members
per household only, with up... 阅读全帖
W*******e
发帖数: 1268
6
来自主题: WashingtonDC版 - 这些软件编程你用过那些?
好像我用过的不多
The most popular Framework technologies on the internet.
Name Websites Usage 10k %
PHP 28,065,259 32.36 - 用过
ASP.NET 10,206,517 19.43 - 用过
Shockwave Flash Embed 7,461,998 7.94 - 用过
Frontpage Extensions 4,172,152 2.32
Adobe Dreamweaver 3,496,944 3.33 - 用过
DAV 1,654,660 1.6
Perl 1,488,459 0.87 - 用过
Microsoft Frontpage 882,701 0.36 - 用过
J2EE 822,847 6.87 - 用过
ASP.NET Ajax 705,767 5.24
Python 456,616 0.28
Ruby on Rails ... 阅读全帖
a*w
发帖数: 4495
7
来自主题: BuildingWeb版 - 有一事不明请教
你看到的是不是人家minify过的?
d******8
发帖数: 2191
8
来自主题: BuildingWeb版 - 有一事不明请教
minify是不是也为了避免抄袭呢?
J*****v
发帖数: 314
9
来自主题: CS版 - PHP真火啊
The most popular Framework technologies on the internet.
Name Websites Usage 10k %
PHP 28,065,259 32.36
ASP.NET 10,206,517 19.43
Shockwave Flash Embed 7,461,998 7.94
Frontpage Extensions 4,172,152 2.32
Adobe Dreamweaver 3,496,944 3.33
DAV 1,654,660 1.6
Perl 1,488,459 0.87
Microsoft Frontpage 882,701 0.36
J2EE 822,847 6.87
ASP.NET Ajax 705,767 5.24
Python 456,616 0.28
Ruby on Rails 240,309 2.12
Adobe ColdFusion 204,0... 阅读全帖
J*****v
发帖数: 314
10
来自主题: Java版 - PHP真火啊
source: http://trends.builtwith.com/framework/top
The most popular Framework technologies on the internet.
Name Websites Usage 10k %
PHP 28,065,259 32.36
ASP.NET 10,206,517 19.43
Shockwave Flash Embed 7,461,998 7.94
Frontpage Extensions 4,172,152 2.32
Adobe Dreamweaver 3,496,944 3.33
DAV 1,654,660 1.6
Perl 1,488,459 0.87
Microsoft Frontpage 882,701 0.36
J2EE 822,847 6.87
ASP.NET Ajax 705,767 5.24
Python 456,616 0.28
Ruby on ... 阅读全帖
r****y
发帖数: 26819
11
来自主题: Programming版 - google 今天的mixer图标
minified的吧
J*****v
发帖数: 314
12
来自主题: Programming版 - PHP真火啊
source: http://trends.builtwith.com/framework/top
The most popular Framework technologies on the internet.
Name Websites Usage 10k %
PHP 28,065,259 32.36
ASP.NET 10,206,517 19.43
Shockwave Flash Embed 7,461,998 7.94
Frontpage Extensions 4,172,152 2.32
Adobe Dreamweaver 3,496,944 3.33
DAV 1,654,660 1.6
Perl 1,488,459 0.87
Microsoft Frontpage 882,701 0.36
J2EE 822,847 6.87
ASP.NET Ajax 705,767 5.24
Python 456,616 0.28
Ruby on ... 阅读全帖
c***d
发帖数: 996
13
来自主题: Programming版 - 你们好天真啊
现在随便一个网页minify之后的js还要一个兆, 后边没有十几万行的js是不要想了。
i**i
发帖数: 1500
14
来自主题: Programming版 - node express.js如何package
minify / compress 一下够不够?
l**********n
发帖数: 8443
15
来自主题: Programming版 - angular怎么解决script loading的
I guess it would concatenate all the files, minify it, then include just one
file. of course, you can dynamically load other files using Labjs,
requirejs etc. 总之是个折中的方案。
z****e
发帖数: 54598
16
来自主题: Programming版 - COULD SERVER-SIDE DART REPLACE NODE.JS?
http://www.centurylinklabs.com/could-server-side-dart-replace-n
Could Server-Side Dart Replace Node.js?
Dart is a Google-produced programming language that has slowly been gaining
traction, particularly since its 1.0 release last year. While Dart has thus
far been seen as a promising alternative to JavaScript in the browser, I’d
like to argue that like Node.js, the true promise of Dart is actually on the
server side.
I too am skeptical of Dart as a client-side language, but if you cross over
to ... 阅读全帖
g***l
发帖数: 2753
17
来自主题: Programming版 - 问个调试minified js的问题
有大牛分享点经验吗?这玩意怎么调试啊? js 是第三方的,没法给源代码。
谢谢了。
g***l
发帖数: 2753
18
来自主题: Programming版 - 有没有这样的JS工具?
比如我有一个index.html,里面有很多的
这个工具可以帮我分析这个index.html,然后把里面所有在