SlideShare une entreprise Scribd logo
1  sur  42
Télécharger pour lire hors ligne
High level overview of concepts
Lemİ Orhan Ergİn
Principal software Engineer @ Sony
guide for non-developers
Fundamentals of
web development
The aim of this training is to let you
•Know some advanced concepts of web and web development
•Understand how people develop web based software
•Understand the technical discussions better
•And answer your questions...
For introductory information about web concepts, please check
the slides of “Fundamentals of Web for Non-Developers”.
agenda
•Web Development Concepts
Web Applications, Web Services, Url Rewriting, Development/Deployment
Web Applicationsand the evolution of web sites to web applications
Static web pages ruled the
world. We loved them and
let DotCom bubble blow.
Evolution of web
Static web pages
Interactive web sites let the
users communicate with
the sites by entering content
Evolution of web
Interactive web sites
Reactive web applications both interact
with the user and adapt itself by the
needs of resolution and screen size
Reactive web sites
applications
Evolution of web
Web APplications
A web application is an application that is accessed by users over a network such
as the internet or an intranet. It could be web sites, messaging platforms, search
engines, web services, etc.
•Presentation Oriented
•Service Oriented
•Client Side
•Server Side
There exists similar but two types of defining web application types
Controller Business Data Access
Presentation
request
Response
http://www.sony.co.uk
For web pages, content is
visualized by images,
styles and scripts
Data Sources
Accepts all the requests
and user inputs
Content is prepared by
running some business logic.
All logic are coded by
programming languages.
Knows how to access
data from data sources
Databases, files, remote
data services, other
components could be
your datasource
Web APplications
Requests contain a uri,
headers and a message body
Responses are the content to be
rendered by browsers
Controller Business Data Access
Presentation
request
Response
http://www.sony.co.uk
Data Sources
Web APplications
Designers, UX teams, Front-end
developers prepare the
presentation of web applications
Developers code and
develop software
Business Analysts
gather requirements
and define open points
Testers check if the requirements
are developed as business requests
Customers check if
what they requested is
implemented properly
Web Servicesor simply saying, the web components serving data to the requesters
Web Services
RESTful Web Services
Simple Object Access Protocol (SOAP)
Service Oriented Architecture (SOA)
web services
Web services are services for doing specific functionalities that are made available
from a business's Web server for Web users or other Web-connected programs.
1. REST-Compliant Web services, in which the primary purpose of the service is to manipulate
XML representations of Web resources using a uniform set of "stateless" operations
2. Arbitrary Web services, in which the service may expose an arbitrary set of operations
To design a website you need to know about HTTP, XHTML, and URIs.
A uniform resource identifier (URI) is a string of
characters used to identify a name or a web resource,
such as a web page or special set of data (like product
data or user information). “/product/45242366” is a URI
identifying a specific product.
web services
XHTML could be defined as HTML in valid XML structure.
To design a web application you need to know about HTTP, XHTML, and URIs.
web services
To design a web service you need to know about XML, SOAP, WSDL, UDDI, WS-
Policy, WS-Security, WS-Eventing, WS-Reliability, WS-Coordination, WS-
Transaction, WS-Notification, WS-BaseNotification, WS-Topics, WS-Transfer...
What?...
web services
WEB
It is most successful distributed
platform in the world
it's simple enough for average
humans to understand
Why not using HTTP and URIs
for web services?
REST
Representational State Transfer (REST) is a style
of software architecture for distributed systems
such as the World Wide Web
Client-Server
Stateless
Cacheable
Layered System
Uniform Interface
Services and applications conforming
these constraints are “RESTful”
Restful web services
GET /product/12
12
9
4
3
7 6
POST /product/4 with “data”
data
Create
datad
PUT /product/3 with “data” Update
data
DELETE /product/7
Delete
Retrieve
RESTful Web Services use HTTP methods explicitly, do not store any state, expose directory structure-like
URIs and transfer data in XML, XHTML, JSON format
soap
Simple Object Access Protocol (SOAP) is a protocol specification for exchanging
structured information in the implementation of Web Services in computer
networks. It relies on XML Information Set for its message format, and usually
relies on other Application Layer protocols, most notably Hypertext Transfer
Protocol (HTTP) or Simple Mail Transfer Protocol (SMTP), for message
negotiation and transmission.
Service oriented architecture
SOA is a software design and architecture based on having independent modules
communicating between each other through services to build monitorable,
scalable, reusable, stateless, loosely coupled components and platforms.
Jeff Bezos
1. All teams will expose their data and functionality through service interfaces.
2. Teams must communicate with each other through these interfaces.
3. There will be no other form of interprocess communication allowed.
4. It doesn’t matter what technology they use.
5. All service interfaces, without exception, must be designed from the
ground up to be externalizable. No exceptions.
6. Anyone who doesn’t do this will be fired.
7. Thank you, have a nice day!
Founder and CEO of Amazon
Jeff Bezos sent an email to his colleagues having these words:
https://plus.google.com/112678702228711889851/posts/eVeouesvaVX
URL RewritingWhat you call is not what you really call
URL rewriting
With URL rewriting, the URL and the resource that it leads to can be completely
independent of each other. In practice, they’re usually not wholly independent: the
URL usually contains some code or number or name that enables the application to
look up the resource. But in theory, this is what URL rewriting provides: a complete
separation.
URL rewriting basically tells the Web server that the called url should show the Web
page at an internal url without the customer or search engine knowing about it.
/products/miniflow-gutter-brown/11577676
/diy/jsp/bq/nav.jsp?action=detail&fh_secondid=11577676
URL rewriting
User Web Server Application Server
is called by the user. Web Server gets the
request, runs ReWrite Rules and convert
the url into a different one.
/products/miniflow-gutter-brown/11577676
/diy/jsp/bq/nav.jsp?action=detail&fh_secondid=11577676
is received by the application server.
Request is processed and a response is
generated and sent.
is the url that the user sees the response.
Even though URL has changed internally,
the user is not aware of it.
/products/miniflow-gutter-brown/11577676
How do developers
develop software?* The way of development differs from company to company and team to team for sure. But
here, we try to focus on enterprise level projects which are developed by teams. You may
encounter different styles in other companies as well.
*
Notification Services (email, messaging)
Super User
DEV TEST & QA STAGING PROD
Version
Control
System
Developer Developer Developer
LOCAL
Developer
Continous
Integration
Repository Manager
At the very beginning, developers
develop software by their own. No
collaboration. That might be fine for
some circumstances but it is
unacceptable in an enterprise.
Continuous
Delivery
Notification Services (email, messaging)
Super User
DEV TEST & QA STAGING PROD
Version
Control
System
Developer Developer Developer
LOCAL
Developer
Continous
Integration
Repository Manager
Developers
We build cross functional teams
that the members collaborate
and develop as teams.
Continuous
Delivery
Notification Services (email, messaging)
Super User
DEV TEST & QA STAGING PROD
Version
Control
System
Developer Developer Developer
LOCAL
Developer
Continous
Integration
Repository Manager
Developers
Developers push code to a
central version system. That
helps developers work on same
code at the same time.
Continuous
Delivery
Notification Services (email, messaging)
Super User
DEV TEST & QA STAGING PROD
Version
Control
System
Continuous
Delivery
Developer Developer Developer
LOCAL
Developer
Continuous
Integration
Repository Manager
Developers
Automated tests are written by
developers. Continuous integration
server builds all tests to get
immediate feedback. Whenever a test
fails, developers get notified by
notification mails or messages.
Notification Services (email, messaging)
Super User
DEV TEST & QA STAGING PROD
Version
Control
System
Continuous
Delivery
Developer Developer Developer
LOCAL
Developer
Continuous
Integration
Repository Manager
Developers
CI server deploys snapshots to a
centralized repository manager if all
the tests pass. All packages including
3rd party packages are managed by the
repository manager.
Notification Services (email, messaging)
Super User
DEV TEST & QA STAGING PROD
Version
Control
System
Continuous
Delivery
Developer Developer Developer
LOCAL
Developer
Continuous
Integration
Repository Manager
Developers
Now it’s time to deploy our code to servers
and make it run. You could have several
enterprise environments to deploy and run
software for special purposes
Your code is in repository manager as a package if
packages are deployed as in Java based applications.
Your code is in version control system and could be
deployed to servers in text form like in Ruby and PHP.
Notification Services (email, messaging)
Super User
DEV TEST & QA STAGING PROD
Version
Control
System
Continuous
Delivery
Developer Developer Developer
LOCAL
Developer
Continuous
Integration
Repository Manager
Developers
Developers develop software, run
and test in their local machines
Notification Services (email, messaging)
Super User
DEV TEST & QA STAGING PROD
Version
Control
System
Continuous
Delivery
Developer Developer Developer
LOCAL
Developer
Continuous
Integration
Repository Manager
Developers
Developers test their software in a
separate environment before
sending to Quality Assurance team
Notification Services (email, messaging)
Super User
DEV TEST & QA STAGING PROD
Version
Control
System
Continuous
Delivery
Developer Developer Developer
LOCAL
Developer
Continuous
Integration
Repository Manager
Developers
Test/QA machines should be similar to
production machines in means of hardware
to make tests more reliable. There might be
more than one test environment for testing
different features.
Notification Services (email, messaging)
Super User
DEV TEST & QA STAGING PROD
Version
Control
System
Continuous
Delivery
Developer Developer Developer
LOCAL
Developer
Continuous
Integration
Repository Manager
Developers
Staging is the place where customers do UAT,
SIT and regression tests. The data is
previewed before being delivered to
production environment.
Notification Services (email, messaging)
Super User
DEV TEST & QA STAGING PROD
Version
Control
System
Continuous
Delivery
Developer Developer Developer
LOCAL
Developer
Continuous
Integration
Repository Manager
Developers
Only super users can deploy to
production. Production environment
is monitored continuously.
Notification Services (email, messaging)
Super User
DEV TEST & QA STAGING PROD
Version
Control
System
Continuous
Delivery
Developer Developer Developer
LOCAL
Developer
Continuous
Integration
Repository Manager
Developers
Too much manual effort for
deployment. That slows down the
whole testing and release process.
Let’s automate deployments!
Notification Services (email, messaging)
Super User
DEV TEST & QA STAGING PROD
Version
Control
System
Continuous
Delivery
Developer Developer Developer
LOCAL
Developer
Continuous
Integration
Repository Manager
Developers
Packages are deployed automatically by
a continuous delivery system to servers.
Most of the time, continuous integration
servers do the deployment.
Notification Services (email, messaging)
Super User
DEV TEST & QA STAGING PROD
Version
Control
System
Continuous
Delivery
Developer Developer Developer
LOCAL
Developer
Continuous
Integration
Repository Manager
Developers
It is also possible to deploy code directly
from version control system to servers.
For instance, whenever developers push a
code to version control system, the code
could be deployed to development servers.
Notification Services (email, messaging)
DevOps
Version
Control
System
Continuous
Delivery
DevOps DevOps DevOps
LOCAL
DevOps
Continuous
Integration
Repository Manager
Developers
You don't need servers to maintain,
you need just a cloud. DevOps are the
ones who manages both infrastructural
and development requirements.
Version
Control
System
This flow is the one we use for Heroku (i.e. cloud
platform as a service) for deploying and running
the software. Please note that each cloud solution
has its own way of deploying software.
References
RESTful Web Services
http://www.crummy.com/writing/RESTful-Web-Services/
http://www.ibm.com/developerworks/webservices/library/ws-restful/
Web Services
http://searchsoa.techtarget.com/definition/Web-services
Url ReWriting
http://coding.smashingmagazine.com/2011/11/02/introduction-to-url-rewriting/
Lemİ orhan ergİn
lemiorhan@agilistanbul.com
@lemiorhan
@lemiorhan
agilistanbul.com
@lemiorhan
LINKEDINTWITTERSLIDESHAREBLOGGER
Principal Software Engineer @ Sony
Founder & Author @ agilistanbul.com
flyingtomoon.com

