https://github.com/markbates/micro-mack
A 'micro' version of the Mack Framework
https://github.com/markbates/micro-mack
Last synced: 12 months ago
JSON representation
A 'micro' version of the Mack Framework
- Host: GitHub
- URL: https://github.com/markbates/micro-mack
- Owner: markbates
- Created: 2008-08-06T02:54:20.000Z (almost 18 years ago)
- Default Branch: master
- Last Pushed: 2008-08-06T03:11:18.000Z (almost 18 years ago)
- Last Synced: 2025-02-07T14:39:24.778Z (over 1 year ago)
- Language: Ruby
- Homepage: http://www.mackframework.com
- Size: 73.2 KB
- Stars: 3
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README
Awesome Lists containing this project
README
Micro Mack
========================================================================
micro-mack was developed by: markbates
=== Sample Application
require "rubygems"
require "micro-mack"
app.get("/") do
text "hello world!"
end
app.get("/foo") do
inline "<%= 1 + 1 %>"
end
app.get("/posts/new") do
text %{
}
end
app.post("/posts/create") do
text "id: #{params[:id]}"
end
MicroMack.start!