SlideShare une entreprise Scribd logo
1  sur  34
Télécharger pour lire hors ligne
www.devoxx.com
Web Fundamental




      www.devoxx.com   Basem Elsherbeny
After this presentation




          www.devoxx.com
Agenda
• Internet

• HTTP,DNS

• HTML

• Client/Server

• Server and Client side coding

• Servlet

• JSP

• JSF,Struts

    4
                              www.devoxx.com
Each pattern describes a problem which occurs
over and over again in our environment,


and then describes the core of the solution to that
problem,

in such a way that you can use this solution
a million times over



 5
                       www.devoxx.com
6
    www.devoxx.com
7
    www.devoxx.com
DNS
• it translates domain names meaningful to humans into the
  numerical (binary) identifiers associated with networking
  equipment for the purpose of locating and addressing these
  devices worldwide. .
• For example, www.example.com translates
  to208.77.188.166.




    8
                             www.devoxx.com
server
• a server is any combination
  of hardware or software designed to
  provide services to clients. When
  used alone, the term typically refers
  to a computer which may be running
  a server operating system, but is
  commonly used to refer to any
  software or dedicated
  hardware capable of providing
  services.



                             www.devoxx.com
Server/Client Side
• Server-side refers to operations that are performed by
  the server in a client-server relationship in computer
  networking
• Client-side refers to operations that are performed by
  the client in a client-server relationship in a computer
  network.




                             www.devoxx.com
Server/Client Side
● Server-side coding                           ●Client-side coding

 ● PHP                                           ●CSS
 ● ASP
                                                 ●HTML & DHTML
 ● CGI and/or Perl
                                                 ●XHTML
 ● J2EE

 ● Python, e.g. Django                           ●Javascript

 ● Ruby, e.g. Ruby on Rails                      ●Flash

                                                 ●SilverLight
                              www.devoxx.com
HTML
• HTML stands for Hyper Text Markup Language

• HTML is not a programming language, it is a markup
  language
• A markup language is a set of markup tags

• HTML uses markup tags to describe web pages

• .




                          www.devoxx.com
Note

•   HTML is Not Programming Language.
• HTML is a view Language.




                         www.devoxx.com
www.devoxx.com
HTML
• Static Not Dynamic




                       www.devoxx.com
Servlet
• A Servlet is a Java class which conforms to the Java
  Servlet API, a protocol by which a Java class may respond
  to http requests. Thus, a software developer may use a
  servlet to add dynamic content to a Web server using the
  Java platform.




                            www.devoxx.com
Life Cycle of Servlet




              www.devoxx.com
