Skills for Employment
Investment Program (SEIP)
COMPETENCY-BASED LEARNING MATERIAL
(STUDENT GUIDE)
FOR WEB DESIGN
(IT SECTOR)
Finance Division, Ministry of Finance Government of the People’s Republic of Bangladesh
Table of Contents
Copyright 4 How to Use this Competency-based Learning Material 5 List of Icons 6 Modules 7 Module 1: Recognise the Web 7 Learning Outcome 1.1 - Identify client server architecture 8 Learning Outcome 1.2 - Identify the browser 13 Learning Outcome 1.3 - Use web design tools 25 Learning Outcome 1.4 - Explain role of web server 31 Learning Outcome 1.5 - Explain role of database server 35 Review of Competence 40 Answer Key 41 Module 2: Setting up development environment 44 Learning Outcome 2.1 - Install local web server 45 Learning Outcome 2.2 - Work with the tools of web server 52 Learning Outcome 2.3 - Install FTP clients 57 Review of Competence 62 Answer Key 63 Module 3: Working with HTML 65 Learning Outcome 3.1 - Recognise HTML 66 Learning Outcome 3.2 - Work with HTML 82 Learning Outcome 3.3 - Apply the fundamentals of typography 94 Review of Competence 105 Answer Key 106 Module 4: Working with Cascading Style Sheets (CSS) 109 Learning Outcome 4.1 - Explain CSS 110 Learning Outcome 4.2 - Apply CSS 113 Learning Outcome 4.3 - Explain Media Query 125 Learning Outcome 4.5 - Work with SASS 129 Review of Competence 136 Answer Key 137 Module 5: Performing graphic design aesthetic 139 Learning Outcome 5.1 - Install and work with Photoshop 140 Learning Outcome 5.2 - Create and/or work with image 147 Learning Outcome 5.3 - Carry out layout design 155 Review of Competence 163 Answer Key 164 Module 6: Developing with JavaScript and j Query 166 Learning Outcome 6.1 - Identify JavaScript Core 167 Learning Outcome 6.2 - Introduce BOM and DOM 180
CBLM – Web Design (Student Guide) v.1 Oct 2018 2 Skills for Employment Investment Programme (SEIP)
Learning Outcome 6.3 - Work with JavaScript 196 Review of Competence 211 Answer Key 212 Module 7: Applying web design tools 214 Learning Outcome 7.1 - Apply web design platform or editor 215 Learning Outcome 7.2 - Apply web design software and CMS 224 Review of Competence 233 Answer Key 234 Module 8: Working with bootstrap framework 236 Learning Outcome 8.1 - Understand responsive website 237 Learning Outcome 8.2 - Work with bootstrap components to develop a responsive website 243 Review of Competence 253 Answer Key 254
CBLM – Web Design (Student Guide) v.1 Oct 2018 3 Skills for Employment Investment Programme (SEIP)
Copyright
The Competency-based Learning Material (Student Guide) for Web Design, aligned to its applicable competency standard, for providing training consistent with the requirements of industry in order for individuals who graduated through the established standard via competency-based assessment to be suitably qualified for a relevant job.
This document is owned by the Finance Division of the Ministry of Finance of the People’s Republic of Bangladesh, developed under the Skills for Employment Investment Program (SEIP).
Public and private institutions may use the information contained in this competency-based learning material for activities benefitting Bangladesh.
Other interested parties must obtain permission from the owner of this document for reproduction of information in any manner, in whole or in part, of this Competency-based Learning Material, in English or other language.
This document is available from:
Skills for Employment Investment Program (SEIP) Project Finance Division Ministry of Finance ProbashiKallyan Bhaban (Level – 16) 71-72 Old Elephant Road Eskaton Garden, Dhaka 1000 Telephone: +8802 551 38598-9 (PABX), +8802 551 38753-5 Facsimile: +8802 551 38752 Website: www.seip-fd.gov.bd
CBLM – Web Design (Student Guide) v.1 Oct 2018 4 Skills for Employment Investment Programme (SEIP)
How to Use this Competency-based Learning Material
Welcome to the competency-based learning material for Web Design to use in IT. These modules contain training materials and learning activities for you to complete in order to become competent and qualified as a skilled worker. There are eight (8) modules that make up this course which comprises the skills, knowledge and attitudes required to become a skilled worker including: 1. Recognising the Web 2. Setting up development environment 3. Working with HTML 4. Working with Cascading Style Sheets (CSS) 5. Performing graphic design aesthetic 6. Developing with JavaScript and jQuery 7. Applying web design tools 8. Working with bootstrap framework As a learner, you will be required to complete a series of activities in order to achieve each learning outcome of the module. These activities may be completed as part of structured classroom activities or simulated workplace demonstrations. These activities will also require you to complete associated learning and practice activities in order to gain the skills and knowledge needed to achieve the learning outcomes. You should refer to Learning Activity pages of each module to know the sequence of learning tasks and the appropriate resources to use for each task. This page will serve as the road map towards the achievement of competence. If you read the Information Sheets, these will give you an understanding of the work, and why things are done the way they are. Once you have finished reading the Information Sheets, you will then be required to complete the Self-Check Quizzes. The self-check quizzes follow the Information Sheets in this learning guide. Completing the self-check quizzes will help you know how you are progressing. To check your knowledge after completion of the Self- Check Quizzes, you can review the Answer Key at the end of each module. You are required to complete all activities as directed in the Learning Activity and Information Sheet. This is where you will apply your newly acquired knowledge while developing new skills. When working, high emphasis should be laid on safety requirements. You will be encouraged to raise relevant queries or ask the facilitator for assistance as required. When you have completed all the tasks required in this learning guide, formal assessment will be scheduled to officially evaluate if you have achieved competency of the specified learning outcomes and are ready for the next task.
CBLM – Web Design (Student Guide) v.1 Oct 2018 5 Skills for Employment Investment Programme (SEIP)
List of Icons
Icon Name Icon
Module content
Learning outcomes
Performance criteria
Contents
Assessment criteria
Resources required
Information sheet
Self-check Quiz
Answer key
Activity
Video reference
Learner job sheet
Assessment plan
Review of competency
CBLM – Web Design (Student Guide) v.1 Oct 2018 6 Skills for Employment Investment Programme (SEIP)
Module 1: Recognising the Web
MODULE CONTENT
Module Descriptor: This module covers the skills, knowledge and attitudes to recognize the web, which includes the tasks of identifying client server architecture/ structure, identifying the browser, using web design tools, explaining role of web server & database server and also explaining the role of data base server
Nominal Duration: 12 hours
Learning Outcomes:
Upon completion of the module, the trainee should be able to:
1.1 Identify client server architecture 1.2 Identify the browser 1.3 Use web design tools 1.4 Explain role of web server 1.5 Explain role of database server
Performance Criteria:
1. Client server architecture/structure is identified. 2. Different types of network and their functionality is identified. 3. Different types of websites are categorized. 4. Web browser is identified 5. Different types of web browser are introduced. 6. Installation and usage of different web browsers is demonstrated. 7. Working with a web browser is explained. 8. Features/options of different web browsers are recognized. 9. Cross browser compatibility of websites is practiced. 10. Web design language is understood. 11. Web design platform is used. 12. Web design software is used. 13. Web server is identified. 14. Local web server is defined. 15. Role of web server is explained. 16. Database server is defined. 17. Roles of database server are identified. 18. Role of database server is explained.
CBLM – Web Design (Student Guide) v.1 Oct 2018 7 Skills for Employment Investment Programme (SEIP)
Learning Outcome 1.1 - Identify Client Server Architecture
Contents:
▪ Identify client server architecture ▪ Identify types of network and their functionality ▪ Categorize different types of websites
Assessment criteria:
1. Client server architecture/structure is identified. 2. Types of network and their functionality is identified. 3. Type of websites is categorized.
Resources required:
Students/trainees must be provided with the following resources: ▪ Workplace (simulated or actual) ▪ Personal computer and peripherals ▪ Software (system & application) ▪ Internet ▪ Stationery ▪ Instruction sheet/manual
Learning Activity 1.1.1
Learning Activity Resources/Special Instructions/References
Identify client server architecture/ ▪ Information Sheet: 1.1.1 structure ▪ Self-Check Quiz: 1.1.1 ▪ Answer Key: 1.1.1 ▪ https://stackoverflow.com/questions/18508964/difference- between-server-and-client ▪ https://en.wikipedia.org/wiki/Client%E2%80%93server_model
Information Sheet 1.1.1
Learning Objective: to identify, client server architecture.
▪ Client server architecture/ structure: Server: A server is a program, or machine, that waits for incoming requests.
CBLM – Web Design (Student Guide) v.1 Oct 2018 8 Skills for Employment Investment Programme (SEIP)
Client: A client is a program, or machine, that sends requests to servers.
Client-Server architecture:
▪ In simplest form, a server is a connection point for several clients, that will handle their requests. ▪ A client is software that (usually) connects to the server to perform actions. The client provides a user interface that allows users to carry out actions. It forwards these requests to the server, which carries out the action and returns a response. ▪ The server is where the central data repository is held, and client is what you use to access the said repository.
Individual Activity: ▪ Watch a video lesson on client server architecture. ▪ Video Link1: https://www.youtube.com/watch?v=RsQ1tFLwldY ▪ Video Link2: https://www.youtube.com/watch?v=Zfmk0GtANNs ▪ Note the important issues. ▪ Discuss and plan a client server architecture for the network established in your class. ▪ Present it to your class for feedback. ▪ Your trainer will facilitate this session.
Self-Check Quiz 1.1.1
Write the correct answer for the following questions by filling-in the blanks.
1. In simplest form, a server is a ______point for several ______, that will handle their ______. 2. A client is ______that (usually) connects to the server to perform ______.
Learning Activity 1.1.2
Learning Activity Resources/Special Instructions/References
Identify types of network and their ▪ Information Sheet: 1.1.2 functionality ▪ Self-Check Quiz: 1.1.2 ▪ Answer Key: 1.1.2 ▪ https://www.lifewire.com/lans-wans-and-other-area- networks-817376
CBLM – Web Design (Student Guide) v.1 Oct 2018 9 Skills for Employment Investment Programme (SEIP)
Information Sheet 1.1.2
Learning objective: to identify types of network and their functionality.
▪ Types of network and their functionality:
One way to categorize the different types of computer network designs is by their scope or scale. For historical reasons, the networking industry refers to nearly every type of design as some kind of area network. Common types of area networks are: • LAN - Local Area Network • WAN - Wide Area Network • WLAN - Wireless Local Area Network • MAN - Metropolitan Area Network • SAN - Storage Area Network, System Area Network, Server Area Network, or sometimes Small Area Network • CAN - Campus Area Network, Controller Area Network, or sometimes Cluster Area Network • PAN - Personal Area Network
LAN and WAN are the two primary and best-known categories of area networks, while the others have emerged with technological advances.
▪ LAN: Local Area Network A LAN connects network devices over a relatively short distance. A networked office building, school, or home usually contains a single LAN, though sometimes one building will contain a few small LANs (perhaps one per room), and occasionally a LAN will span a group of nearby buildings. In TCP/IP networking, a LAN is often but not always implemented as a single IP subnet.
▪ WAN: Wide Area Network As the term implies, a WAN spans a large physical distance. The Internet is the largest WAN, spanning the Earth. A WAN is a geographically-dispersed collection of LANs. A network device called a router connects LANs to a WAN. In IP networking, the router maintains both a LAN address and a WAN address.
▪ LAN, WAN, and Home Networking Residences typically employ one LAN and connect to the Internet WAN via an Internet Service Provider (ISP) using a broadband modem. The ISP provides a WAN IP address to the modem, and all of the computers on the home network use LAN IP addresses. All computers on the home LAN can communicate directly with each other but must go through a central network gateway, typically a broadband router, to reach the ISP.
▪ Other Types of Area Networks While LAN and WAN are by far the most popular network types mentioned, you may also commonly see references to these others:
▪ Wireless Local Area Network - A LAN based on Wi-Fi wireless network technology ▪ Metropolitan Area Network - A network spanning a physical area larger than a LAN but smaller than a WAN, such as a city. A MAN is typically owned and operated by a single entity such as a government body or large corporation. ▪ Campus Area Network - A network spanning multiple LANs but smaller than a MAN, such as on a university or local business campus. ▪ Storage Area Network - Connects servers to data storage devices through a technology like Fibre Channel. ▪ System Area Network (also known as Cluster Area Network) - Links high-performance computers with high-speed connections in a cluster configuration.
CBLM – Web Design (Student Guide) v.1 Oct 2018 10 Skills for Employment Investment Programme (SEIP)
Individual Activity: ▪ Your trainer will show a PowerPoint presentation on network types and their functionality. ▪ You will identify and note the types of network and their functionality. ▪ The session will be participatory.
Self-Check Quiz 1.1.2
Read the following statement carefully and state whether it is ‘True’ or ‘False’.
1. In TCP/IP networking, a LAN is often implemented as a single IP subnet. 2. A WAN spans a large physical distance. The Internet is the largest WAN, spanning the Earth. 3. In IP networking, a device other than the router maintains both a LAN address and a WAN address. 4. A storage area network connects servers to data storage devices through a technology like Fibre Channel. 5. Some server area network links high-performance computers with high-speed connections in a cluster configuration.
Learning Activity 1.1.3
Learning Activity Resources/Special Instructions/References
Categorise different types of websites ▪ Information Sheet: 1.1.3 ▪ Self-Check Quiz: 1.1.3 ▪ Answer Key: 1.1.3 ▪ http://www.alinscribe.com/articles/344/list-of-website- categories-250-categories-exclusively-available-over- the-internet.html
Information Sheet 1.1.3
Learning objective: to categorise different types of websites.
▪ Website Category:
If someone was to look for a particular kind of website, then they won’t find a single list of website categories that can give the answer to such queries. This means that if you do not know the exact address of the website then it would become very difficult to search for a website. Search engines will also not able to provide you with results based on categories. The whole algorithm of search engines is such that it will try and show you only those results which are popular and trending in market close to your geographic location.
There are more than 250 different categories of website over the internet. Here 34 broad categories are listed for your understandings.
List of web category:
Finance Information Technology Arts Fitness News and Media Automobile Food & Beverage People and Society
CBLM – Web Design (Student Guide) v.1 Oct 2018 11 Skills for Employment Investment Programme (SEIP)
Blogs Gambling Pets and Animals Books Games Reference Business Government Science Career Hardware Shopping Celebrities Health Sports Computer Hobbies Telecommunications Education Home & Family Travel Electronics Industry Adult Entertainment Literature
Individual Activity: ▪ Fill the following table with necessary information with website category and examples. Include as many as possible websites for your future reference. You may visit the referenced site or search in search engines. Website category Example (name of websites)
Self-Check Quiz 1.1.3
Answering the following questions:
1. How does a search engine show the results of your query? 2. Write 5 names of website categories.
CBLM – Web Design (Student Guide) v.1 Oct 2018 12 Skills for Employment Investment Programme (SEIP)
Learning Outcome 1.2 - Identify the Browser
Contents:
▪ Identify web browser ▪ Introduce different web browsers ▪ Demonstrate installation and usage of different web browsers ▪ Explain working with a web browser ▪ Recognize features/options of different web browsers ▪ Practice cross browser compatibility of websites
Assessment criteria:
1. Web browser is identified. 2. Different types of web browser are introduced. 3. Installation and usage of different web browsers is demonstrated. 4. Working with a web browser is explained. 5. Features/options of different web browsers are recognised. 6. Cross browser compatibility of websites is practiced.
Resources required:
Students/trainees must be provided with the following resources:
▪ Workplace (simulated or actual) ▪ Personal computer and peripherals ▪ Software (system & applications) ▪ Internet ▪ Pens ▪ Papers ▪ Instruction sheet/manual
CBLM – Web Design (Student Guide) v.1 Oct 2018 13 Skills for Employment Investment Programme (SEIP)
Learning Activity 1.2.1
Learning Activity Resources/Special Instructions/References
Identify web browser ▪ Information Sheet: 1.2.1 ▪ Self-Check Quiz: 1.2.1 ▪ Answer Key: 1.2.1 ▪ https://resbook.zendesk.com/hc/en- us/articles/217297707-What-is-a-Web-Browser-And- How-To-Identify-It-
Information Sheet 1.2.1
Learning Objective: to identify web browser.
▪ Web browser:
A Web Browser is an application that we use on computers to access the internet. There will always be a Web Browser installed on your computer when you turn it on for the first time. However, you have the ability to install other browsers from the internet if you prefer.
A web browser allows a user to locate, access, and display web pages. In common usage, a web browser is usually shortened to "browser”. Browsers are used primarily for displaying and accessing websites on the internet, as well as other content created using languages such as Hypertext Mark-up Language (HTML) and Extensible Mark-up Language (XML). There are several browsers available however, and we will outline the main ones in the table below:
Name of Browser Logo Compatible Operating Systems
Internet Explorer Microsoft Windows
Apple Mac OS X Safari Microsoft Windows (Not available from Apple Website)
Apple Mac OS X Google Chrome Microsoft Windows
Apple Mac OS X Mozilla Firefox Microsoft Windows
Microsoft Edge Microsoft Windows 10
CBLM – Web Design (Student Guide) v.1 Oct 2018 14 Skills for Employment Investment Programme (SEIP)
There are multiple other browsers available to be used including Opera for example, however these are the most common browsers available.
To easily identify your browser, refer to the logo's above. If the browser your using is not listed here, then just simply go to you start menu, and find the browser in your programs list
Individual Activity: ▪ Identify browsers on your computer. ▪ Search on internet for browsers and list them for future reference. ▪ Share your work in class.
Self-Check Quiz 1.2.1
Answer the following questions by filling-in the blank cells of the following table with proper information:
Logo Name of Browser Compatible Operating Systems
Learning Activity 1.2.2
Learning Activity Resources/Special Instructions/References
Introduce different web ▪ Information Sheet: 1.2.2 browsers ▪ Self-Check Quiz: 1.2.2 ▪ Answer Key: 1.2.2 ▪ https://www.tutorialspoint.com/web_developers_guide/web_browse r_types.htm
CBLM – Web Design (Student Guide) v.1 Oct 2018 15 Skills for Employment Investment Programme (SEIP)
Information Sheet 1.2.2
Learning Objective: to introduce different web browsers.
▪ There are four leading web browsers − Explorer, Firefox, Netscape, and Safari, but there are many other browsers available. You might be interested in knowing Complete Browser Statistics. Now we will see these browsers in bit more detail.
▪ While developing a website, you should try to make it compatible to as many browsers as possible. Especially sites should be compatible to major browsers like Explorer, Firefox, Chrome, Netscape, Opera, and Safari.
▪ Following table contains introduction of some popular web browsers.
Web Browser Related information Internet Explorer (IE) is a product from software giant Microsoft. This is the most commonly used browser in the universe. This was introduced in 1995 Internet Explorer along with Windows 95 launch and it passed Netscape popularity in 1998. This web browser is developed by Google and its beta version was first released on September 2, 2008 for Microsoft Windows. Today, Chrome is Google Chrome known to be one of the most popular web browsers with its global share of more than 50%. Firefox is a new browser derived from Mozilla. It was released in 2004 and has grown to be the second most popular browser on the Internet. Mozilla Firefox Safari is a web browser developed by Apple Inc. and included in Mac OS X. It was first released as a public beta in January 2003. Safari has very good Safari support for latest technologies like XHTML, CSS2 etc.
Opera is smaller and faster than most other browsers, yet it is full- featured. Fast, user-friendly, with keyboard interface, multiple windows, zoom Opera functions, and more. Java and non-Java-enabled versions available. Ideal for newcomers to the Internet, school children, handicap and as a front-end for CD-ROM and kiosks. Konqueror is an Open Source web browser with HTML 4.01 compliance, supporting Java applets, JavaScript, CSS 1, CSS 2.1, as well as Netscape Konqueror plugins. This works as a file manager as well as it supports basic file management on local UNIX filesystems, from simple cut/copy and paste operations to advanced remote and local network file browsing Lynx is a fully-featured World Wide Web browser for users on Unix, VMS, and other platforms running cursor-addressable, character-cell terminals or Lynx emulators.
Individual Activity: ▪ Search internet for popular browsers. ▪ Collect information and list in the following format. Web Browser Related information
▪ Share your work in class.
CBLM – Web Design (Student Guide) v.1 Oct 2018 16 Skills for Employment Investment Programme (SEIP)
Self-Check Quiz 1.2.2
Write Short note on following web browsers:
1. Safari 2. Chrome 3. Opera 4. Internet Explorer
Learning Activity 1.2.3
Learning Activity Resources/Special Instructions/References
Demonstrate installation and usage of ▪ Information Sheet: 1.2.3 different web browsers ▪ Self-Check Quiz: 1.2.3 ▪ Answer Key: 1.2.3 ▪ https://www.hellotech.com/blog/install-new-web- browser/ ▪ https://www.wikihow.com/Install-a-New-Browser
Information Sheet 1.2.3
Learning Objective: to demonstrate installation and usage of different web browsers.
Installation of Browsers: ▪ You will need the installation package for a browser you want to install. ▪ You will find installation package on the internet. Googling is a good option for this. ▪ You need to download the package and run the installation package.
Job Sheet 1.2.3A
Job Title Installing “Google Chrome” Browser Instructions ▪ Open google on a browser ▪ Search for the installation pack of google chrome browser. ▪ Download (free or purchased) the installation pack from internet ▪ Run the installer ▪ Follow the instruction appeared ▪ Finish and restart computer before using it. Outcome A shortcut icon for google chrome will be in the start menu or on the desktop. The browser can be run by double -clicking the icon.
CBLM – Web Design (Student Guide) v.1 Oct 2018 17 Skills for Employment Investment Programme (SEIP)
Job Sheet 1.2.3B
Job Title Using web browser Instructions Apply following instructions while using browser for surfing internet. 1. Key words - List keywords that define your topic - these will become your search terms. - Be as specific as possible e.g. Labrador rather than Dogs
Example: What percentage of Australia’s electricity comes from wind power? Key words might be: wind, power, Australia, electricity 2. Use quotation marks for exact phrases e.g. “wind power” will result in web pages where that phrase appears. There will be fewer sites than if we searched for wind and power separately. 3. Boolean searching: Use + and – to narrow your search ▪ “wind power” +Australia -> “wind power” AND Australia ▪ Use + or AND to include all words. ▪ “wind power” + Australia –jobs -> “wind power” AND Australia NOT jobs ▪ Use – or NOT to exclude words you do not want. ▪ IMPORTANT: do not use a space between the + and – signs and the search term e.g. –jobs not - jobs 4. Advanced search option in Google Click the Advanced Search button at bottom of Google start or results page to refine your search by date, country, amount, language, or other criteria. 5. Browser History Handy to find webpages you may have used previously or dismissed. 6. Searching the webpage – use Ctrl+F Once you’ve found a webpage that looks useful, use the Search window on the webpage, or press CTRL+F to open the FIND box. Type the word or phrase you are looking for and then press ENTER. Click the Highlight All Matches button to show or hide all matches on the page. To filter the matches, press Options, and then click one or both of the following: ▪ Match Whole Word Only. ▪ Match Case. Click Next or Previous to move from one matched word or phrase to another
7. Set a time limit then change tactics/use different search engines www.yahoo.com; www.ask.com; www.boolify.org; www.duckduckgo; www.bing.com.
Outcome You will be able to evaluate websites with answers of the following questions.
▪ What can the URL tell you? gov.edu; org au ▪ Who is the author? Is he/she a qualified authority on the subject? You should be able to contact them through an ‘About us' or ‘Contact' section. ▪ Why was the website created? Is there bias? ▪ Is it current? ▪ Does the page have overall integrity and reliability as a source?
CBLM – Web Design (Student Guide) v.1 Oct 2018 18 Skills for Employment Investment Programme (SEIP)
Self-Check Quiz 1.2.3
Write correct answer for the following questions:
1. From where will you get the installation pack for web browsers? 2. What are the common steps for installation of a web browser?
Learning Activity 1.2.4
Learning Activity Resources/Special Instructions/References
Explain working with a web browser ▪ Information Sheet: 1.2.4 ▪ Self-Check Quiz: 1.2.4 ▪ Answer Key: 1.2.4 ▪ https://thebestvpn.com/safe-internet-browsing/ ▪ https://www.slideshare.net/msz/web-browser-basics- tips-tricks-draft-20-revised-51871
Information Sheet 1.2.4
Learning Objective: to explain working with a web browser.
Some issues those need to care during using web browsers are discussed hare – 1. Use/Install Most Secure Internet Browser 2. Best Internet Browsers for Safe Browsing ▪ Microsoft Edge (2017 version) ▪ Google Chrome ▪ Mozilla Firefox 3. Customize Your Security Settings 4. Use Password Manager (not “AutoFill” options) Here are 3 Most Popular Password Managers in 2017 ▪ 1PassWord ($2.99/month) ▪ KeePass (FREE) ▪ LastPass (FREE) 5. Use Creativity When You Create Your Passwords 6. Hide Your IP with a VPN: Best Picks for VPN: ▪ Express VPN ▪ Nord VPN ▪ Vypr VPN ▪ Pure VPN 7. Confirming Site’s Security (https vs. http) 8. Phishing Emails and Tips to Avoid Them Tips for Recognising Phishing • Spelling or grammar mistakes. Real companies hire copy editors to check their emails before they go out. • It doesn’t use your name. • It’s from someone you don’t know, or it refers to a transaction that is unfamiliar to you. • It asks for your personal information.
CBLM – Web Design (Student Guide) v.1 Oct 2018 19 Skills for Employment Investment Programme (SEIP)
• It seems too good to be true. Or too bad to be true. • The tone is urgent or even threatening. • The return address of the email or the URL of the link doesn’t look right. For example, instead of taking you to MyBank.com, it goes to MyBank-this-is-real-we-swear.com. • It asks you for money or a donation. • It’s as vague as it can be, and it wants you to click on a link or download a file to find out more. 9. Download Software from Trusted Sources 10. Avoid File-sharing Sites and Torrenting 11. Turn on Two-Factor Authentication Whenever Possible 12. Change Your Passwords After a Breach 13. Consider Using Credit Monitoring 14. Consider Using Extra Anti-Virus Protection & Lock Your Screen 15. Be Prompt about Updating Your Operating System and Software 16. Use Reputable Shopping Sites 17. Don’t Use Unsecured Wi Fi 18. Back Up Your Data
Individual Activity: ▪ Practice using browsers. ▪ Follow issues discussed on the information sheet for efficient browsing.
Self-Check Quiz 1.2.4
Choose the correct answer for the following questions:
1. Which is the best Internet Browser for safe browsing? a. Microsoft Edge (2017 version) b. Google Chrome c. Mozilla Firefox d. All of them
2. Example of Password manager is?
a. KeePass b. LastPass c. Both a and b d. None of them
3. Example of VPN to use for hiding password is? a. Vypr VPN b. Pure VPN c. Both a and b d. None of them
4. Which of the following is not a phishing email? a. It doesn’t use your name. b. It contains message from your supervisor. c. It asks you for money or a donation. d. It seems too good to be true. Or too bad to be true.
CBLM – Web Design (Student Guide) v.1 Oct 2018 20 Skills for Employment Investment Programme (SEIP)
Learning Activity 1.2.5
Learning Activity Resources/Special Instructions/References
Recognise features/options of different web ▪ Information Sheet: 1.2.5 browsers ▪ Self-Check Quiz: 1.2.5 ▪ Answer Key: 1.2.5 ▪ http://www.trustedreviews.com/guide/best-web- browser
Information Sheet 1.2.5
Learning Objective: to recognise features/options of different web browsers.
▪ Features/options of different web browsers:
The web browser is one of, if not the, most-used applications on your computer. Where once Internet Explorer was synonymous with the web, now many people just fire up Chrome without a second thought.
Browser Features/Options
Google Chrome ▪ Since its launch in 2008, Chrome has grown to the point where nearly 60% of desktop users surf using Google’s browser. Key features are: ▪ Deeply integrated with Google services ▪ Decent performance ▪ Easy-to-manage site privacy controls ▪ Loads of add-ons ▪ Excellent sync ▪ Slightly confusing interface Vivaldi Vivaldi was created by former employees of Opera software and, similar to the Opera browser, is designed with customisation in mind. You can tweak this browser to work in a way that suits you, and it’s brimming with innovative features. Key features are: ▪ Incredibly customisable ▪ Tab stacking and tiling ▪ Based on Chromium ▪ Best for power users ▪ A little slow Opera Opera has always been a niche player in the browser market, but loyal users have appreciated its commitment to innovation. It was the first major web browser with tabs. Key features are: ▪ Built-in free VPN ▪ Modest extension library ▪ Good performance ▪ Sync service Microsoft Edge The days when Microsoft’s browsers ruled the roost are long gone. Despite Windows 10 now being installed on nearly a quarter of computers worldwide, only 5% of users prefer Edge – the default Windows 10 browser. Key features are: ▪ Low power consumption ▪ Cortana integration ▪ Web notes ▪ Good performance ▪ Sync is half-baked
CBLM – Web Design (Student Guide) v.1 Oct 2018 21 Skills for Employment Investment Programme (SEIP)
Mozilla Firefox Ten years ago, Firefox was the browser to beat, dwarfing Google’s upstart Chrome. Now the picture is rather different: Chrome is dominant, and Firefox is slipping towards a mere 10% market share. Key features are: ▪ Detailed privacy settings ▪ Customisable ▪ A little slow ▪ Relatively high battery usage
Individual Activity: ▪ Browse and prepare list of web browser with their key features and options. ▪ Share your work in class.
Self-Check Quiz 1.2.5
Answer the following questions by filling-in the blanks:
1. Nearly ____ of desktop users surf using Google chrome. 2. Vivaldi is best for ______users. 3. ______has built-in free VPN 4. Microsoft edge has ______integration. 5. Mozilla Firefox has detailed ______settings.
Learning Activity 1.2.6
Learning Activity Resources/Special Instructions/References
Practice cross browser ▪ Information Sheet: 1.2.6 compatibility of websites ▪ Self-Check Quiz: 1.2.6 ▪ Answer Key: 1.2.6 ▪ https://crossbrowsertesting.com/blog/development/cross- platform-website-development/
Information Sheet 1.2.6
Learning Objective: to practice cross browser compatibility of websites.
▪ Browser compatibility Browser compatibility is the capability or flexibility of a website, web application, script or HTML design to function on different web browsers available in the market. The benefit of creating a website with browser computability is that it improves a website's reach and cuts down on loss in performance. Browser compatibility also can be described as the potential of a web browser to efficiently display the HTML code and carry out the scripts on web pages.
▪ Cross browser compatibility Cross-browser refers to the ability for a website, web application, HTML construct or client-side script to support all the web browsers. The term cross-browser is often confused with multi-browser. Multi-browser
CBLM – Web Design (Student Guide) v.1 Oct 2018 22 Skills for Employment Investment Programme (SEIP) means something works with several web browsers. Cross-browser means something works with all versions of all browsers to have existed since the web began.
▪ Make your website cross browser compatible: When you have everything in place for your website and are preparing to go live, there are several things that need to be checked first. One of those is Cross-Browser Compatibility.
Make sure that you follow the following tips for cross browser compatibility.
▪ Define Valid Doctype The Doctype tells the browser the type of rules you use in your code. If not specified, the browser will start the guessing game which will not end well for your website. Different browsers will make different guesses. ▪ CSS Reset All browsers behave according to their default CSS rules. In order to have the same behaviour on all browsers, you need to define consistent CSS rules. CSS resets force browsers to reset their default rules to null, are quite readily available on the internet and you can easily find one online. ▪ Conditional Comments Conditional comments are used to help overcome display issues with early versions of Internet Explorer. Internet Explorer has long been the bane of website developers, with its inconsistent display model. It is a recommended practice to use conditional comments to take care of this. Through these conditional comments, you will be able to link different style sheets with different browsers. ▪ CSS Frameworks CSS Frameworks are style sheets which offer easier and convenient methods of web designing, as they are mostly cross-browser compatible. Additionally, they will generally contain a grid to allow for responsive design. ▪ Validate Utilize the W3C Validation Service to make sure that your versions of XHTML and HTML are error free. Debugging errors shown in the validator will address many common display issues so that you can work to have a perfect website. ▪ Testing Now, when you have assured browser compatibility, it is time for testing. Test your website in different browsers to see that it works on all of them.
Job Sheet 1.2.6
Job Title Checking cross browser compatibility of a website Instructions ▪ Select a web site (i.e. seip-fd.gov.bd) ▪ Test the site on different browsers (IE, Microsoft Edge, Chrome, Firefox, opera etc.) ▪ Monitor its performance on the browsers. ▪ Note if any difference is noted. ▪ Conclude if the website is cross browser compatible or not. ▪ Share your work in class. Outcome You will be able to decide if the website is cross-browser compatible or not.
CBLM – Web Design (Student Guide) v.1 Oct 2018 23 Skills for Employment Investment Programme (SEIP)
Self-Check Quiz 1.2.6
Answer the following questions by stating whether “True” or “False”.
1. The Doctype tells the browser the type of rules you use in your code. 2. CSS resets force browsers to reset their default rules to null. 3. Conditional comments are used to help overcome display issues with Internet Explorer. 4. Utilise the W3C validation service to ensure your versions of XHTML and HTML are error free.
CBLM – Web Design (Student Guide) v.1 Oct 2018 24 Skills for Employment Investment Programme (SEIP)
Learning Outcome 1.3 – Use Web Design Tools
Contents:
▪ Understand web design language ▪ Use web design platform ▪ Use web design software
Assessment criteria:
1. Web design language is understood. 2. Web design platform is used. 3. Web design software is used.
Resources required:
Students/trainees must be provided with the following resources:
▪ Workplace (simulated or actual) ▪ Personal computer and peripherals ▪ Software (system & applications) ▪ Internet ▪ Pens ▪ Papers
CBLM – Web Design (Student Guide) v.1 Oct 2018 25 Skills for Employment Investment Programme (SEIP)
Learning Activity 1.3.1
Learning Activity Resources/Special Instructions/References
Understand web design language ▪ Information Sheet: 1.3.1 ▪ Self-Check Quiz: 1.3.1 ▪ Answer Key: 1.3.1 ▪ https://www.webakruti.com/list-web-designing-web- development-programming-languages/
Information Sheet 1.3.1
Learning Objective: to understand web design language.
▪ Web design language. Building a website or developing any online product, it’s important to remember that there is no single best language who can able to achieve desired results. While developing any project you must have to understand and analyse the project requirement, based on the specific functionality and features you want.
▪ Basic Web Development Languages HTML and CSS are the two most basic web development languages, and are used to build nearly all webpages on the Internet.
Web design language In brief HTML / HTML 5 Experts say that HTML is the past, present, and future of the web and mobile applications. The HTML stands for Hypertext Mark-up Language was firstly introduced in 1991 by Tim Berners-Lee and after that many updates are done in HTML. HTML was specially written for websites, and which is understood by web browsers like Firefox, Opera, Chrome, Safari, and Internet Explorer. With the help of HTML5 and CSS3, you can build any kind of website you want. CSS / CSS3 CSS stands for the cascading style sheet. CSS manages the presentation of web pages, the way it looks. It always works with HTML. The word “cascading” because we can have multiple style sheets, with one style sheet inheriting properties from others. CSS was first proposed by HakonWium Lie in 1994 and was recommended by W3C in 1996 for using it worldwide with HTML. With CSS we are able to create rules and can apply that rules to many elements within our website. We can say that HTML5 with CSS3 have changed the whole scenario of today’s website designing and made it more passionate for developers. Client-side scripting Actually, when JavaScript was invented at Netscape, its name was JavaScript LiveScript. In May 1995 JavaScript was written in only 10 days by Brendan Eich who was working at Netscape. In December 1995 after receiving trademark license from Sun Microsystems (home of Java), the name JavaScript was adopted. We use JavaScript with HTML and CSS at the front end for validating a form and animating the HTML document. JavaScript makes a web page more interactive. JavaScript is a fascinating language and has its wide end use. JavaScript is world’s most popular and most widely used language. jQuery jQuery is not a language but a well-written JavaScript code. It is nothing but a small, mostly used (near about 65%) JavaScript library. jQuery was originally released in January 2006 by John Resig. It is now maintained by a developer team led by Timmy Willison. By the 2015 jQuery becomes the most widely used JavaScript library on the web. As jQuery is very light weighted, it decreases the loading time of web pages. Because of this, most
CBLM – Web Design (Student Guide) v.1 Oct 2018 26 Skills for Employment Investment Programme (SEIP)
web browsers like Google and Bing uses jQuery. Those who have knowledge of HTML, CSS, and JavaScript can easily use jQuery. Server-side scripting PHP was the world’s fastest web scripting language until now. PHP stands PHP for PHP Hypertext Pre-processor; the first letter of PHP stands for its acronym PHP. PHP was created by Rasmus Lerdorf in 1994. PHP goes in rapid changes and launched its new versions as PHP3 in 1998, PHP4 in 2000 and PHP5 in 2004. Later PHP6 and PHP7 were also launched with other new and enhanced features. MySQL Database systems include MySQL, PostgreSQL, MongoDB, Microsoft SQL Server, Oracle, Sybase, SAP HANA and many others. The database system is generally portable for different DBMS systems as well as incorporated with others system using SQL standard. MySQL system is open for every soft-technology user who wants to work with a flexible and strong database on websites.
Individual Activity: ▪ Select the web design language you want to work with (i.e. HTML, CSS etc.). ▪ Open the language environment. ▪ Note the features of working environment of the languages.
Self-Check Quiz 1.3.1
Write the correct answer for the following:
1. What are the most basic web design languages? 2. Name two client-side scripting language. 3. Write name of two server-side scripting languages.
Learning Activity 1.3.2
Learning Activity Resources/Special Instructions/References
Use web design platform ▪ Information Sheet: 1.3.2 ▪ Self-Check Quiz: 1.3.2 ▪ Answer Key: 1.3.2 ▪ https://www.webdesignrankings.com/the-best-web-design- platforms/
Information Sheet 1.3.2
Learning Objective: to use web design platform.
▪ Web design platform. Web design platforms help you to make your designed website with appropriate infrastructure, layout, goals, and appearance. Here are some most popular web design platforms listed for your reference.
CBLM – Web Design (Student Guide) v.1 Oct 2018 27 Skills for Employment Investment Programme (SEIP)
Web design Platform In brief WordPress WordPress is now arguably the most popular web design platform in the world. It’s easy to use, it’s intuitive, and it has a huge range of different options so that even people who aren’t designers can create good-looking sites. WordPress also comes with a lot of additional features, including: ▪ Free and paid options ▪ Active plug-in marketplace ▪ Simplistic content management system (CMS) ▪ Lots of customization options ▪ Ecommerce capabilities Joomla Joomla is another web design platform that gives you the chance to quickly and easily make changes to your site. It also has a huge user base, like WordPress, and it’s constantly updated with new patches and features to keep it running strong. ▪ Some of Joomla’s most important features include: ▪ Simple CMS ▪ Lots of customization options ▪ Multimedia management ▪ Built-in website search ▪ Automatically responsive for mobile users Overall, Joomla is a reliable and affordable platform that’s used by millions. Magento Magento is a popular web design platform for use with ecommerce, especially. It’s designed to help websites sell products over the Internet as seamlessly as possible. In addition, it’s open-source, which means you can code unique features into your site without any problem or using standardised plug-ins. Magento’s most notable features include: ▪ Free and paid options ▪ Open-source customization ▪ Ecommerce specialization ▪ Huge support community ▪ Direct customer support for users When you use Magento, you get a lot of perks - even if you’re using it for free. Wix Wix is one of the most simplistic web design platforms on the market. It’s almost overly-simply, and it comes with a convenient, what-you-see-is-what- you-get (WISYWIG) layout. You can basically customize individual pages by clicking and dragging, and there’s minimal coding involved. Some of Wix’s key advantages are: ▪ WISYWIG interface ▪ Low learning curve ▪ Free and extremely affordable paid options ▪ Intuitive “Help” options ▪ Extensive template selection The people who use Wix are generally not coders - they’re visually-oriented people who want simple and fast results.
Job Sheet 1.3.2
Job Title Checking cross browser compatibility of a website Instructions ▪ Select a web site (i.e. seip-fd.gov.bd) ▪ Test the site on different browsers (IE, Microsoft Edge, Chrome, Firefox, opera etc.) ▪ Monitor its performance on the browsers. ▪ Note if any difference is noted. ▪ Conclude if the website is cross browser compatible or not.
CBLM – Web Design (Student Guide) v.1 Oct 2018 28 Skills for Employment Investment Programme (SEIP)
▪ Share your work in class. Outcome You will be able to decide if the website is cross-browser compatible or not.
Self-Check Quiz 1.3.2
Write short note on the following:
1. Joomla 2. WordPress 3. Wix
Learning Activity 1.3.3
Learning Activity Resources/Special Instructions/References
Use web design software ▪ Information Sheet: 1.3.3 ▪ Self-Check Quiz: 1.3.3 ▪ Answer Key: 1.3.3 ▪ https://websitesetup.org/web-design-software/ ; https://www.techradar.com/news/best-web-design-software
Information Sheet 1.3.3
Learning Objective: to use web design platform.
▪ Web design software. As a beginner you should keep in mind the following list of web design software and where to select one. Following table will give you a snapshot on the issue.
Do you find yourself thinking Choose one from this list I just want to build a simple website: WordPress I want to communicate with the person building my Balsamiq site better: Lightshot Coggle I want to experiment with web design, but have a WordPress small budget: GIMP Adobe Colour WAMP Chrome DevTools Sublime Text 2 I want the best web design software on the market: WordPress Adobe Photoshop Sketch Balsamiq Chrome DevTools Sublime Text 2
CBLM – Web Design (Student Guide) v.1 Oct 2018 29 Skills for Employment Investment Programme (SEIP)
Individual Activity: ▪ Watch the following video clips: ▪ https://www.youtube.com/watch?v=EgOcq1Dvohk ▪ https://www.youtube.com/watch?v=M4HC4lg0TRw ▪ Note the important issues to follow during practice.
Self-Check Quiz 1.3.3
Write the correct answer for the following:
1. What is the design software used to experiment with web design, but you only have a small budget? 2. Name the software required to build a simple website. 3. What is the software suggested to communicate with the person building the website better?
CBLM – Web Design (Student Guide) v.1 Oct 2018 30 Skills for Employment Investment Programme (SEIP)
Learning Outcome 1.4 - Explain Role of Web Server
Contents:
▪ Identify web server ▪ Define local web server ▪ Explain role of web server
Assessment criteria:
1. Web server is identified. 2. Local web server is defined. 3. Role of web server is explained.
Resources required:
Students/trainees must be provided with the following resources:
▪ Workplace (simulated or actual) ▪ Personal computer and peripherals, software (system and application) ▪ Internet ▪ Pens, papers ▪ Instruction sheet/manual
CBLM – Web Design (Student Guide) v.1 Oct 2018 31 Skills for Employment Investment Programme (SEIP)
Learning Activity 1.4.1
Learning Activity Resources/Special Instructions/References
Identify web server ▪ Information Sheet: 1.4.1 ▪ Self-Check Quiz: 1.4.1 ▪ Answer Key: 1.4.1 ▪ https://www.cyberciti.biz/faq/find-out-remote-webserver-name/
Information Sheet 1.4.1
Learning Objective: to identify web server.
Webserver ▪ A web server is a system that delivers content or services to end users over the internet. A web server consists of a physical server, server operating system (OS) and software used to facilitate HTTP communication. ▪ The primary function of web server is to store, process and deliver web pages to clients. The communication between client and server takes place using the Hypertext Transfer Protocol (HTTP). ▪ A web server is also known as an internet server. ▪ All computers that host Websites must have Web server programs. Leading Web servers include Apache (the most widely-installed Web server), Microsoft's Internet Information Server (IIS) and nginx (pronounced engine X) from NGNIX.
Identify webserver To identify webserver, you can use standard utilities like telnet or curl command. Syntax is: ▪ $ telnet www.vivekgite.com www ▪ $ curl -I http://www.remote-server.com/ ▪ You can use websites likewww.netcraft.com to find the server information of a website. Just go to http://news.netcraft.com/ and type in the site name in the upper left input field that says, "What's that site running?" You will find the server information on the next screen appeared.
Individual Activity: ▪ Apply techniques to find web server of a website. ▪ Practice it several times for different websites. ▪ Note your experience and share to your class.
Self-Check Quiz 1.4.1
Write the missing words for the following:
1. A web server consists of a ______server, server ______and ______used to facilitate HTTP communication. 2. The primary function of a web server is to ______, and ______web pages to clients. 3. A web server is also known as a ______server.
CBLM – Web Design (Student Guide) v.1 Oct 2018 32 Skills for Employment Investment Programme (SEIP)
Learning Activity 1.4.2
Learning Activity Resources/Special Instructions/References
Define local web server ▪ Information Sheet: 1.4.2 ▪ Self-Check Quiz: 1.4.2 ▪ Answer Key: 1.4.2 ▪ https://en.wikipedia.org/wiki/Web_server
Information Sheet 1.4.2
Learning Objective: to define local web server.
▪ Local web server
▪ When you want web server facilities on your computer or LAN, local web server is a solution. Generally, it requires for web developers to test their website before going live on internet. ▪ When developing a website, a web designer needs to be able to see his webpages the same way the end user would. Sometimes simply clicking on and viewing your HTML files in the web browser is enough, but if you want to test dynamic content, you will need to set up a local web server.
▪ Statistics of web server usage
Below are the latest statistics of the market share of all sites of the top web servers on the Internet by W3Techs (https://w3techs.com/technologies/overview/web_server/all).
Product Vendor Percent Apache Apache 45.9% nginx NGINX, Inc. 39.0% IIS Microsoft 9.5% LiteSpeed Web Server LiteSpeed Technologies 3.4% GWS Google 1.0%
Individual Activity: ▪ Search information for Apache, nginx, IIS, LightSpeed and GWS web servers. ▪ Make a list with their necessary information like – OS, root directory, installation, use etc. ▪ Share your findings with your class.
Self-Check Quiz 1.4.2
Write true or false for the following statements:
1. Local web servers provide facilities of web servers on a computer or LAN environment. 2. It is not possible to run dynamic websites on a local web server. 3. The market share of using apache server is about 46%.
CBLM – Web Design (Student Guide) v.1 Oct 2018 33 Skills for Employment Investment Programme (SEIP)
Learning Activity 1.4.3
Learning Activity Resources/Special Instructions/References
Explain role of web server ▪ Information Sheet: 1.4.3 ▪ Self-Check Quiz: 1.4.3 ▪ Answer Key: 1.4.3 ▪ http://kb.bodhost.com/functions-of-a-web-server/
Information Sheet 1.4.3
Learning Objective: to explain role of web server.
▪ Role of web server Major roles of a web server are listed below:
▪ The primary role of a web server is to store, process and deliver web pages to clients. ▪ Support the Hypertext Transfer Protocol (HTTP). ▪ Comply use of multiple web servers for a high traffic website ▪ Respond to communication requests from a user agent, commonly a web browser or web crawler, and generates an error message if request is failed. ▪ While the primary function is to serve content, a full implementation of HTTP also includes ways of receiving content from clients. This feature is used for submitting web forms, including uploading of files. ▪ Many generic web servers also support server-side scripting using Active Server Pages (ASP), PHP, or other scripting languages. ▪ Web servers are used for serving the World Wide Web. ▪ Web servers provide support to use devices such as printers, routers, webcams and serving only a local network. ▪ The web server may be used as a part of a system for monitoring or administering the device in question.
Individual Activity: ▪ Browse and list the functions of a web server. ▪ Share your findings with class. ▪ Update your list from the feedback of your co-learners.
Self-Check Quiz 1.4.3
Write three (3) tasks those can be performed by a web server.
CBLM – Web Design (Student Guide) v.1 Oct 2018 34 Skills for Employment Investment Programme (SEIP)
Learning Outcome 1.5 - Explain Role of Database Server
Contents:
▪ Define database server ▪ Identify roles of database server ▪ Explain role of database server
Assessment criteria:
1. Database server is defined. 2. Roles of database server are identified. 3. Role of database server is explained.
Resources required:
Students/trainees must be provided with the following resources:
▪ Workplace (simulated or actual) ▪ Personal computer and peripherals, software (system and application) ▪ Internet ▪ Pens, paper ▪ Instruction sheet/manual
CBLM – Web Design (Student Guide) v.1 Oct 2018 35 Skills for Employment Investment Programme (SEIP)
Learning Activity 1.5.1
Learning Activity Resources/Special Instructions/References
Define database server ▪ Information Sheet: 1.5.1 ▪ Self-Check Quiz: 1.5.1 ▪ Answer Key: 1.5.1 ▪ https://www.computerhope.com/jargon/d/database-server.htm
Information Sheet 1.5.1
Learning Objective: to define database server.
▪ Database server:
A database server is a computer system that provides other computers with services related to accessing and retrieving data from a database.
Access to the database server may occur via a "front end" running locally a user's machine (e.g., phpMyAdmin), or "back end" running on the database server itself, accessed by remote shell.
After the information within the database is retrieved it is outputted to the user requesting the data.
The database server is independent of the database architecture. Relational databases, flat files, non-relational databases: all these architectures can be accommodated on database servers.
Example: Microsoft SQL Server or MySQL
Individual Activity: ▪ Browse and list the functions of a database server. ▪ Run a database server and note the features of working environment. ▪ Share your findings with class. ▪ Update your list from the feedback of your co-learners.
Self-Check Quiz 1.5.1
Write the correct answer for the following:
1. What is a database server? 2. How does access to a database occur? 3. Give example of database server.
CBLM – Web Design (Student Guide) v.1 Oct 2018 36 Skills for Employment Investment Programme (SEIP)
Learning Activity 1.5.2
Learning Activity Resources/Special Instructions/References
Identify roles of database server ▪ Information Sheet: 1.5.2 ▪ Self-Check Quiz: 1.5.2 ▪ Answer Key: 1.5.2 ▪ https://www.computerhope.com/jargon/d/database-server.htm
Information Sheet 1.5.2
Learning Objective: to define database server.
▪ Role of Database server:
Major roles of database server are:
▪ Check authorization. ▪ Accepts and processes databaw3 requests from clients. ▪ Ensures integrity constraints not violated. ▪ Perform query/update processing and transmits response to client. ▪ Provides concurrent database access, transaction management, and recovery control.
Individual Activity: ▪ Browse and list the role of a database server ▪ Share your findings with class. ▪ Update your list from the feedback of your co-learners.
Self-Check Quiz 1.5.2
Write four (4) roles of a database server.
Learning Activity 1.5.3
Learning Activity Resources/Special Instructions/References
Explain role of database server ▪ Information Sheet: 1.5.3 ▪ Self-Check Quiz: 1.5.3 ▪ Answer Key: 1.5.3 ▪ https://www.computerhope.com/jargon/d/database-server.htm
Information Sheet 1.5.3
Learning Objective: to define database server.
CBLM – Web Design (Student Guide) v.1 Oct 2018 37 Skills for Employment Investment Programme (SEIP)
▪ Database server roles: ▪ Databases have pre-defined roles that allow role members to perform a certain set of activities within the database. ▪ Built-in database roles exist in every database and cannot be dropped. ▪ At the database level security is managed by members of the db_owner and db_securityadmin roles. ▪ Db_securityadmin can add users to all other roles except db_owner. ▪ Built-in database roles include the following:
Role Name Description Recommended For Database owner. Members of this role can In development/test environment all create, alter or drop the database and developers should be database owners. perform any other action In production environment, only database (read/write/modify objects) within the administrators. Db_owner database. Just as members of SYSADMIN can perform any operation within the server members of db_owner can perform any operation within the database. Built-in role that all logins belong to All users are automatically granted automatically when they are granted membership in public role. permission to connect to the database. Public Note that you cannot remove a user from public role. Take special care therefore, to limit permissions granted to the public role to bare minimum. Security administrators within the Database administrators in charge of database. Members of this role can granting object and statement execute GRANT, REVOKE, DENY permissions. Db_securityadmin statements, add and remove users to roles; add new roles and drop existing roles; change object ownership. Database access administrators can add Database administrators in charge of and remove users from the database, granting object and statement Db_accessadmin grant and revoke database access from permissions. existing users. Members of this role can perform database Physical database administrators. These backups, transaction log backups and can are folks that only wish to backup and Db_backupoperator execute CHECKPOINT statement. restore databases and want to take no However, they're not allowed to restore part (or cannot be trusted for) in rest of database. the administrative functions. Members of this role can read data from Users that only need to read data. These Db_datareader any table in the database. can't make any changes to data unless explicitly granted the permission to do so. Data writers can INSERT, UPDATE and Users that need to make changes to data, Db_datawriter DELETE data from any table in the but should not change database schema database. or settings. DDL (data definition language) Database administrators in charge of administrators can create, alter or drop developing database objects and database objects. Members of this role administering indexes and full-text can set table options, change object search. Db_ddladmin ownership, truncate table data, examine index statistics and fragmentation; implement full-text search and reclaim space from a table that was truncated. Members of this role cannot read data from Combination of db_denydatareader and Db_denydatareader any table in the database. dbdenydatawriter effectively prevents user from doing anything within the
CBLM – Web Design (Student Guide) v.1 Oct 2018 38 Skills for Employment Investment Programme (SEIP)
database. This is a great way of limiting a particular member of Windows group to bare ability to connect to the database without revoking any permissions to the group itself. Members of this role cannot INSERT / See db_denydatareader above. enydatawriter UPDATE / DELETE records in any table in the database.
Individual Activity: ▪ Practice the role of a database server ▪ Share your findings with class. ▪ Your trainer will guide you to work with database server.
Self-Check Quiz 1.5.3
Fill in the blanks of the following statements:
1. Databases have ______roles that allow role of members to perform a certain set of activities within the database. 2. Database roles exist in every database ______and cannot be dropped. 3. At the database level security is managed by members of the ______and ______roles. 4. ______and ______can add users to all other roles except.
CBLM – Web Design (Student Guide) v.1 Oct 2018 39 Skills for Employment Investment Programme (SEIP)
REVIEW OF COMPETENCY
Final Checklist (for the performance criteria of the module Performing Distempering)
Performance Criteria Yes No 1. Client server architecture/structure is identified.
2. Different types of network and their functionality is identified. 3. Different types of website are categorised. 4. Web browser is identified 5. Different types of web browser are introduced.
6. Installation and usage of different web browsers is demonstrated.
7. Working with a web browser is explained.
8. Features/options of different web browsers are recognized.
9. Cross browser compatibility of websites is practiced.
10. Web design language is understood.
11. Web design platform is used.
12. Web design software is used.
13. Web server is identified.
14. Local web server is defined.
15. Role of web server is explained.
16. Database server is defined.
17. Roles of database server are identified.
18. Role of database server is explained
Now I feel ready to undertake my formal competency assessment.
Signed: ______
Date: ______
CBLM – Web Design (Student Guide) v.1 Oct 2018 40 Skills for Employment Investment Programme (SEIP)
ANSWER KEYS
ANSWER KEY 1.1.1
1. In simplest form, a server is a connection point for several clients, that will handle their requests. 2. A client is software that (usually) connects to the server to perform actions.
ANSWER KEY 1.1.2
1. True 2. True 3. False 4. True 5. True
ANSWER KEY 1.1.3
1. The algorithm of search engines is such that it will try and show you only those results which are popular and trending in market close to your geographic location. 2. Blogs, Fitness, Government, News and Media, People and society
ANSWER KEY 1.2.1
1. Hard hat/safety helmet 2. Goggles/safety glasses/eye protector 3. Dust mask 4. Working cloth/apron 5. Belt/body harness 6. Hand gloves 7. Safety shoes/footwear/boots
ANSWER KEY 1.2.2
1. Safari is a web browser developed by Apple Inc. and included in Mac OS X. It was first released as a public beta in January 2003. Safari has very good support for latest technologies like XHTML, CSS2 etc. 2. This web browser is developed by Google and its beta version was first released on September 2, 2008 for Microsoft Windows. Today, chrome is known to be one of the most popular web browsers with its global share of more than 50%. 3. Opera is smaller and faster than most other browsers, yet it is full- featured. Fast, user-friendly, with keyboard interface, multiple windows, zoom functions, and more. Java and non-Java-enabled versions available. Ideal for newcomers to the Internet, school children, handicap and as a front-end for CD-ROM and kiosks. 4. Internet Explorer (IE) is a product from software giant Microsoft. This is the most commonly used browser in the universe. This was introduced in 1995 along with Windows 95 launch and it has passed Netscape popularity in 1998.
ANSWER KEY 1.2.3
1. Most of the web browsers are free to download. We will find by browsing on the internet. 2. The general steps of installing web browsers are: ▪ Select the browser ▪ Search in the internet for the installation pack ▪ Download (free or purchased) the installation pack from internet ▪ Run the installer
CBLM – Web Design (Student Guide) v.1 Oct 2018 41 Skills for Employment Investment Programme (SEIP)
▪ Follow the instruction appeared ▪ Finish and restart computer before using it.
ANSWER KEY 1.2.4
1. D 2. C 3. C 4. B
ANSWER KEY 1.2.5
1. 60% 2. Power 3. Opera 4. Cortana 5. Privacy
ANSWER KEY 1.2.6
1. True 2. True 3. False 4. True
ANSWER KEY 1.3.1
1. HTML5, CSS3. 2. JavaScript, jQuery 3. PHP, MySQL
ANSWER KEY 1.3.2
1. Joomla is a web design platform that gives you the chance to quickly and easily make changes to your site. It has a huge user base and it’s constantly updated with new patches and features to keep it running strong. It has an extensions system that works similarly to WordPress’s plug-ins, meaning it can be download extra features to customize site. Joomla is a reliable and affordable platform. 2. WordPress is the most popular web design platform in the world. It’s easy to use, it’s intuitive, and it has a huge range of different options so that even people who aren’t designers can create good-looking sites. This platform is excellent for first-timers who want to take a hands-on approach to their website’s design and content. 3. Wix is one of the most simplistic web design platforms on the market. It’s almost overly-simply, and it comes with a convenient, what-you-see-is-what-you-get (WISYWIG) layout. One can basically customise individual pages by clicking and dragging, and there’s minimal coding involved. Wix is great for companies that want a professional site that they can change with minimal input.
ANSWER KEY 1.3.3
1. WordPress, GIMP, Adobe Color, WAMP, Chrome DevTools, Sublime Text 2 2. WordPress 3. Balsamiq, Lightshot, Coggle
ANSWER KEY 1.4.1
1. Physical, operating system (OS), software 2. Store, process, deliver 3. Internet
ANSWER KEY 1.4.2
1. True
CBLM – Web Design (Student Guide) v.1 Oct 2018 42 Skills for Employment Investment Programme (SEIP)
2. False 3. True
ANSWER KEY 1.4.3
1. The primary role of a web server is to store, process and deliver web pages to clients. 2. Support the Hypertext Transfer Protocol (HTTP). 3. Respond to communication requests from a user agent, commonly a web browser or web crawler, and generates an error message if request is failed.
ANSWER KEY 1.5.1
1. A database server is a computer system that provides other computers with services related to accessing and retrieving data from a database. The database server is independent of the database architecture. Relational databases, flat files, non-relational databases: all these architectures can be accommodated on database servers. 2. Access to the database server may occur via a "front end" running locally a user's machine (e.g., phpMyAdmin), or "back end" running on the database server itself, accessed by remote shell. After the information within the database is retrieved it is outputted to the user requesting the data. 3. Microsoft SQL Server, MySQL.
ANSWER KEY 1.5.2
1. Check authorisation. 2. Accepts and processes databaw3 requests from clients. 3. Ensures integrity constraints not violated. 4. Perform query/update processing and transmits response to client.
ANSWER KEY 1.5.3
1. Pre-defined 2. Built-in 3. db_owner, db_securityadmin 4. Db_securityadmin, db_owner
CBLM – Web Design (Student Guide) v.1 Oct 2018 43 Skills for Employment Investment Programme (SEIP)
Module 2: Setting up development environment
MODULE CONTENT
Module Descriptor: This module contains information and activities to set up development environment. It specifically includes the tasks of installing local web server, working with the tools of web server and installing FTP clients.
Nominal Duration: 10 hours
Learning Outcomes:
Upon completion of the module, the trainee should be able to:
2.1 Install local web server 2.2 Work with the tools of web server 2.3 Install FTP clients
Performance Criteria:
1. Tools and OS platform needed to install for local web server is identified. 2. Local web server is installed. 3. Local web server is recognised. 4. Local web server to test website performance is started. 5. Debugger is defined. 6. IDE (Integrated Development Environment), debugger, source control, source code is explained. 7. FTP (File Transfer Protocol) client is installed. 8. FTP client is recognised. 9. FTP clients are used to upload or move files to web server.
CBLM – Web Design (Student Guide) v.1 Oct 2018 44 Skills for Employment Investment Programme (SEIP)
Learning Outcome 2.1 - Install Local Web Server
Contents:
▪ Identify tools and OS platform needed to install for local web server ▪ Install local web server ▪ Recognize local web server ▪ Start local web server to test website performance
Assessment criteria:
1. Tools and OS platform needed to install for local web server is identified. 2. Local web server is installed. 3. Local web server is recognised. 4. Local web server to test website performance is started.
Resources required:
Students/trainees must be provided with the following resources: ▪ Workplace (simulated or actual) ▪ Personal computer and peripherals ▪ Software (system & applications) ▪ Internet ▪ Stationery ▪ Instruction sheet/manual
CBLM – Web Design (Student Guide) v.1 Oct 2018 45 Skills for Employment Investment Programme (SEIP)
Learning Activity 2.1.1
Learning Activity Resources/Special Instructions/References
Identify tools and OS platform needed to ▪ Information Sheet: 2.1.1 install for local web server ▪ Self-Check Quiz: 2.1.1 ▪ Answer Key: 2.1.1 ▪ https://stackoverflow.com/questions/8664901/what-is- the-difference-between-xampp-or-wamp-server- iis/35099015
Information Sheet 2.1.1
Learning Objective: to identify tools and OS platform needed to install for local web server.
▪ Identify tools and OS Platform needed to install for Local web server:
You will need at least one computer for stand-alone local web server. You may apply it to a LAN environment. But as an individual web designer, it might be costly to maintain a LAN for designing websites
▪ Operating systems (OS):
Most commonly used operating systems on computers and laptops are: - Windows (7, 8, 10) - Windows server - MacOS - Unix - Linux
▪ Server tools:
There are many tools are available for web servers. Here some most popular tools are listed for your reference. Tools Features LAMP SERVER 1. Full form of LAMP is Linux, Apache, MySQL and PHP. 2. This is an open source platform. 3. LAMP Server is work on Linux Operating System only. 4. LAMP is a combine package of Linux, Apache, MySQL and PHP. 5. Apache is the web server 6. Mysql is the relational database management system. 7. PHP is the object-oriented scripting language. WAMP SERVER 1. Full form of WAMP is Windows, Apache, MySQL and PHP. 2. This is an open source platform. 3. WAMP Server is work on Windows Operating System only. 4. LAMP is a combine package of Windows, Apache, MySQL and PHP. 5. Apache is the web server 6. Mysql is the relational database management system. 7. PHP is the object-oriented scripting language. MAMP SERVER 1. Full form of MAMP is MAC, Apache, MySQL and PHP. 2. This is an open source platform. 3. MAMP Server is work on MAC Operating System only. 4. LAMP is a combine package of MAC, Apache, MySQL and PHP. 5. Apache is the web server 6. Mysql is the relational database management system.
CBLM – Web Design (Student Guide) v.1 Oct 2018 46 Skills for Employment Investment Programme (SEIP)
7. PHP is the object-oriented scripting language. XAMPP SERVER 1. xampp stands for x-os, apache, mysql, php,perl. 2. This is an open source platform. 3. X-OS means it can be used for any operating system. 4. XAMPP for major operating system including windows, mac, Linux. 5. XAMPP come with additional features including support of perl, filezilla, mercury mail and some scripts. IIS 1. IIS is a web-server application just like Apache is, except it's made by Microsoft and is Windows only. 2. IIS is more geared towards using ASP.NET and "SQL Server", it can use PHP and MySQL too. 3. IIS (Internet Information Server) is one of the most powerful web servers from Microsoft that is used to host your Web application. 4. IIS has its own Process Engineto handle the request. So, when a request comes from client to server, IIS takes that request and process it and send response back to clients. LARAGON 1. It is High performance local development environment. https://laragon.org/ 2. Laragon is easy to install, easy to use, easy to extend & easy to operate. 3. Work with your "app" using this nice, short, beautiful url: http://app.test instead of http://localhost/app 4. Laragon is isolated & portable. It is well-known in the PHP Community but also is used for MEAN, Ruby on Rails, Django, Flask, Java, Go. 5. Laragon works out of the box with not only MySQL/MariaDB but also PostgreSQL & MongoDB. With Laragon, they are portable and reliable, so you can focus on what matters. Local by flywheel 1. A fuss-free way to install WordPress locally. Local.getflywheel.com 2. Flywheel is fast and functional, so we brought those features to the slickest local WordPress development application in the world. 3. Show off your latest work! Create shareable URLs to demo your local WordPress sites to clients, collaborators, friends, or adoring fans. 4. Local by Flywheel offers simple root SSH access to individual sites, so you can tinker around if your heart desires. 5. Any site created via Local by Flywheel will automatically have a self-signed certificate created. Green padlock achieved! 6. Hot-swap between NGINX or Apache 2.4, or switch between PHP versions. Everything will stay up and running.
Individual Activity: ▪ Identify OS on your computer. ▪ Browse internet and choose appropriate tool for web server on your computer. ▪ Your trainer will guide you to choose the tool.
Self-Check Quiz 2.1.1
Write the correct answer for the following: 1. Write name of three (3) operating systems. 2. Write name of three (3) tools for web servers of three (3) different operating systems.
CBLM – Web Design (Student Guide) v.1 Oct 2018 47 Skills for Employment Investment Programme (SEIP)
Learning Activity 2.1.2
Learning Activity Resources/Special Instructions/References
Install local Web server ▪ Information Sheet: 2.1.2 ▪ Self-Check Quiz: 2.1.2 ▪ Answer Key: 2.1.2 ▪ https://www.maketecheasier.com/setup-local-web- server-all-platforms/
Information Sheet 2.1.2
Learning Objective: to install web server.
▪ Installing local web server on Linux, Mac and Windows:
When developing a website, a web designer needs to be able to see his webpages the same way the end user would. Sometimes simply clicking on and viewing your HTML files in the web browser is enough, but if you want to test dynamic content, you will need to set up a local web server. Doing this is quite simple and can easily be accomplished on Windows, Mac, and Linux. There are many types of web servers available, but we will be using Apache as it is the most common server around, very easy to set up, and compatible with all major operating systems.
Job Sheet 2.1.2
Job Title Install webserver Instructions For Windows: There are several install wizards that bundle things like Apache, MySQL, and PHP together. One of them is XAMPP. XAMPP is available for Linux and Mac OS X too. ▪ Download the Windows version of XAMPP and begin installation. Execute the installer when prompted. You can select only Apache if all you need is a web server. However, if you are planning on using a database, you may want to select MySQL as well. ▪ Continue through the installation and click “Finish” when complete. By default, the XAMPP control panel will be launched. ▪ Click “Start” for Apache and MySQL if needed. If you navigate to “127.0.0.1” or “localhost” in your web browser, you should see the XAMPP configuration page. Linux: ▪ Apache was designed for Unix-like operating systems. Linux falls under this category, and installation and configuration of Apache webserver can be done in one step. ▪ Most popular distributions allow you to install Apache without compiling it from source using one simple command. ▪ For Debian, Ubuntu, and Ubuntu-based distro: sudoapt-get install apache2 ▪ For Red Hat and CentOS sudoyuminstallhttpd
CBLM – Web Design (Student Guide) v.1 Oct 2018 48 Skills for Employment Investment Programme (SEIP)
▪ Once installed, in your web browser, navigate to either “127.0.0.1” or “localhost.” If it displays “It Works!” that means your Apache installation is successful. Mac OS X The good thing about Mac OS X is that Apache is installed by default. All you need to do is turn it on. ▪ In Finder, go to “Applications -> Utilities”. ▪ Then double click on Terminal to open it. To turn on your already pre-installed Apache web server, run the following command: sudoapachectl start To test that our web server is running, navigate to “127.0.0.1” or “localhost” in your web browser. Outcome You will be able to install webserver.
Self-Check Quiz 2.1.2
Write the correct answer for the following: 1. What is the syntax of installing apache server to Ubuntu? 2. Write the syntax to install apache server on RedHat? 3. How will you test if the web server is installed correctly or not?
Learning Activity 2.1.3
Learning Activity Resources/Special Instructions/References
Recognize local web server ▪ Information Sheet: 2.1.3 ▪ Self-Check Quiz: 2.1.3 ▪ Answer Key: 2.1.3 ▪ https://www.maketecheasier.com/setup-local-web- server-all-platforms/
Information Sheet 2.1.3
Learning Objective: to recognize local web server.
▪ Recognize local web server:
After installation of local web server:
Once installed, in your web browser, navigate to either “127.0.0.1” or “localhost.” If it displays “It Works!” that means your local web server - Apache installation is successful.
CBLM – Web Design (Student Guide) v.1 Oct 2018 49 Skills for Employment Investment Programme (SEIP)
Any time: You can check this any time to be sure that the local serve is installed and active.
In case of windows: If you navigate to “127.0.0.1” or “localhost” in your web browser, you should see the XAMPP configuration page.
Individual Activity: ▪ Check if your computer has the web server installed. ▪ Share your experience to class.
Self-Check Quiz 2.1.3
How will you check for the web server on your operating system?
Learning Activity 2.1.4
Learning Activity Resources/Special Instructions/References
Start local web server to test website ▪ Information Sheet: 2.1.4 performance ▪ Self-Check Quiz: 2.1.4 ▪ Answer Key: 2.1.4 ▪ https://make.wordpress.org/core/handbook/tutorials/installing- a-local-server/xampp/ ▪ https://mrcoles.com/how-start-local-web-server-view-html- files/
CBLM – Web Design (Student Guide) v.1 Oct 2018 50 Skills for Employment Investment Programme (SEIP)
Information Sheet 2.1.4
Learning Objective: to start local web server to test website performance.
▪ Start local web server to test website performance:
Once installed, generally webservers are started, by default, with your OS. If not, you need to start the service.
Job Sheet 2.1.4
Job Title Starting webserver (XAMPP) Instructions ▪ Run xampp application from installed folder or desktop shortcut icon. The xampp control panel will appear. ▪ The XAMPP Control Panel allows you to manually start and stop Apache and MySQL, or install them as services. ▪ To start Apache or MySQL manually, click the Start button under Actions next to that module. Outcome You will be able to start webserver.
Self-Check Quiz 2.1.4
How will you start web server manually in windows operating system?
CBLM – Web Design (Student Guide) v.1 Oct 2018 51 Skills for Employment Investment Programme (SEIP)
Learning Outcome 2.2 - Work with the Tools of Web Server
Contents:
▪ Define debugger ▪ Explain IDE (Integrated Development Environment), debugger, source control, source code
Assessment criteria:
1. Debugger is defined. 2. IDE (Integrated Development Environment), debugger, source control, source code is explained.
Resources required:
Students/trainees must be provided with the following resources: ▪ Workplace (simulated or actual) ▪ Personal computer and peripherals ▪ Software (system & applications) ▪ Internet ▪ Stationery ▪ Instruction sheet/manual
CBLM – Web Design (Student Guide) v.1 Oct 2018 52 Skills for Employment Investment Programme (SEIP)
Learning Activity 2.2.1
Learning Activity Resources/Special Instructions/References
Define debugger ▪ Information Sheet: 2.2.1 ▪ Self-Check Quiz: 2.2.1 ▪ Answer Key: 2.2.1 ▪ https://www.templatemonster.com/blog/web- debugging-tools-and-resources/
Information Sheet 2.2.1
Learning Objective: to identify tools and OS platform needed to install for local web server.
▪ Bug, Debugging:
Bug: In computer technology, a bug is a coding error in a computer program (here we consider a program to also include the microcode that is manufactured into a microprocessor). The process of finding bugs before program users do is called debugging.
Debugging is the routine process of locating and removing computer program bugs, errors or abnormalities, which is methodically handled by software programmers via debugging tools. Debugging checks, detects and corrects errors or bugs to allow proper program operation according to set specifications.
▪ Debugger:
A debugger or debugging tool is a computer program that is used to test and debug other programs (the "target" program). The code to be examined might alternatively be running on an instruction set simulator (ISS), a technique that allows great power in its ability to halt when specific conditions are encountered.
▪ Tools for Code Validation
Some debugging tools are listed here:
Debug Tool Window (https://www.jetbrains.com/help/idea/debug-tool-window.html) ▪ W3C's HTML Validator(https://addons.opera.com/en/extensions/details/validator/) ▪ W3C'sMarkup Validation Service (http://validator.w3.org/) ▪ W3C'sCSS Validation Service (http://jigsaw.w3.org/css-validator/) ▪ Validity (https://chrome.google.com/webstore/detail/validity/bbicmjjbohdfglopkidebfccilipgeif?hl=en-GB)
Individual Activity: ▪ Open and check debugging tools. ▪ Study the working environment of debuggers and note key issues. ▪ Your trainer will guide you to choose the tool.
CBLM – Web Design (Student Guide) v.1 Oct 2018 53 Skills for Employment Investment Programme (SEIP)
Self-Check Quiz 2.2.1
Write short note on the following:
1. Bug 2. Debugging 3. Debugger
Learning Activity 2.2.2
Learning Activity Resources/Special Instructions/References
Explain IDE (Integrated Development ▪ Information Sheet: 2.2.2 Environment), debugger, source control, ▪ Self-Check Quiz: 2.2.2 source code ▪ Answer Key: 2.2.2 ▪ https://stackify.com/top-integrated-developer- environments-ides/ ▪ https://www.templatemonster.com/blog/web- debugging-tools-and-resources/
Information Sheet 2.2.2
Learning Objective: to identify tools and OS platform needed to install for local web server.
▪ IDE (integrated development environment):
▪ An integrated development environment (IDE) is a software suite that consolidates the basic tools developers need to write and test software. Typically, an IDE contains a code editor, a compiler or interpreter and a debugger that the developer accesses through a single graphical user interface (GUI). An IDE may be a standalone application, or it may be included as part of one or more existing and compatible applications.
▪ Popular IDE tools include NetBeans, Eclipse, IntelliJ, Visual Studio and Windows PowerShell.
▪ Debugger:
▪ A debugger or debugging tool is a computer program that is used to test and debug other programs (the "target" program). The code to be examined might alternatively be running on an instruction set simulator (ISS), a technique that allows great power in its ability to halt when specific conditions are encountered. but which will typically be somewhat slower than executing the code directly on the appropriate (or the same) processor. Some debuggers offer two modes of operation - full or partial simulation - to limit this impact.
▪ Typically, debuggers offer a query processor, a symbol resolver, an expression interpreter, and a debug support interface at its top level.
▪ Some debuggers have the ability to modify program state while it is running. It may also be possible to continue execution at a different location in the program to bypass a crash or logical error.
CBLM – Web Design (Student Guide) v.1 Oct 2018 54 Skills for Employment Investment Programme (SEIP)
▪ The same functionality which makes a debugger useful for eliminating bugs allows it to be used as a software cracking tool to evade copy protection, digital rights management, and other software protection features.
▪ Source control
A component of software configuration management, source control, also known as revision control or version control, is the management of changes to documents, computer programs, large web sites, and other collections of information. Changes are usually identified by a number or letter code, termed the "revision number", "revision level", or simply "revision". For example, an initial set of files is "revision 1". When the first change is made, the resulting set is "revision 2", and so on. Each revision is associated with a timestamp and the person making the change. Revisions can be compared, restored, and with some types of files, merged.
▪ Source code:
Source code is the fundamental component of a computer program that is created by a programmer. It can be read and easily understood by a human being. For example, when a programmer types a sequence of C language statements into Windows Notepad and saves the sequence as a text file, the text file is said to contain the source code.
Many different programs exist to create source code. Here is an example of the source code for a Hello World program in C language: /* Hello World program */ #includeThis is heading 1
This is heading 2
This is heading 3
This is a paragraph.
This is another paragraph.
Individual Activity: ▪ Browse and list different IDE software and their characteristics. ▪ Browse and study source codes for different web sites/pages. ▪ Find the applied source control codes.
CBLM – Web Design (Student Guide) v.1 Oct 2018 55 Skills for Employment Investment Programme (SEIP)
Self-Check Quiz 2.2.2
Fill-in the blanks with the appropriate words: 1. An IDE contains a ______, ______or ______and a ______. 2. Popular IDE tools include ______, Eclipse, ______, Visual Studio and ______. 3. Debuggers offer a query processor, a ______, an expression interpreter, and an ______interface at its level. 4. Source control, also known as ______control or ______control. 5. ______is the fundamental component of a computer program that is created by a programmer.
CBLM – Web Design (Student Guide) v.1 Oct 2018 56 Skills for Employment Investment Programme (SEIP)
Learning Outcome 2.3 - Install FTP Clients
Contents:
▪ Install FTP (File Transfer Protocol) client ▪ Recognize FTP client ▪ Use FTP clients to upload or move files to web server
Assessment criteria:
1. FTP (File Transfer Protocol) client is installed. 2. FTP client is recognised. 3. FTP clients are used to upload or move files to web server.
Resources required:
Students/trainees must be provided with the following resources: ▪ Workplace (simulated or actual) ▪ Personal computer and peripherals ▪ Software (system & applications) ▪ Internet ▪ Stationery ▪ Instruction sheet/manual
CBLM – Web Design (Student Guide) v.1 Oct 2018 57 Skills for Employment Investment Programme (SEIP)
Learning Activity 2.3.1
Learning Activity Resources/Special Instructions/References
Install FTP (File Transfer ▪ Information Sheet: 2.3.1 Protocol) client ▪ Self-Check Quiz: 2.3.1 ▪ Answer Key: 2.3.1 ▪ https://www.uvic.ca/systems/support/web/personalwebhosting/ftp.php ▪ https://www.siteground.com/tutorials/ftp/client/
Information Sheet 2.3.1
Learning Objective: to install FTP (File Transfer Protocol) client.
▪ FTP:
FTP is an acronym for File Transfer Protocol. As the name suggests, FTP is used to transfer files between computers on a network. You can use FTP to exchange files between computer accounts, transfer files between an account and a desktop computer, or access online software archives. Generally, you will use FTP to transfer your developed website to the hosting space of your registered domain name.
▪ FTP Client Software:
An FTP Client is a software designed to transfer files back-and-forth between a computer and a server over the Internet. It needs to be installed on your computer and can only be used with a live connection to the Internet. Example of FTP client software: FileZilla, Cyberduck, Transmit etc.
Job Sheet 2.3.1
Job Title Installing FTP client Instructions ▪ Select FTP client software (like FileZilla, Cyberduck, or Transmit etc.) ▪ Search for the installation pack on internet and download it. ▪ Run the installation pack. ▪ Follow the instructions appeared on the screen. ▪ Finish when installation is completed. ▪ Restart your computer for better performance of the installed application. Outcome You will be able to install FTP client.
Self-Check Quiz 2.3.1
Write short note on followings: 1. FTP 2. FTP client
CBLM – Web Design (Student Guide) v.1 Oct 2018 58 Skills for Employment Investment Programme (SEIP)
Learning Activity 2.3.2
Learning Activity Resources/Special Instructions/References
Recognize FTP client ▪ Information Sheet: 2.3.2 ▪ Self-Check Quiz: 2.3.2 ▪ Answer Key: 2.3.2 ▪ https://sg.godaddy.com/help/how-do-i-test-my-ftp- connection-via-the-command-line-in-windows-or- macosx-1786
Information Sheet 2.3.2
Learning Objective: to recognize FTP client.
▪ Recognize FTP client:
To test your FTP connection using the command line, follow these steps. ▪ Open a command line interface: o In Windows, click Start, then Run. In the Run dialog box type cmd and click OK. o In MacOSX open a Terminal window. ▪ On the command line: o In Windows, type dir> file.txt and hit the Enter key. o In MacOSX, type ls > file.txt and hit the Enter key. This creates a file to test transferring data to your account. ▪ At the command prompt type ftp your hosting IP address and hit Enter. If you are unsure of what your hosting account IP address is, you can find it listed under the Account Summary section of your Hosting Control Panel. You should now see a prompt for your login or user name.
▪ Login with your hosting account username and password. This should result in a User OK/ Logged in response. o Test uploading and downloading a file: To upload a file, type put file.txt and hit the Enter key. This should result in a Transfer Complete response. o To download a file, type get file.txt and hit the Enter key. This should also result in the Transfer Complete response. ▪ To close the connection, type quit and hit the Enter key. Then close the window.
If this process was successful, but your FTP program is still not working properly, the most common reason it does not work include: ▪ Connectivity, including Firewall settings ▪ Conflicting software, virus, adware, spyware, etc. ▪ Corrupted Software ▪ Usability issues/improper settings. Verify the proper use of the given FTP program via its 'help' menu or contacting the software vendor's customer support.
Individual Activity: ▪ Set up/collect FTP account. ▪ Check and use FTP client. ▪ Your trainer will guide you to carry on this activity.
CBLM – Web Design (Student Guide) v.1 Oct 2018 59 Skills for Employment Investment Programme (SEIP)
Self-Check Quiz 2.3.2
Write the three (3) most common reasons why FTP does not work.
Learning Activity 2.3.3
Learning Activity Resources/Special Instructions/References
Use FTP clients to upload or move files to ▪ Information Sheet: 2.3.3 web server ▪ Self-Check Quiz: 2.3.3 ▪ Answer Key: 2.3.3 ▪ https://www.youtube.com/watch?v=vQhypzKAVCU ▪ https://www.youtube.com/watch?v=aRoI4qRWSNg ▪ https://www.youtube.com/watch?v=XUmfXTnFMuw
Information Sheet 2.3.3
Learning Objective: to use FTP clients to upload or move files to web server.
▪ Use of FTP Client: Once you have the details required, as well as an FTP client, you can use it to transfer, modify or delete files on your WordPress site. This gives you more power since you will also be able to access files such as wp-config.php which are inaccessible from the WordPress dashboard.
The default directory is generally /public_html/
▪ Transfer files using FileZilla 1. Run FileZilla. 2. Enter the host name (e.g. ftp.blogvault.org). 3. Enter the username (e.g. [email protected]) and its corresponding password. 4. Click QuickConnect. 5. Drag the required files from the left-hand panel to the one on the right.
To remove files from your site using FileZilla, follow steps 1-4, and then select the files to be deleted from your site and press the ‘Delete’ on your keyboard.
If you’d like to modify or edit files on your site, you will have to do it offline, and then transfer the files using steps 1-4.
FTP is the most secure way of transferring sensitive information.
Job Sheet 2.3.3
Job Title Upload a File using the File Manager Instructions ▪ Login to cPanel. ▪ Under Files, click File Manager. ▪ Select Web Root and Show Hidden Files, then click Go.
CBLM – Web Design (Student Guide) v.1 Oct 2018 60 Skills for Employment Investment Programme (SEIP)
▪ Click to open the folder to which you'd like to upload files. ▪ Click Upload from the top toolbar. ▪ Click Browse (some web browsers will have Choose File instead). ▪ Select the file on your computer that you wish to upload. ▪ Once the file has been selected, it will automatically upload. You may select additional files while uploads are in progress. Outcome You will be able to upload a file to your website using file manager.
Self-Check Quiz 2.3.3
Write the three (3) steps of transferring files using FileZilla.
CBLM – Web Design (Student Guide) v.1 Oct 2018 61 Skills for Employment Investment Programme (SEIP)
REVIEW OF COMPETENCY
Final Checklist (for the performance criteria of the module Performing Distempering)
Performance Criteria Yes No
1. Tools and OS platform needed to install for local web server is identified. 2. Local web server is installed. 3. Local Web server is recognized. 4. Local web server to test website performance is started. 5. Debugger is defined. 6. IDE (Integrated Development Environment), debugger, source control, source code is explained. 7. FTP (File Transfer Protocol) client is installed.
8. FTP client is recognized.
9. FTP clients are used to upload or move files to web server
Now I feel ready to undertake my formal competency assessment.
Signed: ______
Date: ______
CBLM – Web Design (Student Guide) v.1 Oct 2018 62 Skills for Employment Investment Programme (SEIP)
ANSWER KEYS
ANSWER KEY 2.1.1
1. Windows 10, MacOS, Linux. 2. WAMP for windows, LAMP for Linux and XAMPP for x-OS.
ANSWER KEY 2.1.2
1. Navigate in your web browser to either “127.0.0.1” or “localhost”. If it displays “It Works!” that means local web server is working on your computer (Apache). 2. True 3. False 4. True 5. True
ANSWER KEY 2.1.3
1. Open a web browser. Navigate to either “127.0.0.1” or “localhost”. If there is an apache server installed, it displays “It Works!”.
ANSWER KEY 2.1.4
1. To start web server on windows, first run xampp application from installed folder or desktop shortcut icon. The xampp control panel will appear. The server can be start manually from this control panel.
ANSWER KEY 2.2.1
1. In computer technology, a bug is a coding error in a computer program (here we consider a program to also include the microcode that is manufactured into a microprocessor). The process of finding bugs before program users do is called debugging. 2. Is the routine process of locating and removing computer program bugs, errors or abnormalities, which is methodically handled by software programmers via debugging tools. 3. A debugger or debugging tool is a computer program that is used to test and debug other programs (the "target" program). The code to be examined might alternatively be running on an instruction set simulator (ISS), a technique that allows great power in its ability to halt when specific conditions are encountered.
ANSWER KEY 2.2.2
1. Code editor, a compiler, interpreter, debugger. 2. NetBeans, IntelliJ, Windows PowerShell. 3. Symbol resolver, debug support, top. 4. Revision, version. 5. Source code.
ANSWER KEY 2.3.1
1. FTP is an acronym for File Transfer Protocol. As the name suggests, FTP is used to transfer files between computers on a network. You can use FTP to exchange files between computer accounts, transfer files between an account and a desktop computer, or access online software archives. 2. An FTP Client is a software designed to transfer files back-and-forth between a computer and a server over the Internet. It needs to be installed on your computer and can only be used with a live connection to the Internet. Example of FTP client software: FileZilla, Cyberduck, Transmit etc.
CBLM – Web Design (Student Guide) v.1 Oct 2018 63 Skills for Employment Investment Programme (SEIP)
ANSWER KEY 2.3.2
▪ Connectivity, including firewall settings ▪ Conflicting software, virus, adware, spyware, etc. ▪ Corrupted software
ANSWER KEY 2.3.3
▪ Run FileZilla. ▪ Enter the host name (e.g. ftp.blogvault.org). ▪ Enter the username (e.g. [email protected]) and its corresponding password. ▪ Click QuickConnect. ▪ Drag the required files from the left-hand panel to the one on the right.
CBLM – Web Design (Student Guide) v.1 Oct 2018 64 Skills for Employment Investment Programme (SEIP)
Module 3: Work with HTML
MODULE CONTENT
Module Descriptor: This module contains information and activities to work with HTML. It specifically guides with the tasks of understanding HTML, working with HTML and applying the fundamentals of typography.
Nominal Duration: 42 hours
Learning Outcomes:
Upon completion of the module, the trainee should be able to:
3.1 Recognise HTML 3.2 Work with HTML 3.3 Apply the fundamentals of typography
Performance Criteria:
1. Entities & attributes of HTML (Hypertext Mark-up Language) is explained. 2. HTML of a website is written. 3. HTML concepts is implemented. 4. HTML is implemented in software. 5. HTML forms are identified. 6. HTML form elements are used. 7. HTML input types are used. 8. HTML input attributes are used. 9. HTML Graphics are used. 10. HTML Media is used. 11. Typography is defined. 12. Different lettering styles are described. 13. Guidelines for print typography is described and applied. 14. The role of typography on the web is described. 15. Guidelines for web typography is described and applied.
CBLM – Web Design (Student Guide) v.1 Oct 2018 65 Skills for Employment Investment Programme (SEIP)
Learning Outcome 3.1 - Recognise HTML
Contents:
▪ Explain entities and attributes of HTML (Hypertext Mark-up Language) ▪ Write HTML of a website ▪ Implement HTML concepts ▪ Implement HTML in software
Assessment criteria:
1. Entities & attributes of HTML (Hypertext Mark-up Language) is explained. 2. HTML of a website is written. 3. HTML concepts is implemented. 4. HTML is implemented in software.
Resources required:
Students/trainees must be provided with the following resources: ▪ Workplace (simulated or actual) ▪ Personal computer and peripherals ▪ Software (system & applications) ▪ HTML Editor ▪ Internet ▪ Stationery ▪ Instruction sheet/manual
CBLM – Web Design (Student Guide) v.1 Oct 2018 66 Skills for Employment Investment Programme (SEIP)
Learning Activity 3.1.1
Learning Activity Resources/Special Instructions/References
Explain entities and attributes of ▪ Information Sheet: 3.1.1 HTML (Hypertext Mark-up ▪ Self-Check Quiz: 3.1.1 Language) ▪ Answer Key: 3.1.1 ▪ https://www.w3schools.com/html/html_attributes.asp
Information Sheet 3.1.1
Learning Objective: to explain entities and attributes of HTML (Hypertext Mark-up Language).
▪ HTML:
▪ HTML stands for Hypertext Mark-up Language, and it is the most widely used language to write web pages. ▪ Hypertext refers to the way in which Web pages (HTML documents) are linked together. Thus, the link available on a webpage is called Hypertext. ▪ As its name suggests, HTML is a Mark-up Language which means you use HTML to simply "mark- up" a text document with tags that tell a Web browser how to structure it to display. ▪ Originally, HTML was developed with the intent of defining the structure of documents like headings, paragraphs, lists, and so forth to facilitate the sharing of scientific information between researchers. ▪ Now, HTML is being widely used to format web pages with the help of different tags available in HTML language. ▪ HTML Editors
To write HTML code for a website or web pages, you will need an editor. Here is some example of HTML editors you can work with:
▪ Aptana Studio 3 ▪ Notepad++ ▪ Arachnophilia ▪ NoteTab Light ▪ Bluefish ▪ PSPad ▪ CoffeeCup ▪ BlueGriffon ▪ Eclipse ▪ NetObjects Fusion Essentials ▪ Komodo IDE ▪ SeaMonkey ▪ Microsoft Visual Studio Community ▪ https://html-online.com/editor/ ▪ NetBeans
▪ Web Browsers:
To watch your created HTML document, you will need to open that document on a web browser. You already know about web browsers. You can use any web browser like google chrome, internet explorer, Microsoft edge, opera, Firefox etc.
▪ Basic HTML document:
In its simplest form, following is an example of an HTML document:
CBLM – Web Design (Student Guide) v.1 Oct 2018 67 Skills for Employment Investment Programme (SEIP)
Save it in an HTML file test.htm using your favourite text editor. Finally open it using a web browser like Internet Explorer or
Google Chrome, or Firefox etc. It must show the followingThis is heading 1
This is heading 2
This is heading 3
This is a paragraph.
This is another paragraph.
▪ HTML TAGs:As told earlier, HTML is a mark-up language and makes use of various tags to format the content. These tags are enclosed within angle braces
In the above example, HTML document uses the following tags:
TAG Description This tag defines the document type and HTML version. ….. This tag encloses the complete HTML document and mainly comprises of document header which is represented by
... and document body which is represented by ... tags. ... This tag represents the document's header which can keep other HTML tags like, , etc.
This tag represents the heading.
This tag represents a paragraph. ▪ Commonly used TAGs in HTML:
Elements Description Example Heading Any document starts with a heading. You Tags can use different sizes for your headings. HTML also has six levels of headings,
which use the elements , , , Heading Example , , and . While displaying any heading, browser adds one line before and one line after that heading. This is heading 1
This is heading 2
This is heading 3
This is heading 4
This is heading 5
This is heading 6
Paragraph The
tag offers a way to structure your
Tag text into different paragraphs. Each Here is a first paragraph of text.
paragraph of text should go in between an Here is a second paragraph of text.
Here is a third paragraph of text.
CBLM – Web Design (Student Guide) v.1 Oct 2018 68 Skills for Employment Investment Programme (SEIP)
opening
and a closing
tag as shown in the example. Line Break Whenever you use the
element,
Tag anything following it starts from the next Hello
line. This tag is an example of an empty You delivered your assignment on time.
element, where you do not need opening Thanks
and closing tags, as there is nothing to go Mahnaz
in between them. Centering You can use tag to put any Content content in the centre of the page or any This text is not in the centre.
table cell. This text is in the centre.
Horizontal Horizontal lines are used to visually break-
Lines up sections of a document. The
tag This is paragraph one and should be on creates a line from the current position in top
the document to the right margin and
breaks the line accordingly. This is paragraph two and should be at
tag is an example of the empty bottom element, where you do not need opening and closing tags, as there is nothing to go in between them. HTML Links HTML links are defined with the tag. This is a The link's destination is specified in the link href attribute. Attributes are used to provide additional information about HTML elements. HTML HTML images are defined with tag. width="104" height="142"> The source file (src), alternative text (alt), width, and height are provided as attributes. HTML HTML buttons are defined with Buttons the
etc.
This tag represents the heading.
This tag represents a paragraph. ▪ Commonly used TAGs in HTML:
Elements Description Example Heading Any document starts with a heading. You Tags can use different sizes for your headings. HTML also has six levels of headings,
which use the elements, , , Heading Example , , and . While displaying any heading, browser adds one line before and one line after that heading. This is heading 1
This is heading 2
This is heading 3
This is heading 4
This is heading 5
This is heading 6
Paragraph The
, Heading Example , , and . While displaying any heading, browser adds one line before and one line after that heading. This is heading 1
This is heading 2
This is heading 3
This is heading 4
This is heading 5
This is heading 6
Paragraph The
, and . While displaying any heading, browser adds one line before and one line after that heading. This is heading 1
This is heading 2
This is heading 3
This is heading 4
This is heading 5
This is heading 6
Paragraph The
This is heading 1
This is heading 2
This is heading 3
This is heading 4
This is heading 5
This is heading 6
Paragraph Thetag offers a way to structure your
Tag text into different paragraphs. EachHere is a first paragraph of text.
paragraph of text should go in between anHere is a second paragraph of text.
Here is a third paragraph of text.
CBLM – Web Design (Student Guide) v.1 Oct 2018 68 Skills for Employment Investment Programme (SEIP)
opening
and a closing
tag as shown in the example.Line Break Whenever you use the
element,
Hello
line. This tag is an example of an empty You delivered your assignment on time.
element, where you do not need opening Thanks
and closing tags, as there is nothing to go Mahnaz
This text is not in the centre.
table cell.This text is in the centre.
Horizontal Horizontal lines are used to visually break-
Lines up sections of a document. Thetag
This is paragraph one and should be on creates a line from the current position in top
the document to the right margin andbreaks the line accordingly.
This is paragraph two and should be at
tag is an example of the empty bottom element, where you do not need opening and closing tags, as there is nothing to go in between them. HTML Links HTML links are defined with the tag. This is a The link's destination is specified in the link href attribute. Attributes are used to provide additional information about HTML elements. HTML HTML images are defined with tag. width="104" height="142"> The source file (src), alternative text (alt), width, and height are provided as attributes. HTML HTML buttons are defined with Buttons the