Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

Mojo 0.7 released (Perl on Rails in 150 lines of code)

by sri (Vicar)
on Oct 20, 2008 at 18:44 UTC ( [id://718268]=perlnews: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    $ cpanp install Mojo
    ... no prereqs needed, so installation will be very fast ...
    ...
    $ cd my_mojolicious_app
    $ bin/mojolicious daemon
    Server available at http://127.0.0.1:3000.
    
  2. or download this
    $ MOJO_RELOAD=1 bin/mojolicious daemon
    Server available at http://127.0.0.1:3000.
    
  3. or download this
    package MyMojoliciousApp;
    
    ...
    }
    
    1;
    
  4. or download this
    package MyMojoliciousApp::Example;
    
    ...
    }
    
    1;
    
  5. or download this
    % my $c = shift;
    
    ...
    This page was generated from a template at templates/example/test.phtm
    +l, 
    <a href="<%= $c->url_for(action => 'test') %>">click here</a> 
    to move forward to a templateless action.
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlnews [id://718268]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others scrutinizing the Monastery: (3)
As of 2024-04-26 03:02 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found