web development presentation
TRANSCRIPT
Aditya Narayan CEO, TurnToTech
mobile technology school and incubator
Past: 2 startups, chief architect at
Marvel, head of security at Starwood
Web Server HTML Files, JPGs, business logic
1. Type info.cern.ch/TheProject.html
in the browser
2. Browser connects to server named info.cern.ch
3. Browser asks for a resource called TheProject.html
5. TheProject.html is sent back to the
browser
4. TheProject.html may have links to other websites
Tim Berners-Lee 1989
Domain name
Server
Browser
Login
Database
Secure
Reliable
Graphics designer
Should work on mobile
Fast
Future proof
Cost
AnalyOcs
Data
Developer
Features
Let’s develop a web app
APIs
Backend, Frontend, CSS, HTML, HTTP, Framework, Ruby on Rails, JavaScript, Database server, Web
Server …
1. User types www.webapp.com/index.html
in the browser
2. Browser connects to server named www.webapp.com
3. Browser asks for a resource called index.html
5. The final index.html is sent back to the browser
4. index.html may need some data from a database server
Browser (Thin client) Downloads UI code from server and runs it
Web Server Contains business rules and generates code for the browser
Database Server
Holds the data
Database Server Holds the data Web Server Contains business rules and generates code for
the browser Browser (Thin client) Downloads UI code from server and runs it
Q: How are different browsers running on different operaOng systems able to use the same
web app?
A: Standards such as HTML and HTTP
Code that runs in the browser is front-‐end code
HTML, CSS and JavaScript
QuesOon: How are different browsers able to work with the same web app?
Answer: HTML, CSS and JavaScript happen to be standards accepted worldwide without excepOon
CSS adds ‘personality’
<bufon type="bufon"> Click Me! </bufon>
<bufon type="bufon” style=" background-‐color:orange">
Click Me! </bufon>
JavaScript
HTML and CSS can make your pages look nice
But they don’t make the pages appear responsive
JavaScript was created as a simple language to address this need
RelaOonal Database Typically, code wrifen in SQL runs on
the database server
And SQL code is all about performing CRUD operaOons on Data
Create Read Update Delete
Web Servers
There are several compeOng frameworks for running code on Web
Servers
JEE,.NET, Rails, Django, PHP
Web Servers
There are several compeOng frameworks for running code on Web
Servers
JEE,.NET, Ruby on Rails, Django, PHP
The general pafern
receive request from browser connect to database
generate page send page to browser
Imagine a web app with 1000 pages
receive request from browser connect to database
generate page send page to browser
PlaKorm Language Supported by JEE Java Oracle .NET C# Microso[ Ruby on Rails Ruby Community Django Python Community PHP PHP Community
Backend, Frontend, CSS, HTML, HTTP, Framework, Ruby on Rails, JavaScript, Database server, Web
Server …