Articles
Leveraging Lighthouse audits to optimize web performance
Slow-loading pages can stem from multiple causes, which makes them one of the most challenging issues to fix in web development. Lighthouse (LH) is Google’s free and open-source website auditing tool that can help you detect and solve your web performance issues and speed up your site.
Lighthouse audits are automated diagnostic checks that evaluate different aspects of the user experience and performance of a web page. [...]
Best practices for tracing and debugging microservices
Traditionally, applications have been developed as monoliths. This term describes how application code is compiled and delivered.
Monoliths are compiled and/or packaged into a single binary or a bundle of code, then deployed as a single unit. That single unit contains hundreds, sometimes thousands of lines of code. The functionality packed into that deployable artifact is most, if not all, of the functions of the application. [...]
CSS Grid vs. Flexbox: Which should you use and when?
Flexbox and CSS Grid are two CSS layout modules that have become mainstream in recent years. When to use which, is another question however.
Both allow us to create complex layouts that were previously only possible by applying CSS hacks and/or JavaScript. Flexbox and CSS Grid share multiple similarities and many layouts can be solved with both. Let’s see if we can clarify when you should use Flexbox vs. Grid. [...]
What is the CAP theorem?
Have you ever seen an advertisement for a landscaper, house painter, or some other tradesperson that starts with the headline, "Cheap, Fast, and Good: Pick Two"?
The CAP theorem applies a similar type of logic to distributed systems—namely, that a distributed system can deliver only two of three desired characteristics: consistency, availability, and partition tolerance (the 'C,' 'A' and 'P' in CAP). [...]
5 Myths about Teaching Kids to Code
As the digital age continues to shape our lives, introducing coding to the next generation has evolved into a booming industry. Just consider the coding apps for kids, educational toys and robots, specialized handbooks, textbooks, coding competitions, and tutoring services available today.
However, the best approach to teaching coding isn't always clear – and there's even debate over whether coding should be a universal skill for everyone.[...]
The Ultimate Guide to Shared Compression Dictionaries
When a website loads files over the HTTP protocol, these files are typically compressed to reduce the amount of data that's transferred. That in turn means that less time is spent downloading the file.
For repeated visits, files that have been downloaded previously can be served from the browser cache. However, developers continuously make changes to these files, and they need to be downloaded again, even though the files are very similar.
Shared compression dictionaries solve this problem. Even if a file has been updated, some previously downloaded data can be re-used, thus reducing the amount of data that needs to be transferred on a subsequent visit.[...]
SOAP vs REST vs JSON – A comparison
SOAP vs REST vs JSON are frequently mentioned acronyms when speaking about web services. While SOAP and REST are two leading approaches to transferring data over a network using API calls, JSON is a compact data format that RESTful web services can use.
Deciding whether you should create a SOAP vs REST API is an essential question if you are planning to provide a web service. Each architectural style has its own use cases, benefits, and limitations. In this article, we'll look into both the SOAP protocol and the REST guidelines in detail and also see how JSON fits into the landscape. [...]