Mojolicious Explained
|
Author: | Sebastian Riedel |
Released: | [1] |
Programming Language: | Perl |
Genre: | Web application framework |
License: | PAL |
Mojolicious is a real-time web application framework, written by Sebastian Riedel, creator of the web application framework Catalyst.[2] Licensed as free software under the Artistic License v 2.0, it is written in the Perl programming language, and is designed for use in both simple and complex web applications, based on Riedel's previous experience developing Catalyst.[3] Documentation for the framework was partly funded by a grant from The Perl Foundation.[4]
As it is written in Perl, Mojolicious can run on any of the many operating systems for which Perl is available, and can be installed directly from CPAN.[5] Prebuilt packages of Mojolicious are also available for NetBSD from pkgsrc[6] and for Microsoft Windows and other operating systems from ActiveState's Perl package manager.[7]
Features
- Real-time web framework supporting a simplified single file mode through Mojolicious::Lite.[8]
- Out-of-the-box support for RESTful routes, plugins, Perl-ish templates, session management, signed cookies, testing framework, static file server and full Unicode support.
- Portable and object oriented Perl API with no requirements besides Perl 5.10.1 (although 5.18+ is recommended, and optional CPAN modules will be used to provide advanced functionality if they are installed).
- Full stack HTTP and WebSocket.[9] [10] Client/server implementation with IPv6, TLS, IDNA, Comet (long polling), chunking and multipart support.
- Built-in non-blocking I/O web server supporting libevent and hot deployment for embedding.[11]
- Automatic CGI and PSGI detection.
- JSON and HTML5/XML parser with CSS3 selector support.[12]
External links
Notes and References
- Web site: Mojolicious change log.
- Web site: Mojolicious 2.0: Modern Perl For the Web. Slashdot. 17 Oct 2011.
- Web site: Mojolicious - An Interview with Sebastian Riedel. Tara Gibbs. ActiveState. 17 February 2011.
- Web site: Mojolicious Documentation Closing Grant Report. Alberto Simões. The Perl Foundation. 16 Dec 2010.
- Web site: Mojolicious. CPAN.
- Web site: The NetBSD Packages Collection: www/p5-Mojolicious. pkgsrc.
- Web site: Mojolicious. Perl package manager.
- Web site: Mojolicious - Perl real-time web framework. Mojolicious.
- Web site: Updating the Duct Tape for HTML5: Websockets in Perl (Mojolicious). https://web.archive.org/web/20171008232008/http://webdev.infowebcentral.com/redirect/85036. dead. 8 October 2017. DZone. 1 Nov 2011.
- Book: McDaniel, Adam . HTML5: Your Visual Blueprint for Designing Rich Web Pages and Applications . Visual. November 2011. 978-0-470-95222-1.
- News: Watch your processes remotely with Mojolicious and a smartphone. Jamie Popkin. Linux Journal. 2011 . 207. July 2011.
- Web site: Mojolicious. Marcus Ramberg. Yet Another Perl Conference. 4 Dec 2010.