Solved

External tool for bundling and minification of java script files

Posted on 2012-03-27
5
406 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 125 total points
ID: 37770076
0
 
LVL 53

Assisted Solution

by:Dhaest
Dhaest earned 125 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 125 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:gurvinder372
gurvinder372 earned 125 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

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

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

Suggested Solutions

The task A number given should be formatted for easy reading by separating digits into triads. Format must be made inline via JavaScript, i.e., frameworks / functions are not welcome. So let’s take a number like this “12345678.91¿ and format i…
The article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
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 …
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)

813 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now