Heroku PHP

Create A Heroku Project

heroku create techofficephptest

Image 004

Create a Local Project Folder

Image 001.png

Create an index.php

Image 002Image 004

Deploy to Heroku

git init

heroku git:remote -a techofficephptest

Image 005

git add .

git commit -m "Update"

Image 006.png

git push heroku master

Image 007.png

Open your Heroku Application

Image 009Image 010Image 011

 

 

Service – Oriented Architecture (SOA)

Introduction

A service-oriented architecture (SOA) is a style of software design where services are provided to other components by application components through a communication protocol over a network.

There are no industry standards relating to the exact composition of a service-oriented architecture. There basic principles of serivce oriented architecture whould be independent of vendors, products and technologies.

  • Logically represents a business activity with a specified outcome
  • Selt-contained
  • Black Box for its consumers

 

Microservice Architecture

Miroservice Architecture is a kind of SOA. Microservices must be independently deployable. In SOA component can belong to same application whereas Microservice component are independently deployable services.

Image 073
Microservice Architecture

 

Image 14
Traditional Web Application Architecture

 

Drawback of Traditional Web Application Architecture

  • Large code base
  • Overloaded IDE
  • Overloaded Web Container
  • Difficult Continuous Deployment
  • Difficult to Scale in different dimension
  • Difficult to Scale Development
  • Stick to a Technology Stack

 

Advantage of Traditional Web Application Architecture

  • Simple to Develop
  • Simple to Deploy
  • Simple to Scale

 

Microservice Design Pattern

  • Core Patterns
  • Decomposition
  • Deployment Pattern
  • Cross Cutting Concerns
  • Communication Style
  • External API
  • Service Discovery
  • Reliability
  • Data Management
  • Security
  • Observability

 

Components

 

Reference