Open in app

Sign In

Write

Sign In

Sergey Radzishevskii
Sergey Radzishevskii

48 Followers

Home

About

Oct 12, 2021

Dependency Injection in Express Application

A while ago I wrote Do we really need dependency injection in Javascript? If you share the idea that you should use Dependency Injection in Javascript, you are welcome. What does your Express app usually look like? Let’s take the most classic example — return a list of users. …

Expressjs

1 min read

Expressjs

1 min read


Jan 16, 2021

Single Responsibility Principle — Unclear Responsibility Boundaries

I assume that everyone knows about this very first principle in the SOLID abbreviation — Single Responsibility Principle(SRP). Robert C. Martin expresses the principle as, A class should have only one reason to change. OR more detailed explanation Gather together the things that change for the same reasons. …

Single Responsibility

6 min read

Single Responsibility Principle — Unclear Responsibility Boundaries
Single Responsibility Principle — Unclear Responsibility Boundaries
Single Responsibility

6 min read


Aug 17, 2020

How MVC Frameworks Taught Us Bad Habits — Part 2 How Monoliths are Born

This is the second part of the series “How MVC frameworks taught us bad habits.” How MVC Frameworks Taught Us Bad Habits — Part 1 ActiveRecord This time we will investigate why the default MVC Framework architecture does not always work well. We will trace the path of the application…

Software Development

7 min read

How MVC Frameworks Taught Us Bad Habits — Part 2 How Monoliths are Born
How MVC Frameworks Taught Us Bad Habits — Part 2 How Monoliths are Born
Software Development

7 min read


Published in

Dev Genius

·Jul 15, 2020

How MVC Frameworks Taught Us Bad Habits — Part 1 ActiveRecord

Let’s look back in the past and try to figure out how frameworks taught us not to notice the wrong things. — Intro Let’s go back in 200X. It was a boom of MVC frameworks. Ruby on Rails, Django, ZendFramework, Spring, etc. Various frameworks in different programming languages created, copied, and improved various features. Frameworks have taken a really huge step in web development. And they brought a lot of good things into…

Activerecord

8 min read

How MVC Frameworks Taught Us Bad Habits — Part 1 ActiveRecord
How MVC Frameworks Taught Us Bad Habits — Part 1 ActiveRecord
Activerecord

8 min read


May 22, 2020

Reflection in Typescript

Check reflection state in Typescript — The reflection we are used to. Languages like C#, Java, PHP have a reflection mechanism. Reflection is a feature in the Java programming language. It allows an executing Java program to examine or “introspect” upon itself, and manipulate internal properties of the program. …

JavaScript

4 min read

Reflection in Typescript
Reflection in Typescript
JavaScript

4 min read


May 8, 2020

Why is it hard for a brain to understand spaghetti-code

As software developers, we deal with classes, interfaces, modules every day. But why do we need them? Yes, this is a stupid question — and you would probably say that they help simplify our programs. …

Software Development

4 min read

Why is it hard for a brain to understand spaghetti-code
Why is it hard for a brain to understand spaghetti-code
Software Development

4 min read


Feb 3, 2020

Do we really need dependency injection in Javascript?

Come on, it is a frontend, we never used Dependency Injection We are used to using DI in the backend. It has complex logic, the dependency tree is large, it’s likely that we can change some Logger / Caching / HttpClient library to another. What about the frontend… do we really need this? DI decouples our code, making it easier to…

Dependency Injection

6 min read

Do we really need dependency injection in Javascript?
Do we really need dependency injection in Javascript?
Dependency Injection

6 min read


Oct 22, 2019

React Apollo with Saga

Is it worth using Apollo with Saga Long-time ago there was a post — Apollo Client: GraphQL with React and Redux from Sashko Stubailo. He claimed Apollo gave us simple, transparent data flow. And yes… hard to disagree. Nowadays apollo provides super simple hooks function Dogs({ onDogSelected }) {…

2 min read

2 min read


Oct 4, 2019

Node — Seed Test DB

Problem Let’s take a very common example when we have 1:M relation between 2 tables. And we need to test postsupdates. Let’s imagine how our test would look in the simplest version. We need to seed some initial data - fixtures. So we can test updates of the existing post…

Knex

3 min read

Seed knex DB for testing
Seed knex DB for testing
Knex

3 min read


Published in

rezdy-engineering

·Aug 28, 2019

Dependency Injection in React

Problem React effectively has dependency injection built-in. Dependencies are essentially injected via properties. It’s possible to inject scalar data and functions, or services that will be responsible for logic that remains outside of the component. Why this approach doesn’t work. What if we need to access the history object or a backend / API object that…

JavaScript

3 min read

JavaScript

3 min read

Sergey Radzishevskii

Sergey Radzishevskii

48 Followers

Enjoy turning complex systems into intelligible architectures chilling in my garden.

Following
  • Josh Spector

    Josh Spector

  • Malreddy Ankanna

    Malreddy Ankanna

  • Fwdays

    Fwdays

  • Scalr

    Scalr

  • Gajus Kuizinas

    Gajus Kuizinas

See all (80)

Help

Status

Writers

Blog

Careers

Privacy

Terms

About

Text to speech