This is one of the posts I hesitate to write about because I feel there’s too many blog authors that have already written on it. The concept of lazy loading is majorly for performance reasons and it is welcomed on various aspects of technology. However its use in this case is majorly for aesthetics purpose as it doesn’t improve performance in any way. I decided to write this after seeing that many solutions to this are written in jQuery.
Revealing animations on scroll with pureJS
First tale of my career as a freelancer
I have always loved computers and when it was time to start building projects I made random projects to understand how programming works. Like many other starters I got web design jobs at ridiculously cheap prices but I really didn’t care about the money. I was enthusiastic to put my knowledge to use and have websites on the internet that I’ll proudly say were made by me.
Moving to PostCSS
At some point as a developer you’ve thought of leveling up by leaving spaghetti CSS to write in preprocessors. There are 3 popular CSS preprocessors LESS, Sass, Stylus, and there may be others I’ve never heard of. What makes CSS hard is its lack of logic. These preprocessors made our workflow easier by introducing logic to us like iterating things that regular CSS coders will spend ours rewriting, use of partials, use of mixins and variables.
Throttling and debouncing input handlers
2 years ago when JavaScript sounded a lot impossible to me and yet I had to perform a tasks in it for a project I was working on, I requested help on the #jQuery IRC channel and someone mentioned:
Specialist or Full Stack generalist
As a full stack developer I’ve had critiques about how I can’t be good enough at one thing if I do a lot of things. I totally agree to this and I’m not claiming to be a master of everything I do. Some will rather describe it as:
Using Rails assets pipeline with Cloudfront CDN
Performance is an essential thing in every application that should be considered not only from the front-end but also the back-end. CDNs have been a great way to serve and deliver assets on web pages in this advent of HTTP1. It may not be the same with HTTP2.0 but at this, majority of the web is on HTTP1 and it will be that way for years to come. Cloudfront is an Amazon web service that delivers content from nearby locations and it works greatly when combined with the powers of the rails assets pipeline.