Contenu connexe

Tendances

Lecture-3: Introduction to html - Basic Structure & Block Building
Lecture-3: Introduction to html - Basic Structure & Block BuildingLecture-3: Introduction to html - Basic Structure & Block Building
Lecture-3: Introduction to html - Basic Structure & Block BuildingMubashir Ali
 
ppt of web designing and development
ppt of web designing and developmentppt of web designing and development
ppt of web designing and development47ishu
 
Introduction to web development
Introduction to web developmentIntroduction to web development
Introduction to web developmentMohammed Safwat
 
WEB I - 01 - Introduction to Web Development
WEB I - 01 - Introduction to Web DevelopmentWEB I - 01 - Introduction to Web Development
WEB I - 01 - Introduction to Web DevelopmentRandy Connolly
 
Ppt of web development
Ppt of web developmentPpt of web development
Ppt of web developmentbethanygfair
 
Introduction to HTML5
Introduction to HTML5Introduction to HTML5
Introduction to HTML5Gil Fink
 
Introduction to back-end
Introduction to back-endIntroduction to back-end
Introduction to back-endMosaab Ehab
 
Introduction to Web Development
Introduction to Web DevelopmentIntroduction to Web Development
Introduction to Web DevelopmentParvez Mahbub
 
Front end architecture
Front end architectureFront end architecture
Front end architectureRemus Langu
 
Difference between frontend and backend
Difference between frontend and backendDifference between frontend and backend
Difference between frontend and backendRahul Rana
 
Web Application Introduction
Web Application  IntroductionWeb Application  Introduction
Web Application Introductionshaojung
 
Html5 tutorial for beginners
Html5 tutorial for beginnersHtml5 tutorial for beginners
Html5 tutorial for beginnersSingsys Pte Ltd
 

