webdev
webdev
webdev
Apr 11, 2019 · 22 min

Mikers and Shadow Path chat about PHP, NodeJS and GO

MP3

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))

}

This podcast uses Anchor (from Spotify) for stats, tracking, and dynamic audio. What this means Episodes play from the podcast's own servers, unmodified. Not affiliated with Podbay.