PHP & More

A technical blog about programming in PHP and about technology in general: programming, workarounds and troubleshooting

Node.js is a JavaScript server-side framework. One of the things you can do easily with it is write a HTTP server. a simple “Hello, world” server looks like: http = require (‘http’); http.createServer(function(request, response){ response.write(“Hello, world”); response.end(); }).listen(8888); Now, if you run the simple server and type ‘http://127.0.0.1:8888’ in the URL bar of your browser …

Continue reading