> > > > This is a small taste of Mojolicious' event-driven goodness. The >> example runs an event loop with a web server *and* a web socket server. The >> web server listens for GET requests at '/' and serves up the index.html.ep >> template. When your web browser loads this page, it makes a web socket >> server connection back to the application at '/title', which makes a >> non-blocking GET request to http://mojolicio.us and returns its title to >> the browser. Mojolicious gives you power without sacrificing legibility and >> ease of use. >> > The more i think about it the more i like it... but it needs to be much shorter for people to actually read it.
When you open "http://127.0.0.1:3000/" with a browser, the web server will respond with the template "index.html.ep". Then the browser will open a WebSocket connection to "http://127.0.0.1:3000/title" and send the URL "http://mojolicio.us", from which the web server then extracts the title using an HTTP user agent. My best try so far... -- sebastian -- You received this message because you are subscribed to the Google Groups "Mojolicious" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/mojolicious. For more options, visit https://groups.google.com/d/optout.