Tendances (20)

Javascript basics
Javascript basicsJavascript basics
Javascript basics
 
Lecture-3: Introduction to html - Basic Structure & Block Building
Lecture-3: Introduction to html - Basic Structure & Block BuildingLecture-3: Introduction to html - Basic Structure & Block Building
Lecture-3: Introduction to html - Basic Structure & Block Building
 
ppt of web designing and development
ppt of web designing and developmentppt of web designing and development
ppt of web designing and development
 
Introduction to web development
Introduction to web developmentIntroduction to web development
Introduction to web development
 
WEB I - 01 - Introduction to Web Development
WEB I - 01 - Introduction to Web DevelopmentWEB I - 01 - Introduction to Web Development
WEB I - 01 - Introduction to Web Development
 
HTML 5 Canvas & SVG
HTML 5 Canvas & SVGHTML 5 Canvas & SVG
HTML 5 Canvas & SVG
 
Java script
Java scriptJava script
Java script
 
Basics of JavaScript
Basics of JavaScriptBasics of JavaScript
Basics of JavaScript
 
Ppt of web development
Ppt of web developmentPpt of web development
Ppt of web development
 
Introduction to HTML5
Introduction to HTML5Introduction to HTML5
Introduction to HTML5
 
Introduction to back-end
Introduction to back-endIntroduction to back-end
Introduction to back-end
 
Introduction to Web Development
Introduction to Web DevelopmentIntroduction to Web Development
Introduction to Web Development
 
Javascript 101
Javascript 101Javascript 101
Javascript 101
 
Front end architecture
Front end architectureFront end architecture
Front end architecture
 
Difference between frontend and backend
Difference between frontend and backendDifference between frontend and backend
Difference between frontend and backend
 
Introduction to Web development
Introduction to Web developmentIntroduction to Web development
Introduction to Web development
 
Web development
Web developmentWeb development
Web development
 
Web Application Introduction
Web Application  IntroductionWeb Application  Introduction
Web Application Introduction
 
Html5 tutorial for beginners
Html5 tutorial for beginnersHtml5 tutorial for beginners
Html5 tutorial for beginners
 
web development
web developmentweb development
web development
 

Similaire à Fundamentals of Web Development For Non-Developers

Enterprise Software Architecture
Enterprise Software ArchitectureEnterprise Software Architecture
Enterprise Software Architecturerahmed_sct
 
Secc tutorials development and deployment of rest web services in java_v2.0
Secc tutorials development and deployment of rest web services in java_v2.0Secc tutorials development and deployment of rest web services in java_v2.0
Secc tutorials development and deployment of rest web services in java_v2.0Aravindharamanan S
 
Web development: Why do we need it ?
Web development: Why do we need it ?Web development: Why do we need it ?
Web development: Why do we need it ?anubhavdoodleblue123
 
J2EE Notes JDBC database Connectiviy and Programs related to JDBC
J2EE Notes JDBC database Connectiviy and Programs related to JDBCJ2EE Notes JDBC database Connectiviy and Programs related to JDBC
J2EE Notes JDBC database Connectiviy and Programs related to JDBCChaithraCSHirematt
 
Web development ppt
Web development pptWeb development ppt
Web development pptParasJain222
 
Online test management system
Online test management systemOnline test management system
Online test management systemPrateek Agarwak
 
API & Backend Integration
API & Backend IntegrationAPI & Backend Integration
API & Backend IntegrationElewayte
 
Chapter 1 introduction
Chapter 1 introductionChapter 1 introduction
Chapter 1 introductionjam c
 
Basics of Web Development.pptx
Basics of Web Development.pptxBasics of Web Development.pptx
Basics of Web Development.pptxPalash Sukla Das
 
Web Application Development-Ultimate Guide To Web Application Architecture
Web Application Development-Ultimate Guide To Web Application ArchitectureWeb Application Development-Ultimate Guide To Web Application Architecture
Web Application Development-Ultimate Guide To Web Application ArchitectureVersatile Mobitech
 
Web Server Hardware and Software
Web Server Hardware and SoftwareWeb Server Hardware and Software
Web Server Hardware and Softwarewebhostingguy
 
Notes On Software Development, Platform And Modernisation
Notes On Software Development, Platform And ModernisationNotes On Software Development, Platform And Modernisation
Notes On Software Development, Platform And ModernisationAlan McSweeney
 
Introduction to APIs & how to automate APIs testing with selenium web driver?
Introduction to APIs & how to automate APIs testing with selenium web driver?Introduction to APIs & how to automate APIs testing with selenium web driver?
Introduction to APIs & how to automate APIs testing with selenium web driver?BugRaptors
 
Unit 3-SOA Technologies
Unit 3-SOA TechnologiesUnit 3-SOA Technologies
Unit 3-SOA Technologiesssuser3a47cb
 
Nt1310 Final Exam Questions And Answers
Nt1310 Final Exam Questions And AnswersNt1310 Final Exam Questions And Answers
Nt1310 Final Exam Questions And AnswersLisa Williams
 

Similaire à Fundamentals of Web Development For Non-Developers (20)

Enterprise Software Architecture
Enterprise Software ArchitectureEnterprise Software Architecture
Enterprise Software Architecture
 
Secc tutorials development and deployment of rest web services in java_v2.0
Secc tutorials development and deployment of rest web services in java_v2.0Secc tutorials development and deployment of rest web services in java_v2.0
Secc tutorials development and deployment of rest web services in java_v2.0
 
Job center
Job centerJob center
Job center
 
Web development: Why do we need it ?
Web development: Why do we need it ?Web development: Why do we need it ?
Web development: Why do we need it ?
 
J2EE Notes JDBC database Connectiviy and Programs related to JDBC
J2EE Notes JDBC database Connectiviy and Programs related to JDBCJ2EE Notes JDBC database Connectiviy and Programs related to JDBC
J2EE Notes JDBC database Connectiviy and Programs related to JDBC
 
REST full API Design
REST full API DesignREST full API Design
REST full API Design
 
Web development ppt
Web development pptWeb development ppt
Web development ppt
 
Online test management system
Online test management systemOnline test management system
Online test management system
 
PPT - A slice of cake php
PPT - A slice of cake phpPPT - A slice of cake php
PPT - A slice of cake php
 
API & Backend Integration
API & Backend IntegrationAPI & Backend Integration
API & Backend Integration
 
Chapter 1 introduction
Chapter 1 introductionChapter 1 introduction
Chapter 1 introduction
 
Srs2 Job Portal
Srs2 Job PortalSrs2 Job Portal
Srs2 Job Portal
 
Basics of Web Development.pptx
Basics of Web Development.pptxBasics of Web Development.pptx
Basics of Web Development.pptx
 
A Complete Guide to Python Web Development
A Complete Guide to Python Web DevelopmentA Complete Guide to Python Web Development
A Complete Guide to Python Web Development
 
