Re: maultiple .js files for debug and one minimized .js for production

2011-11-12 Thread Eric Chamberlain
We serve the static files from Amazon S3.

--
Eric Chamberlain, Founder
RingFree Mobility Inc.

On Nov 8, 2011, at 1:46 AM, Gelonida N wrote:

> Hi,
> 
> 
> I'm having an rather weak (CPU) server accesible over a rather slow network.
> 
> Therfore my  plan is to use
> multiple readable debuggable css files for debugging and
> a single, minizmized  .js for for production.
> 
> This will affect some of my templates.
> 
> How do you handle this setup in your projects.
> 
> If statements in the templates?
> multiple template files and copying over one or the other?
> ???
> 
> In order to build the minimized files?
> Is there any 'intelligent' plugin, which can locates and minimizes all
> the .js files or do you go for a make file like approach or just a
> simple script (finding / minimizing)
> 
> Thanks in advance for any suggestions.
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Django users" group.
> To post to this group, send email to django-users@googlegroups.com.
> To unsubscribe from this group, send email to 
> django-users+unsubscr...@googlegroups.com.
> For more options, visit this group at 
> http://groups.google.com/group/django-users?hl=en.
> 

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



Re: maultiple .js files for debug and one minimized .js for production

2011-11-10 Thread Gelonida N
On 11/08/2011 07:37 PM, Fabian Ezequiel Gallina wrote:
> 2011/11/8 Andres Reyes >
> 
> I've been using django-compressor and totally recommend it
> 
> 
> https://github.com/mintchaos/django_compressor
> 
> 
> 
> I second that, works like charm and I really like the way it solved the
> thing with a templatetag instead of having to define file groups on
> settings.
> 
Thanks for your feed back.

I'll have a look at it.

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



Re: maultiple .js files for debug and one minimized .js for production

2011-11-08 Thread Fabian Ezequiel Gallina
2011/11/8 Andres Reyes 

> I've been using django-compressor and totally recommend it
>
>
> https://github.com/mintchaos/django_compressor
>
>
>
I second that, works like charm and I really like the way it solved the
thing with a templatetag instead of having to define file groups on
settings.


Regards,
Fabián E. Gallina

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



Re: maultiple .js files for debug and one minimized .js for production

2011-11-08 Thread Andres Reyes
I've been using django-compressor and totally recommend it


https://github.com/mintchaos/django_compressor

2011/11/8 Gelonida N 

> Hi,
>
>
> I'm having an rather weak (CPU) server accesible over a rather slow
> network.
>
> Therfore my  plan is to use
> multiple readable debuggable css files for debugging and
> a single, minizmized  .js for for production.
>
> This will affect some of my templates.
>
> How do you handle this setup in your projects.
>
> If statements in the templates?
> multiple template files and copying over one or the other?
> ???
>
> In order to build the minimized files?
> Is there any 'intelligent' plugin, which can locates and minimizes all
> the .js files or do you go for a make file like approach or just a
> simple script (finding / minimizing)
>
> Thanks in advance for any suggestions.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To post to this group, send email to django-users@googlegroups.com.
> To unsubscribe from this group, send email to
> django-users+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/django-users?hl=en.
>
>


-- 
Andrés Reyes Monge
armo...@gmail.com
+(505)-8873-7217

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



maultiple .js files for debug and one minimized .js for production

2011-11-08 Thread Gelonida N
Hi,


I'm having an rather weak (CPU) server accesible over a rather slow network.

Therfore my  plan is to use
multiple readable debuggable css files for debugging and
a single, minizmized  .js for for production.

This will affect some of my templates.

How do you handle this setup in your projects.

If statements in the templates?
multiple template files and copying over one or the other?
???

In order to build the minimized files?
Is there any 'intelligent' plugin, which can locates and minimizes all
the .js files or do you go for a make file like approach or just a
simple script (finding / minimizing)

Thanks in advance for any suggestions.

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.