[wso2con eu 2017] how to learn and contribute to ballerina
TRANSCRIPT
![Page 1: [WSO2Con EU 2017] How to Learn and Contribute to Ballerina](https://reader035.vdocuments.us/reader035/viewer/2022062311/5a6490057f8b9a27568b67e1/html5/thumbnails/1.jpg)
Director Solutions Architecture, WSO2
How to Learn and Contribute to Ballerina
Senaka Fernando
![Page 2: [WSO2Con EU 2017] How to Learn and Contribute to Ballerina](https://reader035.vdocuments.us/reader035/viewer/2022062311/5a6490057f8b9a27568b67e1/html5/thumbnails/2.jpg)
• Ballerina - What, Why, Who?• What motivated me to learn Ballerina• Contributing to Ballerina
Outline
![Page 3: [WSO2Con EU 2017] How to Learn and Contribute to Ballerina](https://reader035.vdocuments.us/reader035/viewer/2022062311/5a6490057f8b9a27568b67e1/html5/thumbnails/3.jpg)
• A general purpose, concurrent and strongly typed programming language
• Optimized for Enterprise Integration• With both textual and graphical syntaxes
What is Ballerina
![Page 4: [WSO2Con EU 2017] How to Learn and Contribute to Ballerina](https://reader035.vdocuments.us/reader035/viewer/2022062311/5a6490057f8b9a27568b67e1/html5/thumbnails/4.jpg)
A Programming Language for the ‘Networked World’
![Page 5: [WSO2Con EU 2017] How to Learn and Contribute to Ballerina](https://reader035.vdocuments.us/reader035/viewer/2022062311/5a6490057f8b9a27568b67e1/html5/thumbnails/5.jpg)
Ballerina isDesigned forDevelopers
![Page 6: [WSO2Con EU 2017] How to Learn and Contribute to Ballerina](https://reader035.vdocuments.us/reader035/viewer/2022062311/5a6490057f8b9a27568b67e1/html5/thumbnails/6.jpg)
Images: http://blog.broex.in/words-of-wisdom-broex
![Page 7: [WSO2Con EU 2017] How to Learn and Contribute to Ballerina](https://reader035.vdocuments.us/reader035/viewer/2022062311/5a6490057f8b9a27568b67e1/html5/thumbnails/7.jpg)
• It’s easy to learn and code in Ballerina - many examples available and more to come
• It’s designed for the right kind of technology• It’s kind of cool - you need to try it!
What Motivated Me?
![Page 8: [WSO2Con EU 2017] How to Learn and Contribute to Ballerina](https://reader035.vdocuments.us/reader035/viewer/2022062311/5a6490057f8b9a27568b67e1/html5/thumbnails/8.jpg)
8
server
Image: http://www.business2community.com/tech-gadgets/who-should-your-business-trust-for-its-electronics-recycling-0555161#KQfdoGbGEifUdufV.97
![Page 9: [WSO2Con EU 2017] How to Learn and Contribute to Ballerina](https://reader035.vdocuments.us/reader035/viewer/2022062311/5a6490057f8b9a27568b67e1/html5/thumbnails/9.jpg)
The Way I See ‘Serverless’
![Page 10: [WSO2Con EU 2017] How to Learn and Contribute to Ballerina](https://reader035.vdocuments.us/reader035/viewer/2022062311/5a6490057f8b9a27568b67e1/html5/thumbnails/10.jpg)
Learning Ballerina is Easy
![Page 11: [WSO2Con EU 2017] How to Learn and Contribute to Ballerina](https://reader035.vdocuments.us/reader035/viewer/2022062311/5a6490057f8b9a27568b67e1/html5/thumbnails/11.jpg)
• Download “Tools + Runtime”• Start the composer (cd bin; ./composer)• Open http://localhost:9091/ on a browser• Try out the Hello World sample
Getting Started with BallerinaOpen https://ballerinalang.org/ on a Browser
![Page 12: [WSO2Con EU 2017] How to Learn and Contribute to Ballerina](https://reader035.vdocuments.us/reader035/viewer/2022062311/5a6490057f8b9a27568b67e1/html5/thumbnails/12.jpg)
![Page 13: [WSO2Con EU 2017] How to Learn and Contribute to Ballerina](https://reader035.vdocuments.us/reader035/viewer/2022062311/5a6490057f8b9a27568b67e1/html5/thumbnails/13.jpg)
![Page 14: [WSO2Con EU 2017] How to Learn and Contribute to Ballerina](https://reader035.vdocuments.us/reader035/viewer/2022062311/5a6490057f8b9a27568b67e1/html5/thumbnails/14.jpg)
Routing Services Template
![Page 15: [WSO2Con EU 2017] How to Learn and Contribute to Ballerina](https://reader035.vdocuments.us/reader035/viewer/2022062311/5a6490057f8b9a27568b67e1/html5/thumbnails/15.jpg)
![Page 16: [WSO2Con EU 2017] How to Learn and Contribute to Ballerina](https://reader035.vdocuments.us/reader035/viewer/2022062311/5a6490057f8b9a27568b67e1/html5/thumbnails/16.jpg)
![Page 17: [WSO2Con EU 2017] How to Learn and Contribute to Ballerina](https://reader035.vdocuments.us/reader035/viewer/2022062311/5a6490057f8b9a27568b67e1/html5/thumbnails/17.jpg)
More Examples
![Page 18: [WSO2Con EU 2017] How to Learn and Contribute to Ballerina](https://reader035.vdocuments.us/reader035/viewer/2022062311/5a6490057f8b9a27568b67e1/html5/thumbnails/18.jpg)
• Copy to Clipboard• Create New• Paste in source view and open in design view
Experimenting with ExamplesVisit https://ballerinalang.org/docs/by-example/
![Page 19: [WSO2Con EU 2017] How to Learn and Contribute to Ballerina](https://reader035.vdocuments.us/reader035/viewer/2022062311/5a6490057f8b9a27568b67e1/html5/thumbnails/19.jpg)
![Page 20: [WSO2Con EU 2017] How to Learn and Contribute to Ballerina](https://reader035.vdocuments.us/reader035/viewer/2022062311/5a6490057f8b9a27568b67e1/html5/thumbnails/20.jpg)
• F1 (or fn+F1) loads Ballerina by example• In the Design View, use the Compact View to make
things easier to read• In the Source View you can fold and expand source
code
Ballerina Editor Tips and TricksA Few Things to Remember
![Page 21: [WSO2Con EU 2017] How to Learn and Contribute to Ballerina](https://reader035.vdocuments.us/reader035/viewer/2022062311/5a6490057f8b9a27568b67e1/html5/thumbnails/21.jpg)
• Click each box to preview• Use the Jump to Source to toggle the view• It is easier to set breakpoints in Source View
Ballerina Editor Tips and TricksA Few Things to Remember
![Page 22: [WSO2Con EU 2017] How to Learn and Contribute to Ballerina](https://reader035.vdocuments.us/reader035/viewer/2022062311/5a6490057f8b9a27568b67e1/html5/thumbnails/22.jpg)
Swagger In/Swagger Out
![Page 23: [WSO2Con EU 2017] How to Learn and Contribute to Ballerina](https://reader035.vdocuments.us/reader035/viewer/2022062311/5a6490057f8b9a27568b67e1/html5/thumbnails/23.jpg)
It’s Easy to Import Swagger
![Page 24: [WSO2Con EU 2017] How to Learn and Contribute to Ballerina](https://reader035.vdocuments.us/reader035/viewer/2022062311/5a6490057f8b9a27568b67e1/html5/thumbnails/24.jpg)
![Page 25: [WSO2Con EU 2017] How to Learn and Contribute to Ballerina](https://reader035.vdocuments.us/reader035/viewer/2022062311/5a6490057f8b9a27568b67e1/html5/thumbnails/25.jpg)
![Page 26: [WSO2Con EU 2017] How to Learn and Contribute to Ballerina](https://reader035.vdocuments.us/reader035/viewer/2022062311/5a6490057f8b9a27568b67e1/html5/thumbnails/26.jpg)
Contributing to Ballerina
![Page 27: [WSO2Con EU 2017] How to Learn and Contribute to Ballerina](https://reader035.vdocuments.us/reader035/viewer/2022062311/5a6490057f8b9a27568b67e1/html5/thumbnails/27.jpg)
• Stackoverflow• Slack channel• Ballerina developer mailing list• GitHub
Getting Involved
![Page 28: [WSO2Con EU 2017] How to Learn and Contribute to Ballerina](https://reader035.vdocuments.us/reader035/viewer/2022062311/5a6490057f8b9a27568b67e1/html5/thumbnails/28.jpg)
![Page 29: [WSO2Con EU 2017] How to Learn and Contribute to Ballerina](https://reader035.vdocuments.us/reader035/viewer/2022062311/5a6490057f8b9a27568b67e1/html5/thumbnails/29.jpg)
• https://github.com/ballerinalang/ballerina/issues• Improving/extending IDE support• Connectors for Ballerina• Ballerina tracks at this conference
Getting Involved - Ways to Contribute
![Page 30: [WSO2Con EU 2017] How to Learn and Contribute to Ballerina](https://reader035.vdocuments.us/reader035/viewer/2022062311/5a6490057f8b9a27568b67e1/html5/thumbnails/30.jpg)
The ‘Ballerina BoF’ is Up NextJoin Us!