with this blog I hope solving coding problems will be faster in future.
A lot of questions / problems in Space SAPUI5 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 😛
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
- sap.m using two pages and simple navigation
- sap.ui.commons table with filter
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.
Relating to this blog, beginners should read also:
And please those usefull blogs on the landingpage of this space.
Plunker!! Extended JSbin 🙂 Used to create multiple files, like your whole project.
Other alternatives: OpenUI5 & JSBin play well together .. but, is there even more?