forked from ballerina-platform/ballerina-dev-website
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
144 lines (144 loc) · 8.72 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
---
layout: ballerina-home-page
title: Ballerina Home
description: Ballerina is an open source programming language and platform for cloud native application programmers to easily write software that just works.
keywords: ballerina, ballerinalang, cloud native, microservices, integration, programming language
---
<link href="https://fonts.googleapis.com/css?family=Special+Elite&display=swap" rel="stylesheet"/>
<link rel="stylesheet" href="/css/home-page.css"/>
<div class="row cBallerinaIntroSection">
<div class="container">
<div class="col-sm-12 col-md-12">
<p class="cQuotes">"A programming language that doesn't change the way you think about programming is not worth knowing." <span><a href="https://en.wikipedia.org/wiki/Alan_Perlis">- Alan Perlis, 1922-1990</a></span></p>
</div>
<div class="col-sm-12 col-md-12 cTopLayer">
<div class="col-sm-12 col-md-8">
<img class="cHomePageLogo" src="/img/ballerina-logo.svg ">
<h1>Ballerina is an open source programming language and platform for cloud-era application programmers to easily write software that just works.
</h1>
</div>
<div class="col-sm-12 col-md-4 cMainCTAContainer">
<a class="cBallerina-io-Home-main-download-button cPlayButton" target="_blank" href="https://play.ballerina.io">
Try Ballerina
<p>Try without installing <br>in interactive playground</p>
</a>
<a class="cBallerina-io-Home-main-download-button" href="/downloads">
Download Ballerina
<p>Distributions available for <br>Linux, OS X, and Windows</p>
</a>
<a class="cBallerina-io-Home-main-download-button cBBEButton" href="/learn/by-example/">
<img src="/img/ballerina-bbe-logo.svg"/>
<p>Commented examples to learn <br>and cut-n-paste from</p>
</a>
</div>
</div>
<!-- <div class="col-sm-12 col-md-12 cBottomLayer">
<div class="col-sm-12 col-md-7">
<ul>
<li><a class="cIconLink" href="">Quick Tour</a></li>
<li><a class="cIconLink" href="">Ballerina by Example</a></li>
</ul>
</div>
</div> -->
</div>
</div>
<div class="row cBallerinaFeatureSection">
<div class="container">
<div class="col-sm-12 col-md-12">
<h2>
Why Ballerina
</h2>
</div>
</div>
<!-- <div class="sticky">
<div class="container">
<div class="col-sm-12 col-md-12">
<table class="cFeaturesNav">
<tr>
<td><a href="#The-Network-in-the-Language">The Network in the Language</a></td>
<td><a href="#Sequence-Diagrams-for-Programming">Sequence Diagrams for Programming</a></td>
<td><a href="#Structural-Open-by-Default-Typing">Structural, Open-by-Default Typing</a></td>
<td><a href="#From-Code-to-Cloud">From Code to Cloud</a></td>
<td><a href="#Batteries-Included">Batteries Included</a></td>
<td><a href="#Developer-First">Developer First</a></td>
</tr>
</table>
</div>
</div>
</div> -->
<a class="cBookmarkTop" id="The-Network-in-the-Language"></a>
<div class="container cFeatureSection">
<div class="col-sm-12 col-md-4 cColDiagram cSmallImage ">
<img src="/img/home-page/network-in-the-language.png"/>
</div>
<div class="col-sm-12 col-md-8 cColCOntent">
<h3>The Network in the Language</h3>
<p>For decades, programming languages have treated networks simply as I/O sources. Ballerina introduces fundamental, new abstractions of client objects, services, resource functions, and listeners to bring networking into the language so that programmers can directly address the <a target="_blank" href="https://en.wikipedia.org/wiki/Fallacies_of_distributed_computing" target="_blank">Fallacies of Distributed Computing</a> as part of their application logic. This facilitates resilient, secure, performant network applications to be within every programmer’s reach.</p>
<ul class="cInlinelinklist">
<li><a class="cGreenLinkArrow" href="/why-ballerina/the-network-in-the-language">More Info</a></li>
</ul>
</div>
</div>
<a class="cBookmarkTop" id="Sequence-Diagrams-for-Programming"></a>
<div id="" class="container cFeatureSection">
<div class="col-sm-12 col-md-7 cColCOntent">
<h3>Sequence Diagrams for Programming</h3>
<p>Sequence diagrams have been everyone’s favorite tool to describe how distributed & concurrent programs work. Yet, no current programming language lets you write your logic as a sequence diagram. In Ballerina, every program is a sequence diagram that illustrates distributed and concurrent interactions automatically. The diagram is the code. The code is the diagram.</p>
<ul class="cInlinelinklist">
<li><a class="cGreenLinkArrow" href="/why-ballerina/sequence-diagrams-for-programming">More Info</a></li>
</ul>
</div>
<div id="" class="col-sm-12 col-md-5 cColDiagram">
<img src="/img/home-page/sequence-diagrams-for-programming.png"/>
</div>
</div>
<a class="cBookmarkTop" id="Structural-Open-by-Default-Typing"></a>
<div id="" class="container cFeatureSection">
<div class="col-sm-12 col-md-4 cColDiagram cSmallImage">
<img style="width:75%;" src="/img/home-page/structtypes.png"/>
</div>
<div class="col-sm-12 col-md-8 cColCOntent">
<h3>Structural, Open-by-Default Typing</h3>
<p>Static typing is the network application programmer’s development headache and dynamic typing is the reliability engineer’s nightmare. Ballerina’s statically-typed, structural type system that is designed to be network data schema friendly allows application programmers to write code that adheres to the <a target="_blank" href="https://en.wikipedia.org/wiki/Robustness_principle">Robustness Principle</a>: Be conservative in what you send, be liberal in what you accept.</p>
<ul class="cInlinelinklist">
<li><a class="cGreenLinkArrow" href="/why-ballerina/network-aware-type-system">More Info</a></li>
</ul>
</div>
</div>
<a class="cBookmarkTop" id="From-Code-to-Cloud"></a>
<div id="" class="container cFeatureSection">
<div class="col-sm-12 col-md-8 cColCOntent">
<h3>From Code to Cloud</h3>
<p>In the cloud-era, running a program is no longer just a matter of compiling and executing but rather it is about compiling, building the image, pushing the image, configuring container orchestration, and .. eventually running. Ballerina brings the entire program execution process to the hands of the developer with extensible metadata that gets compiled to runnable programs for all major cloud platforms. You code, we cloud!</p>
<ul class="cInlinelinklist">
<li><a class="cGreenLinkArrow" href="/why-ballerina/from-code-to-cloud">More Info</a></li>
</ul>
</div>
<div class="col-sm-12 col-md-4 cColDiagram cSmallImage">
<img src="/img/home-page/from-code-to-cloud.png"/>
</div>
</div>
<a class="cBookmarkTop" id="Batteries-Included"></a>
<div id="" class="container cFeatureSection">
<div class="col-sm-12 col-md-4 cColDiagram">
<img src="/img/home-page/batteries-included.png"/>
</div>
<div class="col-sm-12 col-md-8 cColCOntent">
<h3>Batteries Included</h3>
<p>Today’s network is democratized! HTTPS to HTTP/2 to WebSockets to WebSub to AMQP to JSON to XML to ProtoBuf to gRPC to OpenAPI to plain old bytes - Ballerina has it all in the standard library and toolchain to help developers rapidly build applications. At development time, Ballerina covers documentation, testing, sharing, versioning, and more. We plumb, you build!</p>
<ul class="cInlinelinklist">
<li><a class="cGreenLinkArrow" href="/why-ballerina/batteries-included">More Info</a></li>
</ul>
</div>
</div>
<a class="cBookmarkTop" id="Developer-First"></a>
<div id="" class="container cFeatureSection">
<div class="col-sm-12 col-md-8 cColCOntent">
<h3>Developer First</h3>
<p>Programs in the real world are written once and read tens to hundreds of times. Whenever possible, Ballerina prioritizes programmer convenience & productivity with familiarity, clearer abstractions, and easier concepts over uber system performance. Today, hardware is cheap, we programmers are not and time to market is everything.</p>
</div>
<div class="col-sm-12 col-md-4 cColDiagram">
<img src="/img/home-page/developer-first.png"/>
</div>
</div>
</div>