SlideShare a Scribd company logo
Team –
Durgesh, Rohit, Pankaj
10th Feb 2017
WEEKLY
TECH SESSION – 1
Agenda
Web app architecture
Device app architecture?
What is Rest API?
How mobile applications interact with web?
List of storage in web/device
What and How is Heroku.com?
Configuration of Heroku on Ubuntu.
Create a web app with rest api and deploy it to Heroku
Create a device app and use of rest api provided by web
Web app architecture
When deciding which server architecture to use for your
environment, there are many factors to consider, such as
performance, scalability, availability, reliability, cost, and ease of
management.
Here is a list of commonly used server setups, with a short
description of each, including pros and cons. Keep in mind that
all of the concepts covered here can be used in various
combinations with one another, and that every environment
has different requirements, so there is no single, correct
configuration.
Web app architecture
1. Everything On One Server The entire environment
resides on a single server. For
a typical web application,
that would include the web
server, application server, and
database server. A common
variation of this setup is a
LAMP stack, which stands for
Linux, Apache, MySQL, and
PHP, on a single server.
Web app architecture
3. Load Balancer (Reverse Proxy) / 3 Tier
Load balancers can be added to a server environment to improve
performance and reliability by distributing the workload across multiple
servers. If one of the servers that is load balanced fails, the other servers will
handle the incoming traffic until the failed server becomes healthy again. It
can also be used to serve multiple applications through the same domain and
port, by using a layer 7 (application layer) reverse proxy.
Web app architecture
Web Servers
o Nginx
o Apache HTTP
o IIS
o Lighttpd
o Apache Tomcat
App Servers
o Phusion Passenger
o WebSphere
o GlassFish
o JBoss
Database Servers
o MySQL
o MS-SQL
o PostgreSQL
o MongoDB
o OracleDB
o SQLite
How web request and
response works
Client (PC / Mobile)
Server Computer
Internet
HTTP Request
(http://example.com/sign-in)
HTTP Response
(http://example.com/sign-in)
HTML Web Page
Main web communications protocol:
HTTP – Hypertext Transfer Protocol
Clicking on a hyperlink or typing a URL
Into a browser starts a request-response cycle
Device app architecture
DB
What is REST API?
• REST stands for Representational State Transfer. (It is
sometimes spelled "ReST".)
• A REST API defines a set of functions which developers can
perform requests and receive responses via HTTP protocol
such as GET and POST.
HEROKU?
http://www.heroku.com
• Node
• Ruby
• Java
• PHP
• Python
• Go
• Scala
• Clojure
Heroku is a cloud platform as a service (PaaS) that lets
companies build, deliver, monitor, and scale apps.
Weekly Tech Session
INSTALL HEROKU TOOLBELT
On
UBUNTU
wget -O- https://toolbelt.heroku.com/install-ubuntu.sh | sh
https://devcenter.heroku.com/articles/heroku-cli
Configure Heroku Toolbelt with your Account
> heroku login
Configure heroku repo url with your rails project
> git remote add heroku <heroku-repo-url>
Deploy your code
> git add .; git commit –m <message>; git push heroku master;
Configure heroku repo url with your rails project
> git remote add heroku <heroku-repo-url>
Migrate database
> heroku run rake db:migrate
Open heroku app
> heroku open
Weekly Tech Session

More Related Content

DOCX
Bharath_WAS_4.11 yrs
PPTX
Introduction to REST - API
PDF
Introduction To Spring Enterprise Integration - SpringPeople
PPT
Mule api
PDF
MS TechDays 2011 - WCF Web APis There's a URI for That
PPTX
SOAP Service in Mule Esb
PPTX
Mule groovy
PPTX
Mule fundamentals
Bharath_WAS_4.11 yrs
Introduction to REST - API
Introduction To Spring Enterprise Integration - SpringPeople
Mule api
MS TechDays 2011 - WCF Web APis There's a URI for That
SOAP Service in Mule Esb
Mule groovy
Mule fundamentals

What's hot (20)

PPTX
Mulesoft Basics and Connector Details
PPTX
Mule esb made system integration easy
PPT
Mule security
PPTX
Mule soft Basics
DOCX
Api areas
PPTX
Mule for beginners
PPT
MULE-JAAS
PDF
Selenium -Test automation for web applications
PPT
Mule esb–api layer
PPT
Mule cloud hub
PPTX
REST API in Salesforce
PDF
Single Page Apps
PPT
Mule ESB
PPT
Enterprise resources and mule
PDF
Rest api webinar(3)
PDF
Single page applications with backbone js
PPT
Mule cloudhub
PPT
Mule cloudhub application
PPT
Mule esb api layer
PPTX
Application requirements for eprint app
Mulesoft Basics and Connector Details
Mule esb made system integration easy
Mule security
Mule soft Basics
Api areas
Mule for beginners
MULE-JAAS
Selenium -Test automation for web applications
Mule esb–api layer
Mule cloud hub
REST API in Salesforce
Single Page Apps
Mule ESB
Enterprise resources and mule
Rest api webinar(3)
Single page applications with backbone js
Mule cloudhub
Mule cloudhub application
Mule esb api layer
Application requirements for eprint app
Ad

Similar to Weekly Tech Session (20)

PPT
Heroku for-team-collaboration
PPT
Heroku for team collaboration
PPTX
Introduction to Heroku - CCT London 2013
PPTX
NodeJS - Creating a Restful API
PDF
Pivorak.javascript.global domination
PDF
Andriy Vandakurov about "Frontend. Global domination"
PDF
Intro to web
PDF
Introduction to PaaS and Heroku
PDF
Java Tech & Tools | Deploying Java & Play Framework Apps to the Cloud | Sande...
PPT
Dreamforce 13 developer session: Introduction to Heroku
PDF
Web Clients for Ruby and What they should be in the future
PDF
Cloud Platform as a Service: Heroku
PDF
Cloudcamp Athens 2011 Presenting Heroku
PDF
REST APIS web development for backend familiarity
PDF
Introduction to Heroku
PDF
Node.js to the rescue
PPTX
Heroku Introduction: Scaling customer facing apps & services
PPTX
Deploying Web Apps with PaaS and Docker Tools
PDF
Develop and Deploy your Mobile API with Rails, Nginx, Unicorn and Capistrano
PDF
IRJET- Rest API for E-Commerce Site
Heroku for-team-collaboration
Heroku for team collaboration
Introduction to Heroku - CCT London 2013
NodeJS - Creating a Restful API
Pivorak.javascript.global domination
Andriy Vandakurov about "Frontend. Global domination"
Intro to web
Introduction to PaaS and Heroku
Java Tech & Tools | Deploying Java & Play Framework Apps to the Cloud | Sande...
Dreamforce 13 developer session: Introduction to Heroku
Web Clients for Ruby and What they should be in the future
Cloud Platform as a Service: Heroku
Cloudcamp Athens 2011 Presenting Heroku
REST APIS web development for backend familiarity
Introduction to Heroku
Node.js to the rescue
Heroku Introduction: Scaling customer facing apps & services
Deploying Web Apps with PaaS and Docker Tools
Develop and Deploy your Mobile API with Rails, Nginx, Unicorn and Capistrano
IRJET- Rest API for E-Commerce Site
Ad

Recently uploaded (20)

PDF
Odoo Companies in India – Driving Business Transformation.pdf
PPTX
ISO 45001 Occupational Health and Safety Management System
PDF
SAP S4 Hana Brochure 3 (PTS SYSTEMS AND SOLUTIONS)
PDF
Adobe Illustrator 28.6 Crack My Vision of Vector Design
PDF
Understanding Forklifts - TECH EHS Solution
PDF
System and Network Administraation Chapter 3
PDF
How to Migrate SBCGlobal Email to Yahoo Easily
PDF
Nekopoi APK 2025 free lastest update
PPTX
CHAPTER 2 - PM Management and IT Context
PDF
AI in Product Development-omnex systems
PDF
Addressing The Cult of Project Management Tools-Why Disconnected Work is Hold...
PDF
Internet Downloader Manager (IDM) Crack 6.42 Build 42 Updates Latest 2025
PPTX
Oracle E-Business Suite: A Comprehensive Guide for Modern Enterprises
PPTX
Transform Your Business with a Software ERP System
PDF
2025 Textile ERP Trends: SAP, Odoo & Oracle
PDF
T3DD25 TYPO3 Content Blocks - Deep Dive by André Kraus
PDF
Claude Code: Everyone is a 10x Developer - A Comprehensive AI-Powered CLI Tool
PDF
Digital Strategies for Manufacturing Companies
PPTX
Operating system designcfffgfgggggggvggggggggg
PPTX
Online Work Permit System for Fast Permit Processing
Odoo Companies in India – Driving Business Transformation.pdf
ISO 45001 Occupational Health and Safety Management System
SAP S4 Hana Brochure 3 (PTS SYSTEMS AND SOLUTIONS)
Adobe Illustrator 28.6 Crack My Vision of Vector Design
Understanding Forklifts - TECH EHS Solution
System and Network Administraation Chapter 3
How to Migrate SBCGlobal Email to Yahoo Easily
Nekopoi APK 2025 free lastest update
CHAPTER 2 - PM Management and IT Context
AI in Product Development-omnex systems
Addressing The Cult of Project Management Tools-Why Disconnected Work is Hold...
Internet Downloader Manager (IDM) Crack 6.42 Build 42 Updates Latest 2025
Oracle E-Business Suite: A Comprehensive Guide for Modern Enterprises
Transform Your Business with a Software ERP System
2025 Textile ERP Trends: SAP, Odoo & Oracle
T3DD25 TYPO3 Content Blocks - Deep Dive by André Kraus
Claude Code: Everyone is a 10x Developer - A Comprehensive AI-Powered CLI Tool
Digital Strategies for Manufacturing Companies
Operating system designcfffgfgggggggvggggggggg
Online Work Permit System for Fast Permit Processing

Weekly Tech Session

  • 1. Team – Durgesh, Rohit, Pankaj 10th Feb 2017 WEEKLY TECH SESSION – 1
  • 2. Agenda Web app architecture Device app architecture? What is Rest API? How mobile applications interact with web? List of storage in web/device What and How is Heroku.com? Configuration of Heroku on Ubuntu. Create a web app with rest api and deploy it to Heroku Create a device app and use of rest api provided by web
  • 3. Web app architecture When deciding which server architecture to use for your environment, there are many factors to consider, such as performance, scalability, availability, reliability, cost, and ease of management. Here is a list of commonly used server setups, with a short description of each, including pros and cons. Keep in mind that all of the concepts covered here can be used in various combinations with one another, and that every environment has different requirements, so there is no single, correct configuration.
  • 4. Web app architecture 1. Everything On One Server The entire environment resides on a single server. For a typical web application, that would include the web server, application server, and database server. A common variation of this setup is a LAMP stack, which stands for Linux, Apache, MySQL, and PHP, on a single server.
  • 5. Web app architecture 3. Load Balancer (Reverse Proxy) / 3 Tier Load balancers can be added to a server environment to improve performance and reliability by distributing the workload across multiple servers. If one of the servers that is load balanced fails, the other servers will handle the incoming traffic until the failed server becomes healthy again. It can also be used to serve multiple applications through the same domain and port, by using a layer 7 (application layer) reverse proxy.
  • 6. Web app architecture Web Servers o Nginx o Apache HTTP o IIS o Lighttpd o Apache Tomcat App Servers o Phusion Passenger o WebSphere o GlassFish o JBoss Database Servers o MySQL o MS-SQL o PostgreSQL o MongoDB o OracleDB o SQLite
  • 7. How web request and response works Client (PC / Mobile) Server Computer Internet HTTP Request (http://example.com/sign-in) HTTP Response (http://example.com/sign-in) HTML Web Page Main web communications protocol: HTTP – Hypertext Transfer Protocol Clicking on a hyperlink or typing a URL Into a browser starts a request-response cycle
  • 9. What is REST API? • REST stands for Representational State Transfer. (It is sometimes spelled "ReST".) • A REST API defines a set of functions which developers can perform requests and receive responses via HTTP protocol such as GET and POST.
  • 11. http://www.heroku.com • Node • Ruby • Java • PHP • Python • Go • Scala • Clojure Heroku is a cloud platform as a service (PaaS) that lets companies build, deliver, monitor, and scale apps.
  • 13. INSTALL HEROKU TOOLBELT On UBUNTU wget -O- https://toolbelt.heroku.com/install-ubuntu.sh | sh https://devcenter.heroku.com/articles/heroku-cli
  • 14. Configure Heroku Toolbelt with your Account > heroku login Configure heroku repo url with your rails project > git remote add heroku <heroku-repo-url>
  • 15. Deploy your code > git add .; git commit –m <message>; git push heroku master; Configure heroku repo url with your rails project > git remote add heroku <heroku-repo-url>
  • 16. Migrate database > heroku run rake db:migrate Open heroku app > heroku open