Académique Documents
Professionnel Documents
Culture Documents
Fall 2007
http://www.cis.ksu.edu
Fall 2007
http://www.cis.ksu.edu
technology . J2EE, dotNet, Ruby, JDev, Eclipse, VisStudio, .. methodology RUP (Rational Unified Process), MDD / MDA (model driven development / architecture) extreme programming / developent management install tools, backups, product selection, training, process / people management, security policies, schedules, budget,
Fall 2007
http://www.cis.ksu.edu
Note: Traditional DB design - -> data models: > > > ER diagrams (P. Chen) .conceptual , not OO schema diagrams (Access, Visio, other tools) ... tables, not OO UML (an emerging notation for data models) UML, not OO !! read: www.agiledata.org/essays/umlDataModelingProfile.html Scott Amblers own profile for UML database models.
Fall 2007
http://www.cis.ksu.edu
Fall 2007
http://www.cis.ksu.edu
Fall 2007
http://www.cis.ksu.edu
conceptual model most abstract, language/platform independent (never a table model ) logical model .. specific parameters, constraints physical model . tables, concrete types
Fall 2007
http://www.cis.ksu.edu
use case model (requirements) what operations Process model (swim lanes) coordination of ops GUI design: page designs, page flow, mock-up prototype, state models
Fall 2007
http://www.cis.ksu.edu
Fall 2007
http://www.cis.ksu.edu
Sample documents from Sundeep MSE: A User Community (based on Orkut.com) not a perfect example several weak features.
Fall 2007
http://www.cis.ksu.edu
10
Manage Friends
Delete Friend
Scrap Friend
Post Message
Join
Fall 2007
http://www.cis.ksu.edu
11
Manage Friends * Purpose: The purpose of this part of the application is to enable user to manage his friends list. *Input: The user will select his friends section and choose to manage friends with various options given. *Processing: The user selection will be validated and accordingly the action is being performed again the users account at the server. Friends list is then being processed at the server. *Output: The required action is being performed based on the selection of the action, between Add friend, Delete friend, Scrap friend.
Fall 2007
http://www.cis.ksu.edu
12
Process model: <did not have one !!!> That means any user can do any (legal) operation in any order. whereas, typical enterprise has coordination of operations: e.g. I cannot access KATS until I am appointed as faculty.
Fall 2007
http://www.cis.ksu.edu
13
Fall 2007
http://www.cis.ksu.edu
14
EditProfile.aspx
CommunityScraps.aspx
Communities.aspx
Community.aspx
Login.aspx
Profile.aspx
Logout.aspx
CommunityEdit.aspx
ScrapBook.aspx
Album.aspx
AlbumZoom.aspx
AddFriend.aspx
Fall 2007
http://www.cis.ksu.edu
15
Fall 2007
http://www.cis.ksu.edu
16
Fall 2007
http://www.cis.ksu.edu
17
Fall 2007
http://www.cis.ksu.edu
18
Fall 2007
http://www.cis.ksu.edu
19
CreateCommunity(c_name : String, c_pic : String) : Boolean pre : Community.allInstances.c_name->excludes(c_name) post : Community.allInstances.c_name=Community.allInstances.c_name@pre->including(c_name) post : Community.allInstances.c_pic=Community.allInstances.c_pic@pre->including(c_pic) DeleteCommunity(c_id : Integer) pre : Community.allInstances.c_id->includes(c_id) post : Community.allInstances.c_id=Community.allInstances.c_id@pre->excluding(c_id) post : Community.allInstances.c_name=Community.allInstances.c_name@pre->excludes(c_name) post : Community.allInstances.c_pic=Community.allInstances.c_pic@pre->excludes(c_pic)
Fall 2007
http://www.cis.ksu.edu
20
Fall 2007
http://www.cis.ksu.edu
21
Test Plan: derived from method assertions include plan for function and regression testing function: test both positive action and invalid inputs & states regression: JUnit , NUnit repeat tests as system is changed Registering a Social User Login Adding a Friend Deleting a Friend Scrap a Friend Creating a Community Joining a Community Manage photos of user
Fall 2007
http://www.cis.ksu.edu
22
Fall 2007
http://www.cis.ksu.edu
23
Fall 2007
http://www.cis.ksu.edu
24
Fall 2007
http://www.cis.ksu.edu
25
Fall 2007
http://www.cis.ksu.edu
26
Manage Friends
Delete Friend
Scrap Friend
Post Message
Join
Fall 2007
http://www.cis.ksu.edu
27
Fall 2007
http://www.cis.ksu.edu
28
End
Fall 2007
http://www.cis.ksu.edu
29