Posts

Showing posts with the label Discussion Forums

Understanding the React Component Lifecycle

In this article we are reading about  “ Understanding the React Component Lifecycle ”. React  enables to create components by invoking the React.createClass() method which expects a  render  method and triggers a lifecycle that can be hooked into via a number of so called lifecycle methods. Understanding the component lifecycle will enable you to perform certain actions when a component is created or destroyed. Further more it gives you the opportunity to decide if a component should be updated in the first place and to react to props or state changes accordingly. We know that ReactJS is a component based javascript library. In every ReactJS application components are rendered onto virtual DOM. Before/After rendering onto the virtual DOM every component goes through some of the methods. We call these methods as ReacjJS Component Lifecycle Methods. We can categorize these methods into three based on component initialization, updation and destruction. They are ...

States and Props in ReactJS

In this article we are reading about  “ States and Props in ReactJS ”. Dynamic apps must need to pass data around it’s system. In React, data movement happens mostly among components and external services that provide the original data (eg HTTP, localStorage). Props are immutable and dumb which means they can only be passed from parent components down and cannot be changed. This poses a challenge because, modern apps do not rely on having all of it’s states ready on page load. Ajax or Events could happen and when data returns, someone needs to be responsible for making updates. This is where React states comes in. On initializing React, we define an initial state and keep the state in sync with the props. Once the state is updated, the props can then be easily kept in sync: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 //js var  Counter  =  React. createClass ( { getInitialState :   function ( ) ...

Introduction to Azure Blob storage

Image
In this article, we are reading about  “ Introduction to Azure Blob storage ” . Azure Blob storage is Microsoft’s object storage solution for the cloud. Blob storage is optimized for storing massive amounts of unstructured data. Unstructured data is data that does not adhere to a particular data model or definition, such as text or binary data. About Blob storage Blob storage is designed for: Serving images or documents directly to a browser. Storing files for distributed access. Streaming video and audio. Writing to log files. Storing data for backup and restore disaster recovery, and archiving. Storing data for analysis by an on-premises or Azure-hosted service. Users or client applications can access objects in Blob storage via HTTP/HTTPS, from anywhere in the world. Objects in Blob storage are accessible via the  Azure Storage REST API ,  Azure PowerShell ,  Azure CLI , or an Azure Storage client library. Client libraries are available for a var...

Microsoft Dynamics CRM Plugins

Image
In this article we are reading about  “ Microsoft Dynamics CRM Plugins ” . A plug-in is a custom business logic that integrates with Microsoft Dynamics CRM to modify or extend the standard behavior of the platform. Plug-ins act as event handlers and are registered to execute on a particular event in CRM. Plugins are written in either C# or VB and can run either in synchronous or asynchronous mode. Some scenarios where you would write a plugin are − You want to execute some business logic such as updating certain fields of a record or updating related records, etc. when you create or update a CRM record. You want to call an external web service on certain events such as saving or updating a record. You want to dynamically calculate the field values when any record is opened. You want to automate processes such as sending e-mails to your customers on certain events in CRM. Event Framework The Event Processing Framework in CRM processes the synchronous and asynchronous...