Skip to content

Instantly share code, notes, and snippets.

@metaperl
Created September 14, 2011 08:50
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save metaperl/1216130 to your computer and use it in GitHub Desktop.
Save metaperl/1216130 to your computer and use it in GitHub Desktop.
Patch to Growing Guide Overview?
Starting a Mojolicious::Lite prototype from scratch and growing it
into a well structured Mojolicious application is a simple process. A
Lite app is a single file which will sprout in 3 ways. First an
inflate command will extract the inline templates and layout and place
them into templates and templates/layout directories. Next, the logic
of the script file will go into the startup method of an Application
class. Finally, a simple starter script will invoke your application
class. An optional fourth step is to extend/replace the default
Mojolicious controller. All of these steps are covered in
L<WELL_STRUCTURED_APPLICATION>.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment