After studying this chapter you will be able to understand: Introduction to RE, RE basics, Requirements specification, RE process, RE specifics in web engineering, system modeling, modeling requirements. | CIIT-Human Computer Interaction-CSC456-Fall-2015-Mr. Tehseen Riaz Abbasi 1 2 Modeling web applications 3 Introduction to RE RE basics Requirements specification RE process RE specifics in web engineering System modeling Requirement Modeling use-case diagram activity diagram 4 Requirement modeling use-case diagram activity diagram Content modeling Navigation modeling Presentation modeling Technologies for web applications Testing web applications 5 The information provided by a web application is one of the most important factors for the success of that application Content modeling aims at modeling the information requirements of a web application diagraming the structural and behavioral aspects of the information ignores the navigational information 6 Key models Class diagram: to model the structural aspects of information State machine diagram: to model behavioral aspects of information 7 Class diagram describes the structure of a system by system’s classes class attributes operations (methods) relationship among objects 8 Elements of a class diagram: class: class is represented by a rectangle with three compartments name attributes methods Class name Attributes Methods 9 Elements of a class diagram: Adding attributes: an attribute describes a piece of information that an object owns specified by name kind (data type) visibility (+, - , #) default value visibility name : type= default value + name : string = ‘ali’ {maximum 25 characters} users + name : String + email : String + password : String methods 10 Elements of a class diagram: Adding methods (functions): behaviors (things objects can do or can be done with them) name arguments visibility (+, - , #) return value visibility name (argument_name:type): return_value + userLogin(email:string, password:string):null users attributes - register(name:string, email:string,password:string):bool - login(email:string, password:string):bool 11 Elements of a class diagram: Association relationship between classes name of | CIIT-Human Computer Interaction-CSC456-Fall-2015-Mr. Tehseen Riaz Abbasi 1 2 Modeling web applications 3 Introduction to RE RE basics Requirements specification RE process RE specifics in web engineering System modeling Requirement Modeling use-case diagram activity diagram 4 Requirement modeling use-case diagram activity diagram Content modeling Navigation modeling Presentation modeling Technologies for web applications Testing web applications 5 The information provided by a web application is one of the most important factors for the success of that application Content modeling aims at modeling the information requirements of a web application diagraming the structural and behavioral aspects of the information ignores the navigational information 6 Key models Class diagram: to model the structural aspects of information State machine diagram: to model behavioral aspects of information 7 Class diagram describes the structure of a system by system’s classes class attributes .