Add an authentication layer to your REST APIs
This section describes the way Keycloak acts as an authentication module that gives a temporary token to the consumer. This temporary token can then be used by a resource to verify if the request is from an authenticated source.
It is assumed that you have set up Keycloak on a system and have admin access to it.
Send data from the server to the client — implemented in Xamarin
Until recently, I was under the impression that there were only a few widely accepted options available for the server to push messages to the connected client, especially the mobile application
With no rules at all
Yes! You read it right. Agile has no rules that need to be followed. It has no regulations that need to be abided with, nor it is a path that will lead to a glorious project. Agile can be visualized as the signboards that, if followed, can make the journey of project development and delivery smooth.
To understand what is Agile, we must ret rid of the misconceptions of what we think about agile. Agile is always thought to be the following. But in reality, it isn’t anyone of these.
Distribute APIs and have control over who is authorized to use it
Being in the software industry, there is always a need to exchange data between applications. Much of the data is available free nowadays, however, there are several pieces of data that need to land into the correct hands.
Data exchange is so easy that one has to develop an API and share the details with the consumer. Having said that, one should also safeguard the API by implementing checks on what the consumer is authorized to access.
In this post, we’ll try to implement an API authorization mechanism…
in an elegant and scalable way
Every other software application developed has a requirement to save data, either to the backend or locally. This data could be the user’s preferences, game scores, login credentials or anything else.
This article picks up an iOS application and demonstrates an easy and scalable way to persist data locally.
- We’ll not discuss the advantages or disadvantages of different mechanisms.
- We’ll only talk about a way to design the Storage class so that the underlying implementation can be changed without impacting the functionality
- This article is in no way applicable only to iOS app…
Having worked with several software engineers over recent years, I have noticed that many of them lack the concept of Abstraction in software development. No wonder they are good programmers, but they tend to write code for JUST THEMSELVES. I have tried to explain the use of Abstraction in day to day programming
Abstraction is a way to hide the complexities of software and expose only the essential features to the user.
Let’s consider the below example.
You are a customer and want to have a soft drink from a vending machine.
I don’t have time — is what I often hear many of the people around me in response to keeping oneself fit. They are so engaged in their daily routine that they cannot even imagine of sparing an extra 30 minutes for a healthy life.
I’m no different from them. I’m a software engineer by profession with over a decade in this industry. It is an interesting profession, however, my job requires a lot of focus and I’m often on my toes. Like others, I too cannot find a way to spare time and stay healthy. …
I have been programming for quite some time now along with managing a team of some good developers. After many app crashes, maintenance problems and performance issues, I have tried to write down a few practices that my team and I have learned. These are very basic in nature and are extremely helpful when multiple people intend to work on the same project.
1] Code formatting
This is the first and foremost advice I give to developers of all groups i.e. freshers, mid-level or highly experienced. A code that is readable by self and others is also maintainable. …
Lately, for one of the projects I had to develop a Cocoa Touch Framework that would be integrated into a client’s iOS application. I thought of writing a beginners guide for it.
The prime benefits of a framework or library are as below
I recently started working on an iOS project (Swift 4 and Xcode 9) and had to display custom alerts. Reading the UIAlertController reference documentation I found that Apple doesn’t have public API’s to customise the design of the alerts. It has specified that
The UIAlertController class is intended to be used as-is and does not support subclassing. The view hierarchy for this class is private and must not be modified.
The below tutorial demonstrates how a UIAlertController can be customised using Apple’s public API’s. This tutorial is limited to only two design layouts. …