Reactive Functional Programming or Reactive Programming is one of the trending paradigms¹. It is applying functional programming idioms to streams of elements.
Functional Programming is writing code in “stateless functions.” A stateless function process input and produces output without altering any global state. Functions can be chained together to construct a processing stage.
By collating all, Reactive Programming is applying “stateless processing” on streams of elements.
An element is an “entity of interest” for processing. It can be sophisticated as Business Object or simple as an integer.
Parsing is a process of converting formatted text into a data structure. A data structure type can be any suitable representation of the information engraved in the source text.
Listof values or a
A piece of…
There are two broad categories of APIs for reading information from JSON :
Software development is not only about code. It is also about the process and the people around it. At the core, Product (Business) Managers and Developers turn the idea of Software into reality.
In the philosophical view of Software development, there exist two realms that affect the reality of Software: Product end and Technology end.
These are different in the perception of an application:
An Application is a set of features that support a business function. — Product View
An Application is a set of code, frameworks, libraries, services. — Developer View
In contrast, these are also associated in a…
Uploading files over the internet is not an easy task. It involves considerable challenges in developing a solution that works for all file sizes. Uploading files are prone to failures, users drop, and security risks. On each failure, the file needs to be re-uploaded: which adversely affects associated user experience.
The file upload takes considerable time: more the time to upload, more the chances of failures or connection drop. With each failure, a file needs to be re-uploaded from the beginning with traditional methods.
The time to upload file can be understood by the following equation:
time_to_upload = file_size /…
Event-Based Programming is natural to any GUI based interface. HTML DOM¹ offers an inbuilt Event Notification model, but it is only useful when dealing with DOM Elements. There is no support for non-DOM elements.
This article showcases building up a custom event publisher-subscriber model on top of Reactive Programming for non-DOM elements.
Event-Driven programming paradigm² introduces an intuitive flow of control based upon events.
Button is clicked => show dialog.
Editor Config is an INI¹ format based configuration system that let you establish project level coding standard; It allows configuring: indentation style, indentation size, line width and more. It helps in reducing the effort required to bring each team member to the consistent coding standards by automatically importing and applying the configuration to IDE.
Whenever we work in a team, we set up some ground rules to work efficiently; in the programming world, those ground rules are coding standards.
Coding standards may include:
Level 0 — Universal file configuration: indentation style, line width, line ending, indentation size.
Level 1 —…
In modern software development, the applications are driven by configuration.
If configurable properties are large in numbers, then it is difficult to remember the purpose, structure and type of each property. It becomes a necessity to invest in the documentation of these properties.
This article explores IDE integrated options to assist in writing Spring Boot YAML based configuration.
Originally, this article was published on DZone on 3 December, 2019.
Spring Boot provides an out of box mechanism for configuration documentation: include a jar named
spring-boot-configuration-processor and trigger build.
@ConfigurationPropertiesand constructs a JSON…
With the introduction of OOPs, Inheritance and Composition entered our senses and still confusing us.
Choosing between Composition and Inheritance is not easy. Often, the decision depends upon the information which is not yet there.
The structure of an application plays an essential role in adding changes. Composition and Inheritance are the building blocks of an application structure. It is imperative to know when to use which one.
Inheritance is a way of reusing code by inheriting the structure from the referred class or Type. …
Git is a leading version control software (VCS). There may be a time in your experience when you have to commit very often with a small change.
Typically, Feedback Loop involving work leads you to commit frequently.
Whatever the reason, if you look at the…