|
1 | 1 | <section id="intro" class="row bg-graydark"> |
2 | | - <div class="contain row"> |
3 | | - <aside class="col 40"> |
| 2 | + <div id="intro-top" class="contain row"> |
| 3 | + <aside> |
4 | 4 | <a id="logo" href="/"><img src="images/roda-logo.svg" alt="Roda"></a> |
5 | 5 | <small class='gray'>The Routing Tree Web Toolkit</small> |
6 | 6 | <nav> |
|
12 | 12 | <h2 class='aqua'>Simplicity</h2> |
13 | 13 | <p>Roda is designed to be simple, both internally and externally, reducing cognitive overhead.</p> |
14 | 14 |
|
15 | | - <h2 class='aqua'>Usability</h2> |
16 | | - <p>Roda uses a routing tree. At any point during routing, it allows you to operate on the current request.</p> |
| 15 | + <h2 class='aqua'>Understandability</h2> |
| 16 | + <p>Roda avoids hidden control flow, allowing you to easily see how requests are handled.</p> |
17 | 17 |
|
18 | | - <h2 class='aqua'>Productivity</h2> |
19 | | - <p>Roda makes it easy to develop applications quickly.</p> |
| 18 | + <h2 class='aqua'>Performance</h2> |
| 19 | + <p>Roda is significantly faster than other popular ruby web frameworks.</p> |
| 20 | + |
| 21 | + <h2 class='aqua'>Extensibility</h2> |
| 22 | + <p>Roda is built completely out of plugins.</p> |
| 23 | + |
| 24 | + <h2 class='aqua'>Reliability</h2> |
| 25 | + <p>Roda supports and encourages immutability, and limits namespace pollution for instance variables, constants, and methods.</p> |
20 | 26 | </aside> |
21 | | - <div class="col 60"> |
| 27 | + <div> |
22 | 28 | <pre> |
23 | 29 | <code class="language-ruby"> |
24 | 30 | # cat config.ru |
|
96 | 102 |
|
97 | 103 | <section id="videos" class="bg-cream"> |
98 | 104 | <div class="contain"> |
99 | | - <h2 class="aqua center">Learn Roda. It's Easy!</h2> |
| 105 | + <h2 class="aqua center">Stable for 10+ years, and constantly improving!</h2> |
100 | 106 | <div class="video row"> |
101 | 107 | <div class="col 40"> |
102 | 108 | <iframe src='https://www.youtube.com/embed/W8zglFFFRMM?showinfo=0"' frameborder='0' allow='autoplay;encrypted-media' allowfullscreen></iframe> |
103 | 109 | </div> |
104 | 110 | <div class="col 60"> |
105 | | - <h3><a href="https://www.youtube.com/watch?v=W8zglFFFRMM" target="_blank">RubyConf 2014 - Roda: The Routing Tree Web Framework by Jeremy Evans</a></h3> |
106 | | - <p>Watch Roda's lead developer guide you through design philosophy and basic functions. Get up and running in no time!</p> |
| 111 | + <h3><a href="https://www.youtube.com/watch?v=GrYlZjbXeP8" target="_blank">RubyConf 2024 - 10 Years of Roda</a></h3> |
| 112 | + <p>Watch Roda's lead developer discuss the history of Roda, and the improvements made in Roda's first 10 years.</p> |
107 | 113 | </div> |
108 | 114 | </div> |
109 | 115 | </div> |
110 | 116 | </section> |
111 | 117 |
|
112 | | -<section id="ecosystem" class="bg-green white center"> |
113 | | - <strong> |
114 | | - <svg class="like" viewBox="0 0 39.87 37.41"><path d="M12.38,19.53s1.37.25,2.74-3.25,4-7,4-10.52-.2-4.6,1.8-5,4.79,2.75,4.79,5.88a31.57,31.57,0,0,1-1.5,7.7H35.63c3.75,0,4.77,4.11,1.49,5.59,3.28,1.77,2.19,5.43-.87,5.79,3,1.79,1.55,5.63-.83,5.59a2.7,2.7,0,0,1-1.67,5H19.44c-2.13,0-5.32-.29-6.82-2"/><rect x="0.75" y="17.41" width="11.88" height="19.25" rx="1" ry="1"/></svg> |
115 | | - Roda is the fastest Ruby web framework,<br> |
116 | | - as measured by the <a href="https://github.com/jeremyevans/r10k">r10k benchmark</a>. |
117 | | - </strong> |
118 | | -</section> |
119 | | - |
120 | 118 | <section id="performance" class="bg-aqua"> |
121 | 119 | <h2 class="white center">Comparison to Popular Ruby Web Frameworks</h2> |
122 | 120 |
|
| 121 | + <p class="benchmark-data benchmark-info white center">Compared to other popular Ruby web frameworks, Roda has the highest performance (note log10 scale in request per second graph) and uses the least memory.</p> |
| 122 | + |
123 | 123 | <div class="benchmark-images"> |
124 | 124 | <img src="images/popular/rps.png"> |
125 | 125 | <img src="images/popular/memory.png"> |
|
129 | 129 | <a class="white" href="data/popular/rps.txt">Requests/Second</a> | |
130 | 130 | <a class="white" href="data/popular/memory.txt">Initial Memory Usage</a> |
131 | 131 | </p> |
132 | | - |
133 | | - <h2 class="white center">Comparison to Other Ruby Web Frameworks</h2> |
134 | | - |
135 | | - <div class="benchmark-images"> |
136 | | - <img src="images/other/rps.png"> |
137 | | - <img src="images/other/memory.png"> |
138 | | - </div> |
139 | | - |
140 | | - <p class="benchmark-data white center">Data: |
141 | | - <a class="white" href="data/other/rps.txt">Requests/Second</a> | |
142 | | - <a class="white" href="data/other/memory.txt">Initial Memory Usage</a> |
143 | | - </p> |
144 | 132 | </section> |
145 | 133 |
|
146 | 134 | <section id="compare" class="bg-gray white"> |
|
0 commit comments