Web Application Development-Ultimate Guide To Web Application Architecture
Web Application Development-Ultimate Guide To Web Application ArchitectureWeb Application Development-Ultimate Guide To Web Application Architecture
Web Application Development-Ultimate Guide To Web Application Architecture
 
Web Server Hardware and Software
Web Server Hardware and SoftwareWeb Server Hardware and Software
Web Server Hardware and Software
 
Notes On Software Development, Platform And Modernisation
Notes On Software Development, Platform And ModernisationNotes On Software Development, Platform And Modernisation
Notes On Software Development, Platform And Modernisation
 
Introduction to APIs & how to automate APIs testing with selenium web driver?
Introduction to APIs & how to automate APIs testing with selenium web driver?Introduction to APIs & how to automate APIs testing with selenium web driver?
Introduction to APIs & how to automate APIs testing with selenium web driver?
 
Unit 3-SOA Technologies
Unit 3-SOA TechnologiesUnit 3-SOA Technologies
Unit 3-SOA Technologies
 
Nt1310 Final Exam Questions And Answers
Nt1310 Final Exam Questions And AnswersNt1310 Final Exam Questions And Answers
Nt1310 Final Exam Questions And Answers
 

Plus de Lemi Orhan Ergin

Clean Software Design: The Practices to Make The Design Simple
Clean Software Design: The Practices to Make The Design SimpleClean Software Design: The Practices to Make The Design Simple
Clean Software Design: The Practices to Make The Design SimpleLemi Orhan Ergin
 
Unwritten Manual for Pair Programming
Unwritten Manual for Pair ProgrammingUnwritten Manual for Pair Programming
Unwritten Manual for Pair ProgrammingLemi Orhan Ergin
 
10 Faulty Behaviors of Code Review - Developer Summit Istanbul 2018
10 Faulty Behaviors of Code Review - Developer Summit Istanbul 201810 Faulty Behaviors of Code Review - Developer Summit Istanbul 2018
10 Faulty Behaviors of Code Review - Developer Summit Istanbul 2018Lemi Orhan Ergin
 
Yeni Nesil Yazılım Kültürü: Daha İyi Profesyoneller, Daha Kaliteli Yazılım, D...
Yeni Nesil Yazılım Kültürü: Daha İyi Profesyoneller, Daha Kaliteli Yazılım, D...Yeni Nesil Yazılım Kültürü: Daha İyi Profesyoneller, Daha Kaliteli Yazılım, D...
Yeni Nesil Yazılım Kültürü: Daha İyi Profesyoneller, Daha Kaliteli Yazılım, D...Lemi Orhan Ergin
 
Irresponsible Disclosure: Short Handbook of an Ethical Developer
Irresponsible Disclosure: Short Handbook of an Ethical DeveloperIrresponsible Disclosure: Short Handbook of an Ethical Developer
Irresponsible Disclosure: Short Handbook of an Ethical DeveloperLemi Orhan Ergin
 
Scrum Events and Artifacts in Action
Scrum Events and Artifacts in ActionScrum Events and Artifacts in Action
Scrum Events and Artifacts in ActionLemi Orhan Ergin
 
DevOps & Technical Agility: From Theory to Practice
DevOps & Technical Agility: From Theory to PracticeDevOps & Technical Agility: From Theory to Practice
DevOps & Technical Agility: From Theory to PracticeLemi Orhan Ergin
 
Fighting with Waste Driven Development - XP Days Ukraine 2017
Fighting with Waste Driven Development - XP Days Ukraine 2017Fighting with Waste Driven Development - XP Days Ukraine 2017
Fighting with Waste Driven Development - XP Days Ukraine 2017Lemi Orhan Ergin
 
Git Anti Patterns - XP Days Ukraine 2017
Git Anti Patterns - XP Days Ukraine 2017Git Anti Patterns - XP Days Ukraine 2017
Git Anti Patterns - XP Days Ukraine 2017Lemi Orhan Ergin
 
Waste Driven Development - Agile Coaching Serbia Meetup
Waste Driven Development - Agile Coaching Serbia MeetupWaste Driven Development - Agile Coaching Serbia Meetup
Waste Driven Development - Agile Coaching Serbia MeetupLemi Orhan Ergin
 
Git Anti-Patterns - Extended Version With 28 Common Anti-Patterns) - SCTurkey...
Git Anti-Patterns - Extended Version With 28 Common Anti-Patterns) - SCTurkey...Git Anti-Patterns - Extended Version With 28 Common Anti-Patterns) - SCTurkey...
Git Anti-Patterns - Extended Version With 28 Common Anti-Patterns) - SCTurkey...Lemi Orhan Ergin
 
Git Anti-Patterns: How To Mess Up With Git and Love it Again - DevoxxPL 2017
Git Anti-Patterns: How To Mess Up With Git and Love it Again - DevoxxPL 2017Git Anti-Patterns: How To Mess Up With Git and Love it Again - DevoxxPL 2017
Git Anti-Patterns: How To Mess Up With Git and Love it Again - DevoxxPL 2017Lemi Orhan Ergin
 
Yazılım Geliştirme Kültürünün Kodları: Motivasyon, Teknik Mükemmellik ve İnov...
Yazılım Geliştirme Kültürünün Kodları: Motivasyon, Teknik Mükemmellik ve İnov...Yazılım Geliştirme Kültürünün Kodları: Motivasyon, Teknik Mükemmellik ve İnov...
Yazılım Geliştirme Kültürünün Kodları: Motivasyon, Teknik Mükemmellik ve İnov...Lemi Orhan Ergin
 
Git Anti-Patterns: How To Mess Up With Git and Love it Again
Git Anti-Patterns: How To Mess Up With Git and Love it AgainGit Anti-Patterns: How To Mess Up With Git and Love it Again
Git Anti-Patterns: How To Mess Up With Git and Love it AgainLemi Orhan Ergin
 
Clean Software Design - DevNot Summit Istanbul 2017
Clean Software Design - DevNot Summit Istanbul 2017Clean Software Design - DevNot Summit Istanbul 2017
Clean Software Design - DevNot Summit Istanbul 2017Lemi Orhan Ergin
 
Test Driven Design - GDG DevFest Istanbul 2016
Test Driven Design - GDG DevFest Istanbul 2016Test Driven Design - GDG DevFest Istanbul 2016
Test Driven Design - GDG DevFest Istanbul 2016Lemi Orhan Ergin
 
Let The Elephants Leave The Room - Remove Waste in Software Development - Bos...
Let The Elephants Leave The Room - Remove Waste in Software Development - Bos...Let The Elephants Leave The Room - Remove Waste in Software Development - Bos...
Let The Elephants Leave The Room - Remove Waste in Software Development - Bos...Lemi Orhan Ergin
 
Happy Developer's Guide to the Galaxy: Thinking About Motivation of Developers
Happy Developer's Guide to the Galaxy: Thinking About Motivation of DevelopersHappy Developer's Guide to the Galaxy: Thinking About Motivation of Developers
Happy Developer's Guide to the Galaxy: Thinking About Motivation of DevelopersLemi Orhan Ergin
 
