It depends on what you need to do. I use coffeescript with web2py a lot. I 
simply do

response.files.include('static','js/coffeescript.js'))
response.fiels.include('static','coffee/myscript.coffee'))

In this case myscript.coffee gets converted to js client side. 
Django-coffeescript takes a different approach. It converts the .coffee 
files to .js files server-side, caches them and serves the .js instead of 
the .coffee. We may add something like this to web2py but you do not need 
it. The former approach is perfectly fine and fast.

On Friday, 5 October 2012 18:58:52 UTC-5, samuel bonilla wrote:
>
> thanks...
> but i have a question
>
> how can i use coffeescript(*http://coffeescript.org/*) with web2py ? 
> something like 
> *django-coffeescript<https://github.com/andreyfedoseev/django-coffeescript>(
> https://github.com/andreyfedoseev/django-coffeescript)*

-- 



Reply via email to