Results 1 to 1 of 1
-
10th Jan 2012, 08:38 AM #1OPmmm mmm!
wro4j
wro4j is a project that will help you to easily improve your Web application page loading time. It can help you to keep your static resources (JavaScript and CSS) well organized, merge and minify them at run-time (using a simple filter) or build-time (using a Maven plugin), and has several features you may find useful when dealing with Web resources.
http://code.google.com/p/wro4j/
Code samples:
PHP Code:Resource resource = Resource.valueOf("script.coffee", ResourceType.JS);
Reader reader = new FileReader("path/to/script.coffee");
Writer writer = new FileWriter("path/to/script.js");
//Transforming a coffee script file into a javascript file
new CoffeeScriptProcessor().process(resource, reader, writer);
//Using UglifyJs
new UglifyJsProcessor().process(resource, reader, writer);
//Using BeautifyJs
new BeautifyJsProcessor().process(resource, reader, writer);
//Using Less
new LessCssProcessor().process(resource, reader, writer);
//Using Sass
new SassCssProcessor().process(resource, reader, writer);
Daniel Reviewed by Daniel on . wro4j wro4j is a project that will help you to easily improve your Web application page loading time. It can help you to keep your static resources (JavaScript and CSS) well organized, merge and minify them at run-time (using a simple filter) or build-time (using a Maven plugin), and has several features you may find useful when dealing with Web resources. http://code.google.com/p/wro4j/ Code samples: Resource resource = Resource.valueOf("script.coffee", ResourceType.JS); Reader reader = Rating: 5HATERS GONNA probably bring up some valid points considering I am an ignorant little twat so far up my own ass that i blame my problems on everyone and if you criticize me you're automatically wrong.
Sponsored Links
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
themaPoster - post to forums and...
Version 5.11 released. Open older version (or...