Dependency injection is a programming technique that makes a module independent of its dependencies. This enables you to replace dependencies without changing the module that uses them.
To illustrate Dependency Injection, we’ll build an API with the following endpoints
and structure the API in the following way:
Accounting has always been a mystery to me ever since school. The very term accounting give me the shivers. Why though? Is it because of the unknown?, the strange terms and phrases? And yet we all need to know a little accounting. Why? Accounting is the language of business and we all are do business in one way or another. And like with all languages we need to learn it to communicate. This blog will aim to provide the basics of monitoring the performance of your business, in particular, the balance sheet and income statement…
When people use the term “NoSQL database”, they typically use it to refer to any non-relational database. Some say the term “NoSQL” stands for “non SQL” while others say it stands for “not only SQL.” Either way, most agree that NoSQL databases are databases that store data in a format other than relational tables.
A common misconception is that NoSQL databases or non-relational databases don’t store relationship data well. NoSQL databases can store relationship data — they just store it differently than relational databases do. …
We’ll use the Fake Online REST API (https://jsonplaceholder.typicode.com/) to fetch a list of posts and print the first post in the list
We’ll build a counter app to show hot module reloading while maintaining state using webpack-dev-server or express to update the modules
npm init -y
npm i -D \
npm i -S react react-dom react-hot-loader
WebSocket is a computer communications protocol, providing full-duplex communication channels over a single TCP connection. The WebSocket protocol enables interaction between a web browser (or other client application) and a web server with lower overhead than half-duplex alternatives such as HTTP polling, facilitating real-time data transfer from and to the server.
I’ve created a WebSocket server to run on port 5556 server with the following code.
Let’s run the server locally:
$> node server.js
Bottom Navigation Bar is a component that makes it easy to explore and switch between the top-level view in single click or tap.
$> flutter create --org com.yourdomain navexample
npm i -g firebase-tools@latest
We are going to create a React Web Application in the following way:
$> mkdir webpackquickly
$> cd webpackquickly
webpackquickly $> npm init -y
webpackquickly $> npm i -D webpack webpack-cli style-loader css-loader file-loader html-webpack-plugin clean-webpack-plugin webpack-dev-server http-server @babel/core babel-loader @babel/preset-env @babel/preset-react
webpackquickly $> npm i -S react react-dom
Add .babelrc file
We can implement css styling with css file. Let’s create a style.css file.