web fundamentals

18
< html > < head > < Title< Web Fundamentals >/Title >

Upload: mufix-community

Post on 13-Jan-2015

1.088 views

Category:

Technology


1 download

DESCRIPTION

Web fundamentals Session year : 2008-2009By : Islam EL-HosaryMUFIX Co-Founder

TRANSCRIPT

Page 1: Web Fundamentals

<html>

<head>

<Title> Web Fundamentals </Title>

Page 2: Web Fundamentals

This is not a presentation

● But more of a Discussion● Maximum questions ● Maximum answers (if possible)● You are allowed to sleep● You will get a copy of these slides● But slides are less important.

Page 3: Web Fundamentals
Page 4: Web Fundamentals
Page 5: Web Fundamentals

Agenda

●What is?

●Client Server Scripting

●Where we are now?

Page 6: Web Fundamentals

What is Internet?Internet is a global network of smaller networks.

Internet is the largest network.

It is owned by NOBODY

Smaller network: 1-1000 computers

Satellites, Submarine Optical cables

The biggest name is Cisco

Page 7: Web Fundamentals

What is (the) Web?

● You mean World Wide Web?● Collection of interlinked hypertext

documents. ● That means Hyperlinked documents● Hyperlinks?● URL

Page 8: Web Fundamentals

HTTP?

● HTTP is an application level protocol for transferring data through WWW.

● Hyper Text Transfer Protocol● HTTP 0.9 / 1.0 / 1.1 / 1.2● HTTPS (S for Secure)● HTML – Header, content. ● They say HTTP is stateless.

Page 9: Web Fundamentals

HTTP Error codes● 1xx – Informational● 2xx – Success

● 200 OK● 3xx – Redirection

● 304 Not Modified● 4xx – Client Error

● 404 Not Found● 5xx – Server Error

● 500 Server Error

Page 10: Web Fundamentals

DNS?DNS is like post office

Some post offices will be knowing some addresses

DNS servers will have addresses like thiswww.google.com => 64.67.33.200

Multiple Name servers for reliability

Page 11: Web Fundamentals

Domain NameMUFIXCommunity.com

mail.MUFIXCommunity.net

http://www.mufixcommunity.net

http://www.mufixcommunity.net:80community.net:80

http://mail.mufic.com:8086/inbox/index.jsp

Port

Page 12: Web Fundamentals

A simple web request

BrowserName Server

Internet

Web Server

IIS, Apache, Lighttpd etc.

BIND, PowerDNS, djbdns

HTTP Responsehttp://bookmarks.rediff.com/recent/

DNS Lookupbookmarks.rediff.com

>= 210.210.93.86

Page 13: Web Fundamentals

Multi Tier App?

DatabaseServer

Application Server

App ServerApp Server - -Biz LogicBiz Logic - -ProcessingProcessing - -Modifying DataModifying Data

J2EE, ASP.NETJ2EE, ASP.NET,, PHP, RoR, PythonPHP, RoR, Python

Apache/TomCatApache/TomCat,, IIS, lightTPDIIS, lightTPD

MS SQL, MySQL, OracleMS SQL, MySQL, Oracle

Web Server

Internet

Web ServerWeb Server - -Static File ServingStatic File Serving - -CachingCaching - -ProxyingProxying

Database ServerDatabase Server - -StorageStorage of Data of Data - -RetrievalRetrieval - -Some Biz logicSome Biz logic

Page 14: Web Fundamentals

Believe me

● 3 Tier Architecture is NOT MVC (Model View Controller)

● Multi tier is an architecture concept● MVC is a software design concept

Page 15: Web Fundamentals

Believe me

● 3 Tier Architecture is NOT MVC (Model View Controller)

● Multi tier is an architecture concept● MVC is a software design concept

Excuse me. MVCMVC?!

Page 16: Web Fundamentals

MVC● PresentationPresentation – View

● LogicLogic – Controller

● Business ObjectsBusiness Objects - Model

Page 17: Web Fundamentals

Server and Client side coding

● Web development comprises of server-side coding and client-side coding

● Server-side coding● PHP● ASP● ASP.NET● CGI and/or Perl● J2EE● Python, e.g. Django● Ruby, e.g. Ruby on Rails● Smalltalk e.g. Seaside● ColdFusion● Lotus Domino

● Client-side coding● CSS● HTML & DHTML● XHTML● Javascript● Flash● SilverLight

Page 18: Web Fundamentals

Career in Web development

● Server-side coding (coding)

● UI and UX (design)

● System Administration (networking)

● SEO and SEM (Marketing+analysis)

● Technical Support (Troubleshooting)