Lightning Fast Websites

Blazing Fast Websites by Lazy Loading Content with AJAX

This is somewhat continuation of an Angular.JS templates related article.

I am not so keen of keeping two codebases for the same purpose, but I am experimenting with a new approach, where server renders the simple document using the same data, including the web-app script and serves the same data in AJAX requests of the provided web-app.

Continue reading “Blazing Fast Websites by Lazy Loading Content with AJAX”
Debugging Minified javaScript Cover

Debug compilation/parse errors of minified javaScript

It happens from time to time. You run into an issue that is hidden in the minified javaScript. The Console says not much as line 4, which has more than 1000 characters. Not so useful info to hunt the bug down. The pretty print button Pretty Print Button does not help much either.

Continue reading “Debug compilation/parse errors of minified javaScript”

Responsive Design Without Using @Media Queries

Why? Answer is simple: You cannot turn off media queries, but you can disable script from processing and thus control the User Experience.

I came across the GSS in March this year. From the GSS website:

Grid Style SheetsGSS reimagines CSS layout & replaces the browser’s layout engine with one that harnesses the Cassowary Constraint Solver — the same algorithm Apple uses to compute native layout.

Take a look for yourself at the constrains and Visual Format Examples.

Guess I am not about to use it any soon, but wait a sec…

Continue reading “Responsive Design Without Using @Media Queries”