Git - Bildiğiniz Gibi Değil
Git - Bildiğiniz Gibi DeğilGit - Bildiğiniz Gibi Değil
Git - Bildiğiniz Gibi DeğilLemi Orhan Ergin
 
Code Your Agility - Tips for Boosting Technical Agility in Your Organization
Code Your Agility - Tips for Boosting Technical Agility in Your OrganizationCode Your Agility - Tips for Boosting Technical Agility in Your Organization
Code Your Agility - Tips for Boosting Technical Agility in Your OrganizationLemi Orhan Ergin
 

Plus de Lemi Orhan Ergin (20)

Clean Software Design: The Practices to Make The Design Simple
Clean Software Design: The Practices to Make The Design SimpleClean Software Design: The Practices to Make The Design Simple
Clean Software Design: The Practices to Make The Design Simple
 
Unwritten Manual for Pair Programming
Unwritten Manual for Pair ProgrammingUnwritten Manual for Pair Programming
Unwritten Manual for Pair Programming
 
10 Faulty Behaviors of Code Review - Developer Summit Istanbul 2018
10 Faulty Behaviors of Code Review - Developer Summit Istanbul 201810 Faulty Behaviors of Code Review - Developer Summit Istanbul 2018
10 Faulty Behaviors of Code Review - Developer Summit Istanbul 2018
 
Yeni Nesil Yazılım Kültürü: Daha İyi Profesyoneller, Daha Kaliteli Yazılım, D...
Yeni Nesil Yazılım Kültürü: Daha İyi Profesyoneller, Daha Kaliteli Yazılım, D...Yeni Nesil Yazılım Kültürü: Daha İyi Profesyoneller, Daha Kaliteli Yazılım, D...
Yeni Nesil Yazılım Kültürü: Daha İyi Profesyoneller, Daha Kaliteli Yazılım, D...
 
Irresponsible Disclosure: Short Handbook of an Ethical Developer
Irresponsible Disclosure: Short Handbook of an Ethical DeveloperIrresponsible Disclosure: Short Handbook of an Ethical Developer
Irresponsible Disclosure: Short Handbook of an Ethical Developer
 
Scrum Events and Artifacts in Action
Scrum Events and Artifacts in ActionScrum Events and Artifacts in Action
Scrum Events and Artifacts in Action
 
DevOps & Technical Agility: From Theory to Practice
DevOps & Technical Agility: From Theory to PracticeDevOps & Technical Agility: From Theory to Practice
DevOps & Technical Agility: From Theory to Practice
 
Fighting with Waste Driven Development - XP Days Ukraine 2017
Fighting with Waste Driven Development - XP Days Ukraine 2017Fighting with Waste Driven Development - XP Days Ukraine 2017
Fighting with Waste Driven Development - XP Days Ukraine 2017
 
Git Anti Patterns - XP Days Ukraine 2017
Git Anti Patterns - XP Days Ukraine 2017Git Anti Patterns - XP Days Ukraine 2017
Git Anti Patterns - XP Days Ukraine 2017
 
Waste Driven Development - Agile Coaching Serbia Meetup
Waste Driven Development - Agile Coaching Serbia MeetupWaste Driven Development - Agile Coaching Serbia Meetup
Waste Driven Development - Agile Coaching Serbia Meetup
 
Git Anti-Patterns - Extended Version With 28 Common Anti-Patterns) - SCTurkey...
Git Anti-Patterns - Extended Version With 28 Common Anti-Patterns) - SCTurkey...Git Anti-Patterns - Extended Version With 28 Common Anti-Patterns) - SCTurkey...
Git Anti-Patterns - Extended Version With 28 Common Anti-Patterns) - SCTurkey...
 
Git Anti-Patterns: How To Mess Up With Git and Love it Again - DevoxxPL 2017
Git Anti-Patterns: How To Mess Up With Git and Love it Again - DevoxxPL 2017Git Anti-Patterns: How To Mess Up With Git and Love it Again - DevoxxPL 2017
Git Anti-Patterns: How To Mess Up With Git and Love it Again - DevoxxPL 2017
 
Yazılım Geliştirme Kültürünün Kodları: Motivasyon, Teknik Mükemmellik ve İnov...
Yazılım Geliştirme Kültürünün Kodları: Motivasyon, Teknik Mükemmellik ve İnov...Yazılım Geliştirme Kültürünün Kodları: Motivasyon, Teknik Mükemmellik ve İnov...
Yazılım Geliştirme Kültürünün Kodları: Motivasyon, Teknik Mükemmellik ve İnov...
 
Git Anti-Patterns: How To Mess Up With Git and Love it Again
Git Anti-Patterns: How To Mess Up With Git and Love it AgainGit Anti-Patterns: How To Mess Up With Git and Love it Again
Git Anti-Patterns: How To Mess Up With Git and Love it Again
 
Clean Software Design - DevNot Summit Istanbul 2017
Clean Software Design - DevNot Summit Istanbul 2017Clean Software Design - DevNot Summit Istanbul 2017
Clean Software Design - DevNot Summit Istanbul 2017
 
Test Driven Design - GDG DevFest Istanbul 2016
Test Driven Design - GDG DevFest Istanbul 2016Test Driven Design - GDG DevFest Istanbul 2016
Test Driven Design - GDG DevFest Istanbul 2016
 
Let The Elephants Leave The Room - Remove Waste in Software Development - Bos...
Let The Elephants Leave The Room - Remove Waste in Software Development - Bos...Let The Elephants Leave The Room - Remove Waste in Software Development - Bos...
Let The Elephants Leave The Room - Remove Waste in Software Development - Bos...
 
Happy Developer's Guide to the Galaxy: Thinking About Motivation of Developers
Happy Developer's Guide to the Galaxy: Thinking About Motivation of DevelopersHappy Developer's Guide to the Galaxy: Thinking About Motivation of Developers
Happy Developer's Guide to the Galaxy: Thinking About Motivation of Developers
 
Git - Bildiğiniz Gibi Değil
Git - Bildiğiniz Gibi DeğilGit - Bildiğiniz Gibi Değil
Git - Bildiğiniz Gibi Değil
 
Code Your Agility - Tips for Boosting Technical Agility in Your Organization
Code Your Agility - Tips for Boosting Technical Agility in Your OrganizationCode Your Agility - Tips for Boosting Technical Agility in Your Organization
Code Your Agility - Tips for Boosting Technical Agility in Your Organization
 

Dernier

Work Experience for psp3 portfolio sasha
Work Experience for psp3 portfolio sashaWork Experience for psp3 portfolio sasha
Work Experience for psp3 portfolio sashasashalaycock03
 
