Software:Mojolicious

From HandWiki
Mojolicious
Mojolicious logo.png
Original author(s)Sebastian Riedel
Initial releaseSeptember 24, 2008; 15 years ago (2008-09-24)[1]
Stable release
RepositoryMojolicious Repository
Written inPerl
TypeWeb application framework
LicensePAL
Websitemojolicious.org

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]

References

  1. "Mojolicious change log". https://metacpan.org/changes/distribution/Mojolicious. 
  2. "Mojolicious 2.0: Modern Perl For the Web". Slashdot. 17 Oct 2011. http://developers.slashdot.org/story/11/10/18/0110229/mojolicious-20-modern-perl-for-the-web. 
  3. Tara Gibbs (17 February 2011). "Mojolicious - An Interview with Sebastian Riedel". ActiveState. http://www.activestate.com/blog/2011/02/mojolicious-interview-sebastian-riedel. 
  4. Alberto Simões (16 Dec 2010). "Mojolicious Documentation Closing Grant Report". The Perl Foundation. http://news.perlfoundation.org/2010/12/mojolicious-documentation-clos.html. 
  5. "Mojolicious". CPAN. https://metacpan.org/release/Mojolicious. 
  6. "The NetBSD Packages Collection: www/p5-Mojolicious". pkgsrc. http://ftp.netbsd.org/pub/pkgsrc/current/pkgsrc/www/p5-Mojolicious/README.html. 
  7. "Mojolicious". Perl package manager. http://code.activestate.com/ppm/Mojolicious/. 
  8. "Mojolicious - Perl real-time web framework". Mojolicious. http://mojolicious.org/. 
  9. "Updating the Duct Tape for HTML5: Websockets in Perl (Mojolicious)". DZone. 1 Nov 2011. http://webdev.infowebcentral.com/redirect/85036. 
  10. McDaniel, Adam (November 2011). HTML5: Your Visual Blueprint for Designing Rich Web Pages and Applications. Visual. ISBN 978-0-470-95222-1. https://books.google.com/books?id=pfLdvQIM7bIC&q=Mojolicious&pg=PT534. 
  11. Jamie Popkin (July 2011). "Watch your processes remotely with Mojolicious and a smartphone". 2011. Linux Journal. http://dl.acm.org/citation.cfm?id=2015981. 
  12. Marcus Ramberg (4 Dec 2010). "Mojolicious". Yet Another Perl Conference. http://conferences.yapceurope.org/lpw2010/talk/3076. 

External links