PDA

View Full Version : YUI Compressor and Extjs4 MVC



ssamuel68
5 Mar 2012, 1:25 PM
Hi, im using ExtJs4 with MVC.

Its any documentation for using YUI compressor with Sencha?

Thx

skirtle
5 Mar 2012, 8:27 PM
Not sure what you mean by that. If you want to use YUI Compressor directly you can use it just like you would for any other JavaScript code.

ExtJS's JSBuilder uses YUI Compressor. If you want to use dynamic loading in conjunction with JSBuilder and YUI Compressor then you might like to start by reading this guide:

http://docs.sencha.com/ext-js/4-0/#!/guide/getting_started

It isn't the most up-to-date or complete guide but the later sections do touch on this topic. You may also like to have a look at the build files for the library as that may give you some ideas for your own build process. Some of the example apps also include build files (e.g. the web desktop demo) that can be used to learn more about builds.

ssamuel68
6 Mar 2012, 10:45 AM
Thx for the anwser "skirtle".

Well im planing to use JS Builder but im not sure how to start. It says i need a jsb2 project file but i dont know how to make it.

Like i said, im usgin ExtJS4 with MVC architecture and PHP on my controller.

Sam.