Mojolicious

From Wikipedia, the free encyclopedia
Mojolicious
Mojolicious logo.png
Original author(s)Sebastian Riedel
Initial releaseSeptember 24, 2008; 13 years ago (2008-09-24)[1]
Stable release
9.19[2] / 2021-06-01
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.[3] 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.[4] Documentation for the framework was partly funded by a grant from The Perl Foundation.[5]

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.[6] Prebuilt packages of Mojolicious are also available for NetBSD from pkgsrc[7] and for Microsoft Windows and other operating systems from ActiveState's Perl package manager.[8]

Features[]

  • Real-time web framework supporting a simplified single file mode through Mojolicious::Lite.[9]
  • 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.[10][11] 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.[12]
  • Automatic CGI and PSGI detection.
  • JSON and HTML5/XML parser with CSS3 selector support.[13]

References[]

  1. ^ "Mojolicious change log".
  2. ^ "Mojolicious Versions". mojolicious.org. Retrieved 2021-06-19.
  3. ^ "Mojolicious 2.0: Modern Perl For the Web". Slashdot. 17 Oct 2011.
  4. ^ Tara Gibbs (17 February 2011). "Mojolicious - An Interview with Sebastian Riedel". ActiveState.
  5. ^ Alberto Simões (16 Dec 2010). "Mojolicious Documentation Closing Grant Report". The Perl Foundation.
  6. ^ "Mojolicious". CPAN.
  7. ^ "The NetBSD Packages Collection: www/p5-Mojolicious". pkgsrc.
  8. ^ "Mojolicious". Perl package manager.
  9. ^ "Mojolicious - Perl real-time web framework". Mojolicious.
  10. ^ "Updating the Duct Tape for HTML5: Websockets in Perl (Mojolicious)". DZone. 1 Nov 2011. Archived from the original on 8 October 2017.
  11. ^ McDaniel, Adam (November 2011). HTML5: Your Visual Blueprint for Designing Rich Web Pages and Applications. Visual. ISBN 978-0-470-95222-1.
  12. ^ Jamie Popkin (July 2011). "Watch your processes remotely with Mojolicious and a smartphone". Vol. 2011, no. 207. Linux Journal.
  13. ^ Marcus Ramberg (4 Dec 2010). "Mojolicious". Yet Another Perl Conference.

External links[]


Retrieved from ""