Download Latest Version yuig-0.3.7z (64.1 kB)
Email in envelope

Get an email when there's a new version of YUIG

Home / 0.1
Name Modified Size InfoDownloads / Week
Parent folder
readme.txt 2010-02-25 3.6 kB
yuig-0.1.win.setup.exe 2010-02-25 4.1 MB
yuig-win.0.1.7z 2010-02-25 59.2 kB
Totals: 3 Items   4.2 MB 0
---------------------
	YUIG
---------------------
YUIG is a graphical interface for yuicompressor for windows.
It allows you to select resource files (CSS or Javascript) to compress 
them using yuicompressor.
This program is intended to be used by all these people 
don't want/don't know to:
- Use yuicompressor under command line.

- Compress-per-request: You can setup your server to 
compress all css and js files on each request. Additionally you should
set up a cache system to reduce unnecessary cpu usage.




---------------------
	REQUERIMENTS
---------------------
-YUI Compressor >= 2.4.2: Previous versions may work
as long as they behave the same way with same parameters.

-Java runtime >= 1.4: This in fact is a requeriment of YUI Compressor.

-Qt >= 4.6.1 : These libraries are bundled with installer pack.
Zip pack comes without Qt libraries (to light its weight).






---------------------
	CONFIGURATION
---------------------
To correctly use yuig, you must define path to yuicompressor build.
Currently, this has to be done manually editing settings.ini file.
Search "yui_path" key (it's easy, it's the only key right now), and write 
the path to your yuicompressor .jar file (include the filename).

Example:
[settings]
yui_path = ./../yuicompressor-2.4.2/build/yuicompressor-2.4.2.jar

Both relative and absolute paths are allowed.





---------------------
	USAGE
---------------------
Using yuig is very easy!

1- Select output file
2- Add as many resource files as you want
3- Click on Compress!

That's all.
Additionally you can select some options:

-charset (not-implemented)

-line break (not-implemented)

-minify only: If you are compressing javascript, you can check this option 
to not obfuscate code.

-preserve semicolons: If you are processing javascript files, and want to 
preserve all existant semicolons, check this.

-optimize code: Check this if you want yuicompressor apply micro-
optimizations on your code.


Please note that you cannot compress different resource types at once.





Equivalence of yuig options with yuicompressor:
People familiar with command line usage of yuicompressor will find this
info usefull:

	yuicompressor arg					yuig option
	--line-break						line break
	--charset							charset
	--nomunge							minify only
	--disable-optimizations				optimize code: Note this options has been reversed; 
										YUIG will use --disable-optimizations if this options
										is NOT checked.

	-preserver-semi						preserve semicolons

	non-sense yuicompressor args
	-v
	-h
	
	yuig handled yuicompressor args
	-o		: Output file is filled with the path inserted in "Output" field.
	-type	: YUIG uses the extension of the inserted resource files to determine
				which type to use.







---------------
	CHANGES
---------------

0.1 [2010/02/25]
	+ first release


---------------
	TODO
---------------
+ Implement charset option.
+ Implement line-break option.

+ Project files: store selected files in a project to
recover them in the future.

+ Compress each file in a separate file. Now, if you select multiple
files, yuig joins output in a single file by default.

+ Add an icon to application!
+ Settings menu
+ Linux port?


---------------
	AUTHOR
---------------
YUIG was written and mantained by: 
	Raúl Ferràs <raul.ferras@gmail.com>
	
---------------
	LICENSE
---------------	
YUIG code is available under GPL license.
This software uses Qt Library 4.6.1 LGPL.
	
Source: readme.txt, updated 2010-02-25