140 posts found under,

code

Functional programming (FP) has seen a rise in usage within the past half decade with the introduction of libraries like React. We get to use some of these libraries that encourage declarative programming and functional paradigm, yet many are intimidated by the term functional programming because it is often followed by jargon terminology like monads, factoids, lambda calculus, currying, transducers... When the year started, we explored the state [...]

In a previous post, we covered the basics of Three.js and the concept of 3D on the web. If you have not already read that, you should. Some real-world examples of 3D on the web were shown in that post. Now, we will just try to get comfortable with building such experiences. I will start with the hello world of 3D design, which is making cubes. For you to build along, I have made a codepen template you can pick up from. Let us try to understand wh [...]

Drupal implements the Front Controller design pattern. All HTTP requests are directed to the index.php file, and a response is generated and returned. With the architectural decision to use Object-Oriented Programming and Symfony Components, the file has remained very short and concise. However, the request and response aspects of the process are given prominence. This is the index.php without comments: <?php use Drupal\Core\DrupalKernel; u [...]

The web has been the most used platform for software development since the start of the 21st century as it transitioned from a document sharing platform to a home for scalable applications. We have had the animation and gaming industry also move from traditional and 2D graphics/animations to 3D. More recently, there has been much innovation around virtual reality (VR) and augmented reality (AR), and most of that is also coming to the web. As an o [...]

In Part I of the tutorial, we handled very basic data retrieval from our "database", i.e., spreadsheet. Today, we will build a basic "REST-ish" API to access it. It will not adhere to all the rules of REST because of some Google-Apps-Script limitations, but it will be intuitive enough for anyone who has ever worked with REST. It will also be very simplistic, since the point of the tutorial is to give you a basic understanding of how this could ea [...]

If you are like me, when you have an idea, you like to jump on it and build a proof-of-concept app for it. That is all nice and well, but what if it is a shared idea and the other participants know nothing about coding? Have you ever tried explaining curl or postman to a complete beginner? The intricacies of how to properly make a POST request to fill the database with data can confuse any non-tech-savvy person. Well, it turns out that you do not [...]

Is Fiber ready yet? Yes, it is. Getting a little late to the react scene, I found it weird that people anticipated a feature so enthusiastically. I kept asking why people are not happy enough about the state of React at 15. Why not embrace 16 when it comes without so much anticipation? But people wanted it like Yesterday before it even arrived. Little did I know that React 16 is indeed a pack of awesomeness worth the anticipation and it is a comp [...]

The majority of software developers considers the co-existence of umpteen JavaScript toolings as a downside of the language and its community. Eventually, they get to pick a side on the tooling available for their work and start hating the others. These are people who think CSS-in-JS is a solution for people who do not understand CSS, people who think NPM is preposterous and only Yarn should be used simply because they never upgraded their NPM ve [...]

In Part I of this guide, I discussed designing the architecture for our fictitious app The Snap Gram. Next, we will take a deeper look at implementing routes in an Angular application. I consider this Angular's strong suit — creating single page applications. If you want to follow along with the examples, you can download the boilerplate code from Angular's Quickstart project. We will create an app with a few pages to demonstrate how routi [...]

Imagine we are building the next big social app that lets users share content with other users. We will call our app The Snap Gram. This app will put all other apps out of business, so it is very important that we build it well. A flawed design can mean the difference in failure or success for our venture. All it takes is some big company to steal our idea and make it their own. In order to win the tech race, we have to be able to build and ship [...]

Scale your
Development team

We help you execute projects by providing trusted developers who can join your team and immediately start delivering high-quality code.

Hire Developers
code