In JSBin I can hide away the HTML tab that loads the CSS and JavaScript; in the Dojo, it always clutters the left part of the screen.
In JSBin, changes are reflected immediately. In Dojo, I have to press Ctrl+Enter.
The only advantage of the Dojo is that it has some tutorials.
The Webix Snippets is much better:
- separates the HTML from the JavaScript
- real-time results
- syntax errors are highlighted in real time
- sample data is included
- can change skins
- feels much faster
4 Answers, 1 is accepted
Hello Dan,
You can use any tool you feel comfortable with -- we have not enforced the use of the Dojo in any way. We don't compete with jsBin or any other tool on the market. The Dojo targets integration with our examples and documentation, and is updated with regard to the functionality that we need.
Regards,Alex Gyoshev
Telerik
Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.
I personally don't have a dog in the fight as to which platform is used for code examples. I find them all useful. However, I would like to see some consistancy in which one is used when Telerik is posting solutions to the forums though.
The main reason for me is that jsBin is being blocked by our corporate security policies because of it's file sharing capabilities. From my experience almost 90% of the Dojo code samples posted in the forums are not accessible for me via my corporate machine for some similar reason.
The only site that seems to be immune to the blocking is jsFiddle.
I totally get that you have no control over our corporate policies but I would like to see Telerik analyze whats different between jsFiddle and the others sites and try to emulate what they do to prevent some of this. We have paid good money for our licenses and it is frustrating to not have access because of some obscure site classification according to URL filters/firewalls.
I would be curious to know if others are having the same blocking issues with the Dojo. In my experience you just see an error that says "unable to load snippet" in the lower left corner of your browser. I discovered it was a blocking issue by looking up the same example on my personal non-corporate machine.
The interesting thing is I am able to use the Dojo to view all the tutorials and codes there. I can only assume that when posting code samples to the Dojo, Telerik is actually hosting the snippet elsewhere and then linking it to the Dojo environment so our corporate url poloicy is blocking this third "hidden" site.
Again not blaming Telerik for this in any way just throwing it out for discussion and any "work a rounds that" others might have for working with Dojo examples in a corporate environment that is blocking.
Hello Chris,
The difference between the jsBin/Dojo and jsFiddle is that jsFiddle saves the snippets via a postback, and the Telerik Dojo (as well as jsBin) posts them asynchronously across frames and domains. This is done intentionally to improve the editing experience. We'll look into providing an alternative, alas for now your best option would be to access the snippets directly via their fullscreen link, for example instead of http://dojo.telerik.com/emAq/2, open http://runner.telerik.io/fullscreen/emAq/2. This will not make the cross-domain call and should be allowed.
Regards,Alex Gyoshev
Telerik
Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.
I would be very interested in getting the cross domain call resolved, just for efficiency. I will be bookmarking this post.
Thanks so much.