This document provides an introduction and overview of the Mojolicious web framework for Perl. It notes that Mojolicious was developed by Sebastian Reidel as a flexible framework focused on the latest web technologies. Key features highlighted include flexibility through a modular design with no rigid constraints, fast prototyping capabilities, built-in web servers and real-time features, and being self-contained requiring only a single Perl distribution.
6. Introduction
● Development started in late 2008 by
Sebastian Reidel (original developer of
Catalyst)
● Concept based initially on Sinatra (Ruby),
steals ideas from other frameworks
7. Introduction
● Development started in late 2008 by
Sebastian Reidel (original developer of
Catalyst)
● Concept based initially on Sinatra (Ruby),
steals ideas from other frameworks
● Focus on supporting latest web technologies
8. Introduction
● Development started in late 2008 by
Sebastian Reidel (original developer of
Catalyst)
● Concept based initially on Sinatra (Ruby),
steals ideas from other frameworks
● Focus on supporting latest web technologies
● “Duct tape for the HTML5 web”
9. Introduction
● Development started in late 2008 by
Sebastian Reidel (original developer of
Catalyst)
● Concept based initially on Sinatra (Ruby),
steals ideas from other frameworks
● Focus on supporting latest web technologies
● “Duct tape for the HTML5 web”
● Active and helpful community
10. Introduction
● Development started in late 2008 by
Sebastian Reidel (original developer of
Catalyst)
● Concept based initially on Sinatra (Ruby),
steals ideas from other frameworks
● Focus on supporting latest web technologies
● “Duct tape for the HTML5 web”
● Active and helpful community
22. Flexibility
● Suitable to any workflow
– No built-in Model
– No rigid constraints imposed by design
– Customizable RESTful routes dispatcher
23. Self-contained
● Single 500kB CPAN distribution (only
requirement is Perl 5.10.1+)
● Has built-in templating engine, but supports
others through plugins
32. Fast prototyping
● Create Mojolicious::Lite application
● Test with built-in development web-server
(morbo)
● Convert to full application (Mojolicious)
36. Hypnotoad
● Built-in high-performance web server:
– Non blocking I/O HTTP and Websocket server
– Hot deployment support
– Usual setup: Hypnotoad behind nginx reverse-
proxy