开发者

Use JavaScript as a scripting language in Ruby/Rails

开发者 https://www.devze.com 2023-03-13 01:20 出处:网络
I need to allow the users of my RoR (3) web application to customise parts of it with simple Javascript. This would involve allowing them to type in a single function which returns an object in JSON.

I need to allow the users of my RoR (3) web application to customise parts of it with simple Javascript. This would involve allowing them to type in a single function which returns an object in JSON.

The RoR app th开发者_Go百科en has to run this Javascript function and use the result of it for further processes.

Does anyone have any experience, examples, frameworks or ideas as how to achieve this please?

0

精彩评论

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