Posts

Showing posts from December, 2016

Transport Layer Security

Image
Transport Layer Security is used to protect against man in the middle attacks. HTTPS (also called HTTP over SSL/TLS) is a protocol for secure communication over a computer network which is widely used on the Internet. HTTPS consists of communication over Hypertext Transfer Protocol (HTTP) within a connection encrypted by Transport Layer Security or its predecessor, Secure Sockets Layer. The main purpose of HTTPS is to authenticate the server and protection of the privacy and integrity of the exchanged data. What Is TLS/SSL and how it works? Transport Layer Security(TLS) and its  predecessor   Secure Sockets Layer( SSL ) both are a standard security   protocols   for establishing a secure connection between a server and a client typically used for web server and mobile device/browser. The most common use of SSL is to provide protection for confidential data, such as personal details or debit/credit card information sent by any client. The TLS/SSL layer has following main

MVC, MVP and MVVM Design Pattern

Image
MVC, MVP, and MVVM are three popular design patterns in software development.   Let’s have a look on Model View Controller (MVC), Model View Presenter (MVP) and Model View View-model (MVVM) one by one.   All these design patterns by and large help in developing applications that are loosely combined, easy to test and maintain.  All discussion about the pattern is made in context of Android as a platform.   Model View Controller (MVC) MVC design pattern divides an application into three major aspects: Model, View, and Controller. Model Model means data that is required to display in the view.  Model represents a collection of classes that describes the business logic (business model and the data model). It also defines the business rules for data means as how the data can be changed and manipulated. View The View represents UI components like XML, HTML etc. View displays the data that is received from the controller as the outcome. In MVC pattern View

Android Supported Library Differences And Features Guide

The Android Support Library provides backward-compatible versions of Android framework APIs like A pp components, UI widgets, media components . It provides features and widgets that are only available through the library APIs.  In general there are two types of support libraries. One which provides framework functionality for older API releases the other which provides new functionality for all devices. This functionality is either not yet part of the platform or will never be part of the platform, so that Google can continue to improve it faster than Android platform API. Including the Support Libraries in your Android project is considered a best practice for application developers, depending on the range of platform versions your app is targeting and the APIs that it uses. Using the features the libraries provide can help you improve the look of your application, increase performance and broaden the reach of your application to more users. Each support library i