Posts

Showing posts from June, 2023

Software Development and Health II: Yoga and Workplace Synergy

Image
As I mentioned in previous posts, I currently work as an associate frontend architect at Verndale , and also am a certified Yoga instructor. As a professional who wears multiple hats, I constantly strive to bring balance to my life and share this sense of equilibrium with others. From September 2022 to April 2023, I had the unique opportunity to lead weekly in-person Yoga practices for a group of coworkers. This journey was both enriching and enlightening, and I am excited to share my experiences and insights with you today. Yoga, a practice rooted in ancient Indian philosophy, is an amalgamation of physical, mental, and spiritual disciplines. It is a holistic approach to well-being that transcends the boundaries of age, culture, and physical ability. It has been a transformative part of my life, and sharing this with my colleagues was a cherished experience. Yoga practice at Verndale The practice is not just about being physically fit, but also about fostering mindfulness, enhancing p...

What is Serverless Architecture?

Serverless architecture has been of particular interest in the recent years, being potentially a game-changer in the realm of web development that's making its mark on the frontend landscape. So what's all the buzz about, and why should frontend developers be paying attention? Unraveling the Serverless Concept At its core, serverless architecture isn't a departure from servers as the term might suggest, but rather a shift in focus. It's about building applications without the necessity of managing servers, hence the term 'serverless'. It’s an innovative approach where the developers can focus on writing code, and the heavy lifting of infrastructure management is taken care of by cloud providers. In a traditional web development setup, developers would have to provision, scale, and maintain servers to run their applications. Serverless architecture flips this on its head. When you deploy your application, you only concern yourself with the code. The cloud provide...

Navigating Web Performance: A Look at the Web Vitals Chrome Extension

Image
The field of web development can be complex, filled with various technologies, standards, and practices. Amidst this complexity, we often look for simplicity: tools that can streamline our work, enhance website performance, and ensure user satisfaction. In this context, let's explore a really nice tool: the Web Vitals Chrome Extension . I've found myself many times working in teams where non-experts needed to understand the measure of the quality of the user experience on a website, and this tool has proven to be very helpful. So, this post is not intended for experienced developers. For them, there is an advanced set of options that include real-time console logging, user timings and more. We'll speak about that in the future :) Web Vitals Chrome Extension in Action Understanding Web Vitals To grasp the significance of this tool, we first need to understand Web Vitals. This is an initiative by Google to provide guidelines for quality signals crucial for ensuring an excelle...

Exploring the New Individual CSS Transform Properties

Greetings, readers. The ever-evolving field of web development consistently introduces features that significantly improve efficiency and usability. One such recent advancement pertains to Cascading Style Sheets (CSS), specifically the introduction of individual CSS transform properties. Traditionally, developers had to manipulate multiple transformations using the transform property. This property required the use of various transform functions in a single line, as shown below: .element {     transform: rotate(45deg) scale(1.2) translateX(10px); } This approach, while functional, had its shortcomings. For instance, modifying one transformation without affecting the others was a challenging task. Similarly, overriding a single transformation in responsive design required precise handling to avoid unintended consequences. To address these issues, the CSS Working Group introduced individual transform properties, essentially assigning each transformation its own property: ...

Finally: CSS Container Queries are Here!

The web development world has been buzzing with anticipation for a certain CSS feature that we’ve all been waiting for - container queries ! Now the wait is finally over. The prototype of container queries was available behind a flag in Chrome Canary for you to play around and experiment with, but now it is widely supported by major browsers. So, what's the big deal with CSS Container Queries? Before we get into the  gritty details of container queries, let's explore why they're so important. In the past, web design has been limited by the constraints of screen size. For instance, if a container is 600px wide, perhaps it has a row-like design, but any narrower than that, it transitions into a column-like design. The limitations have been around transitioning between layouts based on the screen size, rather than the size of an element or its container. Developers often used a system of breakpoints in CSS media queries to adjust styles based on the size of the viewport, not t...

JavaScript: Assignment and Mutation

Image
Hello, fellow coders! Today, we are embarking on a journey to uncover the secrets of two fundamental concepts in JavaScript: assignment and mutation. We'll shed light on the differences, the quirks, and the best practices while using var , let , const , objects, arrays, arrow functions, spread operators, and rest operators. Buckle up and get ready for a code-filled adventure! Variables: The DNA of Your Code First things first, let's talk about variables. They're the DNA of your code, the building blocks that hold the data your code processes. In JavaScript, we have three keywords to declare a variable: var , let , and const . While all of them are used for variable declaration, they have different scopes and limitations. The Basics: Primitive Values and Objects Before we delve deeper into variable assignment and mutation, it's crucial to understand the two types of values we deal with in JavaScript: primitive values and objects. Primitive values include numbers, strings...

The Native HTML <dialog> Element

Image
Greetings, fellow code enthusiasts! If you've been around the block (or the codebase), you've probably spent a good chunk of your time wrestling with modal pop-ups. Yeah, you know what I'm talking about - those pesky little windows that need to pop up for user confirmations, login prompts, or just when you want to show some extra content without navigating away from the page. In the past, we've had to lean on external libraries like micromodal.js or focus-trap , or even concoct our own concoctions to get the job done. And let's not even get started on making them accessible and user-friendly! Well, guess what? It's 2023 and there's a new kid in town - the native HTML <dialog> element. The <dialog> element is the web's standardized way to create a dialog box or an interactive component, such as a dismissible alert or a subwindow, that needs to be displayed on top of all other content in a web page. And it's here to make our lives a whol...