SlideShare uma empresa Scribd logo
1 de 17
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.
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

Mais conteúdo relacionado

Mais procurados

Rest api webinar(3)
Rest api webinar(3)Rest api webinar(3)
Rest api webinar(3)
WSO2
 

Mais procurados (20)

Mulesoft Basics and Connector Details
Mulesoft Basics and Connector DetailsMulesoft Basics and Connector Details
Mulesoft Basics and Connector Details
 
Mule esb made system integration easy
Mule esb made system integration easy Mule esb made system integration easy
Mule esb made system integration easy
 
Mule security
Mule  securityMule  security
Mule security
 
Mule soft Basics
Mule soft BasicsMule soft Basics
Mule soft Basics
 
Api areas
Api areasApi areas
Api areas
 
Mule for beginners
Mule for beginnersMule for beginners
Mule for beginners
 
MULE-JAAS
MULE-JAASMULE-JAAS
MULE-JAAS
 
Selenium -Test automation for web applications
Selenium -Test automation for web applicationsSelenium -Test automation for web applications
Selenium -Test automation for web applications
 
Mule esb–api layer
Mule esb–api layerMule esb–api layer
Mule esb–api layer
 
Mule cloud hub
Mule  cloud hubMule  cloud hub
Mule cloud hub
 
REST API in Salesforce
REST API in SalesforceREST API in Salesforce
REST API in Salesforce
 
Single Page Apps
Single Page AppsSingle Page Apps
Single Page Apps
 
Mule ESB
Mule ESBMule ESB
Mule ESB
 
Enterprise resources and mule
Enterprise resources and muleEnterprise resources and mule
Enterprise resources and mule
 
Rest api webinar(3)
Rest api webinar(3)Rest api webinar(3)
Rest api webinar(3)
 
Single page applications with backbone js
Single page applications with backbone jsSingle page applications with backbone js
Single page applications with backbone js
 
Mule cloudhub
Mule cloudhubMule cloudhub
Mule cloudhub
 
Mule cloudhub application
Mule cloudhub applicationMule cloudhub application
Mule cloudhub application
 
Mule esb api layer
Mule esb api layerMule esb api layer
Mule esb api layer
 
Application requirements for eprint app
Application requirements for eprint appApplication requirements for eprint app
Application requirements for eprint app
 

Destaque

Destaque (8)

Solopreneuring Lessons Learned - Phoenix Startup Week
Solopreneuring Lessons Learned - Phoenix Startup WeekSolopreneuring Lessons Learned - Phoenix Startup Week
Solopreneuring Lessons Learned - Phoenix Startup Week
 
OLX-Tech-Talk
OLX-Tech-TalkOLX-Tech-Talk
OLX-Tech-Talk
 
Tech Talk Friday
Tech Talk FridayTech Talk Friday
Tech Talk Friday
 
Telomiova Friday Talk Club
Telomiova Friday Talk ClubTelomiova Friday Talk Club
Telomiova Friday Talk Club
 
Amazon Web Service EC2 & S3
Amazon Web Service EC2 & S3Amazon Web Service EC2 & S3
Amazon Web Service EC2 & S3
 
NEW LAUNCH! Amazon EC2 Systems Manager for Hybrid Cloud Management at Scale
NEW LAUNCH! Amazon EC2 Systems Manager for Hybrid Cloud Management at ScaleNEW LAUNCH! Amazon EC2 Systems Manager for Hybrid Cloud Management at Scale
NEW LAUNCH! Amazon EC2 Systems Manager for Hybrid Cloud Management at Scale
 
Introduction on Amazon EC2
 Introduction on Amazon EC2 Introduction on Amazon EC2
Introduction on Amazon EC2
 
Deep Dive on Amazon EC2
Deep Dive on Amazon EC2Deep Dive on Amazon EC2
Deep Dive on Amazon EC2
 

Semelhante a Weekly Tech Session

Web technologies lesson 1
Web technologies   lesson 1Web technologies   lesson 1
Web technologies lesson 1
nhepner
 

Semelhante a Weekly Tech Session (20)

Using eZ Platform in an API Era
Using eZ Platform in an API EraUsing eZ Platform in an API Era
Using eZ Platform in an API Era
 
LAJUG Napster REST API
LAJUG Napster REST APILAJUG Napster REST API
LAJUG Napster REST API
 
Ibm web sphere application server interview questions
Ibm web sphere application server interview questionsIbm web sphere application server interview questions
Ibm web sphere application server interview questions
 
Getting started with dotnet core Web APIs
Getting started with dotnet core Web APIsGetting started with dotnet core Web APIs
Getting started with dotnet core Web APIs
 
Building Killer RESTful APIs with NodeJs
Building Killer RESTful APIs with NodeJsBuilding Killer RESTful APIs with NodeJs
Building Killer RESTful APIs with NodeJs
 
REST full API Design
REST full API DesignREST full API Design
REST full API Design
 
Undisturbed rest chapter01
Undisturbed rest chapter01Undisturbed rest chapter01
Undisturbed rest chapter01
 
Angular jS Introduction by Google
Angular jS Introduction by GoogleAngular jS Introduction by Google
Angular jS Introduction by Google
 
Web technologies lesson 1
Web technologies   lesson 1Web technologies   lesson 1
Web technologies lesson 1
 
Monolithic and Microservice architecture, Feature of Node JS 10, HTTP2
Monolithic and Microservice architecture, Feature of Node JS 10, HTTP2Monolithic and Microservice architecture, Feature of Node JS 10, HTTP2
Monolithic and Microservice architecture, Feature of Node JS 10, HTTP2
 
Fullstack Interview Questions and Answers.pdf
Fullstack Interview Questions and Answers.pdfFullstack Interview Questions and Answers.pdf
Fullstack Interview Questions and Answers.pdf
 
Web Server-Side Programming Techniques
Web Server-Side Programming TechniquesWeb Server-Side Programming Techniques
Web Server-Side Programming Techniques
 
RESTful applications: The why and how by Maikel Mardjan
RESTful applications: The why and how by Maikel MardjanRESTful applications: The why and how by Maikel Mardjan
RESTful applications: The why and how by Maikel Mardjan
 
What is the difference between an api and web services
What is the difference between an api and web servicesWhat is the difference between an api and web services
What is the difference between an api and web services
 
Food borne human diseases
Food borne human diseasesFood borne human diseases
Food borne human diseases
 
TECHNOLOGY FOR BACK-END WEB DEVELOPMENT: SERVER-SIDE SCRIPTING
TECHNOLOGY FOR BACK-END WEB DEVELOPMENT: SERVER-SIDE SCRIPTING TECHNOLOGY FOR BACK-END WEB DEVELOPMENT: SERVER-SIDE SCRIPTING
TECHNOLOGY FOR BACK-END WEB DEVELOPMENT: SERVER-SIDE SCRIPTING
 
All the amazing features of asp.net core
All the amazing features of asp.net coreAll the amazing features of asp.net core
All the amazing features of asp.net core
 
Ramji
RamjiRamji
Ramji
 
Best practices and advantages of REST APIs
Best practices and advantages of REST APIsBest practices and advantages of REST APIs
Best practices and advantages of REST APIs
 
A Quick Guide On Mobile App Backend Development For Busy People.docx
A Quick Guide On Mobile App Backend Development For Busy People.docxA Quick Guide On Mobile App Backend Development For Busy People.docx
A Quick Guide On Mobile App Backend Development For Busy People.docx
 

Último

+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
Health
 
introduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdf
introduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdfintroduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdf
introduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdf
VishalKumarJha10
 
The title is not connected to what is inside
The title is not connected to what is insideThe title is not connected to what is inside
The title is not connected to what is inside
shinachiaurasa2
 

Último (20)

Direct Style Effect Systems - The Print[A] Example - A Comprehension Aid
Direct Style Effect Systems -The Print[A] Example- A Comprehension AidDirect Style Effect Systems -The Print[A] Example- A Comprehension Aid
Direct Style Effect Systems - The Print[A] Example - A Comprehension Aid
 
A Secure and Reliable Document Management System is Essential.docx
A Secure and Reliable Document Management System is Essential.docxA Secure and Reliable Document Management System is Essential.docx
A Secure and Reliable Document Management System is Essential.docx
 
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
 
HR Software Buyers Guide in 2024 - HRSoftware.com
HR Software Buyers Guide in 2024 - HRSoftware.comHR Software Buyers Guide in 2024 - HRSoftware.com
HR Software Buyers Guide in 2024 - HRSoftware.com
 
Pharm-D Biostatistics and Research methodology
Pharm-D Biostatistics and Research methodologyPharm-D Biostatistics and Research methodology
Pharm-D Biostatistics and Research methodology
 
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
 
%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein
%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein
%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein
 
%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein
%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein
%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein
 
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdfLearn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
 
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
 
introduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdf
introduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdfintroduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdf
introduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdf
 
Sector 18, Noida Call girls :8448380779 Model Escorts | 100% verified
Sector 18, Noida Call girls :8448380779 Model Escorts | 100% verifiedSector 18, Noida Call girls :8448380779 Model Escorts | 100% verified
Sector 18, Noida Call girls :8448380779 Model Escorts | 100% verified
 
Right Money Management App For Your Financial Goals
Right Money Management App For Your Financial GoalsRight Money Management App For Your Financial Goals
Right Money Management App For Your Financial Goals
 
Chinsurah Escorts ☎️8617697112 Starting From 5K to 15K High Profile Escorts ...
Chinsurah Escorts ☎️8617697112  Starting From 5K to 15K High Profile Escorts ...Chinsurah Escorts ☎️8617697112  Starting From 5K to 15K High Profile Escorts ...
Chinsurah Escorts ☎️8617697112 Starting From 5K to 15K High Profile Escorts ...
 
Unlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language ModelsUnlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language Models
 
AI & Machine Learning Presentation Template
AI & Machine Learning Presentation TemplateAI & Machine Learning Presentation Template
AI & Machine Learning Presentation Template
 
Microsoft AI Transformation Partner Playbook.pdf
Microsoft AI Transformation Partner Playbook.pdfMicrosoft AI Transformation Partner Playbook.pdf
Microsoft AI Transformation Partner Playbook.pdf
 
VTU technical seminar 8Th Sem on Scikit-learn
VTU technical seminar 8Th Sem on Scikit-learnVTU technical seminar 8Th Sem on Scikit-learn
VTU technical seminar 8Th Sem on Scikit-learn
 
The title is not connected to what is inside
The title is not connected to what is insideThe title is not connected to what is inside
The title is not connected to what is inside
 
Exploring the Best Video Editing App.pdf
Exploring the Best Video Editing App.pdfExploring the Best Video Editing App.pdf
Exploring the Best Video Editing App.pdf
 

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.
  • 12.
  • 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