Basic Web Server (On the fly Creation)
Hello World, Many times specially during web development on core HTML 5[although its not just limited here only.], we need a web server to test the application and specially JavaScript and other features of html 5, which are only available on localhost,HTTP. Now, here you can go with traditional web servers like Tomcat Apache or any other server, but then you need to configure them accordingly and very carefully and that may took very dedicated time around 00:30 mins to 1 hour [i am talking here about very basic web server]. So, is there any techniques that can help us to creating a web server in just a simple one line command hit... Yes there is. actually there are many server framework that are just a few line setup away to have a basic web server. Here i gonna talk very simplest one, that will help us to create a very basic web server. And it is Python's module "SimpleHTTPServer". Dependency/Requirement: But there is a very small dependency to have you on y...