P4C x ELT = P4ELT: Its Theoretical Background (Kanazawa, 2024 March).pdf
P4C x ELT = P4ELT: Its Theoretical Background (Kanazawa, 2024 March).pdfP4C x ELT = P4ELT: Its Theoretical Background (Kanazawa, 2024 March).pdf
P4C x ELT = P4ELT: Its Theoretical Background (Kanazawa, 2024 March).pdfYu Kanazawa / Osaka University
 
How to Add Existing Field in One2Many Tree View in Odoo 17
How to Add Existing Field in One2Many Tree View in Odoo 17How to Add Existing Field in One2Many Tree View in Odoo 17
How to Add Existing Field in One2Many Tree View in Odoo 17Celine George
 
In - Vivo and In - Vitro Correlation.pptx
In - Vivo and In - Vitro Correlation.pptxIn - Vivo and In - Vitro Correlation.pptx
In - Vivo and In - Vitro Correlation.pptxAditiChauhan701637
 
CapTechU Doctoral Presentation -March 2024 slides.pptx
CapTechU Doctoral Presentation -March 2024 slides.pptxCapTechU Doctoral Presentation -March 2024 slides.pptx
CapTechU Doctoral Presentation -March 2024 slides.pptxCapitolTechU
 
How to Create a Toggle Button in Odoo 17
How to Create a Toggle Button in Odoo 17How to Create a Toggle Button in Odoo 17
How to Create a Toggle Button in Odoo 17Celine George
 
DUST OF SNOW_BY ROBERT FROST_EDITED BY_ TANMOY MISHRA
DUST OF SNOW_BY ROBERT FROST_EDITED BY_ TANMOY MISHRADUST OF SNOW_BY ROBERT FROST_EDITED BY_ TANMOY MISHRA
DUST OF SNOW_BY ROBERT FROST_EDITED BY_ TANMOY MISHRATanmoy Mishra
 
Optical Fibre and It's Applications.pptx
Optical Fibre and It's Applications.pptxOptical Fibre and It's Applications.pptx
Optical Fibre and It's Applications.pptxPurva Nikam
 
Easter in the USA presentation by Chloe.
Easter in the USA presentation by Chloe.Easter in the USA presentation by Chloe.
Easter in the USA presentation by Chloe.EnglishCEIPdeSigeiro
 
Department of Health Compounder Question ‍Solution 2022.pdf
Department of Health Compounder Question ‍Solution 2022.pdfDepartment of Health Compounder Question ‍Solution 2022.pdf
Department of Health Compounder Question ‍Solution 2022.pdfMohonDas
 
How to Solve Singleton Error in the Odoo 17
How to Solve Singleton Error in the  Odoo 17How to Solve Singleton Error in the  Odoo 17
How to Solve Singleton Error in the Odoo 17Celine George
 
What is the Future of QuickBooks DeskTop?
What is the Future of QuickBooks DeskTop?What is the Future of QuickBooks DeskTop?
What is the Future of QuickBooks DeskTop?TechSoup
 
Patient Counselling. Definition of patient counseling; steps involved in pati...
Patient Counselling. Definition of patient counseling; steps involved in pati...Patient Counselling. Definition of patient counseling; steps involved in pati...
Patient Counselling. Definition of patient counseling; steps involved in pati...raviapr7
 
Drug Information Services- DIC and Sources.
Drug Information Services- DIC and Sources.Drug Information Services- DIC and Sources.
Drug Information Services- DIC and Sources.raviapr7
 
3.26.24 Race, the Draft, and the Vietnam War.pptx
3.26.24 Race, the Draft, and the Vietnam War.pptx3.26.24 Race, the Draft, and the Vietnam War.pptx
3.26.24 Race, the Draft, and the Vietnam War.pptxmary850239
 
The Stolen Bacillus by Herbert George Wells
The Stolen Bacillus by Herbert George WellsThe Stolen Bacillus by Herbert George Wells
The Stolen Bacillus by Herbert George WellsEugene Lysak
 
Vani Magazine - Quarterly Magazine of Seshadripuram Educational Trust
Vani Magazine - Quarterly Magazine of Seshadripuram Educational TrustVani Magazine - Quarterly Magazine of Seshadripuram Educational Trust
Vani Magazine - Quarterly Magazine of Seshadripuram Educational TrustSavipriya Raghavendra
 
ARTICULAR DISC OF TEMPOROMANDIBULAR JOINT
ARTICULAR DISC OF TEMPOROMANDIBULAR JOINTARTICULAR DISC OF TEMPOROMANDIBULAR JOINT
ARTICULAR DISC OF TEMPOROMANDIBULAR JOINTDR. SNEHA NAIR
 

Dernier (20)

Work Experience for psp3 portfolio sasha
Work Experience for psp3 portfolio sashaWork Experience for psp3 portfolio sasha
Work Experience for psp3 portfolio sasha
 
March 2024 Directors Meeting, Division of Student Affairs and Academic Support
March 2024 Directors Meeting, Division of Student Affairs and Academic SupportMarch 2024 Directors Meeting, Division of Student Affairs and Academic Support
March 2024 Directors Meeting, Division of Student Affairs and Academic Support
 
P4C x ELT = P4ELT: Its Theoretical Background (Kanazawa, 2024 March).pdf
P4C x ELT = P4ELT: Its Theoretical Background (Kanazawa, 2024 March).pdfP4C x ELT = P4ELT: Its Theoretical Background (Kanazawa, 2024 March).pdf
P4C x ELT = P4ELT: Its Theoretical Background (Kanazawa, 2024 March).pdf
 
How to Add Existing Field in One2Many Tree View in Odoo 17
How to Add Existing Field in One2Many Tree View in Odoo 17How to Add Existing Field in One2Many Tree View in Odoo 17
How to Add Existing Field in One2Many Tree View in Odoo 17
 
Personal Resilience in Project Management 2 - TV Edit 1a.pdf
Personal Resilience in Project Management 2 - TV Edit 1a.pdfPersonal Resilience in Project Management 2 - TV Edit 1a.pdf
Personal Resilience in Project Management 2 - TV Edit 1a.pdf
 
In - Vivo and In - Vitro Correlation.pptx
In - Vivo and In - Vitro Correlation.pptxIn - Vivo and In - Vitro Correlation.pptx
In - Vivo and In - Vitro Correlation.pptx
 
CapTechU Doctoral Presentation -March 2024 slides.pptx
CapTechU Doctoral Presentation -March 2024 slides.pptxCapTechU Doctoral Presentation -March 2024 slides.pptx
CapTechU Doctoral Presentation -March 2024 slides.pptx
 
How to Create a Toggle Button in Odoo 17
How to Create a Toggle Button in Odoo 17How to Create a Toggle Button in Odoo 17
How to Create a Toggle Button in Odoo 17
 
DUST OF SNOW_BY ROBERT FROST_EDITED BY_ TANMOY MISHRA
DUST OF SNOW_BY ROBERT FROST_EDITED BY_ TANMOY MISHRADUST OF SNOW_BY ROBERT FROST_EDITED BY_ TANMOY MISHRA
DUST OF SNOW_BY ROBERT FROST_EDITED BY_ TANMOY MISHRA
 
