Categories for Web Development

Decoupled CMS

Decoupled CMS, also known as headless CMS, has its front-end component (the head) removed, and what remains is a backend delivering content via an RESTful API. Because of its backend-only nature, it does not care about how the content is…..

[Read More...»]

var vs let

You may think that let is the new var with an exception that let does not allow hoisting. This was my original understanding also last year. However, I learned recently that there are other differences as well. Take a look…..

[Read More...»]

Jekyll vs. Hugo

While static websites was the beginning of the Internet, aka www, modern static website generation is just getting started. Why static site generator? Static site generators are a great choice for blogs and other content that do not require dynamic…..

[Read More...»]

HTTP /2 anti-patterns

The web has changed dramatically over the last decade, yet the backbone of the web – HTTP, hasn’t been changed. HTTP/1.1 has got various limitations and web developers have always worked around those, Performance issue in terms of bandwidth utilization…..

[Read More...»]

Webpack 2

Webpack is my current module bundler. Webpack 1 wasn’t able to parse ES2015 modules, so Babel would convert them into CommonJS. I really hated this workflow. Webpack 2 can parse ES2015 modules, and is able to eliminate dead code based…..

[Read More...»]

Cross domain AJAX request

Cross domain AJAX call strikes fear to any front-end developer who had the misfortune of having had to do it. There are no shortage of discussion concerning cross domain AJAX. http://stackoverflow.com/questions/5750696/how-to-get-a-cross-origin-resource-sharing-cors-post-request-working http://stackoverflow.com/questions/10636611/how-does-access-control-allow-origin-header-work This guy goes through all this trouble to…..

[Read More...»]