34
Component Level Design On “Cloud Portal” Software Design and Analysis SE-606

SE_Component level design web based application

Embed Size (px)

DESCRIPTION

This is a component level software design of a web based application which follows the all level of software design.

Citation preview

  • 1. Software Design and Analysis SE-606

2. Prepared By Md Samsuddoha Sams Institute of Information Technology University of Dhaka [email protected] 3. Scenario Of the Cloud Portal 4. Step1: Analysis Class Identified classes User Admin Storage Instance Dashboard Database4 5. Step1: Analysis Class UserAdminUser_ID User_Name Password E-mail User_Type StatusUser_ID User_Name Password E-mail User_Type StatusAuthenticate() CheckServiceAvailabilit y() RequestForInstance()CreateAccount() BlockUser() ModifyDashboard() CreateService()5 6. Step1: Analysis Class(Cont.) Storage Document_ID Document_Name Doc_TypeUploadDocument() DownloadDocument() AllocateStorage() ProvideResource()Instance Instance_ID Instance_Name Instance_Config Instance_Type CreateInstance() ModifyInstance() ShowAvailability()6 7. Step1: Analysis Class(Cont.) Dashboard Dashboard_Name Dashboard_TypeModifyDashboard() AddAdmin()DatabaseQueryStringSetAttribute() GetAttribute() StoreData()7 8. Step2:Design Class MaintainService InstanceServiceAdmin StorageServiceUserInstAvailabilityStorAvailability DocumentServiceMaintainAccountStorageProvideServiceInstance 9. Step 3:Elaboration of design Class(1/4) UserInstanceService ViewInstance() CheckAvailability() RequestForInstance() UseInstance()User_ID User_Name Password Email User_Type Student Researcher Teacher Status Active Deactivate ViewInstance() CheckAvailability() RequestForInstance() UseInstance() ViewStorage() UploadFile() DownloadFile() ModifyFile() UseResource()StorageService ViewStorage() UploadFile() DownloadFile() ModifyFile() UseResource()9 10. Step 3:Elaboration of design Class(Cont.2/4) Admin MaintainAccount CreateAccount() BlockAccount()User_ID User_Name Password Email User_Type Status CreateAccount() BlockAccount() CreateInstance() ModifyInstance() ModifyDashboard()ProvideSTService AllocateStorage() UploadResource() ModifyResource()MaintainInstance CreateInstance() ModifyInstance() ModifyDashboard()AllocateStorage() UploadResource() ModifyResource() 10 11. Step 3:Elaboration of design Class(Cont.3/4) StorageStorageAvailability ViewStorage() CheckAvailability()Document_ID Document_Name Resource_Type Docx Pdf ZIP VideoT ViewStorage() CheckAvailability()DocumentServiceViewDoc() ProvideResource()ViewDoc() ProvideResource()11 12. Step 3:Elaboration of design Class(Cont.4/4) Instance Instance_ID Instance_Name Instance_Type IaaS PaaS SaaSInstanceAvailability ViewInstance() CheckAvailability()ViewInstance() CheckAvailability() ViewInstance() ProvideInstance()ProvideService ViewInstance() ProvideInstance()12 13. Step 3(a): Collaboration Details InstanceProviderProvide ServiceAvailableShow serviceViewer 14. Step 3(a): Collaboration Details(Cont.) StorageProviderProvide resourceResourceshowDocument 15. Step 3(a): Collaboration Details(Cont.) AccountNewAccountBlockAccount 16. Step 3(a): Collaboration Details(Cont.) ServiceProvide serviceInstanceProvide serviceStorage 17. 3(b): Appropriate Interfaces AvailableInstanceName CheckAvailability() RequestForInstance()ViewerProvideServiceShowService InstanceService InstanceProviderView()InstanceID ViewInstance() UseInstance()InstanceServiceStorageServiceResourceUserRSize View() Upload() Download()ProvideResourceShow DocumentDType Upload() Download() Modify()StorageProvider StorageService View() 18. 3(b): Appropriate Interfaces InstanceInstanceName CreateInstance() ModifyInstance()StorageProvideInstanceprovideStorage Service ServiceAllocate()STSize AllocateStorage() UploadResource() ModifyResource()MaintainServiceMaintainAccountNew AcountUser_ID create CreateNewAccount()block BlockAccountUser_ID BloackAccount()AccountAdmin 19. 3(b): Appropriate Interfaces ProvideInstanceInstance Service ServiceAllocate() MaintainServiceprovideIaaSprovidePaaS provideIaaS MaintainAccountIaaSAdminPaaSIaaS_IDPaaS_IDCreate() Modify()Create() Modify()SaaSSaaS_ID Create() Modify() Instance Create() Modify() 20. 3(d): Describe Processing Flow :Activity Diagram InstanceService 21. View Environment Check AvailabilityIf AvailableYes Use ServiceNoRequest InstanceBy Admin Configuration RAM:512MB, 32windows7, 20 GB HDD,Processor-2RAM:4GB, 64windows8, 200 GB HDD,Processor-10 RAM:512MB, 32Ubuntu, 20 GB HDD,Processor-2 IaaS 22. 3(d): Activity Diagram (Cont.) StorageService 23. View Storage Check AvailabilityIf AvailableNoRequest StorageYes Use ServiceUpload fileDownload fileModify file 24. Step 4: Persistent Data Persistent data sources and classes that manage them 25. Data source Database DB_Name DB_Type DB_UserpassSetAttribute() GetAttribute() StoreData() 26. Required Class DB_Connect DB_Name DB_Type DB_UserpassConnect()DB_ViewDB_OptionView_TimeView() Select()Insert() Modify() 27. Step 5 Elaborate Behavior 28. Instance 29. Authentication 30. Deployment diagrams to represent the location of key packages or components 31. Step 6 Elaborate Deployment 32. AdminControl Panel Unit Central ProcessorInterfaceUIDatabase ServerThin ClientEnd User ServiceUIThin Client