Optical Fibre and It's Applications.pptx
Optical Fibre and It's Applications.pptxOptical Fibre and It's Applications.pptx
Optical Fibre and It's Applications.pptx
 
Easter in the USA presentation by Chloe.
Easter in the USA presentation by Chloe.Easter in the USA presentation by Chloe.
Easter in the USA presentation by Chloe.
 
Department of Health Compounder Question ‍Solution 2022.pdf
Department of Health Compounder Question ‍Solution 2022.pdfDepartment of Health Compounder Question ‍Solution 2022.pdf
Department of Health Compounder Question ‍Solution 2022.pdf
 
How to Solve Singleton Error in the Odoo 17
How to Solve Singleton Error in the  Odoo 17How to Solve Singleton Error in the  Odoo 17
How to Solve Singleton Error in the Odoo 17
 
What is the Future of QuickBooks DeskTop?
What is the Future of QuickBooks DeskTop?What is the Future of QuickBooks DeskTop?
What is the Future of QuickBooks DeskTop?
 
Patient Counselling. Definition of patient counseling; steps involved in pati...
Patient Counselling. Definition of patient counseling; steps involved in pati...Patient Counselling. Definition of patient counseling; steps involved in pati...
Patient Counselling. Definition of patient counseling; steps involved in pati...
 
Drug Information Services- DIC and Sources.
Drug Information Services- DIC and Sources.Drug Information Services- DIC and Sources.
Drug Information Services- DIC and Sources.
 
3.26.24 Race, the Draft, and the Vietnam War.pptx
3.26.24 Race, the Draft, and the Vietnam War.pptx3.26.24 Race, the Draft, and the Vietnam War.pptx
3.26.24 Race, the Draft, and the Vietnam War.pptx
 
The Stolen Bacillus by Herbert George Wells
The Stolen Bacillus by Herbert George WellsThe Stolen Bacillus by Herbert George Wells
The Stolen Bacillus by Herbert George Wells
 
Vani Magazine - Quarterly Magazine of Seshadripuram Educational Trust
Vani Magazine - Quarterly Magazine of Seshadripuram Educational TrustVani Magazine - Quarterly Magazine of Seshadripuram Educational Trust
Vani Magazine - Quarterly Magazine of Seshadripuram Educational Trust
 
ARTICULAR DISC OF TEMPOROMANDIBULAR JOINT
ARTICULAR DISC OF TEMPOROMANDIBULAR JOINTARTICULAR DISC OF TEMPOROMANDIBULAR JOINT
ARTICULAR DISC OF TEMPOROMANDIBULAR JOINT
 

