Home

FPT UNIVERSITY

image

Contents

1. a a 20 215 3 Task Sheet Assignments and Timetable se 21 2 9 SSA EET 55 10 OE OE a ba e ata na ii ata biata 21 2 6 1 BG eed ME t iz ducea Oo EE EE EE ER 21 2 6 2 Aa EE e AE a tau ina ali arias 21 2 6 3 Rik Response SE dL BB as RE ORE egestas cute dnce aa touc Et RA SA PRAI ID PRI ca C 21 LG TE De A T E 22 2 ere EE 22 2 0 Bi ee een E 23 Software Desio n Detallada Ee eem eo Eat beenden nai da a olt a tte t ar ad le 24 Sd EELER ee 24 29 2 System Architectural DEN 24 3 2 1 NEAS SEN EUR 25 3 2 2 Web Application Arie 26 3 3 I55 Commoli COMPONEN E issn OE OR OR eat a oi ic e EE EE ate HEN 26 3 3 1 ISS rie Pige iGe oer M TER 26 332 ISS BUSINESS COMPONEN EE 26 3 3 3 BS Web ON TN sessi tue ed i te Ee 27 S Detallel DESEN RE m tem 28 3 4 1 CSS DES a ia TT 29 3 4 2 Class ExplanatiONS EE 30 3 4 3 Time Sequence Dia ra ss os nepote a ences Aa 51 Pia e a COMMON e T E ta EE OE T EE 57 35 Database DESEN Sem 62 3 5 1 ERDS za P TEE 63 3 5 2 Table RE E GE Ee i pool im TN 63 3 5 3 Tables Detallada aia 64 3 6 Software Requirement Specifications eese nennen eene snnt ng ee RR ee ee ee 67 3 6 1 User Requirement specifica ON vvs 67 3 6 2 System Requirement Specification Specific Requirements esse ee ee ee ee ee ee 69 Project Test DOCUMENTATION ss e PE G i WU ee ROC E WEN e Sed 75 Ale azota So AE oii de ui DU LI A aa aaa TEE 75
2. Used jit Jjpubic Le ImageLike Image Like Class l Properties Image Imageld ImageLikelD LikeDate User UserD ig p gg t t 35 Page Details Name Type Modifier Summary Properties ImageCommentiD int public Content String publie CreateDate Dateime public Image ISS Modelsiimages public imagelD fit bie User ISSModelsUsers public Used fit pb Le 36 Page Users Details Name Type Modifier Summary Properties Used t Publie O UserName String Public 37 Page UserType byte Publc pO EN ed q AaAIA lt ISS Models Album gt INN E e MES Models Images AE AT ConfirmPassword String Public Email Sig Publie FullName String Publi TI IsActive bool Publi 20 _LastLogin DateTime Public S OldPasswrd String Publi Password Sting Publi TI Phone X string Publi RegisterDate SystemDateTime Public Sex bol Public ZG ZW4 Totalbum lit Publie 1 TotalComment int Public A TotalFollower int Public Totalollowing int Publie Totallmages fint LPubik 1 Totallike int Publie TI TotalViews____ int__ Public Searchltems Searchltem E Class E Properties Ep Desc Ep Image H Link S Name Details Name Type Mod
3. Index cshtml Contain HTML markup and NET code to render Image Index screen MyAlbum cshtml Contain HTML markup and NET code to render Image List in the Album screen Home Dashboard cshtml Contain HTML markup and Explore cshtml Contain HTML markup and Login cshtml Contain HTML markup and Search cshtml Contain HTML markup and Notify cshtml Contain HTML markup and PreviewImage cshtml Contain HTML markup and UploadFromWeb cshtml Contain HTML markup and NonePermission cshtml Contain HTML markup and Index cshtml Contain HTML markup and Shared _Layout cshtml Contain HTML markup and NET code to render Dashboard screen NET code to render Explore screen NET code to render Login screen NET code to render Search screen NET code to render Notify screen NET code to render Preview Image screen NET code to render Upload from Web screen NET code to render None Permission screen NET code to render Home Index screen NET code to render Layout screen 41 Page Album LikeView cshtml Contain HTML markup and NET code to render Album Like View screen AlbumComments cshtml Contain HTML markup and NET code to render Album Comments screen Comments cshtml Contain HTML markup and NET code to render Comments screen Error cshtml Contain HTML markup and NET code to render Error screen ImageAction cshtml Contain HTML markup and NET code to render Image Action screen ImageList cshtml C
4. button 2 most voted up comments will be highlighted and put on top of Comment Area These highlighted comments still can be treated as normal comments Each user can only post 1 comment for an image album each 3 minutes Image Requirement An Image has following information Title required Description Image Thumbnail required AlbumID View count Upload Date Originally from Rating Comments Share Link o Album link o Image link 68 Page Forum code Html code Direct link Thumbnail link O O O Album Reguirement An Album has following information Name required default New Album Creator Permission Public Protected Private Thumbnail required Number of Images View Count Created Date Rating Rating Count Comments Embed Album html code lag Search Requirement This is a main region on the home page and is displayed as a bar and is accessible from every page The users will enter the keywords that they want to search in The search area fields will be auto populated by data from the user s browser cookies 1f already existed Otherwise it will be based on the user s IP address The result set includes The Images which the title description contains the keywords The Albums which the album name tag field contains the keywords The usernames that contains the keywords 3 6 2 System Requirement Specification Specific Requirements External Interface Requirements User Interfaces Inte
5. 4 1 1 SEEKS Ed SO AE EE db aod Crue EE ER EE EL daia 75 4 1 2 Tee 75 TN 75 4 2 1 Resources Roles and Responsibilities iii 75 4 2 2 Testing Tools anden ON MEN 76 4 2 3 Features to De tested save 76 4 2 4 Features not to De EE 77 5 6 Software sers Manual sd marisco eme ad teh aud ume td ed iaa n s d rescue n lina domu ua idle numa aut 78 SK Installation GUIAS AAA 78 5 1 1 Setting up the environment at server side sisi 78 5 1 2 Deployment at server e ud metis ecu patios ed sudul de anii sed et tai alt tai sd Hid esse 78 5 1 3 Setting up thie environment at Cent side uci ESE ote eb ces ean az sende tem tob dar a Sn a 86 52 SCT SCIT Tr Tr 86 5 2 1 General Gude erara m ET 86 5 2 2 AMT Gud e em 94 N cT 96 ADDS NNN 96 D Is RETO TIC OS iS en ec dede ER GE Ee DR EI ED ne ME 96 3 Page 1 Introduction 1 1 Introduction 1 1 1 Project information Project name Image sharing Site Project code ISS Product type Website Timeline From May 8th 2012 to August 2012 1 1 2 Purpose 1 2 This project is registered and implemented as a capstone project for the team members Our purpose is to fulfill the requirements from FPT University studying program It 1s also the first step to build a first completed Social Network Image Sharing for Vietnamese Background With the explosive increment of Internet users the need of files hosting services is dramatically increasing And almost people meet those below pr
6. Include in library v Share with Burn New folder doi Name Date modified Type Size RE Desktop 8 15 2012 4 12 PM File folder m Downloads 3 632 KB 78 190 KB S Recent Places Deploy Database Open Microsoft SQL Server Management Studio SSMS otep 1 File Edit View Debug Tools Window Community Help d New Query L itty t BG L EG s 3 1 Object Ex Object Explorer Details Connect Xj Y as 390 2 s Search l MINHNNO1432 SQL Server 10 50 1600 sa MINHNNO1432 SQL Server 10 50 1600 sa Databases eium i a a New Database Name Policy Health State Recovery Model Comp E ca rag Ca System Databases Sec wm e LA Database Snapshots Ea Se Restore Database m D Re Restore Files and Filegroups La Ma ES so Start PowerShell Reports Refresh Step 2 78 Page Select ar type the name of a new or existing database for your restore operation To database To a point in time Source for restore Specify the source and location of backup sets to restore O From database VITOANDOLINNSGLEAPRESS Ca i Server ISS Full Database Backup Database Ful MINHNNO1432 MINANNO1432 Connection EF View connection properties Progress Step 3 79 Page 142 Microsoft SQL Server Manag File Edit View Debug Tools Window Community E New Query D E t H DEAR Connect ai ima E L MINHNNOL432 SQL Serv
7. Internet Explorer 9 0 and higher Opera 11 and higher 5 2 User s Guide 5 2 1 General Guide Register Step 1 Fill the info in all the text box on ng k t i kho n form amp slider gallery E slider gallery ISS ng nh p ng h ng k t i kho n Ho c Upload truy n th ng j J T n t i Rhoan No file chosen d et ig 7 Af a Rientrucsu B t bu c en M t kh u 7 B t bu c Nh p lai m t kh u e B t bu c Email johnny nguyen422 egmaiLcom B t bu c 56 di d ng 098862391 ng ky otep 2 An email is sent to your email address which you input Open the email and click to the link to activate your account Login Fill your username and your password in the text boxes on ng nh p form 86 Page slider gallery E slider gallery E ISS D ng nh p ng ky D ng nh p Ho c Upload truy n th ng N T n t i kho n Rientrucsu B t bu c Choose File No file chosen upload M tkh u B t bu c ng nh p Ghi nh t i kho n Kh ng ng nh p c If your username and your password are right you will be redirect to Dashboard View all your Images You must log in to the website first Click to Danh s ch nh c a t i DRAG DROP UPLOAD Ho c Upload truy n th ng Choose File No file chosen upload Contrast110 jpg Hydrangeas jpg Tao m i album 020 020 Admin d ng ng
8. e Phase 3 Create SRS e Phase 4 Design e Phase 5 Implementation e Phase 6 Testing Improvement amp Deployment Images Sharing Site Introduction Software Project Management Plan SPMP Presentation 1 Introduction Software Requirement Specification SRS Software Design Descriptions SDD Development Software Test Docume Test Implementation Software User Manual 67 days 4 days 11 days 5 days 10 days 10 days 25 days 5 days 20 days 5 days Figure 4 1 Overview Plan n e 5 8 12 Wed 5 9 12 Tue 5 8 12 Fri 5 18 12 Tue 5 8 12 Tue 5 8 12 Tue 5 8 12 Tue 5 8 12 Tue 5 8 12 Tue 5 8 12 Wed 8 8 12 Mon 5 14 12 Tue 5 22 12 Thu 5 24 12 Mon 5 21 12 Mon 5 21 12 Mon 6 11 12 Mon 5 14 12 Mon 6 4 12 Mon 5 14 12 Testing C Create Test Report C R R R Documentation C S 5 S 4 Controlling n Quality Management R Progress Report 1 i R MinhNN KhuNK Kh MinhNN MinhNN HieuPN KhanhNN I The Detail Plan will be updated in ISS Master Plan for Report mpp 20 Page 2 5 3 Task Sheet Assignments and Timetable Please find the attached document ISS mpp for further reference 2 6 Risk Management 2 6 1 List of Risks See Risk Register document for completed information and details ISS Risk Register xls 2 6 2 Risk Evaluation e We assigned them a numeric value on a scale Probability 1 Low 2 Medium 3
9. 1 1 System Overview This document describes the approach and methodologies used by the testing group to plan organize and manage the testing of this system It describes implementation details of test cases or technical details of how the product features should work The system will be tested is also the system our team are currently developing This system is developed based on MVC3 framework It is a website using for sharing Albums between internet users The system has similarities with other social network 4 1 2 Test Approach The testing for this project will consist of Unit System Integration combined and Acceptance test levels It is hoped that there will be at least one full time independent test person for system integration testing Most testing will be done by the test manager with the development team s participation Unit Testing will be done by the developers and will be approved by the implementing team leader All unit test information sample output data printouts and defect information will be managed by developers and it must be showed when team required System Integration Testing will be performed by the test manager and implementing team leader with assistance from the individual developers as required Acceptance Testing will be performed by the test manager and development team leader The acceptance test will be done for a period of 2 weeks after completion of the System Integration test process Programs wi
10. Not Yes PR Idofcommentimage VE eee commented Userld int ot FK The ID of User who PLA VE gt Content Nvarchar Not The content of the comment JJ emeret NEN y i CreateDate When the comment was made The total vote for this comment 65 Page ImageLike Column Name Type Null Unique P F Default Description ImageLikeld d of the image like mageid d of the image was liked ID of the user who liked the image LikeDate Not When the user hit like Not Userld Notification Column Name Type Null Unique P F Default Description Key Notifyld Not PK ThelDofthe notification int FromUserld N a FK The ID of user who made Nvarchar Not 255 ToUserld Not ToAllFriend bit Content Nvarchar Not 255 Column Name Type Null Unique P F Default Description O ct KV notification The link to image album EE which was changed liked or commented id The ID of user who own the album or image 0 10 Notify to all friends or not EMEN The content of the notification O ct When the notification was made E 5 Users Userld int Not The ID of the user UserName Nvarchar Name of the user 255 Password Nvarchar Not The user s password Email Nvarchar Not User s email address Phone Not User s phone number 20 c O et FullName Nvarchar Not User s full name 255 Birthday User s birthday Avatar Not User s profile picture 255 Sex No
11. Resize Rotate and Flip Invest Grayscale And Finally save the image to your album 5 2 2 Admin Guide Login Fill the Username and Password of Administrators Account and hit the login button to login Home Members Image Reports LogOut Log On Please enter your user name and password Account Information Manage Members Admin clicks to Members tab 94 Page Members Image Reports LogOut Members Userld UserName Email Phone UserType Text IsActive Totallmages TotalPublicAlbum TotalFollower TotalFollowing amp l test johnny nguyen422egmaiLcom Member True 0 0 0 El testl johnny nguyen422egmaiLcom Member True 0 2 ul telu1801 telu1801 egmaiLcom Member True 0 1 amp l test2 test2 egmaiLcom Member True ul Admin johnny nguyens22 gmaiLcom 0988623971 Admin True A Members List will be displayed 2 members per page click to Edit icon at each row to change the member profile or account type see Member Setting for full instruction Member Setting Members Image Reports LogOut UserType Admin M t hh u Admin Admin O L t View 1 album 0 comment Phone 0988623971 O follower 3 following 2 nh 0 like 1 public album Email johnny nguyen422 egmaiLcom Thay i Image Report Setting Admin clicks to Image Reports tab 95 Page Image Report Reporter Image Reporild ReportTime Image IsBan Delete Mame Owner 2 8 16 2012 4 55 13 PM Admi
12. User Index screen NET code to render ViewStart screen Figure 8 Controller Overview 43 Page HomeController UserController 44 Page AlbumController ImageController FriendsController 45 Page Business Figure 9 Business Overview AlbumDAO AlbumCommentDAO AlbumLikeDAO ME commnemD ao AlbumLikeDAO Class Class EE i A Fa Fields E Fields E context Eu context Methods Methods 2 Create 7 GetByUser s DeleteComment s Like RI GetByImage 46 Page ImageDAO ImageCommentDAO ImageLikeDAO UserDAO 47 Page FriendDAO NotifyDAO General Figure 10 General Class Overview 48 Page General HtmlTag HtmlTag Class E Properties Attributes rm Mame 2 TrailingSlash E Methods 7 HasAttribute 49 Page TextParser HtmlParser HtmlParser E Class TextParser 3 Methods l HtmlParser 1 Y MovePastScript 3 ParseAttribute a ParseAttributeV 4 ParseNext Y ParseTag E ParseTagMame d 50 Page 3 4 3 Time Sequence Diagram Login Logout Register Register sd Register submit new account info retum gt 51 Page Login navigate to Register Page Logout Album Create Album Pre Condition User logged in 52 Page sd Create Album Pre Condition E submit Album Name lt lt create gt gt E wm wm DD wm S DD wm wm wm IL BL wg wm mm LA lt lt return gt gt wm wm wm wm
13. and the architecture of each main component and subsystem It will describe the patterns being used the role of each component and the role of the system in the working environment The detailed design describes static and dynamic structure for each component and function It includes class diagrams class explanations and sequence diagrams of the main use cases The detailed design uses notations of NET framework 4 0 and C 4 0 as they are the framework and language for developing the system The database design describes the relationship between entities and details of each entity It uses notations of SQL Server 2008 as it is the database server for developing the system The user interface design describes the layout of the system and some design for the screens 3 2 System Architectural Design 24 Page 3 2 1 Overall System Architecture Browser Very Mobile apps P di Ba Mi zc SL Internet Appicaton Server E Web Ap pic aton Web Services Figure 1 Overall System Architecture The system will use the Client Server and SOA architectural patterns as the main architecture It makes use of the Internet and common web protocols to deliver its services to the users The main entities of the above diagram will be described as following e Database store this is the central data storage for the system It may be running on a separate server to the Application Server or in the same machine e Application Ser
14. longest side 320px longest side 160px cropped square 160px and cropped square 90px When you re logged into a pro account there are no ads anywhere to be seen Also if someone is browsing your albums they won t see any ads either They earn money from selling premium account Pro account and putting the advertisement into their website If users do not want to see advertisement and use advance functions they have to pay Source http imgur com register upgrade AGA _ UI f 6 P age La JO Minus com Why 1s Minus absolutely free Their goal is to create a world class product and experience for users and the business model will follow We can see many ways Minus can monetize itself Minus is venture funded by IDG Capital Partners a global network of venture capital funds with a portfolio of over 220 companies built over the last 15 years Minus com Standard There can be a max of 300 files per folder There is no limit to number of folders you can create After sign up for a new account you get 10GB of free disk space You can buy for more disk space later You also can introduce new users about minus com and if they sign up for a new account you got free extra space Minus com keeps all files indefinitely unless deleted by the uploader or if it violates their terms of service Small one quarter Source http minus com pages help 1 3 3 Proposal Initial idea Nowadays there are thousands of
15. websites and forums almost of them need hosting the images for posting there We strongly believe that A picture is worth a thousand words We want to create an application which supports people to upload managing and sharing their favorite and memorial pictures easily Put their related images in albums and mange those albums What we want 1s establish the fun simple way to share your images Free and unlimited file sharing for your 1mages A universal file sharing platform that lets you share explore and connect They can also share their images to many other social networks twitter facebook myspace tumblr by clicking a button or some simple operations Users also can express their feelings opinions ideas about their friends photos Tell their friends that they like dislike or assess the photos albums 7 Page Main functions User s functions e Sign up Sign in Sign out e Create Albums Delete Albums Manage Albums sort Albums add more remove images in an Album rename Album move copy images from an Album to another Album Share Albums set accessibility for Albums public private protected Upload Deletes Sort images Explore Like rate comment about others public images public albums Share albums images via other social networks twitter facebook tumblr Follow friends to see the images which they are sharing Get 5GB of free disk space Upload multiple images up to 16MB support multiple way Unli
16. High Impact 1 Low 2 Medium 3 High In order to list the relative probability of a risk occurring on one side and the relative impact of the risk occurring on the other I used probability impact matrix or chart High Probability Medium Low Medium High mpact In order to calculate the simple Risk Score we multiplied the probability and impact value of each risk The values we ve got were Risk 1 Risk Score 2 3 6 Risk 2 Risk Score 2 1 2 Risk 3 Risk Score 3 3 9 2 6 3 Risk Response Strategy There are several different ways to respond on negative and positive risks For negative risks there are four basic response strategies 1 Risk avoidance eliminate a specific threat by eliminating its causes 2 Risk acceptance accept the consequences in case a risk occurs 21 Page Risk transference shifting the consequence of a risk and responsibility for its management to a third party Risk mitigation reducing the impact of a risk event by reducing the probability of its occurrence For positive risks we also have four basic response strategies e Risk exploitation doing whatever we can to make sure the positive risk happens e Risk sharing allocating ownership of the risk to another party e Risk enhancement changing the size of the opportunity by identifying and maximizing key drivers of the positive risk e Risk acceptance applies to positive risks when the
17. JF p TUNIVERSITA MINISTRY OF EDUCATION AND TRAINING DREAM OF INNOVATION FPT UNIVERSITY Capstone Project Document Image Sharing Site ISS Team Nguy n Nh t Minh 01432 Nguy n Kh c Khu 00707 Group Member Pham Ngoc Hi u 00427 Nguy n Ngoc Kh nh 00426 Nguy n Thanh T ng 00232 Mr B i nh Chi n Capstone Project ISS code Hanoi May 12th 2012 Contents l Marodi eo IRI AER E m N EN C S NE Ad 4 OO ne c EE c 4 1 1 1 A PA REE 4 1 1 2 i i pi ode EE EE o NE IP OE 4 AE ce o NE 4 Lo iis d E m 5 13 1 Overview of the similar existing solutions sisi 5 1 3 2 Overview of the existing system 6 1 3 3 2 16 0112 REE NEP 7 OLVE KN project management EEE EE EN Ub ati ta ali 9 LNR 9 2 1 1 PUDO A UU ana m Ba ER EN OE AE EE EE 9 2 1 2 D MOS and stelde di NS eese set utu bietul cat ee ee dala 9 PAPE Poom DEEN osse GE Ee ee es ae 9 2 2 1 Narme or this Capstone Project see 9 2 2 2 Feb de E 2i NIMM IEEE 9 P NEM PRO CON AN eer en ee ee sa 10 2 3 1 Ene current SVS COMA eee dpud Setup eine Ca oe eT Mi is our 10 2 3 2 The F000 161 NN 10 2 3 3 nn mem 11 2 3 4 SO EE NE 11 Zo POSC Or at ZA 10 ec es EE N 12 2 4 1 Software Process Model 12 2 4 2 holes ana ReSDOHSIDIIILI S EE C C c ca an 13 2 4 3 PA e o o o OO EE 14 23 A o o e NR OU ONU 20 2 5 1 ASN P 20 2 5 2 Bc
18. ail Restart D Start IIS B Stop o 2 3 E T Browse Web Site ZE D EN 9 Browse 6969 http ASP Authentic Compression Default Directory Error Pages Handler i E Document Browsing Mappings API filters that modify IIS functionality janced Settings ms pe N Configure A Q Lag eal e C 8 Limits MIME Types Modules Output Request SSL Settings e Help Caching Filtering Online Help Management Configurat Editor 3 Features View L Content View Ready Si het AR i ud ormati Ju FS Ca Q MINHNNO1432 Sites iss gt e Nr File View Help 9 Handler PRSE This site is in an application 4 4 Use this feature to specify the resources such as DLLs and managed code that handle responses for specific request types E im 2 pm denos manage ISAPI extensions 4 8 Sites Group by State E and native modules that are gt S admin Name Path State Path Type Handler Entry Type mapped to paths You must b iss s se aa Es VEEL Ee mp ane manage managed handlers SecurityCertificate cer Enabled File IsapiModule Inherited system web httpHandlers SimpleHandlerFactory ISAPI 2 0 ashx Enabled Unspecified IsapiModule Inherited ER NH SimpleHandlerFactory ISAPI 4 ashx Enabled Unspecified IsapiModule Inherited SimpleHandlerFactory ISAPI 4 ashx Enabled Unspecified IsapiModule Inherited SSINC shtm shtm Enabled File ServerSidelncludeModule In
19. d success criteria 15 Page e Identify and document project constraints e Identify and document project assumptions e Identify and secure project team resources e Serve as focal point for project communications e Develop and present Milestone review briefings Project Planning e Create Review Approve Project Plan including Project Charter Scope Statement constraints assumptions WBS defining project deliverables cost estimates and project budget major milestones schedule resource requirements acquisition procurement plans risk analysis and response plans project team structure and communications plan Also included will be the deliverables acceptance criteria quality metrics and the acceptance process e Develop the supporting plans such as scope cost risk schedule quality resource security deliverables procurement and change management plans e Obtain stakeholder approval and acceptance of the Project Plan e Obtain organizational commitment and support for completion of project task assignments timing and quality e Establish baseline Project Execution e Manage and monitor day to day activity and provide direction to team members and supporting organizations e Manage to and monitor quality targets and goals both project and product e Manage and monitor risk response strategies e Disseminate project information and maintain communication e Manage or support procurement process and contract administration
20. e Public o S O Creator int Pubie UseriD nt Public O User ISS Models Users Public S Vote Jit be O 32 Page AlbumLike Details Name Type Modifier Summary Properties Albumlikeld int Publie o O Albumid jin Pubic FO Album ISS Models Album public v LikeDate System DateTime Public gt Creator fit Public UserlD it Pubie o User ISS Models Users Public O Vote it Pu PO 33 Page Image Details Name Type Modifier Summary Properties Imageld int public TI Albumid mm f Publie v Album ISS Models Album public o Alias string pute TI EE UDE CommentCount dint Public ll lt E SE AAA _NumbersOfimage int Public Diretlink Sting Publie Imagelink String Public fF ForumCode Sting Public ImageThumbnail string Public Originalfrom____ String Public ViewCount int Public 34 Page ImageComment ImageComment E Class El Properties 3 Content CreateDate Image ImageCommen Imageld User Userld Vote Details Name Type Modifier Summary Properties ImageCommentlD int public Content String public CreateDate Datetime public O Image ISSModelslmages public imagelD Jim lp c O User ISS Models Users public
21. e Album Comment Pre Condition e User logged in e The comment belongs to user sd Delete Album Comment Delete Comment DeleteComment int AlbumCommentid lt lt return gt gt X X X X Pre Condition 1 Userlogged in 2 The comment belong to User 56 Page ViewAlbumComment sd ViewAlbumComment Navigative to Album Details Page return update view X Image Comment Post New Image Comment Pre Condition User logged in GetByAlbum int albumid lt lt return gt gt Populate Data lt lt return gt gt Create View Read Data lt lt return gt gt lt lt return gt gt x X AlbumController AlbumCommentView AlbumCommentModel AlbumCommentDAO 57 Page sd InsertImageComment PostComment Populate Data lt lt return gt gt Create View Read Data lt lt return gt gt lt lt return gt gt GetByImage int imageld lt lt return gt gt Delete Image Comment Pre Condition e User logged in e The comment belongs to user DeleteImageComment Pre Condition ImageController ImageCommentView ImageCommentModel ImageCommentDAO 1 User logged in 2 The comment Delete Comment belong to User DeleteComment int ImageCommentid lt lt return gt gt return update view X 58 Page View Image Comment sd ViewImageComment Navigativeto Album Details Image Page GetBylmagelint imageld lt lt return gt gt Populate Data lt lt
22. ected network Privacy the system should provide protection method for protecting user information from outside or from other users All the information of users must not be available for anyone or software that 1s not part of the system User password 1s also invisible for the system administrator The system must provide methods to prevent common security attacks E g SQL injection D Dos Transformation of confidential information must be encrypted The system must provide secure methods for users to recovery their password including the interference of system s admin 72 Page Secure information of customers should not be stored on customer s machine Utilize certain cryptographic techniques for database Provide options for users to choose whether to share private information Restrict communications between some areas of the program Check data integrity for critical variables Must use secure connection SSL for transferring sensitive data Maintainability Coding standards and naming conventions Output of the project must include coding standards and naming conventions documentations Implementation code must be easy to maintain All code must be clearly commented including class method documentations If some components are reused the documentations of those components must also be included Design The design of the system must be loosely coupled that chances on some module will not affec
23. eft menu 91 Page DRAG DROP UPLOAD zo Ho c Upload truy n th ng Choose File No file chosen Contrast110 jpg Hydrangeas jpg OD 00 Tao m i album Admin d ng ng y 16 08 2012 Admin ng ng y 16 08 2012 Tao album Submit website urls and direct image urls You can enter multiple URLs by clicking on Th m file Upload t website kh c Danh s ch nh http Rkenh1a vn doi song sam danh http Renh1a4 vcmedia vn zoom 250 Preview Th m file Once you enter website URLs you can select which images you wish to upload choose the album which you wish to save them to and let us do the rest E 92 Page Upload tir website kh c Chon album Rh ng t n P review Th m fi le The different between Public Protected Private Album Albums are Public by default unless you toggle to make it Private or Protected Public Albums Publishes to explore your profile and followers Protected Albums only you and your friends can see the albums Private Albums only you can see the albums unless the others have direct links to the images in the album Image Processing Go to Danh s ch nh c a t i Click to Process Image button Contrast110 jpg Hydrangeas jpg Stra ti u d Stra ti u d 0 0 oPo Process Image Process Image 93 Page You will be redirect to ImageProcess page Now you can Brightness Adjustment Contrast Adjustment
24. er 10 50 1600 sa Lg Databases Lg System Databases CA Database Snapshots 155 Lg Database Diagrams 3 Tables Lg Views CA Synonyms Lg Programmability Lj Service Broker Lg Storage 5 L i Security curity erver Objects Ll Replication Management 5B SUL Server Agent DI STEE c E E Ki The database contains one user with login account admin abc123 This user has full privileges to the system Deploy web application Deploy and configure IIS on localhost Register ASP NET with IIS open command line tool with admin privilege change working folder to C Windows Microsoft NET Framework v4 0 30319 windows 7 x86 Or C Windows Microsoft NET Framework64 v4 0 30319 windows7 x64 Example type cd C Windows Microsoft NET Framework v4 0 30319 80 Page EE Administrator CAWindowsysystem32Ycmd exe Microsoft Windows Version 6 1 76HH Copyright lt c gt 2649 Microsoft Corporation All rights reserved C Users dminicd G Windows Microsoft NET Framework ud Ad 2d31 Cr Mindouwus Microsoft NET Frameuwork ud H 3A31 gt Type aspnet regiis i and press enter to register ASP NET 4 0 to IIS EM Administrator C Windows system32 cmd exe bo IR Microsoft Windows Version 6 1 76046 Copyright lt c gt 2009 Microsoft Corporation All rights reserved Co Windows s ystem32ecd C Mindous Microsoft NET Erame in kb gt 4 34317 C Mindous Hicrosoft MET Frameworkbd ud H 3H31 2aspn
25. ess classes data access layer business interface 26 Page The aim and challenge for the design is that this component will be application type independent That is this component is not tied only to web application but can be used for other NET application types if necessary All the services of this component will be used by dependent components via its interfaces Services Repositories Figure 3 ISS Business 3 3 3 ISS Web Component This component is responsible for delivering the front end to the users and accepting their inputs It will be developed using ASP NET MVC 3 framework An MVC Application is designed and implemented using the following three attributes Figure 4 3 Attributes of An MVC Application 27 Page e Model The model contains the core information for an application This includes the data and validation rules as well as data access and aggregation logic e View The view encapsulates the presentation of the application and in ASP NET this is typically the HTML markup e Controller The controller contains the control flow logic It interacts with the Model and Views to control the flow of information and execution of the application The overall architecture of ISS Web component will be depicted as the following diagram Figure 5 The overall architecture of ISS Web component e Framework Contain the core framework to build web application 3 4 Detailed Design 28 Page 3 4 1 Clas
26. est all functions in Manage Spam Manage Reported Albums includes list all spam reports confirm false report delete spam entity view spam report detail Users Test all functions in Users includes Login Logout Register User info Change password 76 Page Friend Test all functions in Friend page includes send follow request accept follow request follower list and following list Search Test all functions in Search page includes Search Tag Cloud Album Image 4 2 4 Features not to be tested The following is a list of the areas that will not be tested in this system Admin Manage Reported Images Admin Statistics Network Connection amp Security With each user it will be different We only ensure that this system will affect to network Performance There wasn t enough time so we can t optimize source code and improve performance We can only ensure the system work well but not at its best performance 77 Page 5 Software User s Manual 5 1 Installation Guide 5 1 1 Setting up the environment at server side The following software must be installed into the server machine Windows Server 20083 operating system or above Internet Information Services IIS 6 0 or above SQL Server 2008 R2 NET Framework 4 0 5 1 2 Deployment at server side Prepare deployment package Extract the deployment package to a folder on the server For example ENSS ES SEL Computer DISIG E ISS gt Organize
27. et reyils 1 Start installing ASP NET 4 B 3H3192 Finished installing ASP NET 4 434319 C Windows Microsoft _ HET Framework645u4_ 6 360319 gt Open IIS by opening start menu type iis and press enter Da aa 81 Page e dy MINHNN01432 Home E Restart PU Go Show All Group by Area Deet Si 2 Application Pools i o Eee en e Ae Bd D Start gt 8 Sites A o B Stop o 3 D d a View Application Pools NET NET NET Error NET NET Trust Application Connection Machine Key Pagesand Providers View Sites Authorizat Compilation Pages Globalization Levels Settings Strings Controls Change NET Framework Version Help Session State SMTP E mail Online Help IIS g SS ASE y ASP Authentic Compression Default Directory Error Pages Handler HTTP ISAPIand ISAPI Filters Document Browsing Mappings Respon CGI Restri br ar Logging MIME Types Modules Output Request Server Worker Caching Filtering Certificates Processes Management Configurat Feature Shared Editor Delegation Configurat E Features View 7 Content View OO File View Help Q Add Web Site y e Go Lei Show All Group by No Grouping Set Web Site Defaults Status Binding Path e inna Started ht 9696 http D ISS source code ISS_16082012 Ad Online Help Started ht 6969 http D MSS source codeMSS 16082012 ISS ES Switch to Content View 82 Page Application po
28. for installing or deploying the system The customer can follow the steps without direct help from the developing team Reliability Initial data must be collected carefully and correctly 71 Page Availability Security The database must be backed up regularly and can be recovered if necessary Have a good spam filter Rating system must be reliable Not conflict with other software Rate of fault occurrence ROFO a number of 0 005 1s acceptable It means that it 1s acceptable to have 5 failures happen in each 1000 operational time units e g 5 failures per 1000 hours of operation Mean Time Between Failures MTBF 1 month Mean Time To Repair MTTR immediately when admin finds out problem or website 1s attacked by someone Average 1 day Accuracy precision of floating number should be rounded to 0 01 AII currency units must be displayed e g VND Maximum Bugs or Defect Rate 5 bugs KLOC Bugs or Defect Rate o Minor bugs bugs related to GUI o Significant bugs bugs related to minor business logic o Critical bugs function can t execute correctly completely loss of data disconnect to the server Systems have to run 24 hours 7 days Can be turned off when upgrading and must display an alternative maintenance page in such occasions Percentage of time available is about 95 97 Because the system uses client server protocol through Internet network we cannot control cases of force majeure such as power failure disconn
29. herited Add Script Map SSINC shtml shtml Enabled File ServerSidelncludeModule Inherited SSINC stm stm Enabled File ServerSidelncludeModule Inherited Add Module Mapping svc ISAPI 4 0_32bit svc Enabled Unspecified IsapiModule Inherited Edi Feb Pa svc ISAPI 4 0 64bit svc Enabled Unspecified IsapiModule Inherited Bever Fo el TRACEVerbHandler Enabled Unspecified ProtocolSupportModule Inherited View Ordered ERE vbhtm ISAPI 4 0 32bit vbhtm Enabled Unspecified IsapiModule Inherited Help vbhtm ISAPI 4 0_64bit vbhtm Enabled Unspecified IsapiModule Inherited Online Help vbhtml ISAPI 4 0 32bit vbhtml Enabled Unspecified IsapiModule Inherited vbhtml ISAPI 4 0 64bit vbhtml Enabled Unspecified IsapiModule Inherited wc Enabled Unspecified IsapiModule Local WebServiceHandlerFactory IS asmx Enabled Unspecified IsapiModule Inherited WebServiceHandlerFactory lS asmx Enabled Unspecified IsapiModule Inherited WebServiceHandlerFactory lS asmx Enabled Unspecified IsapiModule Inherited xamlx ISAPI 4 0_32bit xamlx Enabled Unspecified IsapiModule Inherited xamlx ISAPI 4 0 64bit xamlx Enabled Unspecified IsapiModule Inherited xoml ISAPI 4 0 32bit xoml Enabled Unspecified IsapiModule Inherited xoml ISAPI 4 0 64bit xoml Enabled Unspecified IsapiModule Inherited StaticFile Enabled File or Folder StaticFileModule DefaultDocu Inherited LA Content View Configuration iss web config 3 In Executable textbox type C Windows Micro
30. human resources ISS Team decided to focus on many problems which have been raised before o User s functions Sign up Sign in Sign out Create Albums Delete Albums Manage Albums sort Albums add more remove images in an Album rename Album move copy images from an Album to another Album Share Albums set accessibility for Albums public private protected Upload Deletes Sort images Explore Like rate comment about others public 1mages public albums Share albums images via other social networks twitter facebook tumblr Follow friends to see the images which they are sharing Get 5GB of free disk space Upload multiple images up to 16MB support multiple way Unlimited Downloads and Transfer Report images albums comments which do not meet the policy abuse pornographic o Administrator s functions Manager Users e add new user delete ban block user set user type e delete ban block albums images Statistic 10 Page e How many new users albums images in today this week this month this year e Supporting Table and Charts o Non Users functions Upload single image up to 2MB Get share link hot link The future vision We can develop additional features have been available e Sign In you can use your account from other internet services to sign in ISS such as Google facebook twitter e Upload To enhance the image by the algorithm up to help the
31. ien ra bien xam pham quan dao hoang sa truong sa jpg c a b n 06 08 2012 12 08 Tao album i g NE test3 binh lu n birc anh Desert jpg c a b n 06 08 2012 12 07 test3 th ch birc nh Tulips jpg c a b n 05 08 2012 08 41 Th ng b o 0 test3 th ch birc nh Tulips jpg c a b n 05 08 2012 08 40 Upload from web You can see who like your images your albums or comment See Friends request Click to Y u cau k t ban Th ng b o 0 Upload from web Anh m i t b n b Danh s ch Albums c a t i Danh s ch nh c a t i C gi hot Y u cau k t ban 0 A list of friends request from other accounts will be displayed You can accept the request friends will be able to see your new public update on their dashboard or your all and protected albums or decline the request View all friends images You must log in to the website first Click to nh m i t ban b 90 Page i hinh dai di n ike 2 public album Hoac Upload truy n th ng Choose File No file chosen upload Contrast110 jpg Hydrangeas jpg 020 6 090 Tao m i album Admin d ng ng y 16 08 2012 Admin d ng ng y 16 08 2012 If you are not logged in you will be redirect to Home Index Upload Images from the web You can now select images from the Web by entering the website URL or direct image URL to upload and share instantaneously Click to Upload from the web in the 2 place on l
32. ies those who participate in a supporting role 18 Page A Accountable Those who are ultimately accountable for the correct and thorough completion of the deliverable or task and the one to whom Responsible is accountable In other words an Accountable must sign off Approve on work that Responsible provides There must be only one Accountable specified for each task or deliverable S Support Resources allocated to Responsible Unlike Consulted who may provide input to the task Support will assist in completing the task C Consulted Those whose opinions are sought and with whom there is two way communication I Informed Those who are kept up to date on progress often only on completion of the task or deliverable and with whom there 1s just one way communication Project Leader HEN Project Instructor mas Identify Business cases and key stakeholders E Hold project kick off meeting RO i mE Prepare Project Charter El Analysis amp Design Team El Development Team ig Peete tm M RS tee N beste OE me ema 6 as se ee 19 Page do Project Management Plan 2 5 1 Task Overview Plan Basically the project is divided into six main phases as follows 1 2 P 10 32 36 56 75 82 95 99 2 5 2 Detail Plan e Phase 1 Introduction e Phase 2 Planning
33. ifier Summary Properties Desc Strings publie J O Image Lane public Link Lamm pulc O Name String pulc 38 Page Friend Details Name Type Modifier Summary Properties Friendid id public TI AcceptDate System DateTime public FollowDate System DateTime public Follower Um publie FollowerUser ISS Models Users public IsAccept bool publie tofollow fint Public O _toFollowUser ISSModelsUses public Notify Details 39 Page Name Type Modifier Summary Properties Notifyld 9 bie 1 NotifyTime_____ System DateTime__ public o Content Sting Jjpubic J FromUserld int public Link ISSModelsUses pub O _toAllFriend boo pubic touserld it publ ISSContext View Album AlbumDetail cshtml Contain HTML markup and NET code to render Album Detail screen Albumlnfo cshtml Contain HTML markup and NET code to render Album Info screen AlbumInfo NotOwn cshtml Contain HTML markup and NET code to render Album Info which does not belong to User screen 40 Page Index cshtml Contain HTML markup and NET code to render Album Index screen Image Details cshtml Contain HTML markup and NET code to render Image Details screen ImageTitle cshtml Contain HTML markup and NET code to render Image Title screen
34. l Link HTML code for album Manipulate Images Yes if you use Firefox yes plug in or Google chrome extension Support interactions between users make friends tracking activities Firefox plug in to support yes yes files upload Google Chrome yes yes extension to support files upload 5 Page Window application to yes yes support upload multiple files Vietnamese User NO No Interface 1 3 2 Overview of the existing systems Imgur com Imgur com Standard Pro 225 Limit Standard accounts are limited to the 225 most recent images After that the newest uploads will be shown and the oldest uploads will be bumped out of the account not deleted just hidden from within the account There is no limit to pro accounts 1 MB maximum 5 MB maximum With standard accounts images over 1 MB will be compressed until they are less than 1 MB With pro accounts your images aren t touched in any way unless they are over 5 MB in which case they will be compressed until they reach 5MB in size 6 months with no views Never Normal images that are not viewed for 6 months may be removed However images with pro accounts can only be removed by you if the image violates our terms of service it will be remove by admins omall and Large Small Medium Large Huge Small Square Big Square You get 4 extra thumbnails with pro accounts making 6 thumbnails total The sizes are longest side 1024px longest side 640px and
35. ll enter into Acceptance test after all critical and major defects have been corrected A program may have one major defect as long as it does not obstruct testing of the program There is a work around for the error Prior to final completion of acceptance testing all open critical and major defects must be corrected 4 2 Test Plan 4 2 1 Resources Roles and Responsibilities Resources Roles The test team will consist of 1 project manager 1 test lead 3testers Responsibilities 75 Page Understand requirement creating test scenarios test scripts preparing test data executing test scripts and reporting defects and reporting results to test lead 4 2 2 Testing Tools and Environment Test server configuration a Hardware e Intel R Core TM 2Duo CPU T8100 2 10GHz e Memory 3072Mb Ram b Software e Windows 7 Enterprise x64 SP2 e Microsoft SQL 2008 R2 e Web deployment 2 0 Test client configuration e Windows 7 e Chrome 21 0 Internet Explorer 9 0 Firefox 14 0 4 2 3 Features to be tested The following is a list of areas to be focus on during testing of website Admin Manager Users Test all functions in Manage Users page includes List all users see and update a user s info Admin Manage Reported Images Test all functions in Manage Spam Manage Reported Images includes list all spam reports confirm false report delete spam entity view spam report detail Admin Manage Reported Albums T
36. mited Downloads and Transfer Report images albums comments which do not meet the policy abuse pornographic Administrator s functions e Manager Users e add new user delete ban block user set user type e delete ban block albums images e Statistic e How many new users albums images in today this week this month this year e Supporting Table and Charts Non Users functions e Upload single image up to 2MB e Get share link hot link Extend functions products Edit Images adjust brightness level contract resize zoom in out histogram crop Firefox plug in Google Chrome extension client applications for upload images Update the activities from users friends in real time like notification in Facebook 8 Page 2 Software project management plan 2 1 Introduction 2 1 1 Purpose This document includes the plan timetable and project convention According to it all members can learn the task to complete work on schedule 2 1 2 Definitions and Acronyms Acronym Definition Note Architecture Design Detail Design J Project Technical Leader PC Personal Computer QA Quality Assurance Officer rw wem god Problem Definition 2 2 1 Name of this Capstone Project This project which is created as a website is named Image sharing site ISS 2 2 2 Problem Abstract Nowadays there are thousands of websites and forums almost of them need hosting the images for posting there We str
37. n test Koala jpg False XK 3 8 16 2012 4 55 59 PM Admin test Desert jpa False XK Admin can View Reporter Profile click to Reporter s name at each row View Image Owner Profile click to Image Owner s name at each row View the Image which was reported click to Image s name at each row Ban the image click to True False at IsBan column Delete the report click to delete button 5 3 Others 6 Appendix 6 1 References EN Title Report 1 version 0 1 Project This is the Description of ISS Project 2 3 4 Description Open Stop Testing lterative http www onestoptesting com sdlc Model models iterative model asp us library ms229002 aspx Wikipedia 2011 Use case lt http en wikipedia org wiki Use case 8 February viewed 10 February 2011 8 NET Naming Guidelines http msdn microsoft com en suggested Edits and Edit gested edits and edit review gt Review blog February 5th Stack Exchange viewed 10 Jeff Atwood 2011 http blog stackoverflow com 201 1 02 sug 96 Page 97 Page
38. nd for acceptance As the software evolves through successive cycles tests have to be repeated and extended to verify each version of the software 2 2 4 2 Roles and Responsibilities Project Stakeholders Project Instructor Supervisor lt Mr B i nh Chi n Project team member Project Manager MinhNN Development Analysis and Team Design Team KhanhNN MinhNN TungNT KhuNK HieuPN TungNT KhuNK 13 Page Figure 2 2 Project organization chart in ISS project 2 4 3 Roles of ISS Team Supervisor The person has expert knowledge about project development process and knows how to do He drives project to the goal He acts like operation manager and Inspectors make enforce discipline in project team He is involved from the start of the project participate with project team as guider and reviewer Responsibilities e Provide an environment for the project team that is conducive to research and in which the student can grow intellectually e Construct an master plan for the project team for the period of time for the degree o Establish a timeline and goals with the project team at the beginning of the project Provide appropriate guidance to the project team during their research and working Arrange a regular meeting with the project team members and committee to monitor the project development process Discuss with the project team the normal expectations held by the supervisors the faculty at the beginning
39. ntains the keywords Image which title contains the keywords Album which tag or Album Name contains the keywords K t qu tim ki m f kientrucsu johnny nguyen422 gmailcom kientrucsu 1 Like 0 l t xem kientrucsu 2 0 Like 1 l t xem 8 8 2012_kientrucsu likes 1 l t xem hientrucsu D likes 7 l t xem Click to each result to view full details See notification Click to Th ng b o Ho c Upload truy n th ng Choose File No file chosen upload Contrast110 jpg Hydrangeas jpg Tao m i album Admin d ng ng y 16 08 2012 Admin d ng ng y 16 08 2012 Tao album The list of notification will be displayed 89 Page Danh s ch nh Danh s ch th ng b o X a nh Chuy n album Admin binh lu n birc nh Tulips jpg c a b n 08 08 2012 10 48 DRAG DROP UPLOAD test3 binh lu n b c nh Desert jpg c a b n 06 08 2012 08 42 a Q test3 binh lu n b c nh Lighthouse jpg c a b n 06 08 2012 08 42 test3 th ch b c nh Desert jpg c a b n 06 08 2012 08 35 Ho c Upload truy n th ng test3 binh lu n birc nh Chrysanthemum jpg c a b n 06 08 2012 12 09 Choose File No file chosen upload test3 binh lu n birc nh gan 9000 tau ca toan tinh hai nam trung quoc tien ra bien xam pham quan dao hoang sa truong sa jpg c a b n 06 08 2012 12 08 Tao moi album test3 binh lu n b c nh gan 9000 tau ca toan tinh hai nam trung quoc t
40. oblems Your storage is out of space and you do not want to purchase for a new storage You want to share pictures with friends as well as post images on message boards websites forums and blogs You want to put your pictures into albums and easy to share that albums as well embed those albums into your own websites A place where you can back up all your images just in case your local storage suddenly broken Vietnamese users want a images hosting service that 1s made for them with easy to use functions comfortable user interface and support Vietnamese 4 Page 1 3 Literature review 1 3 1 Overview of the similar existing solutions During the study we found out that each system has its own advantages but it will be more wonderful if we can combine all the advantage and resolve the disadvantage of all the existing systems to give a better product to the market especially for Vietnamese customers Methods Imgur com Minus com Type an online image Image hosting service and hosting service Image Sharing Social Network Upload from a specific yes URL Example http i imgur com AtMLO j g Retrieve all images from no a given webpage with an URL and save them into users album Drag and Drop Files from yes anywhere into website and save it into users album Manager Images Album yes yes rename sort move delete Support Embed Link for yes images Image Direct Link PHP Forum Code Html Code Thumbnai
41. of project Assist the project team in refining their research topic and questions 14 Page Name Assist and advise the project team with their application to the Research Ethic Board or other ethics as required Inform and assist the project team in preparing an abstract for the conference Clarify with the project team any questions regarding intellectual property rights primary authorship on research activities and the specific role of the project team members the supervisor And other collaborators in the project Ensure all tasks are on schedule and deliverable on time Roles Project Manager Responsible for managing project in conjunction with the supervisors The PM ensures that the project 1s delivered on time and met the requirements and standard quality PM guarantee the project 1s on schedule and checks status with other team members daily The important role of the PM 1s managing the work of consultants allocating and maximizing resources effectively PM also motivates and inspires the others to achieve the project s goal Responsibilities General Functions Comprehend and implement organizational project policies and procedures Maintain project staff technical proficiency and productivity provide training where required Establish and maintain project quality Identify and procure project infrastructure needs Develop Project Charter and obtain approval Define project goals objectives an
42. ol ISS Content Directory Physical path D 155 source code 160820121155 Pass through authentication Binding Type IP address Host name Example www contoso com or marketing contoso com Start Web site immediately Test the application by entering localhost 6969 in to address bar of the browser The application should show up Xin ch o ban d n v i ISS H y ng ky Th nh Vi n c th s dung m i ch c n ng slider gallery lE slider gallery E ISS UPLOAD DRAG DROP ng nh p ng k S u ng nh p Ho c Upload truy n th ng No file chosen upload T n t i khoan admin B t bu c M t kh u B t bu c ng nh p Kh ng ng nh p c FIGhi nh t i kho n 83 Page Now add new Handler Mapping to ISS website gt MINHNNOM32 Sites tt Lu File View Help Q3 iss Home x Explore 4 G MINHNN01432 MINHNNOM per va Tr Area E Edit Permissions Y Application Pools i Sites ASP NET i h N Fm Bindings gt admin iz 4 4 4 fat l gt iss 2 E a OS N ab Basic Settings NET NET i NET Error NET i NET Profile NET Trust Application Connection Machine Key Pages and View Applications Authorizat Compilation Pages Globalization Levels Settings Strings Controls n mE View Virtual Directories SL Manage Web Site A Session State SMTP E m
43. on amp Testing Coding and Testing Evaluation Check if the product meets Requirement and QA If not come back to re plan Re plan Extend the Initial Plan or earlier plan to new version depends on time requirement and situation For each cycle of the model a decision has to be made as to whether the software produced by the cycle will be discarded or kept as a starting point for the next cycle sometimes referred to as incremental prototyping Eventually a point will be reached where the requirements are complete and the software can be delivered or it becomes impossible to enhance the software as required and a 12 Page fresh start has to be made The iterative lifecycle model can be likened to producing software by successive approximation Drawing an analogy with mathematical methods that use successive approximation to arrive at a final solution the benefit of such methods depends on how rapidly they converge on a solution The key to successful use of an iterative software development lifecycle is rigorous validation of requirements and verification including testing of each version of the software against those requirements within each cycle of the model The first three phases of the example iterative model is in fact an abbreviated form of a sequential V or waterfall lifecycle model Each cycle of the model produces software that requires testing at the unit level for software integration for system integration a
44. ongly believe that A picture is worth a thousand words We want to create an application which supports people to upload managing and sharing their favorite and memorial pictures easily Put their related images in albums and mange those albums What we want is establish the fun simple way to share your images Free and unlimited file sharing for your 1mages A universal file sharing platform that lets you share explore and connect 9 Page They can also share their images to many other social networks twitter facebook myspace tumblr by clicking a button or some simple operations Users also can express their feelings opinions ideas about their friends photos Tell their friends that they like dislike or assess the photos albums ISS Image Sharing Site is a social network oriented website about images sharing for Vietnamese users Users can upload photos and share them via social features of the site LAN Project Overview 2 3 1 The current system Current picture sharing websites is created with the huge server for unlimited storage Vietnamese always used to use these sites with high frequency but not really have an Images Sharing Social Network for Vietnamese 2 3 2 The Proposed System Refer to the Report I Project Description 1 Boundaries of the system The scope of the system under development Based on the current modern web process in three month period of capstone project and the limitation of
45. ontain HTML markup and NET code to render Image list screen ImageList NotOwn cshtml Contain HTML markup and LikeView cshtml Contain HTML markup and NotifyMenu cshtml Contain HTML markup and LikeDetailView cshtml Contain HTML markup and User AccountInfo cshtml Contain HTML markup and AccountSettings cshtml Contain HTML markup and AlbumDetails cshtml Contain HTML markup and Follow cshtml Contain HTML markup and Follower cshtml Contain HTML markup and Following cshtml Contain HTML markup and NET code to render Image list which does not belong to the user screen NET code to render Like View screen NET code to render Notify Menu screen NET code to render Like Detail View screen NET code to render Account Info screen NET code to render Account Settings screen NET code to render Album Details screen NET code to render Follow screen NET code to render Follower screen NET code to render Following screen 42 Page FriendRequest cshtml Contain HTML markup and ImageDetails cshtml Contain HTML markup and PublicAlbum cshtml Contain HTML markup and UserInfo cshtml Contain HTML markup and Index cshtml Contain HTML markup and Other _ViewStart cshtml Contain HTML markup and Controller NET code to render Friend Request screen NET code to render Image Details screen NET code to render Public Album screen NET code to render User Info screen NET code to render
46. process up of the photos faster e Edit continually add small functions to edit photos in diversification of the ability to edit website e Social Networking Add more features such tag real time notifications Development Environment 2 3 3 Hardware e Personal computers for developing with the minimum configuration 3 GB of RAM 100Gb of hard disk Core 2 Duo 2 0 GHz e Aserver computer for testing with the minimum configuration 4 GB of RAM 100Gb of hard disk Core 2 Duo 2 0 GHz 2 3 4 Software e Operating system Windows 7 Windows Server 2008 e Web Server IIS 7 e DBMS SQL Server 2008 R2 e IDE VS2010 amp NET Framework 4 0 e SVN Server e Microsoft Project Professional 2010 11 Page e Microsoft Visio Professional 2007 e Microsoft Office 2007 2 4 Project Organization 2 4 1 Software Process Model There are six steps which are repeated during the project process Requirements Design Implementation Testing and Evaluation Re plan Requirements Analysis amp Design Implementation Planning Deployment Initial Planning Evaluation Testing Figure 2 1 Iterative Process Model All following steps are repeated during project development process Requirements All information about the product we make functional amp non functional requirement We come back to it many times for fulfilling requirements Design Including Architecture Design Detail Design and Diagram Implementati
47. project team cannot or chooses not to take any actions toward a risk Technology Technical Issues faced during project development process Human Project team members lack of skills technical skills soft skills communication team Work Tools Software that used to develop project are not free beta version High Moderate Moderate Serious Serious Tolerable With the guidance of Technical Directors people follow Researching Technology Plan and coordinate to each other to resolve all technical 1ssues Creating a training plan that includes all technology and soft skill team members need to develop the project Create a plan clearly and make sure that all team members understand what they do Use software in MSDN Use open source software 22 Pag D We follow Coding conventions rules which 1s provided by FPT Software based on Standard C Sharp Coding Convention from Microsoft For more Details ISS Standard CSharp Coding Convention pdf 2 9 All meeting minutes 23 Page 3 Software Design Details 3 1 Design Overview This document describes the technical and UI design of the ISS system It includes the architectural design and the detailed design of common functions and business functions It also includes the design of database model and overall design of user interface The architectural design describes the overall architecture of the system
48. r can view information of album rate the image from I to 5 stars like it share it on social networks Twitter and Facebook comment or report it as spam or abuse Registered User can upload multiple images User can view his her favorites album and remove album from the list at his her profile page User can vote up vote down or report comments of other users but his her comments Administration requirements Admin can view a list of all Tags in the system add new Tags edit Tags and delete Tags 67 Page Admin can view a list of all users in the system view and edit user information active users on the system ban users or block users Admin can view a list of all advertisers on the website add new ones edit or delete advertises Admin can view a list of spam reports decide they are spam or not Spam reports include reports about images albums comments questions answers and users Admin can see list of contacts from users to administrators view detail or delete it Admin can see statistics on the whole system Registered User number Activated User number Place number Comment number Question number Answer number All the Time Visitor number Today Visitor number Online Visitor number Comment requirement A comment can t be blank and must be less than 4000 characters When the number of comments 1s big the comments will be displayed each time 10 comments To see more comments users click to Xem th m
49. requirements Project Control e Develop and distribute project performance reports Regularly review project status evaluating performance criteria scope cost schedule amp quality e Develop and manage corrective action plans 16 Page e Evaluate project performance and initiate change requests as required scope cost schedule or quality Participate in change control board to review and approve product project changes Analysis amp Design Team The team who create AD and DD document base on SRS They have a vision of the system with expert knowledge analysis SRS and make it more readable for programmers The primary responsibility of them is providing the development team with a roadmap that is specific enough for them to create a website that lives up to the website envisioned by the designers Their vision drives the rest of the production process All of the assets created by the project team and the activities programmed by the software engineers are driven by the decisions made by the website designers at the pre production stages Responsibilities e Analysis and understand Website Design SRS with expert knowledge e Create Architecture Design and Detail Design document Development Team DT Responsible for designing and implementing an executable code solution testing the resulting components and analyzing runtime profiles to debug errors that might exist A software developer may al
50. return gt gt Create View Read Data lt lt return gt gt lt lt return gt gt return update view X X X 59 Page Search sd Search insert keywords into searchtatbox UserDAO Search keyword IEnumerable lt Searchitem gt AlbumDAO Search keyword IEnumerable lt SearchItem gt ImageDAO Search keyword IEnumerable lt SearchItem gt Populate Data lt lt return gt gt Create Read Data lt lt return gt gt lt lt return gt gt Return Search Result Set X X X Update User Profile Pre Condition User logged in 60 Page sd UpdateUser Profile Pre Condition Navigateto UserProfile Page Create lt lt return gt gt GetbyID int userD Create lt lt return gt gt lt lt return gt gt Display UserProfile Page vm wm pm wm m mm mm Submit new info UpdatelInfo Users u Update lt lt return gt gt lt lt return gt gt Display UserProfile Page X X X X Album Like Pre Condition User logged in sd AlbumLike ei FK vs EEE EE EEE AlbumController AlbumView AlbumLikeDAO AlbumDAO 1SS Context Model A J K y D M Hit Like button AlbumLikeDAD Like u UserId albumld listike dibAlbumLike Add ike lt lt return gt gt dhABumL ike Where mz m UserlD Userld amp amp m Albumld Album return gt wm mm wm wm mm mm mm mm mm mm al dbAlbumLike Remove like reat
51. rface need to attract the attention of users to the product image Products are things having a lot of colors and diversity combination in order to attract users Website should have the background simple less color less attention but that also shows clear boundaries between each section photos with text photos with 69 Page photos and photos with the background So color choices should be pleasing to the eye and should stimulate the user s interest The look and feel of this website should be based on user requirements Page layout and navigation should be as intuitive and easy as possible The overuse of product images should not increase the time in which a page downloads which has a negative impact on usability Hardware Interfaces ISS website needs to run are the peripheral devices mouse and keyboard Software Interfaces Products run on web application it requires the use of programming languages supported on the browser Outside the system should use the program to manage resources data this program can be combined with the system can change and update from the system Data products will be exchanged between systems and external data through data management software Microsoft Windows Microsoft Server 2010 Communications Protocol ISS website 1s implemented on the browser using standard protocols to communicate between users and server In the process of communication some important information of the u
52. s ViewCount int not The total number of times n JI Lid lae CreateDate datetime not The day when Album was om e e EmbedHtml nvarchar not N A For paste in Users websites na mE AbumownersUselD Tags xml not The keywords are referred to eo IS ee EE The total number of the users who hit like the album O O AlbumAlias varchar ot 255 Thumbnail nvarchar not 255 O O O O Default Description Id of album which was commented Id of user who commented Content of comment The total number of users who voted for this comment AlbumCommentld Userld int Net Content nvarchar TT aoo i AlbumLike Column Name Type Null Unique P F Default Description AlbumLikelD Not ID of Album Like Id of album which was liked ID of user who liked the album When the user hit like button 64 Page Friend Column Name Type Null Unique P F Default Description Friendid int Follower i ToFollow sAccept FollowDate datetime sent accepted Column Name Type Null Unique P F Default Description mageld int Not Id of image Not 255 255 255 1000 from ct Image ViewCount int Not How many times the image was viewed UploadDate Albumld int Not The ID of the album which e DirectLink Nvarchar Not Where the image is located in Like int The total number of users Ka ImageComment Column Name Type Null Unique P F Default Description Key ImageCommentld
53. s Diagram Overview AlbumController Class Controller e HtmlParser e lass Class E E b TextParser Controller ImageCommentDAO E Class ME Controller IS Searchltem E D AlbumCommentDAO 3 Controller i Class las Class d L General Class E Hometontroller Class Controller ISSContext Class DbContext FriendsController Class Controller Figure 6 Class Diagram Overview 29 Page 3 4 2 Class Explanations Model Figure 7 Model Overview 30 Page Album Details NE Tate Type Modifier Summary GetPermission string public Properties Albumid mm f Publie AIbumAlias string Public AlbumName string public CommentCount int Public CreateDate System DateTime Public Creator Um Publie EmbedHTML Sting public 31 Page ImageCount int Public System Collections Public Generic ICollection images dike Un Publ NumbersOfimage int Public Permission be Public Tag string Public Thumbnail string Public User ISS Models Users Public ViewCount in Public AlbumComment Details NE Tate Type Modifier Summary Properties AlbumCommentid int Publie Albumid jin CS FO Album ISS Models Album public Content Sting Public CreateDate System DateTim
54. ser system will be encrypted using special algorithms Besides the design synchronize data and systems all components of the system can access data at any time 70 Page The system should produce nicely formatted HTML that popular social network such as Facebook MySpace Twitter can share information The web pages must be easy for search bots such as Google Yahoo to find and cache System Features Software System Attributes Usability GUI All the text image text and help documents should be in Vietnamese The interface should be elegant simple and out standing All images must also provide alt attribute Usability for end users Searching tool should be easy to use The website must provide a help page to support novice users Users can use main functionality of the system without logging in to the system The system should remember information but not confidential that users have to provide regularly For example name address Usability for admin and staff Website admin should need no more than one day of training to be productive with the system Detailed help must be available for the admin and staff both in web pages and separate documentations Installation The system must be easy to deploy Customer can deploy successfully and learn to configure maintain the system within one day of training The documentation for installation must be included It describes detailed steps
55. so be responsible 17 Page for creating the software s architecture and or employing rapid application development tools Responsibilities Development Team is responsible for programming the functionality of the website So while Analysis amp Design Team is tasked with determining what a website should do the Development Team figures out how it is going to do it and then writes the necessary programming code Much of this programming code is behind the scenes and not visible to the user However Development Team also is responsible for the code that the user sees This 1s the HTML DHTML and JavaScript that make up most of the web pages users interact with in users web browser Name Roles QA Team Decrease the defect through attend the process of analysis design development so it need a process that go through the whole software development life cycle and supported by the other team such as design dev QA should detect the potential defects and help the dev to decrease them in the earlier phase of the software development life cycle Responsibility Provide Test case and Testing Strategy amp Plan Implement Test Strategy amp Plan RASCI Model R Responsible Those who are responsible for the task ensuring that it is done as per the Approver There 1s typically one role with a participation type of Responsible with others delegated to assist as the Support in the work required RASCI separately identif
56. soft NET Framework v4 0 30319 aspnet_isapi dll 84 Page IR MN Request path Executable CAWindowsy Microsoft NET Framework v4 0 30319 aspnet_isapi dll Try logging in with admin account admin abc123 The system should log you in successfully Do the same to add Admin website to ISS Change configurations Configure the domain name for ISS website and Admin website on application setting Step 1 open the web config of ISS website and Admin website Step 2 find lt appSettings gt Step 3 type add key Domain value http localhost 6969 gt The Value is the domain name of ISS website lt appSettings gt add keyz webpages Version wvalue 1 8 8 8 gt add key ClientValidationEnabled value true gt add key UnobtrusiveJavaScriptEnabled value true gt add key Domain value http localhost 51862 lt appSettings gt Step 4 change the connection string to SQL server lt connectionStrings gt add name ISSContext connectionString Data Source Initial Catalog ISS Persist Security Info True user id sa password 123456 MultipleActiveResultSets True providerName System Data SqlClient connectionStrings With your user id and password for SQL server 85 Page 5 1 3 Setting up the environment at Client side The system is accessed via web browsers The client machine should be installed with one of the following browsers Firefox 11 and higher Chrome 20 and higher
57. t User s sex Male Female IsActive Not The account is activated or RegisterDate When the user signed up UserType tinyint The type of the account 66 Page _LastLogin datetime Not Lasttimeuserwas signed in 3 6 Software Requirement Specifications 3 6 1 User Requirement Specification User Requirements User can create accounts on the website Email address and password are required for registering an account on the website Each email address can only be used once for registering User can edit his her account information Display Name Avatar and Password But he she can t change the email address which was used for registering User can use his her account or third party account Google Facebook Twitter Yahoo to log in to the website User can change password which was registered in case he she forgot it Change Password link will be in content of email sent to user This link will open Change Password page for user User can change his her password through his her User Profile page User can see his her account information and other s User can see other user s statistic like Display Name Registered Date number of uploaded images albums User can search for Images Albums other Users by using Search function User can view information of image rate the image from to 5 stars like it share it on social networks Twitter and Facebook comment or report it as spam or abuse Use
58. t others Logging All the errors should be logged supporting for bug fixing and maintenance All strange or sensitive situations should also be logged Email The system must provide an email address to receive customer feedback or send emails Portability Website can be used by any people with a browser and an Internet connection Performance Load time 73 Page Every page should be completely displayed within average 1 5 second and maximum 5 seconds Searching should return and display the result within 2 seconds Comments and rating and the like should affect immediately without reloading the web page Frequently accessed data must be cached Reference data must be cached Mailing system Mail server should send emails within 1 minute after associated events happen Capacity The system should serve correctly and reasonably with at least 1000 online users at a moment The system can store at least 100000 1mages and 10000 users without affecting the loading speed If the system is busy it has to inform users about that Compatibility The system should provide elegant responses for nowadays common screen resolutions 1024 768 1280 800 The output must be compatible with all common browsers Mozilla Firefox Internet Explorer Google Chrome Apple Safari and Opera Information of the system can be accessed by searching bots 74 Page 4 Project Test Documentation 4 1 Introduction 4
59. um lt lt relutri gt gt lt lt return gt gt Gorro X X 61 Page Image Like Pre Condition User logged in ImageController ImageView ImageDAO 155 Context HE Like button Image keDAOS Likelu Lserld albumid sLike dbimageLike Add like lt lt relurn gt gt 3 0 Database Design 62 Page 3 5 1 ERDs AlbumComment Y AlbumCommentid Albumid Userld Content ET FromUserld AlbumName Link AlbumAlias Vote ToUserld Permission 5 oj AlbumLike ToAllFriend 9 AlbumLikelD i Content Albumld NotifyTime Thumbnail NumbersOflmage ViewCount Userld LikeDate CreateDate EmbedHtmi Creator Tags Follower ToFollow lsAccept FollowDate AcceptDate Y Imagelikeld Imageid Userld ImageThumbnail LikeDate OriginalFrom ViewCount UploadDate Albumld DirectLink Like Y ImageCommentid Imageld Userld Content Figure 11 Entity Relationship Diagram 3 5 2 Table List Table Name Description 1 AlbumComment 3 AlbumLike Image ImageLike Users ImageComment o3 Page 3 5 3 Tables Detailed Album Column Name Type Null Unique P F Default Description y n AlbumName nvarchar not 255 n n ID of Album _ A m n Public Accessibility of the album TI Le Nig NumbersOflmage int not The total number of the images iii I
60. ver this is the server of the system running on IIS web server It includes two main components Web Application and Web Services Web Application is responsible for creating web pages It is developed using ASP NET MVC 3 framework Web Services provides the system s API to the world and some parts of the application The services are consumed by some mobile applications It is 25 Page noted that this component will not be included in this project s scope However the system architecture must be extensible for adding such a component in the future e Clients these include internet browsers running on personal computers or mobile applications targeting mobile devices The web browsers will interact with the web application via normal protocols HTTP HTTPS The mobile applications use SOA pattern to interact with the system via web services However it is also noted that they are not included in this project s scope 3 2 2 Web Application Architecture The architecture for the ISS web application will be depicted as the following diagram Figure 2 Web Application Architecture Dod ISS Common Component This component contains common logic that can be used throughout the application 3 3 1 ISS Resources Component This component contains static resources for the system It includes localized strings and messages 3 3 2 ISS Business Component This component contains all business logic for the system It includes ORM classes busin
61. wm wm wm wm HA wm wm N emm wm wm wm wm emm wm wm VN 6 9 Create AlbumModel lt lt return gt gt lt lt create gt gt lt lt return gt gt lt lt return gt gt C mm mm mm zm rm EE EE EE zm X Change Album Info sd Change Album Info zum Navigateto UserProfile Page Create lt lt return gt gt GetbyID int albumID Create lt lt return gt gt lt returns Display Albuminfo Page oue Submit new info UpdatelInfo Album lt lt return gt gt lt lt return gt gt Display Albuminfo Page X X X 53 Page Delete Album Image Upload Images sd Upload Sequence Diagram Upload a new image uploadImage createlmagelnfo lt lt retum gt gt init Upload View return Patial View return Inteface X Delete Images Pre Condition 1 User logged in 2 The image belong to User 54 Page sd DeleteImage Sunm Images to delata DefeteRanges ArrayLet lstinage foreach Images img in listimage dblmageLike Where m gt m imsgeld img Lmsgeld Move Images Change Image Title Album Comment Post New Album Comment Pre Condition User logged in 55 Page sd InsertAlbumComment PostComment Populate Data lt lt return gt gt Create View Read Data lt lt return gt gt lt lt return gt gt GetByAlbum int albumid lt lt return gt gt return update view Pre Condition Use loged in Delet
62. y 16 08 2012 Admin d ng ng y 16 08 2012 Tao album Th ng b o 0 Upload from web nh m i t ban b Danh s ch Albums c a t i Danh s ch nh c a t i A C gi hot Y u c u h t ban 0 If you are not logged in you will be redirect to Home Index View all your Albums You must log in to the website first Click to Danh s ch Album cua t i 87 Page DRAG DROP UPLOAD Six 0 Hoac Upload truy n th ng Choose File No file chosen upload Contrast110 jpg Hydrangeas jpg 5099 Doo Tao m i album Admin d ng ngdy 16 08 2012 Admin d ng ng y 16 08 2012 Tao album Upload from web nh m i t ban b Danh s ch Albums c a t i Danh s ch nh c a t i Ed O C6 gi hot Y u c u k t ban 0 If you are not logged in you will be redirect to Home lndex Search Move the mouse to the Search icon A text box will be displayed Sharing ho Sting Rientrucsu Danh s ch nh Rientrucsu 2 Wot View 3 album 1 follower Johnny nguyen422 m guy D i hinh dai di n 0 following 8 nh 3 public album DRAG DROP UPLOAD Ho c Upload truy n th ng Choose File No file chosen upload Contrast110 jpg Hydrangeas jpg OD 090 Tao m i album Admin d ng ng y 16 08 2012 Admin d ng ng y 16 08 2012 Input the keywords in search textbox and hit Enter Rientrucsu The results will be displayed include 88 Page Users whose username co

Download Pdf Manuals

image

Related Search

Related Contents

Mobnews  Manuel d`utilisation  User`s Manual  WELL SOUNDER 2000 USER MANUAL  Istruzioni per l`uso Frigorifero Manual de instrucciones Frigorífico  Français  ゲイトトレーニングシステム3 ショートハンドレール付 ロングハンドレール付  1769-UM009A-PT-P, Módulo Scanner  

Copyright © All rights reserved.
Failed to retrieve file