Book Image

Mastering Cloud Development using Microsoft Azure

Book Image

Mastering Cloud Development using Microsoft Azure

Overview of this book

Microsoft Azure is a cloud computing platform that supports many different programming languages, tools, and frameworks, including both Microsoft-specific and third-party software and systems. This book starts by helping you set up a professional development environments in the cloud and integrating them with your local environment to achieve improved efficiency. You will move on to create front-end and back-end services, and then build cross-platform applications using Azure. Next you’ll get to grips with advanced techniques used to analyze usage data and automate billing operations. Following on from that, you will gain knowledge of how you can extend your on-premise solution to the cloud and move data in a pipeline. In a nutshell, this book will show you how to build high-quality, end-to-end services using Microsoft Azure. By the end of this book, you will have the skillset needed to successfully set up, develop, and manage a full-stack Azure infrastructure.
Table of Contents (15 chapters)
Mastering Cloud Development using Microsoft Azure
Credits
About the Authors
About the Reviewer
www.PacktPub.com
Preface
Index

Handling orders


As mentioned earlier, receiving an order is not just a matter of writing a row in a database. In real-world scenarios, an incoming e-commerce order triggers several business procedures. Some of them are as follows:

  • Notifying the warehouse set for the delivery

  • Notifying the sales agent to perform appropriate actions on the CRM

  • Notifying payment information to the financial department

We can achieve these with two opposite approaches:

  • Push approach: The application receiving an order "pushes" the notification to the involved systems

  • Pull approach: The involved systems periodically checks for changes into a specific place in order to start business rules

Both approaches have advantages/disadvantages. They are explained in the following table:

 

Push approach

Pull approach

Advantages

  • Dependent systems are notified from the event source, and they have just to react to the event

  • Event processor can be a stupid worker

  • External systems can initiate custom logic without other parties...