=encoding utf8 =head1 NAME Mojolicious::Guides - The Mojolicious Guide to the Galaxy =head1 DON'T PANIC! We are constantly working on new documentation. Follow us on L or join the official IRC channel C<#mojo> on C to get all the latest updates. =head1 BASICS =over 2 =item Learning Perl If you are new to Perl, we recommend L for a quick introduction, or the L, freely available in many formats. Both are excellent introductions to the language. For more books and documentation, check out L. =item Learning Web Technologies All web development starts with HTML, CSS and JavaScript, to learn the basics we recommend the L. And if you want to know more about how browsers and web servers actually communicate, there's also a very nice introduction to L. =back =head1 CONVENTIONS =over 2 =item Modern Perl L uses a modern subset of Perl exclusively, and therefore all documentation assumes that L, L, L and Perl 5.10 L are enabled, even if examples don't specifically mention it. use strict; use warnings; use utf8; use feature ':5.10'; Some modules, like L and L, will enable them for you automatically, whenever they are used. =back =head1 TUTORIAL =over 2 =item L A fast and fun way to get started developing web applications with L. The tutorial introduces the L micro web framework, which is only a thin wrapper around the full web framework. The simplified notation introduced in the tutorial is commonly used throughout the guides and is therefore considered a prerequisite, you should definitely take a look! =back =head1 GUIDES =over 2 =item L Starting a L prototype from scratch and growing it into a well-structured L application. =item L Simple and fun introduction to the L router. =item L Generating content with the L renderer. =item L Powerful yet elegant testing techniques and tools for L and other web applications. =item L Cooking with L, recipes for every taste. =item L Become a part of the ongoing L development. =item L Answers to the most frequently asked questions. =back =head1 HIGHLIGHTS L and L are the sum of many parts, built on top of the L web development toolkit. Small building blocks that can be used independently for all kinds of applications, these are the most prominent ones. =over 2 =item L Full featured non-blocking I/O HTTP and WebSocket user agent. =item L Very fun and minimalistic HTML/XML DOM parser with CSS selector support. =item L Minimalistic JSON implementation that just works. =item L Full featured, highly portable non-blocking I/O HTTP and WebSocket server, with self-restart support through L, perfect for development and testing. =item L Full featured, UNIX optimized, preforking non-blocking I/O HTTP and WebSocket server with support for zero downtime software upgrades (hot deployment) through L. =item L, L Transparent CGI and L support out of the box. =item L A minimalistic event loop with support for multiple reactor backends. =item L Very Perl-ish and minimalistic template system. =item L Testing toolkit for web applications. =item L Fun one-liners using everything above. =back =head1 SPIN-OFFS These modules are not part of the L distribution, but have been designed to be used with it and are being developed under the same umbrella. =over 2 =item L A tiny wrapper around L that makes L a lot of fun to use with L. Perform queries blocking and non-blocking, use all L PostgreSQL has to offer, generate CRUD queries from data structures, manage your database schema with migrations and build scalable real-time web applications with the publish/subscribe pattern. And it comes with two great L you can use for inspiration. The minimal L application will show you how to scale WebSockets to multiple servers, and the well-structured L application how to apply the MVC design pattern in practice. =item L A full featured job queue for L with support for multiple backends (such as L). Job queues allow you to process time and/or computationally intensive tasks in background processes, outside of the request/response lifecycle. Among those tasks you'll commonly find image resizing, spam filtering, HTTP downloads, building tarballs, warming caches and basically everything else you can imagine that's not super fast. And it comes with a great example application you can use for inspiration. The L will show you how to integrate background jobs into well-structured L applications. =back =head1 REFERENCE This is the class hierarchy of the L distribution. =over 2 =item * L =item * L =over 2 =item * L =over 2 =item * L =item * L =back =item * L =item * L =over 2 =item * L =item * L =back =item * L =item * L =item * L =item * L =over 2 =item * L =over 2 =item * L =item * L =back =item * L =over 2 =item * L =item * L =back =item * L =item * L =item * L =item * L =item * L =item * L =item * L =over 2 =item * L =item * L =back =item * L =over 2 =item * L =over 2 =item * L =back =back =item * L =over 2 =item * L =item * L =over 2 =item * L =back =item * L =back =item * L =over 2 =item * L =item * L =back =item * L =item * L =back =item * L =item * L =item * L =item * L =item * L =item * L =item * L =over 2 =item * L =back =item * L =item * L =item * L =over 2 =item * L =back =item * L =item * L =item * L =item * L =item * L =item * L =item * L =item * L =over 2 =item * L =item * L =item * L =item * L =item * L =item * L =item * L =item * L =item * L =item * L =item * L =item * L =item * L =item * L =item * L =item * L =over 2 =item * L =back =back =item * L =item * L =over 2 =item * L =over 2 =item * L =back =item * L =item * L =over 2 =item * L =back =item * L =item * L =item * L =item * L =back =item * L =item * L =item * L =item * L =over 2 =item * L =back =item * L =item * L =item * L =item * L =item * L =item * L =back =item * L =item * L =item * L =item * L =over 2 =item * L =back =item * L =item * L =item * L =item * L =item * L =back =head1 MORE A lot more documentation and examples by many different authors can be found in the L. =head1 SUPPORT If you have any questions the documentation might not yet answer, don't hesitate to ask on the L or the official IRC channel C<#mojo> on C (L). =cut