Fundamentals of Web Development For Non-Developers

  • 1. High level overview of concepts Lemİ Orhan Ergİn Principal software Engineer @ Sony guide for non-developers Fundamentals of web development
  • 2. The aim of this training is to let you •Know some advanced concepts of web and web development •Understand how people develop web based software •Understand the technical discussions better •And answer your questions... For introductory information about web concepts, please check the slides of “Fundamentals of Web for Non-Developers”.
  • 3. agenda •Web Development Concepts Web Applications, Web Services, Url Rewriting, Development/Deployment
  • 4. Web Applicationsand the evolution of web sites to web applications
  • 5. Static web pages ruled the world. We loved them and let DotCom bubble blow. Evolution of web Static web pages
  • 6. Interactive web sites let the users communicate with the sites by entering content Evolution of web Interactive web sites
  • 7. Reactive web applications both interact with the user and adapt itself by the needs of resolution and screen size Reactive web sites applications Evolution of web
  • 8. Web APplications A web application is an application that is accessed by users over a network such as the internet or an intranet. It could be web sites, messaging platforms, search engines, web services, etc. •Presentation Oriented •Service Oriented •Client Side •Server Side There exists similar but two types of defining web application types
  • 9. Controller Business Data Access Presentation request Response http://www.sony.co.uk For web pages, content is visualized by images, styles and scripts Data Sources Accepts all the requests and user inputs Content is prepared by running some business logic. All logic are coded by programming languages. Knows how to access data from data sources Databases, files, remote data services, other components could be your datasource Web APplications Requests contain a uri, headers and a message body Responses are the content to be rendered by browsers
  • 10. Controller Business Data Access Presentation request Response http://www.sony.co.uk Data Sources Web APplications Designers, UX teams, Front-end developers prepare the presentation of web applications Developers code and develop software Business Analysts gather requirements and define open points Testers check if the requirements are developed as business requests Customers check if what they requested is implemented properly
  • 11. Web Servicesor simply saying, the web components serving data to the requesters Web Services RESTful Web Services Simple Object Access Protocol (SOAP) Service Oriented Architecture (SOA)
  • 12. web services Web services are services for doing specific functionalities that are made available from a business's Web server for Web users or other Web-connected programs. 1. REST-Compliant Web services, in which the primary purpose of the service is to manipulate XML representations of Web resources using a uniform set of "stateless" operations 2. Arbitrary Web services, in which the service may expose an arbitrary set of operations
  • 13. To design a website you need to know about HTTP, XHTML, and URIs. A uniform resource identifier (URI) is a string of characters used to identify a name or a web resource, such as a web page or special set of data (like product data or user information). “/product/45242366” is a URI identifying a specific product. web services XHTML could be defined as HTML in valid XML structure.
  • 14. To design a web application you need to know about HTTP, XHTML, and URIs. web services
  • 15. To design a web service you need to know about XML, SOAP, WSDL, UDDI, WS- Policy, WS-Security, WS-Eventing, WS-Reliability, WS-Coordination, WS- Transaction, WS-Notification, WS-BaseNotification, WS-Topics, WS-Transfer... What?... web services
  • 16. WEB It is most successful distributed platform in the world it's simple enough for average humans to understand Why not using HTTP and URIs for web services?
  • 17. REST Representational State Transfer (REST) is a style of software architecture for distributed systems such as the World Wide Web Client-Server Stateless Cacheable Layered System Uniform Interface Services and applications conforming these constraints are “RESTful”
  • 18. Restful web services GET /product/12 12 9 4 3 7 6 POST /product/4 with “data” data Create datad PUT /product/3 with “data” Update data DELETE /product/7 Delete Retrieve RESTful Web Services use HTTP methods explicitly, do not store any state, expose directory structure-like URIs and transfer data in XML, XHTML, JSON format
  • 19. soap Simple Object Access Protocol (SOAP) is a protocol specification for exchanging structured information in the implementation of Web Services in computer networks. It relies on XML Information Set for its message format, and usually relies on other Application Layer protocols, most notably Hypertext Transfer Protocol (HTTP) or Simple Mail Transfer Protocol (SMTP), for message negotiation and transmission.
  • 20. Service oriented architecture SOA is a software design and architecture based on having independent modules communicating between each other through services to build monitorable, scalable, reusable, stateless, loosely coupled components and platforms.
  • 21. Jeff Bezos 1. All teams will expose their data and functionality through service interfaces. 2. Teams must communicate with each other through these interfaces. 3. There will be no other form of interprocess communication allowed. 4. It doesn’t matter what technology they use. 5. All service interfaces, without exception, must be designed from the ground up to be externalizable. No exceptions. 6. Anyone who doesn’t do this will be fired. 7. Thank you, have a nice day! Founder and CEO of Amazon Jeff Bezos sent an email to his colleagues having these words: https://plus.google.com/112678702228711889851/posts/eVeouesvaVX
  • 22. URL RewritingWhat you call is not what you really call
  • 23. URL rewriting With URL rewriting, the URL and the resource that it leads to can be completely independent of each other. In practice, they’re usually not wholly independent: the URL usually contains some code or number or name that enables the application to look up the resource. But in theory, this is what URL rewriting provides: a complete separation. URL rewriting basically tells the Web server that the called url should show the Web page at an internal url without the customer or search engine knowing about it. /products/miniflow-gutter-brown/11577676 /diy/jsp/bq/nav.jsp?action=detail&fh_secondid=11577676
  • 24. URL rewriting User Web Server Application Server is called by the user. Web Server gets the request, runs ReWrite Rules and convert the url into a different one. /products/miniflow-gutter-brown/11577676 /diy/jsp/bq/nav.jsp?action=detail&fh_secondid=11577676 is received by the application server. Request is processed and a response is generated and sent. is the url that the user sees the response. Even though URL has changed internally, the user is not aware of it. /products/miniflow-gutter-brown/11577676
  • 25. How do developers develop software?* The way of development differs from company to company and team to team for sure. But here, we try to focus on enterprise level projects which are developed by teams. You may encounter different styles in other companies as well. *
  • 26. Notification Services (email, messaging) Super User DEV TEST & QA STAGING PROD Version Control System Developer Developer Developer LOCAL Developer Continous Integration Repository Manager At the very beginning, developers develop software by their own. No collaboration. That might be fine for some circumstances but it is unacceptable in an enterprise. Continuous Delivery
  • 27. Notification Services (email, messaging) Super User DEV TEST & QA STAGING PROD Version Control System Developer Developer Developer LOCAL Developer Continous Integration Repository Manager Developers We build cross functional teams that the members collaborate and develop as teams. Continuous Delivery
  • 28. Notification Services (email, messaging) Super User DEV TEST & QA STAGING PROD Version Control System Developer Developer Developer LOCAL Developer Continous Integration Repository Manager Developers Developers push code to a central version system. That helps developers work on same code at the same time. Continuous Delivery
  • 29. Notification Services (email, messaging) Super User DEV TEST & QA STAGING PROD Version Control System Continuous Delivery Developer Developer Developer LOCAL Developer Continuous Integration Repository Manager Developers Automated tests are written by developers. Continuous integration server builds all tests to get immediate feedback. Whenever a test fails, developers get notified by notification mails or messages.
  • 30. Notification Services (email, messaging) Super User DEV TEST & QA STAGING PROD Version Control System Continuous Delivery Developer Developer Developer LOCAL Developer Continuous Integration Repository Manager Developers CI server deploys snapshots to a centralized repository manager if all the tests pass. All packages including 3rd party packages are managed by the repository manager.
  • 31. Notification Services (email, messaging) Super User DEV TEST & QA STAGING PROD Version Control System Continuous Delivery Developer Developer Developer LOCAL Developer Continuous Integration Repository Manager Developers Now it’s time to deploy our code to servers and make it run. You could have several enterprise environments to deploy and run software for special purposes Your code is in repository manager as a package if packages are deployed as in Java based applications. Your code is in version control system and could be deployed to servers in text form like in Ruby and PHP.
  • 32. Notification Services (email, messaging) Super User DEV TEST & QA STAGING PROD Version Control System Continuous Delivery Developer Developer Developer LOCAL Developer Continuous Integration Repository Manager Developers Developers develop software, run and test in their local machines
  • 33. Notification Services (email, messaging) Super User DEV TEST & QA STAGING PROD Version Control System Continuous Delivery Developer Developer Developer LOCAL Developer Continuous Integration Repository Manager Developers Developers test their software in a separate environment before sending to Quality Assurance team
  • 34. Notification Services (email, messaging) Super User DEV TEST & QA STAGING PROD Version Control System Continuous Delivery Developer Developer Developer LOCAL Developer Continuous Integration Repository Manager Developers Test/QA machines should be similar to production machines in means of hardware to make tests more reliable. There might be more than one test environment for testing different features.
  • 35. Notification Services (email, messaging) Super User DEV TEST & QA STAGING PROD Version Control System Continuous Delivery Developer Developer Developer LOCAL Developer Continuous Integration Repository Manager Developers Staging is the place where customers do UAT, SIT and regression tests. The data is previewed before being delivered to production environment.
  • 36. Notification Services (email, messaging) Super User DEV TEST & QA STAGING PROD Version Control System Continuous Delivery Developer Developer Developer LOCAL Developer Continuous Integration Repository Manager Developers Only super users can deploy to production. Production environment is monitored continuously.
  • 37. Notification Services (email, messaging) Super User DEV TEST & QA STAGING PROD Version Control System Continuous Delivery Developer Developer Developer LOCAL Developer Continuous Integration Repository Manager Developers Too much manual effort for deployment. That slows down the whole testing and release process. Let’s automate deployments!
  • 38. Notification Services (email, messaging) Super User DEV TEST & QA STAGING PROD Version Control System Continuous Delivery Developer Developer Developer LOCAL Developer Continuous Integration Repository Manager Developers Packages are deployed automatically by a continuous delivery system to servers. Most of the time, continuous integration servers do the deployment.
  • 39. Notification Services (email, messaging) Super User DEV TEST & QA STAGING PROD Version Control System Continuous Delivery Developer Developer Developer LOCAL Developer Continuous Integration Repository Manager Developers It is also possible to deploy code directly from version control system to servers. For instance, whenever developers push a code to version control system, the code could be deployed to development servers.
  • 40. Notification Services (email, messaging) DevOps Version Control System Continuous Delivery DevOps DevOps DevOps LOCAL DevOps Continuous Integration Repository Manager Developers You don't need servers to maintain, you need just a cloud. DevOps are the ones who manages both infrastructural and development requirements. Version Control System This flow is the one we use for Heroku (i.e. cloud platform as a service) for deploying and running the software. Please note that each cloud solution has its own way of deploying software.
  • 41. References RESTful Web Services http://www.crummy.com/writing/RESTful-Web-Services/ http://www.ibm.com/developerworks/webservices/library/ws-restful/ Web Services http://searchsoa.techtarget.com/definition/Web-services Url ReWriting http://coding.smashingmagazine.com/2011/11/02/introduction-to-url-rewriting/