Date post: | 22-May-2015 |
Category: |
Technology |
Upload: | ryan-levick |
View: | 476 times |
Download: | 1 times |
So many choices
ASP.Net MVC
Rails CakeSinatra
Play Liberator Grails
Meteor
Code Ignitor
DjangoCompojure
Spring
Scalatra
What Makes Them Different?
• Language
• Performance
• General Developer Speed
• Library Support
• Abstraction
var http = require("http"); http.createServer(function(request,response){ response.write("Hello World"); response.end(); }).listen(8080);
package main !import ( "fmt" "net/http" ) !func handler(w http.ResponseWriter, r *http.Request) { fmt.Fprint(w, "Hello, world!") } !func main() { http.HandleFunc("/", handler) http.ListenAndServe(":8080", nil) }
Rackapp = lambda do |env| body = "Hello, World!" [ 200, { "Content-Type" => "text/plain", "Content-Length" => body.length.to_s }, [body] ] end !run app