Minify

Minify

Minify, in computer programming languages, is the process of removing all unnecessary characters from source code, without changing its functionality. These unnecessary characters usually include white space characters, new line characters, comments and sometimes block delimiters; which are used to add readability to the code, but are not required for it to execute.

Minified source code is specially useful for interpreted languages deployed and transmitted on the Internet (such as JavaScript), because it reduces the amount of data that needs to be transferred. Minified source code may also be used as a kind of obfuscation. In Perl culture, aiming at extremely minified source code is the purpose of Perl golf game.

See also

*Copy protection
*Reverse engineering

External links

* [http://www.crockford.com/javascript/jsmin.html JSMin] - The JavaScript minifier. A tool for minifying JavaScript source code.
* [http://sf.net/projects/packtag pack:tag] - A JSP Taglib for minifing JavaScript and CSS on the fly (with caching, combination and compressing (gzip)) ( [http://www.galan.de/projects/packtag Official Dokumentation] ).
* [http://js-optimizer.sourceforge.net JSO] - JSO(JavaScript Optimizer) is a project that allow you to manage easily your JavaScript and CSS resources and to reduce the amount of data transferred between the server and the client.
* [https://jawr.dev.java.net JAWR] - A library for Java web applications that joins javascript files and then minifies and compresses them, fostering a modular approach to development. Its main benefit is that developers can switch from the joined, compressed form to separate and uncompressed versions of the scripts, whithout the need to change the pages.
* [http://code.google.com/p/minify/ Minify] - A PHP library that combines, minifies, and caches JavaScript and CSS files on the fly.
* [http://dojotoolkit.org/docs/shrinksafe JS Dojo Minifier]
* [http://www.digitaloverload.co.uk/jsmin/ Online JavaScript minifier tool] - An interface allowing you to upload your javascript files to get the minified version on submission.
* [http://www.jscompress.com/ Minify JavaScript Online] - Compress your JavaScript online with the JSMin algorithm (direct copy/paste into textarea).
* [http://developer.yahoo.com/yui/compressor/ Yahoo! UI Library: YUI Compressor] - Compress your JavaScript and CSS using this Java application from the Yahoo! team.
* [http://farhadi.ir/works/smartoptimizer SmartOptimizer] - Another PHP library that combines, minifies, caches JavaScript and CSS files and also embeds CSS images on the fly.
* [http://shygypsy.com/cssCompress/ CSS Compressor] - Free online tool for minifying CSS code
* [http://code.google.com/p/fastcssloader/ FastCSSLoader] - Simple PHP Script to minify and send together all CSS files contained in a folder
* [http://jcay.com/id-190119110113039.html JavaScript Code Improver] - Reverse minify and obfuscate Javascript code


Wikimedia Foundation. 2010.

Игры ⚽ Нужно сделать НИР?

Look at other dictionaries:

  • Minify — Min i*fy, v. t. [imp. & p. p. {Minified}; p. pr. & vb. n. {Minifying}.] [L. minor less + fly.] [1913 Webster] 1. To make small, or smaller; to diminish the apparent dimensions of; to lessen. [1913 Webster] 2. To degrade by speech or action. [1913 …   The Collaborative International Dictionary of English

  • minify — index diminish, lessen Burton s Legal Thesaurus. William C. Burton. 2006 …   Law dictionary

  • minify — [min′i fī΄] vt. minified, minifying [< L minor, less, by assoc. with MAGNIFY] Rare to make or make seem smaller or less important minification n …   English World dictionary

  • minify — transitive verb ( fied; fying) Etymology: Latin minus less + English ify Date: 1676 lessen …   New Collegiate Dictionary

  • minify — minification, n. /min euh fuy /, v.t., minified, minifying. 1. to makeless. 2. to minimize. [1670 80; < L min(us) less + IFY, modeled on magnify] * * * …   Universalium

  • minify — verb a) To reduce in size b) To reduce in apparent size, as for example objects viewed through a lens or mirror shaped so as to increase the field of view, such as a convex or aspheric mirror or a Fresnel lens Ant: magnify See Also: minification …   Wiktionary

  • minify — min·i·fy (minґĭ fi) [L. minus less] to render less or diminish; the opposite of magnify …   Medical dictionary

  • minify — v. reduce the size of something, make smaller; minimize; reduce the importance of something …   English contemporary dictionary

  • minify — min·i·fy …   English syllables

  • minify — /ˈmɪnəfaɪ/ (say minuhfuy) verb (t) (minified, minifying) 1. to make less. 2. → minimise. {Latin min(us) less + (i)fy} …  

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”