ui specification of website

22
UI specification of website FormalSpecGroup Phạm Le Sum

Upload: porter

Post on 24-Feb-2016

27 views

Category:

Documents


0 download

DESCRIPTION

UI specification of website. FormalSpecGroup Phạm Le Sum. Content. Framework reviewing Syntax of UI specification Example A matching solution Some issues. Framework reviewing. Content. Framework reviewing Syntax of UI specification Example A matching solution Some issues. - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: UI specification of website

UI specification of website

FormalSpecGroupPhạm Le Sum

Page 2: UI specification of website

Content Framework reviewing Syntax of UI specification Example A matching solution Some issues.

Page 3: UI specification of website

Framework reviewing

Page 4: UI specification of website

Content Framework reviewing Syntax of UI specification Example A matching solution Some issues.

Page 5: UI specification of website

Syntax: Specification structure

<pagename>id = …<spec>...

<body>…

Page 6: UI specification of website

Syntax: Parts of specification

Page’s features specificationKeyword: “spec”Function: define the characteristics of the UI.It is converted to appropriate input form of

“Planing System”

Page 7: UI specification of website

Syntax: Parts of specification (cont)

Page’s body definitionKeyword: “body”Function: define the detail item of the UI.It is converted to UI template.

Page 8: UI specification of website

Syntax: Keywords

spec: specific the “spec” part of specification name: The name of page id: Unique identifier of a page. Id contents two

parts: <idname>#<idnumber>Example: login#1, login#2. There’re two login pages that have some differences.

template: the applied page template.

Page 9: UI specification of website

Syntax: Keywords (cont)

type: the type of page. page dialog

function: main function of the page input : page to get data from user output : page the show data to user mix : page with both “input” and “output”

Page 10: UI specification of website

Syntax: Keywords (cont) inputdata: the list of data to get from user. It’s

used in case the value of “function” is “input”/”mix”.

outputdata: the list of data to show to user. It’s used in case the value of “function” is “output”/”mix”.

link: the links to other pages (button/hyperlink/menu…)

&, |

Page 11: UI specification of website

Content Framework reviewing Syntax of UI specification Example A matching solution Some issues.

Page 12: UI specification of website

Example: Specification of the website

Main page Master page:id = master#1Spec:name = master pagetype = pagelink = home|products|contact|register|loginBody:…

Home page:id = home#1Spec:type = pagename = homeTemplate = master#1function = ouputoutputdata = text#introductionBody:…

Page 13: UI specification of website

Example: Specification of the website

Login page

login page:id = login#1Spec:type = pagetemplate = master#1name = loginfunction = inputinputdata = username&passwordlink = loginsuccess| loginfailBody:

Page 14: UI specification of website

Example: Specification of the website

Register user page

Register page:id = registeruser#1Spec:type = pagetemplate = master#1name = registeruserfunction = inputinputdata = username & password & repassword & emaillink = registersuccess|registerfailBody:…

Page 15: UI specification of website

Example: Specification of the website

Products page

List products page:id = products #1Spec:type = pagetemplate = master#1name = productsfunction = outputoutputdata = list<product>link = productBody:

Page 16: UI specification of website

Example: Specification of the website

Products page

product detail:id = detail #1Spec:type = pagetemplate = master#1name = productfunction = outputoutputdata = product detailBody:

Page 17: UI specification of website

Content Framework reviewing Syntax of UI specification Example A matching solution Some issues.

Page 18: UI specification of website

Matching solution With the “link” attribute, We can build a

“tree” from page specification. System base on the specification and this tree

to find a good result Base on specification (spec) to find the consistent

page. Base on the “tree” to suggest the more detail

design

Page 19: UI specification of website

Matching solution (cont) Example:

User define the specification of home page Base on the specification, system finds out an item

in library that match with it Base on the “link” of this page, system will

suggest a structure of pages as below

Page 20: UI specification of website

Content Framework reviewing Syntax of UI specification Example A matching solution Some issues.

Page 21: UI specification of website

Some issues This specification is not appropriate with AI

Plaining the require pre/post conditions Find a way to calculate the similarity of this

UI specification

Page 22: UI specification of website

Thank youfor

watching