Solved

External tool for bundling and minification of java script files

Posted on 2012-03-27
5
383 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

Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

Join & Write a Comment

Having worked on larger scale sites, we found out that you are bound to look at more scalable solutions to integrating widgets, code snippets or complete applications and mesh them into functional sites, in any given composition. To share some of…
This article discusses the difference between strict equality operator and equality operator in JavaScript. The Need: Because JavaScript performs an implicit type conversion when performing comparisons, we have to take this into account when wri…
Learn the basics of lists in Python. Lists, as their name suggests, are a means for ordering and storing values. : Lists are declared using brackets; for example: t = [1, 2, 3]: Lists may contain a mix of data types; for example: t = ['string', 1, T…
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)

747 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

10 Experts available now in Live!

Get 1:1 Help Now