Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Laboratory Notes
Please Note:
You should prepare for each lab session by pre-reading these lab
notes.
ISYS2110_Lab_Notes_V26.docx
Page 1
Table of Contents
Table of Contents ......................................................................... 2
1
Introduction ........................................................................ 4
1.1
1.2
What you will learn and the basic ground rules! ................................... 4
1.3
1.4
1.4.1
1.4.2
1.4.3
1.5
1.5.1
HTML ........................................................................................ 6
1.5.2
VWD ......................................................................................... 6
1.5.3
General ..................................................................................... 6
2.2
Overview ........................................................................................ 7
2.3
2.4
Planning ......................................................................................... 7
2.4.1
Website Persona......................................................................... 7
2.4.2
2.5
2.5.1
Sitemap .................................................................................. 10
2.5.2
2.5.3
Storyboard .............................................................................. 11
2.6
Design .......................................................................................... 11
2.6.1
Layout .................................................................................... 12
2.7
Conclusion .................................................................................... 15
2.8
Hints ............................................................................................ 15
2.9
References .................................................................................... 15
2.9.1
ISYS2110_Lab_Notes_V26.docx
Page 2
2.9.2
Storyboard .............................................................................. 15
2.9.3
Layout .................................................................................... 15
3.2
Overview ...................................................................................... 16
3.3
3.3.1
3.3.2
3.3.3
3.3.4
3.4
3.5
3.6
Deployment .................................................................................. 24
3.7
Hints ............................................................................................ 24
3.8
FAQ .............................................................................................. 25
4.2
Overview ...................................................................................... 26
4.3
4.3.1
CSS ........................................................................................ 27
4.4
Hints ............................................................................................ 28
4.5
Quiz ............................................................................................. 28
4.6
ISYS2110_Lab_Notes_V26.docx
Page 3
Introduction
1.2 What you will learn and the basic ground rules!
You will learn four primary things in the laboratory sessions:
The purpose of these lab notes are to guide you through different exercises that
will build your proficiency in html (hyper text markup language) and xhtml
(extensible hyper text markup language) programming. You will also gain some
basic skills in graphic design and graphic editing. These skills and techniques will
be necessary for the VWD portion of the course and the final project.
These lab notes are, however, only part of your learning in the laboratory
sessions. You will also want to refer to Castros HTML Textbook (2003), and
other sources such as the links listed below for additional and more advanced
techniques.
ISYS2110_Lab_Notes_V26.docx
Page 4
Planning
Information Architecture
Design
Implementation
Testing
Deployment
By the end of this course you will understand what a business should expect
during each phase of developing their website.
Fireworks Resources
Website: http://www.cbtcafe.com/fire
http://www.cookwood.com/
html5ed/
works/
http://www.joycejevans.com
/tutorials/Fireworks/fwtutori
als.htm/
http://www.hwg.org/resourc
es/html/
ISYS2110_Lab_Notes_V26.docx
VWD Resources
http://msdn.microsoft.co
m/vstudio/express/vwd
http://msdn.microsoft.co
m/vstudio/express/vwd/
features/visuallydesign/
default.aspx
Page 5
Xhtml:
http://www.w3schools.com/
xhtml/default.asp
http://www.dw-fwbeginners.com/tutorials/
http://www.asp.net/gets
tarted/default.aspx?tabid
=61
http://www.smartwebby.co
m/web_site_design/firework
s_tutorial.asp
1.5.1 HTML
When saving files (graphics or text/html files) for the website ALWAYS write in
lowercase
Always insert closing tags </>. Even for open tags such as the <img> tag. In
this case you will insert a space then the /. For example: <img src=
picture.jpg alt= picture width= 50 height= 50 /> or <br /> \
1.5.2 VWD
The main page of your websites must always be named default.aspx. This
enables anyone browsing to your directory to find the main page directly.
1.5.3 General
When performing a task ALWAYS think about which phase of the Website
Development Lifecycle the task falls within
ISYS2110_Lab_Notes_V26.docx
Page 6
2.2 Overview
This website will act as your online resume. You should aim to include content
about yourself that would be required by a prospective employer and this
information should be easy to find. You will also be required to link to all
your assessment submissions during the semester.
2.4 Planning
The planning step involves determining the goals, objectives and target audience
of the site. In a business, the objectives might be to promote products and allow
customers to find and purchase the products they are need. The target audience
is related to segmenting, targeting and positioning within the marketing function.
ISYS2110_Lab_Notes_V26.docx
Page 7
You may develop one or more personas for a project but limit yourself to the
main audiences for the site. For any given project, creating only three or four
personas is best. Remember that it is better to paint with a broad brush and meet
the needs of the larger populations than try to meet the needs of everyone. The
goal of personas is not represent all audiences or address all needs of the website
but instead to focus on the major needs of the most important user groups.
2.4.1.1
Effective personas:
2.4.1.2
Benefits of Personas
Personas help to focus decisions surrounding site components by adding a layer
of real-world consideration to the conversation. They also offer a quick and
inexpensive way to test and prioritize those features throughout the development
process. In addition they can help:
2.4.1.3
The following questions and areas of discussion will help you construct a snapshot of the
visitors to your site.
1. Description of the user
Personal
Professional
Why will they come to the site? (User needs, interests, and goals)
ISYS2110_Lab_Notes_V26.docx
Page 8
When and where will users access the site? (User environment
and context)
Technical
How much time does your person spend browsing the web every
day?
2. User Motivation
2.4.1.4
Elements of a Persona
Fictional name
The goals and tasks they are trying to complete using the site
A quote that sums up what matters most to the persona as it relates to your site
ISYS2110_Lab_Notes_V26.docx
Page 9
2.5.1 Sitemap
Inspect the site map (Figure 1), which indicates the proposed pages of this
Resume site. In practice you would spend some time deciding on the layout of the
site map, which represents the structure of your site. However, for now this has
been decided for you as shown below. We have decided that you are going to
create separate pages for various parts of the Rsum, as the content will be too
much for one page.
We will use this Sitemap for the structure of our Resume Website. Later you will
be expected to create your own Sitemap for your website projects.
Page 10
Home (on the site map) is listed as 1.0 Resume Home. You should also include
the file names in each of the page. This is your content outline. Outside of class,
you will write or copy/paste your resume text content into this document. You
can also include graphic content in this document if you would like. Have the
content prepared by the next tutorial Session. If you are going to use graphics on
the pages also have them prepared.
2.5.3 Storyboard
Likewise you should spend time drafting out the process a visitor to the site might
follow using a Storyboard. This can be done with rough sketch designs of the
page content and should follow a logical set of steps.
2.6 Design
Every good design comes from a plan. That is, a web designer creates one or
more layouts, an organization chooses the best layout and then the web
programmer builds that layout.
Banner
Main Content
Search
Navigation
Footer
ISYS2110_Lab_Notes_V26.docx
Page 11
2.6.1 Layout
Layouts, also known as Composites or Wireframes (Chaffey 2009 pp. 636), are an
important part of web design, which provide a clear idea of the final product
before programming begins. It is extremely important to get this right in the
design phase, because a change after implementation will be very costly. A
layout will be the basis for the template or master page (read below) for the site
and adds consistency, improving usability and the user experience. Currently
most website layouts include:
Navigation areas One or more areas allowing users to find exactly what they
want in the site. This includes search facilities.
2.6.1.1
Fireworks Exercise: Creating a layout (wireframe)
First we will build this simple layout in Fireworks and then we will use this layout
for ALL pages in our resume website. Note: it might be helpful to complete
the Fireworks tutorial before starting this. You will use the following
functions of Fireworks:
Marquee Tool
Shape Tool
Stroke
Text Tool
Linking objects
Pointer Tool
Properties
ISYS2110_Lab_Notes_V26.docx
Page 12
Create a new file with these dimensions: 800 pixels width and 600 pixels
height.
Create a rectangle using the Rectangle Tool from the Vector palette
In the Properties section, enter the width as 794 and the height as 124
Click on the Stroke Colour box and choose the colour you want for the
border of the rectangle. Make the border 3 pixels wide.
In the Properties section select Arial Black as the Font and an appropriate
Font Size.
ISYS2110_Lab_Notes_V26.docx
Page 13
Using the Pointer Tool position the text at the top left corner.
Look at the Layers Palette and make sure that the My Resume Banner
Text layer is active
While holding down the shift key click on the rectangle in the layers
palette. Now both items are selected.
Click on Modify>Group
The items become one. Call the group Banner Group in the properties
section.
Redo the Steps to create the Navigation Element, the Content Element and
any others you wish to add.
Save the optimised gif into your website file structure. Create an html link
to the gif from a page called Laboratory Tasks. Call the link Resume
Layout.
2.6.1.2
Use a picture of yourself and remove the background using the Marquee
tool.
Create a line along the bottom of your banner using the Rectangle tool from
the Vector Box
Put your name, email address and perhaps your mobile number on the
banner, and add a drop shadow.
ISYS2110_Lab_Notes_V26.docx
Page 14
2.7 Conclusion
You now have a plan from which you can build your resume. This will be done in
the next lab.
2.8 Hints
1. Make sure all of the resources created are linked to your HTML page. If
not, you will not get any marks for this lab.
2. Remember, you are designing your Resume website. Be unique and use
colours that you think go well together. Check the web for existing colours
combinations.
2.9 References
2.9.1 Planning and Design
http://meiert.com/en/blog/20070510/10-steps-to-create-a-high-quality-website/
http://www.adobe.com/support/dreamweaver/layout/site_planning/
http://www.usability.gov/how-to-and-tools/methods/personas.html
2.9.2 Storyboard
http://www.conquerorwebdesign.com/web-site-storyboard.html
2.9.3 Layout
http://www.entheosweb.com/photoshop/layout.asp
http://www.hit-counter-download.com/website-layout-design.html
http://www.layoutcookbook.com/
http://vineyardesigns.com/resources/build_website/layoutdesign.shtml
ISYS2110_Lab_Notes_V26.docx
Page 15
3.2 Overview
We will now build the physical resume site using our plan as a reference.
Click on the Add New Item button and add a new Master Page, and leave
the default name of MasterPage.master.
Page 16
From the Table menu choose Insert Table. Set Rows to 3 and columns to
2.
Then choose 2 consecutive cells in the first row and right click, Modify >
Merge Cells to create a one-cell header.
ISYS2110_Lab_Notes_V26.docx
Page 17
Do the same thing to create footer (merge two consecutive cells in the last
row)
Right click on the header row in the table and click on Insert > Row
Above to split the header row into two: one for banner and the other for
horizontal navigation
Drag the ContentPlaceHolder into the content area, which is the second
row and second column of the table (see Figure 0). Note that your
ContentPlaceHolder might be in different location than the one in Figure .
ISYS2110_Lab_Notes_V26.docx
Page 18
Create a folder called images in solution explorer (Right click on the root in
solution explorer)
Drag your banner into the top row by dragging it from the solution explorer
ISYS2110_Lab_Notes_V26.docx
Page 19
Before the Site map can be used, all the pages referred to in the Site Map must
be created
In the Add New Item box create a web form and call it education.aspx.
Check the select master page box and click Add. In the Dialogue box
choose the relevant master page (in this case we only have one master
page so the choice is easy).
Follow steps above for all required pages like pretertiary.aspx and so on.
From toolbox (under Navigation) drag a Treeview and place it in the left
column and link it to the SiteMapDataSource (Choose Data Source).
ISYS2110_Lab_Notes_V26.docx
Page 20
Drag a SiteMapPath from the Navigation toolbox to the top cell of the
table.
<a
<a
<a
<a
<a
<a
href="Default.aspx">Home</a>
href="Education.aspx">Education</a>
href="workhistory.aspx">Work History</a>
href="interests.aspx">Interests</a>
href="skills.aspx">Skills</a>
href="referees.aspx">Referees</a>
Go to design view of the master page and find the second set of <tr> tags.
Insert this block of code between the <tr> and </tr> tags.
Use this code except change the email address to your email account: <a
href= mailto:sxxxxxxx@rmit.edu.vn?subject=From My
Homepage>Email Me</a>
Find the last set of <tr> tags and insert this block of code between the
<tr> and </tr> tags.
We should now have a Master Page that looks something like (Figure ) in VWD.
Note we can not view it just yet.
ISYS2110_Lab_Notes_V26.docx
Page 21
All the pages in the sitemap (see URLs in Figure 9) must be created by
adding each page and making sure that the Select Master Page checkbox is
checked in each instance (see Figure ).
ISYS2110_Lab_Notes_V26.docx
Page 22
ISYS2110_Lab_Notes_V26.docx
Page 23
3.6 Deployment
The Resume website should be copied to the correct folder on the web server
from where it will be visible to yourself and your friends. Once again, you should
test all your pages on the web server. Do not assume that it works.
3.7 Hints
1. All the pages need to be created and have information on them. This is where
you use the content you have created in the previous lab.
ISYS2110_Lab_Notes_V26.docx
Page 24
3.8 FAQ
Question
Answer
ISYS2110_Lab_Notes_V26.docx
Page 25
Able to create and edit HTML codes in particular to updating keywords and
titles, headings,
hyperlinks, tables, bold, underline and italic fonts,
inserting images, unordered and ordered list, horizontal lines and sentence
breaks.
4.2 Overview
We will now complete the physical resume site using our plan as a reference.
Have hyperlinks to other pages in your website using <a href= #></a>
Have at least one horizontal line in the website using <hr />
Use cascading style sheets (css) to change the background colour and other
page characteristics. You will need to create the styles.css file and upload it
to the server.
ISYS2110_Lab_Notes_V26.docx
Page 26
<!-- The head element contains meta information about the page. -->
<head>
<!-- The purpose of the meta element is to provide meta-information about the
document such as key words, which are used to index the page by some WWW search
engins -->
<meta name="keywords" content="ISYS2110, name, etc, " />
<!-- The title element setc the title of the page as it appears in the web
browser-->
<title>My title</title>
<!-- The link tag defines the relationship between a document and an external
resource.
The <link> tag is most used to link to style sheets. -->
<link rel="stylesheet" type="text/css" href="/styles.css" />
</head>
<!-- The body contains the main content of a page i.e. text, images, links etc.
-->
<body>
<p>Page content goes here.</p>
</body>
</html>
Figure 11: HTML to copy into your page
4.3.1 CSS
Cascading style sheets (CSS) allow you to set styles for all of the pages in your
website in one file. This makes the site much easier to maintain. For example, if
you wanted to change all the headings to be red, you would need to edit every
page if you did not use CSS. However, with CSS you could make the change with
one single line. Your HTML site should link to the stylesheet below. Feel free to
make any changes.
html
{
background: #fff;
/* background colour white */
color: #000;
/* font colour black */
font-family: Geneva, Verdana, Geneva, sans-serif;
font-size: 12px;
}
body
{
background: #fff url(../image/bg1.gif);
}
a
{
color: red;
/* font colour for links red */
}
a:hover
{
text-decoration: none;
background: blue;
/* background colour when you hover over a link blue */
}
ISYS2110_Lab_Notes_V26.docx
Page 27
4.4 Hints
1. Always make sure you remember to end a tag. To help you, create the end
tag when you create the start tag.
4.5 Quiz
1. Briefly explain the purpose of each of the following tags:
a. <html>, <body>, <head>, <title>, <b>, <ul>, <a>
2. What does a web server do?
3. What is the difference between ftp and http?
See Blackboard for the resources required for a more advanced Fireworks
lab.
ISYS2110_Lab_Notes_V26.docx
Page 28
Use cases bring to the attention of the developers the gaps which might
exist in the requirements of the user. This early identification of gaps helps
reduce the cost and time which will be needed to change the system in the
future.
Use cases can help to manage a projects workload, as they can be
assigned to members of the development team to be implemented. In
addition, since a use case represents a measurable feature of a system, its
progress to be tracked.
Use cases provide an excellent starting point for building your test cases
and procedures because they accurately capture the requirements of the
user and the metrics for measuring success.
ISYS2110_Lab_Notes_V26.docx
Page 29
Actors which interact with the system externally dont have to be actual people.
An actor can also refer to a system which belongs to another party, such as a B2B
(Business-to-Business) application.
5.3.1.1 Refining actors
One of the interesting things when defining actors is the discovery that some
actors are related to each other. We will look at this using the following example.
The Administrator actor is really a special kind of system user. To order to
indicate that an administrator has the right to do everything a regular user can do
(with additional rights, of course), a generalisation arrow is used as shown in
Figure 2.
User
Administrator
Figure 16 Use of generalisation arrow to indicate the special nature of Administrator actor
Page 30
can be identified from your users requirements. In this stage, the ambiguous
descriptions in the requirements document should be transformed into a
collection of clear jobs for the system.
A use case might be as simple as allowing the user to register into the system or
as sophisticated as describing a multitasking environment. A use case is basically
a complete use of the system, which means that there is some interaction
between the user and the system as well as some output resulting from the
interaction.
One critical point of note is this: A use case is something that provides some
measurable result to the user or an external system.
5.3.3 Communication Lines
A communication line connects an actor and a use case to indicate the actor
participating in the use case. There is no limit on the number of communication
lines that can be drawn in a use case.
ISYS2110_Lab_Notes_V26.docx
Page 31
ISYS2110_Lab_Notes_V26.docx
Page 32
ISYS2110_Lab_Notes_V26.docx
Page 33
5.5 Exercise
1. Draw Use case Diagram for following:
Go to following websites and pick a function to draw use case diagram.
www.amazon.com
www.lazada.vn
You should choose at least 4 function to draw the diagram. You should use the
<<use>> /<<include>> relationship and the <<extend>> relationship in those
function where it is possible.
Refer to scenario for the Register use-case.pptx file from Blackboard and write
down the scenario for two of the Use Case you have picked from above exercise.
Make sure you ask feedback from your tutor on your work.
ISYS2110_Lab_Notes_V26.docx
Page 34