public
Fork of markbates/mack
Description: A Ruby web application framework
Homepage: http://www.mackframework.com
Clone URL: git://github.com/juretta/mack.git
Search Repo:
Mark Bates (author)
Thu Mar 27 10:24:26 -0700 2008
commit  154b7ac0033b308abcd61a029f75a03afc1ff397
tree    a6028682e442ed686565447a9f1205bfa00a77d0
parent  02baa2080847e8071da060809e1843e4be21139f parent  5e17c42341e2704af3764572962c6820bf799f17
mack /
name age message
folder .gitignore Wed Mar 26 16:41:21 -0700 2008 Updated to use mack_ruby_core_extensions 0.1.3 [markbates]
folder CHANGELOG Wed Mar 26 18:08:24 -0700 2008 Release 0.4.0 [markbates]
folder README Wed Mar 05 08:27:37 -0800 2008 initial import [markbates]
folder RakeFile Fri Mar 14 14:13:26 -0700 2008 More testing for distributed routes, as well as... [markbates]
folder bin/ Tue Mar 18 12:38:58 -0700 2008 Added #!/usr/local/bin/ruby to the mack binary.... [markbates]
folder lib/ Thu Mar 27 10:24:26 -0700 2008 Merge branch 'master' into more_test_support [Mark Bates]
folder tasks/ Wed Mar 26 18:39:26 -0700 2008 Release 0.4.0.1. Upgraded to cachetastic 1.4.2. [markbates]
folder test/ Thu Mar 27 10:24:26 -0700 2008 Merge branch 'master' into more_test_support [Mark Bates]
README
=Hello, and welcome to Mack!

Mack is a Ruby web application framework. It takes the best ideas from several frameworks, including Rails, Merb, and 
Ramaze, and tries to improve upon those ideas. Mack uses Rack[http://rack.rubyforge.org] as an abstraction layer to 
separate itself from it's deployment.

Mack is also about performance. Because Mack uses technologies like Thin[http://code.macournoyer.com/thin] and 
Rack[http://rack.rubyforge.org], Mack is a multithreaded and fast framework. Current tests show 
Mack/Thin[http://code.macournoyer.com/thin] is twice as fast as Rails/Mongrel. Mack tries to strip out a lot of the 
cruft from other frameworks, like Rails, and delivers you a fast, efficient framework designed for actual real world 
development.

==Installation
  $ sudo gem install mack

==Getting Started
First things first, let's generate your application:
  $ mack <app_name>

To run a Mack application:
  $ rake script:server

It will try and run the app using the following servers in this order:
  * Thin
  * Mongrel
  * WEBrick

rake script:server takes the following options:
  $ rake script:server PORT=<port> MACK_ENV=<environment> HANDLER=<rack_handler>
  
The port and rack_handler flags don't apply if you're using Thin[http://code.macournoyer.com/thin] to run the app, which 
is the default if it is installed. Use the thin.yml file in your application's config directory to configure Thin. The 
rack_handler one will allow you to switch which server is used to run the app. See Rack for more Rack::Handlers.
  
The environment can also be changed like this:
  $ rake script:server#<environment>
  
You can also run:
  $ rake console
This will give you console level access to your application.


==Contact
Please mail bugs, suggestions and patches to <bugs@mackframework.com>.

On the web at: http://www.mackframework.com

==License and Copyright
Copyright (C) 2008 Mark Bates, http://www.mackframework.com

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated 
documentation files (the "Software"), to deal in the Software without restriction, including without limitation the 
rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit 
persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the 
Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE 
WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS BE 
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT 
OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

==Other documentation:
* Rack[http://rack.rubyforge.org]
* Thin[http://code.macournoyer.com/thin]