Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

External tool for bundling and minification of java script files

Posted on 2012-03-27
5
Medium Priority
?
436 Views
Last Modified: 2012-03-29
Is there any tool which can take few java script files and minify them and bundle them into one file.

I would like to have an external tool like an standalone app instead of injecting some handlers into web application.
0
Comment
Question by:Sudheer_Keesara
5 Comments
 
LVL 20

Accepted Solution

by:
BuggyCoder earned 375 total points
ID: 37770076
0
 
LVL 53

Assisted Solution

by:Dhaest
Dhaest earned 375 total points
ID: 37770079
The only tool I used so far is the following: (but this is not an external standalone tool)
http://msdn.microsoft.com/en-us/hh440504

Take a look at the following article:
Best Practices for Script Combining
http://msdn.microsoft.com/en-us/library/cc837190.aspx
0
 
LVL 22

Assisted Solution

by:Mrunal
Mrunal earned 375 total points
ID: 37770120
Hi,
JSMin is good as I have used it.

Here is reference:
http://www.crockford.com/javascript/jsmin.html

http://fmarcia.info/jsmin/test.html

Other online tools are available, like:

http://jscompress.com/

http://www.minifyjavascript.com/
0
 
LVL 40

Assisted Solution

by:Gurvinder Pal Singh
Gurvinder Pal Singh earned 375 total points
ID: 37770129
try Google's closure compiler's tool
https://developers.google.com/closure/compiler/

it is quite good actually. I have used it many times
0
 
LVL 9

Expert Comment

by:darjimaulik
ID: 37775517
I know you dont want handlers.
Is there any specific reason?

If you think that handlers will take time to load, that's not the case with following.
I have used the same in my website, and it works like a charm.
Easy to setup.

http://www.codeproject.com/Articles/125159/Package-that-speeds-up-loading-of-JavaScript-CSS-a
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Today, the web development industry is booming, and many people consider it to be their vocation. The question you may be asking yourself is – how do I become a web developer?
Measuring Server's processing rate with a simple powershell command. The differences in processing rate also was recorded in different use-cases, when a server in free and busy states.
Learn the basics of if, else, and elif statements in Python 2.7. Use "if" statements to test a specified condition.: The structure of an if statement is as follows: (CODE) Use "else" statements to allow the execution of an alternative, if the …
Learn the basics of modules and packages in Python. Every Python file is a module, ending in the suffix: .py: Modules are a collection of functions and variables.: Packages are a collection of modules.: Module functions and variables are accessed us…
Suggested Courses

926 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question