9 ms·
I'm no JS expert, but isn't this basically just server side code, since only "commands" are sent from the client and no meaningful code is executed.
by deletes 13y ago
I'm no JS expert, but isn't this basically just server side code, since only "commands" are sent from the client and no meaningful code is executed.
- kennyr 13y agoPretty much, yeah. It looks the same as doing a $http() or $resource() call. But, if all you know is javascript, and you need something done in less time than it takes to delegate or learn a new language, and you need it done with some degree of secrecy, this is your tool.
- stonlyb 13y agoLike all tools, not for everyone or every scenario. It does suggest a way to make some of your code secret and easily reabsorb the results back into your scope.
- ch0wn 13y agoAnd thus will never work with CSPs (with a reasonable level of enforced rules).
- stonlyb 13y agoOne of the goals is to make it easy to take your existing client side code and port it over. Specifically, I wanted it to integrate back into the browsers environment without any extra effort.
- deletes 13y agoSo the idea is to hide just the important stuff.