Giter Site home page Giter Site logo

dparoulek / wro4j Goto Github PK

View Code? Open in Web Editor NEW

This project forked from alexo/wro4j

1.0 1.0 0.0 104.14 MB

Free and Open Source Java project which brings together almost all the modern web tools: JsHint, CssLint, JsMin, Google Closure compressor, YUI Compressor, UglifyJs, Dojo Shrinksafe, Css Variables Support, JSON Compression, Less, Sass, CoffeeScript and much more. In the same time, the aim is to keep it as simple as possible and as extensible as possible in order to be easily adapted to application specific needs.

Home Page: http://alexo.github.com/wro4j/

Java 33.21% JavaScript 65.87% CoffeeScript 0.11% Groovy 0.78% Shell 0.02% TypeScript 0.02%

wro4j's Introduction

Web Resource Optimizer for Java

Build Status

wro4j is a free and Open Source Java project which will help you to easily improve your web application page loading time. It can help you to keep your static resources (js & css) well organized, merge & minify them at run-time (using a simple filter) or build-time (using maven plugin) and has a dozen of features you may find useful when dealing with web resources.

Getting Started

In order to get started with wro4j, you have to follow only 3 simple steps.

Step 1: Add WroFilter to web.xml

	<filter>
	  <filter-name>WebResourceOptimizer</filter-name>
	  <filter-class>
		ro.isdc.wro.http.WroFilter
	  </filter-class>
	</filter>
	 
	<filter-mapping>
	  <filter-name>WebResourceOptimizer</filter-name>
	  <url-pattern>/wro/*</url-pattern>
	</filter-mapping>

Step 2: Create wro.xml

	<groups xmlns="http://www.isdc.ro/wro">
	  <group name="all">
		<css>/asset/*.css</css>
		<js>/asset/*.js</js>
	  </group>
	</groups> 		

Step 3: Use optimized resources

	<html>
	  <head>
		<title>Web Page using wro4j</title>
		<link rel="stylesheet" type="text/css" href="/wro/all.css" />
		<script type="text/javascript" src="/wro/all.js"/>
	  </head>
	  <body>
		
	  </body>
	</html>		

Documentation

The documentation for this project is located on google code project page: http://code.google.com/p/wro4j/

Issues

Found a bug? Report it to the issue tracker: http://code.google.com/p/wro4j/issues/list

Feedback

If you have any questions or suggestions, please feel free to post a comment to the discussion group: https://groups.google.com/forum/#!forum/wro4j

Follow me on tweeter.

License

This project is available under the Apache License, Version 2.0.

wro4j's People

Contributors

alexo avatar ivarconr avatar filirom1 avatar eivindw avatar mart-bogdan avatar candrews avatar dmitrye avatar mwanji avatar nigelzor avatar heldeen avatar jgritman avatar nhajratw avatar michael-simons avatar computerlove avatar burtbeckwith avatar dparoulek avatar kmadel avatar gonzalad avatar martin-g avatar alf239 avatar gconaty avatar jerolba avatar julienwol avatar svanders avatar ginkel avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.