This post is the conclusion of HTTP server from scratch. Previous post about modularization can be found here. In this post we will make our webserver somewhat more configurable. We will add one more switch to the server.properties to point to a external directory that will be used to serve the documents from. Since it … Continue reading HTTP server from scratch: Configuration
Author: cx0der
HTTP server from scratch: Modularization
This is a continuation in the series of post to build a static HTTP server from scratch. Previous post about Unit testing can be found here. In this post we are going to refactor the code a little bit to make it somewhat more modular and configurable. Modular in the sense, break out from a … Continue reading HTTP server from scratch: Modularization
HTTP server from scratch: Unit testing
This is a part two in the series to build a web server from scratch without external dependencies. Part one can be found here Now that we have minimal setup working, next area of focus is testing. If we were to follow Test Driven Development (TDD), test cases would have to be written first before … Continue reading HTTP server from scratch: Unit testing
HTTP server from scratch
Almost everything available on the Internet is served by web server. There are plenty of web server implementations like Apache, Nginx, Express, etc. But ever wondered how to implement a web server from scratch without any external dependencies? I wondered about that and this post is the result of that little experiment using Java. Goals … Continue reading HTTP server from scratch
VueSelect: Accessible Vue.js component
VueSelect HTML provides a variety of input elements. <select> allows users to select one of many options. Accessibility tools like screen readers readily recognize these "native" input elements. However the downside of these elements is they are not fully customizable across browsers and platforms. Not being able to customize will be a problem if one … Continue reading VueSelect: Accessible Vue.js component
Pychain: Blockchain in 200 lines of Python
Since in the introduction of Bitcoin and the explosion of crypto currencies has created quite a lot of attention around the concept of Blockchain. In this post I will try to explain the concept by implementing Pychain, a toy Blockchain, in about 200 lines of Python. What is Blockchain? Wikipedia defines Blockchain as A blockchain, … Continue reading Pychain: Blockchain in 200 lines of Python
Hello, World!
I'm Shivakumar. I am a Software Developer since 2005 (at least professionally). It all began when I tried to teach myself C++ programming by reading a book, which I gave up pretty quickly. After on I went to get my degree in Information Science in 2005. Since then I have been a developer. For the … Continue reading Hello, World!