Re: [qooxdoo-devel] final size file javascript

2012-04-16 Thread thron7
Depends. When you gzip a file yourself, you don't usually have to 
configure anything in your web server. Just make sure that it is passing 
the right mime type with the download.


But as some (really old!) browsers have difficulties uncompressing 
files, if you want to cater for them too, you can configure your web 
server to compress files on the fly for certain clients, and leave them 
as they are for others. And, yes, this requires setting things up on the 
web server.


T.

On 04/16/2012 12:01 PM, Ernesto Napoli wrote:


hi


I have to setup the webserver for gzip ?

thanks


2012/4/15 thron7 >


Ernesto,


On 04/15/2012 04:08 PM, Ernesto Napoli wrote:


5) D:\qooxdoo\workspace\inlineApp\generate.py build

the size of inlineapp.js   is  677 KB  why?



This is not unusual. Even a simple application includes the
general qooxdoo infrastructure for the OO system, with classes,
mixin, interfaces, properties and the event system. So tiny "Hello
world"-style applications are paying the overhead of this
infrastructure. But with your app growing the fraction of this
infrastructure of the final app is declining.




I use only one button , how can reduce  js file ?



A simple and straight-forward way of reducing the download size of
your app is using gzip. You can enable it directly in your
config.json, by setting compile-options/paths/gzip:true for the
"build-script" job.



where I wrong ?



Nothing wrong on your side.

T.



--
For Developers, A Lot Can Happen In A Second.
Boundary is the first to Know...and Tell You.
Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
http://p.sf.net/sfu/Boundary-d2dvs2
___
qooxdoo-devel mailing list
[email protected]

https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel



--
For Developers, A Lot Can Happen In A Second.
Boundary is the first to Know...and Tell You.
Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
http://p.sf.net/sfu/Boundary-d2dvs2


___
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
--
For Developers, A Lot Can Happen In A Second.
Boundary is the first to Know...and Tell You.
Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
http://p.sf.net/sfu/Boundary-d2dvs2
___
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel


Re: [qooxdoo-devel] final size file javascript

2012-04-16 Thread Ernesto Napoli
hi


I have to setup the webserver for gzip ?

thanks


2012/4/15 thron7 

> **
> Ernesto,
>
>
> On 04/15/2012 04:08 PM, Ernesto Napoli wrote:
>
>  5) D:\qooxdoo\workspace\inlineApp\generate.py build
>>
>> the size of inlineapp.js   is  677 KB  why?
>>
>
> This is not unusual. Even a simple application includes the general
> qooxdoo infrastructure for the OO system, with classes, mixin, interfaces,
> properties and the event system. So tiny "Hello world"-style applications
> are paying the overhead of this infrastructure. But with your app growing
> the fraction of this infrastructure of the final app is declining.
>
>
>
>> I use only one button , how can reduce  js file ?
>>
>
> A simple and straight-forward way of reducing the download size of your
> app is using gzip. You can enable it directly in your config.json, by
> setting compile-options/paths/gzip:true for the "build-script" job.
>
>
>> where I wrong ?
>>
>
> Nothing wrong on your side.
>
> T.
>
>
>
> --
> For Developers, A Lot Can Happen In A Second.
> Boundary is the first to Know...and Tell You.
> Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
> http://p.sf.net/sfu/Boundary-d2dvs2
> ___
> qooxdoo-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
>
>
--
For Developers, A Lot Can Happen In A Second.
Boundary is the first to Know...and Tell You.
Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
http://p.sf.net/sfu/Boundary-d2dvs2
___
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel


Re: [qooxdoo-devel] final size file javascript

2012-04-15 Thread Ernesto Napoli
Thanks :)
 Il giorno 15/apr/2012 17:03, "thron7"  ha
scritto:

> **
> Ernesto,
>
> On 04/15/2012 04:08 PM, Ernesto Napoli wrote:
>
>  5) D:\qooxdoo\workspace\inlineApp\generate.py build
>>
>> the size of inlineapp.js   is  677 KB  why?
>>
>
> This is not unusual. Even a simple application includes the general
> qooxdoo infrastructure for the OO system, with classes, mixin, interfaces,
> properties and the event system. So tiny "Hello world"-style applications
> are paying the overhead of this infrastructure. But with your app growing
> the fraction of this infrastructure of the final app is declining.
>
>
>> I use only one button , how can reduce  js file ?
>>
>
> A simple and straight-forward way of reducing the download size of your
> app is using gzip. You can enable it directly in your config.json, by
> setting compile-options/paths/gzip:true for the "build-script" job.
>
>
>> where I wrong ?
>>
>
> Nothing wrong on your side.
>
> T.
>
>
>
> --
> For Developers, A Lot Can Happen In A Second.
> Boundary is the first to Know...and Tell You.
> Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
> http://p.sf.net/sfu/Boundary-d2dvs2
> ___
> qooxdoo-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
>
>
--
For Developers, A Lot Can Happen In A Second.
Boundary is the first to Know...and Tell You.
Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
http://p.sf.net/sfu/Boundary-d2dvs2___
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel


Re: [qooxdoo-devel] final size file javascript

2012-04-15 Thread thron7

Ernesto,

On 04/15/2012 04:08 PM, Ernesto Napoli wrote:


5) D:\qooxdoo\workspace\inlineApp\generate.py build

the size of inlineapp.js   is  677 KB  why?



This is not unusual. Even a simple application includes the general 
qooxdoo infrastructure for the OO system, with classes, mixin, 
interfaces, properties and the event system. So tiny "Hello world"-style 
applications are paying the overhead of this infrastructure. But with 
your app growing the fraction of this infrastructure of the final app is 
declining.




I use only one button , how can reduce  js file ?



A simple and straight-forward way of reducing the download size of your 
app is using gzip. You can enable it directly in your config.json, by 
setting compile-options/paths/gzip:true for the "build-script" job.




where I wrong ?



Nothing wrong on your side.

T.

--
For Developers, A Lot Can Happen In A Second.
Boundary is the first to Know...and Tell You.
Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
http://p.sf.net/sfu/Boundary-d2dvs2___
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel


Re: [qooxdoo-devel] final size file javascript

2012-04-15 Thread Ernesto Napoli
hi

is there some help for this questions ?

thanks

2012/4/13 erny 

> hi
>
> I'm test your great frameworks  :)))
>
> I do this steps:
>
> 1) C:\qooxdoo\qooxdoo-1.6-sdk\tool\bin\create-application.py
> --name=inlineApp -t inline --out=C:\qooxdoo\workspace\
>
> 2) D:\qooxdoo\workspace\inlineApp\generate.py source (no all class)
>
> 3) open Application.js  an use only one button1 widget , comment
> dateChooser and button2.
>
> 4)  D:\qooxdoo\workspace\inlineApp\generate.py source
>
> 5) D:\qooxdoo\workspace\inlineApp\generate.py build
>
> the size of inlineapp.js   is  677 KB  why?
>
> I use only one button , how can reduce  js file ?
>
> where I wrong ?
>
> E
>
>
>
>
>
> --
> View this message in context:
> http://qooxdoo.678.n2.nabble.com/final-size-file-javascript-tp7462087p7462087.html
> Sent from the qooxdoo mailing list archive at Nabble.com.
>
>
> --
> For Developers, A Lot Can Happen In A Second.
> Boundary is the first to Know...and Tell You.
> Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
> http://p.sf.net/sfu/Boundary-d2dvs2
> ___
> qooxdoo-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
>
--
For Developers, A Lot Can Happen In A Second.
Boundary is the first to Know...and Tell You.
Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
http://p.sf.net/sfu/Boundary-d2dvs2___
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel