Project Name | Stars | Downloads | Repos Using This | Packages Using This | Most Recent Commit | Total Releases | Latest Release | Open Issues | License | Language |
---|---|---|---|---|---|---|---|---|---|---|
Kemal | 3,520 | 9 hours ago | 18 | mit | Crystal | |||||
Fast, Effective, Simple Web Framework | ||||||||||
Scalatra | 2,617 | 49 | 39 | 7 hours ago | 28 | December 19, 2020 | 66 | other | Scala | |
Tiny Scala high-performance, async web framework, inspired by Sinatra | ||||||||||
Mojo | 2,576 | 192 | 564 | 4 days ago | 743 | June 14, 2023 | 77 | artistic-2.0 | Perl | |
:sparkles: Mojolicious - Perl real-time web framework | ||||||||||
Lithium | 1,061 | a year ago | 21 | mit | C++ | |||||
Easy to use C++17 HTTP Server with no compromise on performances. https://matt-42.github.io/lithium | ||||||||||
Cutelyst | 857 | 5 days ago | January 19, 2021 | 21 | bsd-3-clause | C++ | ||||
A C++ Web Framework built on top of Qt, using the simple approach of Catalyst (Perl) framework. | ||||||||||
Bowler | 122 | 11 years ago | 31 | bsd-3-clause | Scala | |||||
RESTful Web Framework based on Scala, built on top of Scalatra & Scalate | ||||||||||
Sinja | 81 | 3 | 2 | 5 years ago | 19 | October 27, 2017 | 7 | mit | Ruby | |
RESTful, {json:api}-compliant web services in Sinatra | ||||||||||
Dito | 73 | 4 | 6 | 9 days ago | 292 | July 22, 2022 | 3 | mit | JavaScript | |
Dito.js is a declarative and modern web framework with a focus on API driven development, based on Objection.js, Koa.js and Vue.js – Developed at Lineto by Jürg Lehni and made available by Lineto in 2018 under the MIT license | ||||||||||
Esmerald | 68 | 2 days ago | 1 | mit | Python | |||||
Esmerald framework - Highly scalable, performant, easy to learn, easy to code and for every sizeable and complex application | ||||||||||
Tanuki | 59 | 4 years ago | 1 | mit | Go | |||||
Tanuki is a polyglot web framework that allows you to develop web applications and services in multiple programming languages. |
Mojolicious is a fresh take on Perl web development, based on years of experience developing the Catalyst framework, and utilizing the latest web standards and technologies. You can get started with your project quickly, with a framework that grows with your needs.
The Mojo stack provides a consistent set of components that can be used in any project. The guides cover most aspects of using the framework and the components have comprehensive reference documentation. Mojolicious is a real-time web framework, which allows a new class of web applications using WebSockets and having long-running requests without blocking.
Join us now, and be a part of a friendly and knowledgeable community of developers!
All you need is a one-liner, it takes less than a minute.
$ curl -L https://cpanmin.us | perl - -M https://cpan.metacpan.org -n Mojolicious
We recommend the use of a Perlbrew environment.
These three lines are a whole web application.
use Mojolicious::Lite;
get '/' => {text => 'I Mojolicious!'};
app->start;
To run the example with the built-in development web server, just put the code into a file and start it with morbo
.
$ morbo hello.pl
Web application available at http://127.0.0.1:3000
Test it with any HTTP client you prefer.
$ curl http://127.0.0.1:3000/
I Mojolicious!
Use all the latest Perl and HTML features in beautiful single file prototypes like this one, and grow them easily into well-structured Model-View-Controller web applications.
use Mojolicious::Lite -signatures;
# Render template "index.html.ep" from the DATA section
get '/' => sub ($c) {
$c->render(template => 'index');
};
# WebSocket service used by the template to extract the title from a website
websocket '/title' => sub ($c) {
$c->on(message => sub ($c, $msg) {
my $title = $c->ua->get($msg)->result->dom->at('title')->text;
$c->send($title);
});
};
app->start;
__DATA__
@@ index.html.ep
% my $url = url_for 'title';
<script>
const ws = new WebSocket('<%= $url->to_abs %>');
ws.onmessage = function (event) { document.body.innerHTML += event.data };
ws.onopen = function (event) { ws.send('https://mojolicious.org') };
</script>
Take a look at our excellent documentation!