Sunday Dec 22, 2024
Wednesday, 29 January 2020 00:00 - - {{hitsCtrl.values.hits}}
WSO2 partnered with Massachusetts Institute of Technology (MIT) faculty and staff to bring six students to its Colombo office to learn Ballerina, an open source programming language for cloud-era application developers, and to explore Sri Lankan culture.
This visit was part of the annual Independent Activities Period (IAP) conducted by MIT where members of the MIT community can organise, sponsor, and participate in a wide variety of activities including academic forums, how-to sessions, athletic endeavours, and creative classes.
The students from MIT began their visit with a tour around the island after which they started their three-week course on Ballerina.
The Ballerina MIT IAP program
The six MIT students along with seven other students from Sri Lankan universities gathered at the WSO2 office in Colombo. The course consisted of a series of introductory and hands-on sessions related to Ballerina and enterprise architecture concepts:
During the course, the students also worked on a project of their own. For the project scope, Dr. Sanjiva Weerawarana, the founder and CEO of WSO2, along with Achala Meddegama, the CEO of ESOFT Technologies and founder of Reforest Lanka, worked with the Ministry of Environment to gather a set of requirements. This included building a central platform that can be used to manage environmental issues such as deforestation, reforestation, development, and conservation efforts. This platform would enable the country to maintain holistic, tangible, and accessible environmental information.
The proof of concept created by the students included a dashboard where users can check whether building on a land area in Sri Lanka violates any rules pertaining to protected areas like national parks. Users can also make land requests to the Ministry of Environment. Admins from the ministry can then review, comment on, and approve these requests. The code for the project can be found here: https://github.com/lakinduakash/mit-iap-environment-platform.
Students cite the advantages of using Ballerina
“I haven’t worked a lot with networking aspects but it seems to be much easier to write services that communicate over a network in Ballerina. For example, when you write an HTTP request you can [visualise the sequence diagram] and see the connections between the services,” said Sisam Bhandari, a second-year student at MIT.
“I was new to APIs but Ballerina made it easier to understand. It was easy to set up the Ballerina GitHub API connector and the code was very concise,” said Annie Synder, a first-year student at MIT.
“[Ballerina] makes creating a backend service much easier. If you used anything else you have to learn about how you can connect to, for example, AWS and then go and do it. But Ballerina makes it simpler and helps you visualize the interactions,” stated Shikar Jagadeesh, a second-year student at MIT.
“We had to format the JSON payload. Unlike other languages, Ballerina has a JSON property so converting it was a lot easier,” said Lakindu Akash, a third-year student at the University of Colombo School of Computing.