Re: Proposal - JS Reader

2008-08-14 Thread Jeremy Quinn
Hi Guys IMHO the most likely scenario ATM will be that JS libs for eg. CForms would be minified and packaged as a production step, either manually or automatically. Then served as Mark says, via HTTPD using gzip compression. i.e. there is more than just compression involved But, I have n

Re: Proposal - JS Reader

2008-08-13 Thread Mark Lundquist
I guess a JS reader could be helpful for applications where all resources are served directly by "raw" Cocoon, i.e. if any compression is to be done then Cocoon has to do it. But don't most applications in a Web setting run Cocoon behind an Apache front-end? Then you can just have Apach

Re: Proposal - JS Reader

2008-08-13 Thread gregers
This might be a little too late, but there is a similar project. It's not a Cocoon plugin, but a servlet, which is somewhat close to a Reader, from what I understand...? The project is called JAWR https://jawr.dev.java.net/ It's a servlet that compresses all your javascript and css on server sta

Re: Proposal - JS Reader

2008-07-14 Thread Jeremy Quinn
Hi Kamal One of the items on my (long) list of jobs to get done, in my re- working of CForms/Dojo is compression/minifying/packaging etc. There are a number of different scenarios that I can imagine people will want to for it, but TBH, I have not thought it all through yet 1) developm

Re: Proposal - JS Reader

2008-07-13 Thread Kamal Bhatt
Reinhard Pötz wrote: Kamal Bhatt wrote: Reinhard Pötz wrote: Kamal wrote: Hi, It occured to me that Cocoon could probably benefit from a Javascript Reader. This JS Reader would do what a normal resource reader would, unless the user specifies a compression-method parameter. If the compressi

Re: Proposal - JS Reader

2008-07-13 Thread Reinhard Pötz
Kamal Bhatt wrote: Reinhard Pötz wrote: Kamal wrote: Hi, It occured to me that Cocoon could probably benefit from a Javascript Reader. This JS Reader would do what a normal resource reader would, unless the user specifies a compression-method parameter. If the compression method is supported

Re: Proposal - JS Reader

2008-07-13 Thread Kamal Bhatt
Reinhard Pötz wrote: Kamal wrote: Hi, It occured to me that Cocoon could probably benefit from a Javascript Reader. This JS Reader would do what a normal resource reader would, unless the user specifies a compression-method parameter. If the compression method is supported, then the JS will b

Re: Proposal - JS Reader

2008-07-13 Thread Reinhard Pötz
Kamal wrote: Hi, It occured to me that Cocoon could probably benefit from a Javascript Reader. This JS Reader would do what a normal resource reader would, unless the user specifies a compression-method parameter. If the compression method is supported, then the JS will be compressed. Right n