SlideShare a Scribd company logo
1 of 37
Lecture: Web Engineering
BSIT-5th University of Education Okara
Post questions at question.computingcage.com
Frontend dev. tools: http://fredsarmento.me/frontend-tools/
Front-end Development Tools
Objectives
• Distinguish between using a text editor (notepad++) and using
a GUI markup language editor (Dreamweaver)
• Identify Web page design issues
• Identify front-end and back-end Web issues
BSIT-5th,UEOkara,
question.computingcage.com
2
Lesson1: Creating Web Pages
• The need for skills in Web-based technologies:
• Contribute to team projects
• Create Web pages
• Create résumés
• You must know at least the following markup languages:
• Hypertext Markup Language (HTML)
• Cascading Style Sheet (CSS)
• Extensible HTML (XHTML)
BSIT-5th,UEOkara,
question.computingcage.com
3
Additional Web Page Elements
• Web pages use more than HTML or XHTML -- additional
technologies include:
• Flash
• (macromedia or shockwave flash for multimedia and animations)
• Java
• Preferably java scripts and JSP (server side)
• ActiveX
• software framework created by Microsoft that adapts its
earlier Component Object Model (COM)
• Introduced in 1996 and commonly used in its Windows OS
• You must also understand how Web pages use:
• Databases
• [any student should practically connect webpage with database]
• Common Gateway Interface (CGI)
• Detail on next slide
BSIT-5th,UEOkara,
question.computingcage.com
4
CGI (server side)
• CGI is used for many purposes:
• To help Web pages pass information to and from databases
• To provide active content (e.g., hit counters)
• Examples of CGI technology include:
• Perl, PHP, ASP, JSP, .NET
• Server-Side JavaScript (SSJS), ColdFusion = google
BSIT-5th,UEOkara,
question.computingcage.com
5
Text Editors & Markup Languages
• You do not need to use a special editor application to create
markup
• You can use a simple text editor (e.g., Notepad or Vi)
• When creating HTML or XHTML files, you must:
• Save the file using either the .html or .htm file name extension
BSIT-5th,UEOkara,
question.computingcage.com
6
GUI HTML Editors
• GUI HTML editors:
• Create HTML/XHTML code for you
• You type page text as you would with a standard word processor
• You point and click with a mouse
• Examples:
1. Adobe Dreamweaver
2. Microsoft FrontPage
3. SeaMonkey Composer
4. And many more: http://fredsarmento.me/frontend-tools/
5. Adobe GoLive
BSIT-5th,UEOkara,
question.computingcage.com
7
Front-End Issues
• A Web page is an interface that should:
• Provide a distinct message
• Be accessible by all users
• Incorporate appealing images and graphical elements
• Include constantly updated hyperlinks
• Use tables wisely ?
• Present carefully designed Web forms (how?)
• Connect pages to databases securely
• Use the most current technologies appropriately
• Use images sparingly (why)
• Be easily navigable and without dead ends
• Include alternative navigation ?
BSIT-5th,UEOkara,
question.computingcage.com
8
Web Page Accessibility
• An accessible Web page has:
• A user-friendly and accessible front end (see pics =1,2,3,4)
• Back-end server resources that process and store user input
• The WC3 estimates that up to 10 percent of people have disabilities
that, if not accommodated by Web sites, can cause companies to lose
significant amounts of revenue (usability issue)
• Why adhere to accessibility standards?
• It makes your site available to all users
• You can be penalized for failing to provide accessibility, either by
losing customers or through government-imposed fines
BSIT-5th,UEOkara,
question.computingcage.com
9
Note: wc3 is an international community where Member organizations, a full-time staff, and
the public work together to develop web related technologies
Wiki Site
• A Web site that allows all visitors to collaborate in its construction
• Wiki software is installed on a Web server
• You can lock down certain pages and leave others open to editing
• Wiki examples
• Wikipedia (www.wikipedia.org)
• LinuxQuestions.org (http://wiki.linuxquestions.org/wiki/Main_Page)
• MemoryAlpha (http://en.wikipedia.org/wiki/Memory_Alpha)
BSIT-5th,UEOkara,
question.computingcage.com
10
Back-End Issues
• Database connectivity
• Types of databases
• Web servers use relational databases to store data
• Relational databases
• Creating relational databases
• Relational database vendors
• Databases, Web servers and SQL (who will tell?)
BSIT-5th,UEOkara,
question.computingcage.com
11
Naming Web Page Files
• Web servers search for default page names
• Default page names include:
• index.html
• index.htm
• default.htm
• default.asp
• Readme.txt [why to hide?]
• Default page names can change from server to server
• Apache Server -- usually index.html
• IIS -- usually default.htm, default.html or index.html
BSIT-5th,UEOkara,
question.computingcage.com
12
HTTP 404 – File Not Found
Error
• Indicates that a user has requested a file that does not
exist on the specified Web server
• Generated by the server
• Can be customized
BSIT-5th,UEOkara,
question.computingcage.com
13
CreatingandDocumentinganInitialWebSitePlan
• Site plan is a rough outline of planned development
• Site diagram (sitemap), see: html link diagram on next slide
• Storyboard
• Eventually becomes a site map for completed site
• Determining audience and message
• Validating design issues
• Consider issues such as central message, fonts, images, colors, ethnic
and cultural diversity, and common color schemes
BSIT-5th,UEOkara,
question.computingcage.com
14
Lesson 2:
Markup Language and Site Development
Essentials
HTML Link Diagram (sitemap)
BSIT-5th,UEOkara,
question.computingcage.com
15
Storyboard
BSIT-5th,UEOkara,
question.computingcage.com
16
Obtaining Relevant Input from Stakeholders
• Stakeholders are relevant organization employees or contributors who can
provide or help determine:
• The purpose of the Web site
• The services that the audience requires from the site
• Development timelines
• As you work with stakeholders:
• Remember that non-technical people may be asked to approve your
project
• You must translate technical issues into non-technical language
• Team members can include representatives from marketing, IT, sales and
other areas of your organization
BSIT-5th,UEOkara,
question.computingcage.com
17
Developing the Site
• As your team develops the site, you will be engaged in various
activities:
• Creating markup code
• Testing functionality
• Approving the site
• Publishing the site
BSIT-5th,UEOkara,
question.computingcage.com
18
Testing Pages in Multiple Browsers
• As you develop Web pages, test them using multiple Web
browsers
• Different generation of the same browser may interpret HTML
somewhat differently
• Browser vendors also implement standards differently
• Browser types include:
• Microsoft Internet Explorer
• Mozilla Firefox
• Netscape Navigator
• Lynx
• Opera
BSIT-5th,UEOkara,
question.computingcage.com
19
Publishing the Site
• To publish a site, you need to know:
• The IP address and/or DNS name of the site
• (I don’t know my site’s DNS name)
• User name and authentication information[login]
• The destination directory (i.e., folder) on the Web server
• Space requirements [web hosting]
• The protocol you will use to upload the site [ftp]
• Working with service providers [?]
BSIT-5th,UEOkara,
question.computingcage.com
20
Good Coding Practice
• Create code that can be easily read by others
• Exceptions:
• Some code might encounter problems if it includes random spaces
• Always test your code in multiple browsers and validate it
• Adding hidden comments:
<!-- Text inside of these brackets will not appear -->
• Use comments to annotate code or document changes
BSIT-5th,UEOkara,
question.computingcage.com
21
Extending HTML
• Client-side and server-side scripting
• Connecting to databases
• Additional ways to apply Cascading Style Sheets (CSS)
• Dynamic HTML (DHTML)
• Document Object Model (DOM)
BSIT-5th,UEOkara,
question.computingcage.com
22
Lesson 3: Advanced Web Technologies
Server-Side Languages
• Attributes of server-side language:
• Code is executed by the Web server, not the Web browser
• Code executes because an interpreter has been installed and activated
on the Web server
• Server-side scripts are used for various purposes:
• Browser detection
• Database connectivity
• Cookie creation and identification
• Logon scripts
• Hit counters
• File uploading and downloading
BSIT-5th,UEOkara,
question.computingcage.com
23
PHP Hypertext Preprocessor (PHP)
• An interpreted server-side scripting language for creating dynamic Web
pages
• Embedded in HTML pages but usually executed on a Web server
• Example of PHP code:
<?php
$envVars = array("HTTP_USER_AGENT");
foreach($envVars as $var)
{
print "
<html><head><title>PHP CGI Example</title></head><body>
<h1>Hello, World!</h1>
Your user agent is:<strong>${$var}.</strong>
<br/>
</body></html>
";
}
?>
BSIT-5th,UEOkara,
question.computingcage.com
24
Practical Extraction and Report Language
(Perl)
• Another server-interpreted language
• Older, but very popular
• Example of Perl code:
#!/usr/bin/perl
use CGI qw/:all/;
$cgi_object = CGI::new();
print "Content-type: text/htmlnn";
print "<html>n<head>n<title>nPerl CGI
Examplen</title>n<body>n<h1>Hello,
World!</h1>nYour user agent is: <b>n";
print $cgi_object->user_agent();
print "</b>.</html>n";
BSIT-5th,UEOkara,
question.computingcage.com
25
Active Server Pages (ASP) using VBScript
• Microsoft’s original server-side scripting solution
• Example of ASP code using VBScript:
<%@ LANGUAGE=vbscript %>
<html>
<head>
<title>ASP CGI Example</title>
</head>
<body>
<h1>Hello, World!</h1>
<%
path = Request.ServerVariables("PATH_INFO")
pagename = Request.ServerVariables("HTTP_HOST")
method = Request.ServerVariables("REQUEST_METHOD")
browser = Request.ServerVariables("HTTP_USER_AGENT")
user = Request.ServerVariables("REMOTE_ADDR")
BSIT-5th,UEOkara,
question.computingcage.com
26
Java
• Object-oriented
• Compiled
• Platform-independent
• Marketing: Write once, run anywhere
• Reality: Write once, test everywhere
• Java can be used to write:
• Stand-alone applications
• Servlets
• JavaServer Pages (JSP)
BSIT-5th,UEOkara,
question.computingcage.com
27
Visual Basic
• A compiled programming language developed by Microsoft
Corporation
• Used for stand-alone applications and server-side Web
applications
• Once only procedural, now has object-based elements
BSIT-5th,UEOkara,
question.computingcage.com
28
C#
• Object-oriented
• Compiled
• Platform-dependent
• Used for Microsoft .NET program
BSIT-5th,UEOkara,
question.computingcage.com
29
Server Side Includes (SSIs)
• An instruction inside of an XHTML/HTML page that directs the
Web server to perform an action
• An alternative to CGI
• SSI instructions are in SGML
• Can be used to:
• Place the results of a database query into a page
• Execute other programs
• Indicate the last time a document was modified
• Insert footer text at the bottom of a page
• Add the current date as a timestamp to a page
BSIT-5th,UEOkara,
question.computingcage.com
30
Server Side Includes (SSIs)
(cont’d)
• Standard SSI file name extensions:
• .shtml
• .shtm
• SSI support in Web servers
• Most Web servers include code that enables SSI
• However, the SSI feature may be disabled
• You may have to activate the feature
• You may also have to define a MIME type
BSIT-5th,UEOkara,
question.computingcage.com
31
Client-Side Languages
• Issues with client-side languages
• Some clients do not support JavaScript or any other such
scripting language
• Users can deactivate script execution in browsers that
normally support it
BSIT-5th,UEOkara,
question.computingcage.com
32
JavaScript
• Object-based
• Adds interactivity to Web pages
• Can also be used on the server side (Server-Side JavaScript, SSJS)
• On the client side, can be used to:
• Detect browsers
• Create cookies
• Create mouse rollovers
• JavaScript advantages
• Platform-independent
• Vendor-neutral
• Relatively simple
• JavaScript and cookies
• Cookies are stored on the hard drive
• Cookies can be used to:
• Store passwords
• Store user preferences
• Choose which Web pages will be displayed based on browser version
BSIT-5th,UEOkara,
question.computingcage.com
33
JavaScript (cont’d)
<html>
<head><title>My Page</title></head>
<body>
<script language="JavaScript">
document.write('This is my first 
JavaScript Page');
</script>
</body>
</html>
BSIT-5th,UEOkara,
question.computingcage.com
34
VBScript
• Microsoft’s answer to JavaScript
• Can be used on the client side or the server side
• If used on the client side, only Internet Explorer can render
the script
BSIT-5th,UEOkara,
question.computingcage.com
35
Connecting to a Database
• For a database to work, you must:
• Provide a way for the Web server and database to recognize each
other
• Microsoft systems can use ODBC
• Other methods include PHP scripts
• Provide permissions to the database so it can be read and/or
written to
• You must also supply SQL scripts
BSIT-5th,UEOkara,
question.computingcage.com
36
One mark assignment
• Identify the standards organization that controls markup
languages
• Design a web architecture of your own topic
• Define the concepts of creative design and demonstrate their
importance to business
BSIT-5th,UEOkara,
question.computingcage.com
37

More Related Content

What's hot

GateIn lightweight Web Content Management
GateIn lightweight Web Content ManagementGateIn lightweight Web Content Management
GateIn lightweight Web Content Managementponceballesteros
 
Client side storage on the modern web
Client side storage on the modern webClient side storage on the modern web
Client side storage on the modern webRajasekharan Vengalil
 
Advanced SharePoint 2010 InfoPath Development
Advanced SharePoint 2010 InfoPath DevelopmentAdvanced SharePoint 2010 InfoPath Development
Advanced SharePoint 2010 InfoPath DevelopmentPerficient, Inc.
 
Introducing Joomla! CMS
Introducing Joomla! CMSIntroducing Joomla! CMS
Introducing Joomla! CMSKandarp Vyas
 
WordPress Code Architecture
WordPress Code ArchitectureWordPress Code Architecture
WordPress Code ArchitectureMario Peshev
 

What's hot (9)

Ppt ch02
Ppt ch02Ppt ch02
Ppt ch02
 
Web browsers and web document
Web browsers and web documentWeb browsers and web document
Web browsers and web document
 
WordPress Architecture For Beginners
WordPress Architecture For Beginners WordPress Architecture For Beginners
WordPress Architecture For Beginners
 
GateIn lightweight Web Content Management
GateIn lightweight Web Content ManagementGateIn lightweight Web Content Management
GateIn lightweight Web Content Management
 
Client side storage on the modern web
Client side storage on the modern webClient side storage on the modern web
Client side storage on the modern web
 
Web 2.0
Web 2.0Web 2.0
Web 2.0
 
Advanced SharePoint 2010 InfoPath Development
Advanced SharePoint 2010 InfoPath DevelopmentAdvanced SharePoint 2010 InfoPath Development
Advanced SharePoint 2010 InfoPath Development
 
Introducing Joomla! CMS
Introducing Joomla! CMSIntroducing Joomla! CMS
Introducing Joomla! CMS
 
WordPress Code Architecture
WordPress Code ArchitectureWordPress Code Architecture
WordPress Code Architecture
 

Viewers also liked (6)

system level requirements gathering and analysis
system level requirements gathering and analysissystem level requirements gathering and analysis
system level requirements gathering and analysis
 
Operating Systems & Utility Programs
Operating Systems & Utility ProgramsOperating Systems & Utility Programs
Operating Systems & Utility Programs
 
Lecture 1 Information System
Lecture 1  Information SystemLecture 1  Information System
Lecture 1 Information System
 
Steganography
SteganographySteganography
Steganography
 
Classical Encryption Techniques
Classical Encryption TechniquesClassical Encryption Techniques
Classical Encryption Techniques
 
Activites and Time Planning
 Activites and Time Planning Activites and Time Planning
Activites and Time Planning
 

Similar to Font-End Development Tools

Webdesigningandpublishingcomputerstudiestheorylesson 101212054612-phpapp02
Webdesigningandpublishingcomputerstudiestheorylesson 101212054612-phpapp02Webdesigningandpublishingcomputerstudiestheorylesson 101212054612-phpapp02
Webdesigningandpublishingcomputerstudiestheorylesson 101212054612-phpapp02Harshith Rockx
 
Ch 10: Hacking Web Servers
Ch 10: Hacking Web ServersCh 10: Hacking Web Servers
Ch 10: Hacking Web ServersSam Bowne
 
Training presentation.pptx
Training presentation.pptxTraining presentation.pptx
Training presentation.pptxNishchaiyaBayla1
 
Fundamentals of Web
Fundamentals of WebFundamentals of Web
Fundamentals of WebSabir Haque
 
Gettings started with Web development
Gettings started with Web developmentGettings started with Web development
Gettings started with Web developmentUjjwal Ojha
 
Web browser architecture
Web browser architectureWeb browser architecture
Web browser architectureNguyen Quang
 
9781305078444 ppt ch01
9781305078444 ppt ch019781305078444 ppt ch01
9781305078444 ppt ch01Terry Yoast
 
CodeIgniter For Project : Lesson 103 - Introduction to Codeigniter
CodeIgniter For Project : Lesson 103 - Introduction to CodeigniterCodeIgniter For Project : Lesson 103 - Introduction to Codeigniter
CodeIgniter For Project : Lesson 103 - Introduction to CodeigniterWeerayut Hongsa
 
Asp.Net 3 5 Part 1
Asp.Net 3 5 Part 1Asp.Net 3 5 Part 1
Asp.Net 3 5 Part 1asim78
 
Web Tools for GemStone/S
Web Tools for GemStone/SWeb Tools for GemStone/S
Web Tools for GemStone/SESUG
 
Publishing API documentation -- Presentation
Publishing API documentation -- PresentationPublishing API documentation -- Presentation
Publishing API documentation -- PresentationTom Johnson
 
Intro to SharePoint 2013 Branding
Intro to SharePoint 2013 BrandingIntro to SharePoint 2013 Branding
Intro to SharePoint 2013 BrandingThomas Daly
 
9781111528705_PPT_ch03.ppt
9781111528705_PPT_ch03.ppt9781111528705_PPT_ch03.ppt
9781111528705_PPT_ch03.pptSimonChirambira
 
Develop a Quick and Dirty Web interface to your database: for the DBA and oth...
Develop a Quick and Dirty Web interface to your database: for the DBA and oth...Develop a Quick and Dirty Web interface to your database: for the DBA and oth...
Develop a Quick and Dirty Web interface to your database: for the DBA and oth...Gabriel Villa
 
Intro to the SharePoint Framework Philly Code Camp Oct 2016
Intro to the SharePoint Framework Philly Code  Camp Oct 2016Intro to the SharePoint Framework Philly Code  Camp Oct 2016
Intro to the SharePoint Framework Philly Code Camp Oct 2016Jennifer Kenderdine
 

Similar to Font-End Development Tools (20)

9 10 july2020
9 10 july20209 10 july2020
9 10 july2020
 
Webdesigningandpublishingcomputerstudiestheorylesson 101212054612-phpapp02
Webdesigningandpublishingcomputerstudiestheorylesson 101212054612-phpapp02Webdesigningandpublishingcomputerstudiestheorylesson 101212054612-phpapp02
Webdesigningandpublishingcomputerstudiestheorylesson 101212054612-phpapp02
 
Ch 10: Hacking Web Servers
Ch 10: Hacking Web ServersCh 10: Hacking Web Servers
Ch 10: Hacking Web Servers
 
Training presentation.pptx
Training presentation.pptxTraining presentation.pptx
Training presentation.pptx
 
Fundamentals of Web
Fundamentals of WebFundamentals of Web
Fundamentals of Web
 
Gettings started with Web development
Gettings started with Web developmentGettings started with Web development
Gettings started with Web development
 
Ppt ch03
Ppt ch03Ppt ch03
Ppt ch03
 
Web browser architecture
Web browser architectureWeb browser architecture
Web browser architecture
 
9781305078444 ppt ch01
9781305078444 ppt ch019781305078444 ppt ch01
9781305078444 ppt ch01
 
CodeIgniter For Project : Lesson 103 - Introduction to Codeigniter
CodeIgniter For Project : Lesson 103 - Introduction to CodeigniterCodeIgniter For Project : Lesson 103 - Introduction to Codeigniter
CodeIgniter For Project : Lesson 103 - Introduction to Codeigniter
 
Asp.Net 3 5 Part 1
Asp.Net 3 5 Part 1Asp.Net 3 5 Part 1
Asp.Net 3 5 Part 1
 
Web Tools for GemStone/S
Web Tools for GemStone/SWeb Tools for GemStone/S
Web Tools for GemStone/S
 
Publishing API documentation -- Presentation
Publishing API documentation -- PresentationPublishing API documentation -- Presentation
Publishing API documentation -- Presentation
 
Microsoft FrontPage PPT
Microsoft FrontPage PPTMicrosoft FrontPage PPT
Microsoft FrontPage PPT
 
Intro to SharePoint 2013 Branding
Intro to SharePoint 2013 BrandingIntro to SharePoint 2013 Branding
Intro to SharePoint 2013 Branding
 
Tech talk php_cms
Tech talk php_cmsTech talk php_cms
Tech talk php_cms
 
9781111528705_PPT_ch03.ppt
9781111528705_PPT_ch03.ppt9781111528705_PPT_ch03.ppt
9781111528705_PPT_ch03.ppt
 
Develop a Quick and Dirty Web interface to your database: for the DBA and oth...
Develop a Quick and Dirty Web interface to your database: for the DBA and oth...Develop a Quick and Dirty Web interface to your database: for the DBA and oth...
Develop a Quick and Dirty Web interface to your database: for the DBA and oth...
 
Intro to the SharePoint Framework Philly Code Camp Oct 2016
Intro to the SharePoint Framework Philly Code  Camp Oct 2016Intro to the SharePoint Framework Philly Code  Camp Oct 2016
Intro to the SharePoint Framework Philly Code Camp Oct 2016
 
IS100 Week 12
IS100 Week 12IS100 Week 12
IS100 Week 12
 

More from university of education,Lahore

More from university of education,Lahore (20)

Activites and Time Planning
Activites and Time PlanningActivites and Time Planning
Activites and Time Planning
 
OSI Security Architecture
OSI Security ArchitectureOSI Security Architecture
OSI Security Architecture
 
Network Security Terminologies
Network Security TerminologiesNetwork Security Terminologies
Network Security Terminologies
 
Project Scheduling, Planning and Risk Management
Project Scheduling, Planning and Risk ManagementProject Scheduling, Planning and Risk Management
Project Scheduling, Planning and Risk Management
 
Software Testing and Debugging
Software Testing and DebuggingSoftware Testing and Debugging
Software Testing and Debugging
 
ePayment Methods
ePayment MethodsePayment Methods
ePayment Methods
 
SEO
SEOSEO
SEO
 
A Star Search
A Star SearchA Star Search
A Star Search
 
Enterprise Application Integration
Enterprise Application IntegrationEnterprise Application Integration
Enterprise Application Integration
 
Uml Diagrams
Uml DiagramsUml Diagrams
Uml Diagrams
 
eDras Max
eDras MaxeDras Max
eDras Max
 
RAD Model
RAD ModelRAD Model
RAD Model
 
Microsoft Project
Microsoft ProjectMicrosoft Project
Microsoft Project
 
Itertaive Process Development
Itertaive Process DevelopmentItertaive Process Development
Itertaive Process Development
 
Computer Aided Software Engineering Nayab Awan
Computer Aided Software Engineering Nayab AwanComputer Aided Software Engineering Nayab Awan
Computer Aided Software Engineering Nayab Awan
 
Lect 2 assessing the technology landscape
Lect 2 assessing the technology landscapeLect 2 assessing the technology landscape
Lect 2 assessing the technology landscape
 
Java Script
Java ScriptJava Script
Java Script
 
Group 10 flip flop and rs latch 1
Group 10 flip flop and rs latch 1Group 10 flip flop and rs latch 1
Group 10 flip flop and rs latch 1
 
Group 11 introduction to registers and counters
Group 11 introduction to registers and countersGroup 11 introduction to registers and counters
Group 11 introduction to registers and counters
 
Group 9 flip flops
Group 9 flip flopsGroup 9 flip flops
Group 9 flip flops
 

Recently uploaded

ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxAreebaZafar22
 
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...Nguyen Thanh Tu Collection
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxDenish Jangid
 
REMIFENTANIL: An Ultra short acting opioid.pptx
REMIFENTANIL: An Ultra short acting opioid.pptxREMIFENTANIL: An Ultra short acting opioid.pptx
REMIFENTANIL: An Ultra short acting opioid.pptxDr. Ravikiran H M Gowda
 
SOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning PresentationSOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning Presentationcamerronhm
 
On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsMebane Rash
 
ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.MaryamAhmad92
 
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptxHMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptxEsquimalt MFRC
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.pptRamjanShidvankar
 
FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024Elizabeth Walsh
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxheathfieldcps1
 
Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)Jisc
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfAdmir Softic
 
General Principles of Intellectual Property: Concepts of Intellectual Proper...
General Principles of Intellectual Property: Concepts of Intellectual  Proper...General Principles of Intellectual Property: Concepts of Intellectual  Proper...
General Principles of Intellectual Property: Concepts of Intellectual Proper...Poonam Aher Patil
 
Towards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptxTowards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptxJisc
 
How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17Celine George
 
Single or Multiple melodic lines structure
Single or Multiple melodic lines structureSingle or Multiple melodic lines structure
Single or Multiple melodic lines structuredhanjurrannsibayan2
 
Wellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptxWellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptxJisc
 
Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibitjbellavia9
 

Recently uploaded (20)

ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptx
 
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
 
REMIFENTANIL: An Ultra short acting opioid.pptx
REMIFENTANIL: An Ultra short acting opioid.pptxREMIFENTANIL: An Ultra short acting opioid.pptx
REMIFENTANIL: An Ultra short acting opioid.pptx
 
SOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning PresentationSOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning Presentation
 
On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan Fellows
 
ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.
 
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptxHMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.ppt
 
FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
 
Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdf
 
General Principles of Intellectual Property: Concepts of Intellectual Proper...
General Principles of Intellectual Property: Concepts of Intellectual  Proper...General Principles of Intellectual Property: Concepts of Intellectual  Proper...
General Principles of Intellectual Property: Concepts of Intellectual Proper...
 
Towards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptxTowards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptx
 
How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17
 
Single or Multiple melodic lines structure
Single or Multiple melodic lines structureSingle or Multiple melodic lines structure
Single or Multiple melodic lines structure
 
Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024
 
Wellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptxWellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptx
 
Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibit
 

Font-End Development Tools

  • 1. Lecture: Web Engineering BSIT-5th University of Education Okara Post questions at question.computingcage.com Frontend dev. tools: http://fredsarmento.me/frontend-tools/ Front-end Development Tools
  • 2. Objectives • Distinguish between using a text editor (notepad++) and using a GUI markup language editor (Dreamweaver) • Identify Web page design issues • Identify front-end and back-end Web issues BSIT-5th,UEOkara, question.computingcage.com 2
  • 3. Lesson1: Creating Web Pages • The need for skills in Web-based technologies: • Contribute to team projects • Create Web pages • Create résumés • You must know at least the following markup languages: • Hypertext Markup Language (HTML) • Cascading Style Sheet (CSS) • Extensible HTML (XHTML) BSIT-5th,UEOkara, question.computingcage.com 3
  • 4. Additional Web Page Elements • Web pages use more than HTML or XHTML -- additional technologies include: • Flash • (macromedia or shockwave flash for multimedia and animations) • Java • Preferably java scripts and JSP (server side) • ActiveX • software framework created by Microsoft that adapts its earlier Component Object Model (COM) • Introduced in 1996 and commonly used in its Windows OS • You must also understand how Web pages use: • Databases • [any student should practically connect webpage with database] • Common Gateway Interface (CGI) • Detail on next slide BSIT-5th,UEOkara, question.computingcage.com 4
  • 5. CGI (server side) • CGI is used for many purposes: • To help Web pages pass information to and from databases • To provide active content (e.g., hit counters) • Examples of CGI technology include: • Perl, PHP, ASP, JSP, .NET • Server-Side JavaScript (SSJS), ColdFusion = google BSIT-5th,UEOkara, question.computingcage.com 5
  • 6. Text Editors & Markup Languages • You do not need to use a special editor application to create markup • You can use a simple text editor (e.g., Notepad or Vi) • When creating HTML or XHTML files, you must: • Save the file using either the .html or .htm file name extension BSIT-5th,UEOkara, question.computingcage.com 6
  • 7. GUI HTML Editors • GUI HTML editors: • Create HTML/XHTML code for you • You type page text as you would with a standard word processor • You point and click with a mouse • Examples: 1. Adobe Dreamweaver 2. Microsoft FrontPage 3. SeaMonkey Composer 4. And many more: http://fredsarmento.me/frontend-tools/ 5. Adobe GoLive BSIT-5th,UEOkara, question.computingcage.com 7
  • 8. Front-End Issues • A Web page is an interface that should: • Provide a distinct message • Be accessible by all users • Incorporate appealing images and graphical elements • Include constantly updated hyperlinks • Use tables wisely ? • Present carefully designed Web forms (how?) • Connect pages to databases securely • Use the most current technologies appropriately • Use images sparingly (why) • Be easily navigable and without dead ends • Include alternative navigation ? BSIT-5th,UEOkara, question.computingcage.com 8
  • 9. Web Page Accessibility • An accessible Web page has: • A user-friendly and accessible front end (see pics =1,2,3,4) • Back-end server resources that process and store user input • The WC3 estimates that up to 10 percent of people have disabilities that, if not accommodated by Web sites, can cause companies to lose significant amounts of revenue (usability issue) • Why adhere to accessibility standards? • It makes your site available to all users • You can be penalized for failing to provide accessibility, either by losing customers or through government-imposed fines BSIT-5th,UEOkara, question.computingcage.com 9 Note: wc3 is an international community where Member organizations, a full-time staff, and the public work together to develop web related technologies
  • 10. Wiki Site • A Web site that allows all visitors to collaborate in its construction • Wiki software is installed on a Web server • You can lock down certain pages and leave others open to editing • Wiki examples • Wikipedia (www.wikipedia.org) • LinuxQuestions.org (http://wiki.linuxquestions.org/wiki/Main_Page) • MemoryAlpha (http://en.wikipedia.org/wiki/Memory_Alpha) BSIT-5th,UEOkara, question.computingcage.com 10
  • 11. Back-End Issues • Database connectivity • Types of databases • Web servers use relational databases to store data • Relational databases • Creating relational databases • Relational database vendors • Databases, Web servers and SQL (who will tell?) BSIT-5th,UEOkara, question.computingcage.com 11
  • 12. Naming Web Page Files • Web servers search for default page names • Default page names include: • index.html • index.htm • default.htm • default.asp • Readme.txt [why to hide?] • Default page names can change from server to server • Apache Server -- usually index.html • IIS -- usually default.htm, default.html or index.html BSIT-5th,UEOkara, question.computingcage.com 12
  • 13. HTTP 404 – File Not Found Error • Indicates that a user has requested a file that does not exist on the specified Web server • Generated by the server • Can be customized BSIT-5th,UEOkara, question.computingcage.com 13
  • 14. CreatingandDocumentinganInitialWebSitePlan • Site plan is a rough outline of planned development • Site diagram (sitemap), see: html link diagram on next slide • Storyboard • Eventually becomes a site map for completed site • Determining audience and message • Validating design issues • Consider issues such as central message, fonts, images, colors, ethnic and cultural diversity, and common color schemes BSIT-5th,UEOkara, question.computingcage.com 14 Lesson 2: Markup Language and Site Development Essentials
  • 15. HTML Link Diagram (sitemap) BSIT-5th,UEOkara, question.computingcage.com 15
  • 17. Obtaining Relevant Input from Stakeholders • Stakeholders are relevant organization employees or contributors who can provide or help determine: • The purpose of the Web site • The services that the audience requires from the site • Development timelines • As you work with stakeholders: • Remember that non-technical people may be asked to approve your project • You must translate technical issues into non-technical language • Team members can include representatives from marketing, IT, sales and other areas of your organization BSIT-5th,UEOkara, question.computingcage.com 17
  • 18. Developing the Site • As your team develops the site, you will be engaged in various activities: • Creating markup code • Testing functionality • Approving the site • Publishing the site BSIT-5th,UEOkara, question.computingcage.com 18
  • 19. Testing Pages in Multiple Browsers • As you develop Web pages, test them using multiple Web browsers • Different generation of the same browser may interpret HTML somewhat differently • Browser vendors also implement standards differently • Browser types include: • Microsoft Internet Explorer • Mozilla Firefox • Netscape Navigator • Lynx • Opera BSIT-5th,UEOkara, question.computingcage.com 19
  • 20. Publishing the Site • To publish a site, you need to know: • The IP address and/or DNS name of the site • (I don’t know my site’s DNS name) • User name and authentication information[login] • The destination directory (i.e., folder) on the Web server • Space requirements [web hosting] • The protocol you will use to upload the site [ftp] • Working with service providers [?] BSIT-5th,UEOkara, question.computingcage.com 20
  • 21. Good Coding Practice • Create code that can be easily read by others • Exceptions: • Some code might encounter problems if it includes random spaces • Always test your code in multiple browsers and validate it • Adding hidden comments: <!-- Text inside of these brackets will not appear --> • Use comments to annotate code or document changes BSIT-5th,UEOkara, question.computingcage.com 21
  • 22. Extending HTML • Client-side and server-side scripting • Connecting to databases • Additional ways to apply Cascading Style Sheets (CSS) • Dynamic HTML (DHTML) • Document Object Model (DOM) BSIT-5th,UEOkara, question.computingcage.com 22 Lesson 3: Advanced Web Technologies
  • 23. Server-Side Languages • Attributes of server-side language: • Code is executed by the Web server, not the Web browser • Code executes because an interpreter has been installed and activated on the Web server • Server-side scripts are used for various purposes: • Browser detection • Database connectivity • Cookie creation and identification • Logon scripts • Hit counters • File uploading and downloading BSIT-5th,UEOkara, question.computingcage.com 23
  • 24. PHP Hypertext Preprocessor (PHP) • An interpreted server-side scripting language for creating dynamic Web pages • Embedded in HTML pages but usually executed on a Web server • Example of PHP code: <?php $envVars = array("HTTP_USER_AGENT"); foreach($envVars as $var) { print " <html><head><title>PHP CGI Example</title></head><body> <h1>Hello, World!</h1> Your user agent is:<strong>${$var}.</strong> <br/> </body></html> "; } ?> BSIT-5th,UEOkara, question.computingcage.com 24
  • 25. Practical Extraction and Report Language (Perl) • Another server-interpreted language • Older, but very popular • Example of Perl code: #!/usr/bin/perl use CGI qw/:all/; $cgi_object = CGI::new(); print "Content-type: text/htmlnn"; print "<html>n<head>n<title>nPerl CGI Examplen</title>n<body>n<h1>Hello, World!</h1>nYour user agent is: <b>n"; print $cgi_object->user_agent(); print "</b>.</html>n"; BSIT-5th,UEOkara, question.computingcage.com 25
  • 26. Active Server Pages (ASP) using VBScript • Microsoft’s original server-side scripting solution • Example of ASP code using VBScript: <%@ LANGUAGE=vbscript %> <html> <head> <title>ASP CGI Example</title> </head> <body> <h1>Hello, World!</h1> <% path = Request.ServerVariables("PATH_INFO") pagename = Request.ServerVariables("HTTP_HOST") method = Request.ServerVariables("REQUEST_METHOD") browser = Request.ServerVariables("HTTP_USER_AGENT") user = Request.ServerVariables("REMOTE_ADDR") BSIT-5th,UEOkara, question.computingcage.com 26
  • 27. Java • Object-oriented • Compiled • Platform-independent • Marketing: Write once, run anywhere • Reality: Write once, test everywhere • Java can be used to write: • Stand-alone applications • Servlets • JavaServer Pages (JSP) BSIT-5th,UEOkara, question.computingcage.com 27
  • 28. Visual Basic • A compiled programming language developed by Microsoft Corporation • Used for stand-alone applications and server-side Web applications • Once only procedural, now has object-based elements BSIT-5th,UEOkara, question.computingcage.com 28
  • 29. C# • Object-oriented • Compiled • Platform-dependent • Used for Microsoft .NET program BSIT-5th,UEOkara, question.computingcage.com 29
  • 30. Server Side Includes (SSIs) • An instruction inside of an XHTML/HTML page that directs the Web server to perform an action • An alternative to CGI • SSI instructions are in SGML • Can be used to: • Place the results of a database query into a page • Execute other programs • Indicate the last time a document was modified • Insert footer text at the bottom of a page • Add the current date as a timestamp to a page BSIT-5th,UEOkara, question.computingcage.com 30
  • 31. Server Side Includes (SSIs) (cont’d) • Standard SSI file name extensions: • .shtml • .shtm • SSI support in Web servers • Most Web servers include code that enables SSI • However, the SSI feature may be disabled • You may have to activate the feature • You may also have to define a MIME type BSIT-5th,UEOkara, question.computingcage.com 31
  • 32. Client-Side Languages • Issues with client-side languages • Some clients do not support JavaScript or any other such scripting language • Users can deactivate script execution in browsers that normally support it BSIT-5th,UEOkara, question.computingcage.com 32
  • 33. JavaScript • Object-based • Adds interactivity to Web pages • Can also be used on the server side (Server-Side JavaScript, SSJS) • On the client side, can be used to: • Detect browsers • Create cookies • Create mouse rollovers • JavaScript advantages • Platform-independent • Vendor-neutral • Relatively simple • JavaScript and cookies • Cookies are stored on the hard drive • Cookies can be used to: • Store passwords • Store user preferences • Choose which Web pages will be displayed based on browser version BSIT-5th,UEOkara, question.computingcage.com 33
  • 34. JavaScript (cont’d) <html> <head><title>My Page</title></head> <body> <script language="JavaScript"> document.write('This is my first  JavaScript Page'); </script> </body> </html> BSIT-5th,UEOkara, question.computingcage.com 34
  • 35. VBScript • Microsoft’s answer to JavaScript • Can be used on the client side or the server side • If used on the client side, only Internet Explorer can render the script BSIT-5th,UEOkara, question.computingcage.com 35
  • 36. Connecting to a Database • For a database to work, you must: • Provide a way for the Web server and database to recognize each other • Microsoft systems can use ODBC • Other methods include PHP scripts • Provide permissions to the database so it can be read and/or written to • You must also supply SQL scripts BSIT-5th,UEOkara, question.computingcage.com 36
  • 37. One mark assignment • Identify the standards organization that controls markup languages • Design a web architecture of your own topic • Define the concepts of creative design and demonstrate their importance to business BSIT-5th,UEOkara, question.computingcage.com 37