开发者

CoffeeScript testing and deployment on PHP / LAMP stack

开发者 https://www.devze.com 2023-03-03 12:27 出处:网络
I\'m interested in dabbling in CoffeeScript, but I\'d rather not have to recompile down to Javascript by hand every time I want to test. Is there an 开发者_如何学运维easy way dynamically convert Coffe

I'm interested in dabbling in CoffeeScript, but I'd rather not have to recompile down to Javascript by hand every time I want to test. Is there an 开发者_如何学运维easy way dynamically convert CoffeeScript to vanilla Javascript while working on a LAMP stack, either on the server side or the client side?


Server side

Check out kohana-coffeescript, which makes it easy to serve CoffeeScript from PHP's Kohana framework.

Client side

See Is there a way to send CoffeeScript to the client's browser and have it compiled to JavaScript *there*? Fantastic for testing.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号