EPISODE · Apr 11, 2019 · 22 MIN
Mikers and Shadow Path chat about PHP, NodeJS and GO
from webdev · host webdev
Lumen a php microframework by the creators of laravel: https://lumen.laravel.com/ <?php $app->get('user/{id}', function($id) { return User::findOrFail($id); }); https://tutorialedge.net/golang/creating-simple-web-server-with-golang/ func main() { http.HandleFunc("/", func(w http.ResponseWriter, r *http.Request) { fmt.Fprintf(w, "Hello, %q", html.EscapeString(r.URL.Path)) }) http.HandleFunc("/hi", func(w http.ResponseWriter, r *http.Request){ fmt.Fprintf(w, "Hi") }) log.Fatal(http.ListenAndServe(":8081", nil)) }
Embed this episode
Ready to play
Mikers and Shadow Path chat about PHP, NodeJS and GO
No transcript for this episode yet
Similar Episodes
No similar episodes found.