Getting Started with React Router

Routing concept is very importance in almost every web application’s architecture, which could not be left out in the React. Power of routing enables us to make a full fleshed single page applications with React. We can make use of React-Router for Routing in React. Setup and Installation We need: Node.js  and npm. create  a new project. React Router Continue Reading »

Spring Data JPA

  Spring Data JPA is not a JPA provider but is a specification. It is a library / framework that adds an extra layer of abstraction on the top of our JPA provider. It simply “hides” the Java Persistence API (and the JPA provider) behind its repository abstraction. JPA is the sun specification for persisting Continue Reading »

React Component Lifecycle

All the react component goes through a lifecycle which enables you to perform a specific task at any specific time. In order to achieve that you can override the life cycle methods. Methods prefixed with will are called right before something occurs (events), and methods prefixed with did are called right after something occurs. Let us understand Continue Reading »

Design Pattern – Database Transaction Handling (in Android)

This blog is about database transaction handling and its design pattern in android. It also gives a brief knowledge on how to handle Exception. Here we have a main method which is responsible to get  database instance  -> start Database Transaction  ->  Mark Transaction Successful   ->  Commit or Rollback Transaction  ->  Close database. This main Continue Reading »

Job Scheduling with Spring Batch

 Spring Batch Spring Batch is a processing framework designed for robust and parallel execution of multiple job. It follows the standard batch architecture in which a job repository takes care of scheduling and interacting with the job.  Spring Batch Job Spring batch job reads input data, processes the input data, and writes the processed data Continue Reading »

Version Control of Android Studio Project via SVN

Apache Subversion (SVN) SVN stands for Apache Subversion, a software versioning and revision control system distributed as open source under the Apache License. In order to demonstrate the process of adding an Android Studio project into SVN,  let’s first create a new project in Android Studio and name it HelloWorldProject. The project structure looks like this Continue Reading »

Reducing Size of Bitmap

Reducing Size of Bitmap Introduction- Images come in all shapes and sizes. In many cases they are larger than required size for a typical application user interface. For example, the system Gallery application displays photos taken using your Android devices’s camera which are typically much higher resolution than the screen density of your device. So Continue Reading »

AutoCompleteView – Synchronous server call with Filter

In order to implement synchronous server calling within filter, autocomplete textview is being used. Web service is hit with each character typed in Autocomplete list. For having data dynamically in the list, we can make customized adapter. I have implemented it by making this adapter to implement filterable interface. For getting data from server, two Continue Reading »

Fragment to Fragment Communication

Communication Between Fragments We can communicate from one Fragment to another Fragment and receive callback from calling Fragment to caller Fragment by using a standard method setTargetFragment() and getTargetFragment(). Scenario – We are in a Fragment and want to open a Dialog Fragment on top of Fragment. On Dialog Fragment, we do some task and Continue Reading »

Firebase Dynamic Links

Dynamic Links are smart URLs that allow you to send existing and potential users to any location within your iOS or Android app. They survive the app install process, so even new users see the content they’re looking for when they open the app for the first time. Key Benefits of Dynamic Links : Convert Continue Reading »

What’s New in iOS 11

Apple has announced iOS 11 in WWDC 2017. Like every conference, Apple revealed new iPhones with new iOS features. All of us stuck on iPhone only with its retina scan. There is a chaos for iPhone X Design. In spite of this, we’ll try to cover major changes in iOS 11 which have overshadowed new Continue Reading »

Firebase Authentication in iOS

  Firebase Authentication in iOS When You want to create a user based app where you want to feature or activity depends on Users. I can assume, you need User Login, Forget password and Registration screen for user-related interactions. In most of the cases, Login/Registration User functionality doesn’t belong to Client end (i.e. iOS or Continue Reading »

Local Authentication in iOS

Local Authentication in iOS In a Nutshell, Local Authentication in iOS is a framework which we use to validate genuine user through passphrase (i.e. passcode) or TouchID. TouchID and RetinaID belong to biometric criteria.  So, If you have got a requirement to integrate a User Validation then use this Local Authentication. Or, You can also Continue Reading »

All About SQLite

  What is SQLite? SQLite is an open source, zero-configuration, self-contained, stand-alone, transaction relational database engine designed to be embedded in an application. SQLite is an embedded relational database management system used in the mobile applications. SQLite is different from other SQL databases because unlike most other SQL databases, SQLite does not have a separate server Continue Reading »

SOLID: Dependency Inversion Principle

Dependency Inversion Principle Previous Principle: Interface Segregation Principle High-level modules should not depend on low-level modules. Both should depend on abstractions. When designing a system we have low level classes (classes which implement primary operation like: Network access, Disk access, Database access) and high level classes which have business logic. High level classes are dependent on Continue Reading »

SOLID: Interface Segregation Principle

Interface Segregation Principle Previous Principle: Liskov’s Substitution Principle A client should never be forced to implement an interface that it doesn’t use or clients shouldn’t be forced to depend on methods they do not use. In OOD we provide abstraction to module using interfaces, so we create an interface for a module and an implementation class. Continue Reading »

SOLID: Open Close Principle

Open Close Principle If you have not read Single Responsibility Principle Start from here Single Responsibility Principle Classes should be open for extension, but closed for modification This principle states that any new functionality can be added in a system with minimum modification in the current code. Means the system should be open to additions but it should Continue Reading »

SOLID: Single Responsibility Principle

Object Oriented Design Principles A good design is most important step of Software Development life cycle, and to have a good design we must follow some set of guidelines. According to Robert Martin in “Agile Software Development: Principles, Patterns, and Practices” there are 3 main reasons of bad design that should be avoided: Rigidity – System Continue Reading »

JSONExport: JSON to Model

JSONExport:  Now you do not need to Understand your JSON Structure and create your model manually. Here is a utility to convert your JSON into model to do that. You just need to paste your JSON in JSON field. First it will check it JSON is valid, then convert it into model. It will create different Continue Reading »

Source Code Management using SvnX

Introduction: Source code management is simply referred to as version control or revision control which is a management of changes of documents or any other collection of information. Source code management is necessary if we are working in a group and we need to synchronise our code if any one of them perform changes. Problem: Continue Reading »