www.devoxx.com
www.devoxx.com
www.devoxx.com
www.devoxx.com
www.devoxx.com
•     public class NewServlet extends HttpServlet {

•      protected void doPost(HttpServletRequest request,
      HttpServletResponse response) throws ServletException,
      IOException {

•     out.println("<html>");    out.println("<head>");

    out.println("<title>Servlet NewServlet</title>");

•            out.println("</head>"); out.println("<body>");

•            out.println("<h1>Servlet NewServlet at " +
      request.getContextPath () + "</h1>"); out.println("</body>");

•            out.println("</html>");}

                                        www.devoxx.com
JSP
• JSP simplifies the development process, allowing
  programmers to input Java code directly into the HTML
  file or JSP file. JSP is a multi-platform, independent and
  portable language that complies with the Java feature of
  ‘write once, run anywhere.




                             www.devoxx.com
www.devoxx.com
Life Cycle of JSP




      www.devoxx.com
url




www.devoxx.com
JSP Demo




  www.devoxx.com
output




         www.devoxx.com
Demo 1




 www.devoxx.com
Demo




       www.devoxx.com
Demo
• int x = 2,z = 2;

•       System.out.println(x+z+"");
•       System.out.println(""+x+z);
•       System.out.println(x+""+z);




                           www.devoxx.com
You must Know
• Web application:

• JSF

• Struts

• Hibernate

• EJB 3.0

• Mobile application:

• j2ME:

• Symbian


                        www.devoxx.com
Questions




            www.devoxx.com

Contenu connexe

Tendances

Back to the Basics - 1 - Introduction to Web Development
Back to the Basics - 1 - Introduction to Web DevelopmentBack to the Basics - 1 - Introduction to Web Development
Back to the Basics - 1 - Introduction to Web DevelopmentClint LaForest
 
Server Side Programming
Server Side Programming Server Side Programming
Server Side Programming Zac Gordon
 
Web Server-Side Programming Techniques
Web Server-Side Programming TechniquesWeb Server-Side Programming Techniques
Web Server-Side Programming Techniquesguest8899ec02
 
Web forms and server side scripting
Web forms and server side scriptingWeb forms and server side scripting
Web forms and server side scriptingsawsan slii
 
Modern Web App Architectures
Modern Web App ArchitecturesModern Web App Architectures
Modern Web App ArchitecturesRaphael Stary
 
Web Application Introduction
Web Application  IntroductionWeb Application  Introduction
Web Application Introductionshaojung
 
Introduction to Web Programming - first course
Introduction to Web Programming - first courseIntroduction to Web Programming - first course
Introduction to Web Programming - first courseVlad Posea
 
Web server and web-hosting
Web server and web-hostingWeb server and web-hosting
Web server and web-hostingAK DigiHub
 
Active Server Page(ASP)
Active Server Page(ASP)Active Server Page(ASP)
Active Server Page(ASP)Keshab Nath
 
Introduction to the Web API
Introduction to the Web APIIntroduction to the Web API
Introduction to the Web APIBrad Genereaux
 

Tendances (20)

Web Architecture
Web ArchitectureWeb Architecture
Web Architecture
 
Back to the Basics - 1 - Introduction to Web Development
Back to the Basics - 1 - Introduction to Web DevelopmentBack to the Basics - 1 - Introduction to Web Development
Back to the Basics - 1 - Introduction to Web Development
 
Server Side Programming
Server Side Programming Server Side Programming
Server Side Programming
 
Web Server-Side Programming Techniques
Web Server-Side Programming TechniquesWeb Server-Side Programming Techniques
Web Server-Side Programming Techniques
 
Web forms and server side scripting
Web forms and server side scriptingWeb forms and server side scripting
Web forms and server side scripting
 
Modern Web App Architectures
Modern Web App ArchitecturesModern Web App Architectures
Modern Web App Architectures
 
Web application architecture
Web application architectureWeb application architecture
Web application architecture
 
5. HTML5
5. HTML55. HTML5
5. HTML5
 
Web Application Introduction
Web Application  IntroductionWeb Application  Introduction
Web Application Introduction
 
Web Technology Fundamentals
Web Technology FundamentalsWeb Technology Fundamentals
Web Technology Fundamentals
 
Introduction to Web Programming - first course
Introduction to Web Programming - first courseIntroduction to Web Programming - first course
Introduction to Web Programming - first course
 
Web server and web-hosting
Web server and web-hostingWeb server and web-hosting
Web server and web-hosting
 
Intro to Dynamic Web Pages
Intro to Dynamic Web PagesIntro to Dynamic Web Pages
Intro to Dynamic Web Pages
 
Active Server Page(ASP)
Active Server Page(ASP)Active Server Page(ASP)
Active Server Page(ASP)
 
ASP
ASPASP
ASP
 
Learn ASP
Learn ASPLearn ASP
Learn ASP
 
Introduction to the Web API
Introduction to the Web APIIntroduction to the Web API
Introduction to the Web API
 
Client and server side scripting
Client and server side scriptingClient and server side scripting
Client and server side scripting
 
Introduction to asp
Introduction to aspIntroduction to asp
Introduction to asp
 
Introduction to asp.net
Introduction to asp.netIntroduction to asp.net
Introduction to asp.net
 

En vedette (20)

Finding more people like you
Finding more people like youFinding more people like you
Finding more people like you
 
Javafx Overview 90minutes
Javafx Overview 90minutesJavafx Overview 90minutes
Javafx Overview 90minutes
 
Introduction To Programming (2009 2010)
Introduction To Programming (2009 2010)Introduction To Programming (2009 2010)
Introduction To Programming (2009 2010)
 
How To Get Your First Job
How To Get Your First  JobHow To Get Your First  Job
How To Get Your First Job
 
Javanowandfuture Chihuahua
Javanowandfuture ChihuahuaJavanowandfuture Chihuahua
Javanowandfuture Chihuahua
 
I Phone Session Mufix
I Phone Session MufixI Phone Session Mufix
I Phone Session Mufix
 
Develop Your Skills With Osum
Develop Your Skills With OsumDevelop Your Skills With Osum
Develop Your Skills With Osum
 
Google Summer of Code
Google Summer of CodeGoogle Summer of Code
Google Summer of Code
 
Windows 7
Windows 7Windows 7
Windows 7
 
Msp
MspMsp
Msp
 
Javafx Overview 90minutes
Javafx Overview 90minutesJavafx Overview 90minutes
Javafx Overview 90minutes
 
Javafx Overview 90minutes
Javafx Overview 90minutesJavafx Overview 90minutes
Javafx Overview 90minutes
 
Linux Presentation
Linux PresentationLinux Presentation
Linux Presentation
 
Game Programming By J2me
Game Programming By J2meGame Programming By J2me
Game Programming By J2me
 
Linux Administration
Linux AdministrationLinux Administration
Linux Administration
 
Mufix Network Programming Lecture
Mufix Network Programming LectureMufix Network Programming Lecture
Mufix Network Programming Lecture
 
How the Web Works
How the Web WorksHow the Web Works
How the Web Works
 
Networks Basics
Networks BasicsNetworks Basics
Networks Basics
 
Fundamentals of Web for Non-Developers
Fundamentals of Web for Non-DevelopersFundamentals of Web for Non-Developers
Fundamentals of Web for Non-Developers
 
Joomla Presentations
Joomla PresentationsJoomla Presentations
Joomla Presentations
 

Similaire à Web Fundamental

Web Application Development using PHP Chapter 1
Web Application Development using PHP Chapter 1Web Application Development using PHP Chapter 1
Web Application Development using PHP Chapter 1Mohd Harris Ahmad Jaal
 
The Characteristics of a Successful SPA
The Characteristics of a Successful SPAThe Characteristics of a Successful SPA
The Characteristics of a Successful SPAGil Fink
 
You Got React.js in My PHP
You Got React.js in My PHPYou Got React.js in My PHP
You Got React.js in My PHPTaylor Lovett
 
Building Real-World Dojo Web Applications
Building Real-World Dojo Web ApplicationsBuilding Real-World Dojo Web Applications
Building Real-World Dojo Web ApplicationsAndrew Ferrier
 
Week01 jan19 introductionto_php
Week01 jan19 introductionto_phpWeek01 jan19 introductionto_php
Week01 jan19 introductionto_phpJeanho Chu
 
Web development revolution
Web development revolutionWeb development revolution
Web development revolutionAhmed El-Zekred
 
Week01 jan19 introductionto_php
Week01 jan19 introductionto_phpWeek01 jan19 introductionto_php
Week01 jan19 introductionto_phpJeanho Chu
 
TypeScript for Alfresco and CMIS - Alfresco DevCon 2012 San Jose
TypeScript for Alfresco and CMIS - Alfresco DevCon 2012 San JoseTypeScript for Alfresco and CMIS - Alfresco DevCon 2012 San Jose
TypeScript for Alfresco and CMIS - Alfresco DevCon 2012 San JoseSteve Reiner
 
An introduction to DOM , JAVASCRIPT , JQUERY, AJAX and JSON
An introduction to DOM , JAVASCRIPT , JQUERY, AJAX and JSONAn introduction to DOM , JAVASCRIPT , JQUERY, AJAX and JSON
An introduction to DOM , JAVASCRIPT , JQUERY, AJAX and JSONSyed Moosa Kaleem
 
javascript 1
javascript 1javascript 1
javascript 1osman do
 
4th Lecture: JSP and such
4th Lecture:  JSP and such4th Lecture:  JSP and such
4th Lecture: JSP and suchManolis Vavalis
 
Servlets as introduction (Advanced programming)
Servlets as introduction (Advanced programming)Servlets as introduction (Advanced programming)
Servlets as introduction (Advanced programming)Gera Paulos
 

Similaire à Web Fundamental (20)

Web Application Development using PHP Chapter 1
Web Application Development using PHP Chapter 1Web Application Development using PHP Chapter 1
Web Application Development using PHP Chapter 1
 
Php reports sumit
Php reports sumitPhp reports sumit
Php reports sumit
 
The Characteristics of a Successful SPA
The Characteristics of a Successful SPAThe Characteristics of a Successful SPA
The Characteristics of a Successful SPA
 
Java script
Java scriptJava script
Java script
 
Java script
Java scriptJava script
Java script
 
You Got React.js in My PHP
You Got React.js in My PHPYou Got React.js in My PHP
You Got React.js in My PHP
 
Building Real-World Dojo Web Applications
Building Real-World Dojo Web ApplicationsBuilding Real-World Dojo Web Applications
Building Real-World Dojo Web Applications
 
Week01 jan19 introductionto_php
Week01 jan19 introductionto_phpWeek01 jan19 introductionto_php
Week01 jan19 introductionto_php
 
PHP MySQL Workshop - facehook
PHP MySQL Workshop - facehookPHP MySQL Workshop - facehook
PHP MySQL Workshop - facehook
 
Web development revolution
Web development revolutionWeb development revolution
Web development revolution
 
Week01 jan19 introductionto_php
Week01 jan19 introductionto_phpWeek01 jan19 introductionto_php
Week01 jan19 introductionto_php
 
TypeScript for Alfresco and CMIS - Alfresco DevCon 2012 San Jose
TypeScript for Alfresco and CMIS - Alfresco DevCon 2012 San JoseTypeScript for Alfresco and CMIS - Alfresco DevCon 2012 San Jose
TypeScript for Alfresco and CMIS - Alfresco DevCon 2012 San Jose
 
web development process WT
web development process WTweb development process WT
web development process WT
 
Wt unit 1 ppts web development process
Wt unit 1 ppts web development processWt unit 1 ppts web development process
Wt unit 1 ppts web development process
 
Welcome to React.pptx
Welcome to React.pptxWelcome to React.pptx
Welcome to React.pptx
 
An introduction to DOM , JAVASCRIPT , JQUERY, AJAX and JSON
An introduction to DOM , JAVASCRIPT , JQUERY, AJAX and JSONAn introduction to DOM , JAVASCRIPT , JQUERY, AJAX and JSON
An introduction to DOM , JAVASCRIPT , JQUERY, AJAX and JSON
 
PHP - Introduction to PHP Fundamentals
PHP -  Introduction to PHP FundamentalsPHP -  Introduction to PHP Fundamentals
PHP - Introduction to PHP Fundamentals
 
javascript 1
javascript 1javascript 1
javascript 1
 
4th Lecture: JSP and such
4th Lecture:  JSP and such4th Lecture:  JSP and such
4th Lecture: JSP and such
 
Servlets as introduction (Advanced programming)
Servlets as introduction (Advanced programming)Servlets as introduction (Advanced programming)
Servlets as introduction (Advanced programming)
 

Plus de SiliconExpert Technologies (13)

Joining Osum Community And ..
Joining Osum Community And ..Joining Osum Community And ..
Joining Osum Community And ..
 
Sfd Post Event Report
Sfd Post Event ReportSfd Post Event Report
Sfd Post Event Report
 
Linux
LinuxLinux
Linux
 
Web Intro
Web IntroWeb Intro
Web Intro
 
Desktop Intro
Desktop IntroDesktop Intro
Desktop Intro
 
Fedora Fs Menoufiya Release 10
Fedora Fs Menoufiya Release 10Fedora Fs Menoufiya Release 10
Fedora Fs Menoufiya Release 10
 
Database Session
Database SessionDatabase Session
Database Session
 
Eclipse Vs Netbeans
Eclipse Vs NetbeansEclipse Vs Netbeans
Eclipse Vs Netbeans
 
Introduction to Programming
Introduction to ProgrammingIntroduction to Programming
Introduction to Programming
 
Linux
LinuxLinux
Linux
 
How To Write A Cv That Talks For You
How To Write A Cv That Talks For YouHow To Write A Cv That Talks For You
How To Write A Cv That Talks For You
 
Web Fundamentals
Web FundamentalsWeb Fundamentals
Web Fundamentals
 
ugmented Reality BY Dr.Hatem Mohammed
ugmented Reality BY Dr.Hatem Mohammedugmented Reality BY Dr.Hatem Mohammed
ugmented Reality BY Dr.Hatem Mohammed
 

Dernier

Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..Disha Kariya
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityGeoBlogs
 
Russian Call Girls in Andheri Airport Mumbai WhatsApp 9167673311 💞 Full Nigh...
Russian Call Girls in Andheri Airport Mumbai WhatsApp  9167673311 💞 Full Nigh...Russian Call Girls in Andheri Airport Mumbai WhatsApp  9167673311 💞 Full Nigh...
Russian Call Girls in Andheri Airport Mumbai WhatsApp 9167673311 💞 Full Nigh...Pooja Nehwal
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactdawncurless
 
Separation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesSeparation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesFatimaKhan178732
 
9548086042 for call girls in Indira Nagar with room service
9548086042  for call girls in Indira Nagar  with room service9548086042  for call girls in Indira Nagar  with room service
9548086042 for call girls in Indira Nagar with room servicediscovermytutordmt
 
Student login on Anyboli platform.helpin
Student login on Anyboli platform.helpinStudent login on Anyboli platform.helpin
Student login on Anyboli platform.helpinRaunakKeshri1
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsTechSoup
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeThiyagu K
 
Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfJayanti Pande
 
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...Sapna Thakur
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingTechSoup
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationnomboosow
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)eniolaolutunde
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfciinovamais
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdfQucHHunhnh
 
social pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajansocial pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajanpragatimahajan3
 
APM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAPM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAssociation for Project Management
 

Dernier (20)

Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activity
 
Russian Call Girls in Andheri Airport Mumbai WhatsApp 9167673311 💞 Full Nigh...
Russian Call Girls in Andheri Airport Mumbai WhatsApp  9167673311 💞 Full Nigh...Russian Call Girls in Andheri Airport Mumbai WhatsApp  9167673311 💞 Full Nigh...
Russian Call Girls in Andheri Airport Mumbai WhatsApp 9167673311 💞 Full Nigh...
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impact
 
Separation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesSeparation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and Actinides
 
9548086042 for call girls in Indira Nagar with room service
9548086042  for call girls in Indira Nagar  with room service9548086042  for call girls in Indira Nagar  with room service
9548086042 for call girls in Indira Nagar with room service
 
Student login on Anyboli platform.helpin
Student login on Anyboli platform.helpinStudent login on Anyboli platform.helpin
Student login on Anyboli platform.helpin
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The Basics
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and Mode
 
Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdf
 
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy Consulting
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communication
 
Mattingly "AI & Prompt Design: The Basics of Prompt Design"
Mattingly "AI & Prompt Design: The Basics of Prompt Design"Mattingly "AI & Prompt Design: The Basics of Prompt Design"
Mattingly "AI & Prompt Design: The Basics of Prompt Design"
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)
 
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptxINDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
 
social pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajansocial pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajan
 
APM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAPM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across Sectors
 

Web Fundamental

  • 2. Web Fundamental www.devoxx.com Basem Elsherbeny
  • 3. After this presentation www.devoxx.com
  • 4. Agenda • Internet • HTTP,DNS • HTML • Client/Server • Server and Client side coding • Servlet • JSP • JSF,Struts 4 www.devoxx.com
  • 5. Each pattern describes a problem which occurs over and over again in our environment, and then describes the core of the solution to that problem, in such a way that you can use this solution a million times over 5 www.devoxx.com
  • 6. 6 www.devoxx.com
  • 7. 7 www.devoxx.com
  • 8. DNS • it translates domain names meaningful to humans into the numerical (binary) identifiers associated with networking equipment for the purpose of locating and addressing these devices worldwide. . • For example, www.example.com translates to208.77.188.166. 8 www.devoxx.com
  • 9. server • a server is any combination of hardware or software designed to provide services to clients. When used alone, the term typically refers to a computer which may be running a server operating system, but is commonly used to refer to any software or dedicated hardware capable of providing services. www.devoxx.com
  • 10. Server/Client Side • Server-side refers to operations that are performed by the server in a client-server relationship in computer networking • Client-side refers to operations that are performed by the client in a client-server relationship in a computer network. www.devoxx.com
  • 11. Server/Client Side ● Server-side coding ●Client-side coding ● PHP ●CSS ● ASP ●HTML & DHTML ● CGI and/or Perl ●XHTML ● J2EE ● Python, e.g. Django ●Javascript ● Ruby, e.g. Ruby on Rails ●Flash ●SilverLight www.devoxx.com
  • 12. HTML • HTML stands for Hyper Text Markup Language • HTML is not a programming language, it is a markup language • A markup language is a set of markup tags • HTML uses markup tags to describe web pages • . www.devoxx.com
  • 13. Note • HTML is Not Programming Language. • HTML is a view Language. www.devoxx.com
  • 15. HTML • Static Not Dynamic www.devoxx.com
  • 16. Servlet • A Servlet is a Java class which conforms to the Java Servlet API, a protocol by which a Java class may respond to http requests. Thus, a software developer may use a servlet to add dynamic content to a Web server using the Java platform. www.devoxx.com
  • 17. Life Cycle of Servlet www.devoxx.com
  • 23. public class NewServlet extends HttpServlet { • protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { • out.println("<html>"); out.println("<head>"); out.println("<title>Servlet NewServlet</title>"); • out.println("</head>"); out.println("<body>"); • out.println("<h1>Servlet NewServlet at " + request.getContextPath () + "</h1>"); out.println("</body>"); • out.println("</html>");} www.devoxx.com
  • 24. JSP • JSP simplifies the development process, allowing programmers to input Java code directly into the HTML file or JSP file. JSP is a multi-platform, independent and portable language that complies with the Java feature of ‘write once, run anywhere. www.devoxx.com
  • 26. Life Cycle of JSP www.devoxx.com
  • 28. JSP Demo www.devoxx.com
  • 29. output www.devoxx.com
  • 31. Demo www.devoxx.com
  • 32. Demo • int x = 2,z = 2; • System.out.println(x+z+""); • System.out.println(""+x+z); • System.out.println(x+""+z); www.devoxx.com
  • 33. You must Know • Web application: • JSF • Struts • Hibernate • EJB 3.0 • Mobile application: • j2ME: • Symbian www.devoxx.com
  • 34. Questions www.devoxx.com