Hello community,
with this blog I hope solving coding problems will be faster in future.
A lot of questions / problems in Space UI Development Toolkit for HTML5 Developer Center are about coding issues.
So how can somebody who has a problem make it easier for people who can solve the problem?
Often there is the problem, you need to see the result of your coding, so people who want to help must establish a working area for your code snippet.
With JS Bin you can share your code online, but the special here is you can run the code online / live. You don't need to download anything. Also people who can help you don't need to download your example code.
JS Bin offers also versioning of the code.
But you can't upload your whole SAPUI5 Project to JS Bin, only code snippets. This isn't that bad, because nobody want to upload his whole project :-P
So here are some examles, how to implement your code at JS Bin:
- sap.m using only some js-code without views and controllers (don't need them to solve issues of controls)
- sap.m using XML-view and controller
- sap.ui.commons display a table
Here you can read a lot more about the basics of JS Bin: http://code.tutsplus.com/tutorials/javascript-tools-of-the-trade-jsbin--net-36843
Important for asking users: Please paste your code at JS Bin and don't paste the code between your question (only for explanation, but better use comments in xml / js at JS Bin) and don't attach the code as archived files.
I hope this blog will help the whole SAPUI5 community.
You can refer people to this blog if they aren't familiar with JS Bin.
Suggestions are welcome.