If you can't read please download the document
Upload
kuku288
View
219
Download
1
Embed Size (px)
DESCRIPTION
Cdac link sharing
Citation preview
LinkSharing
Weneedtodevelopalinksharingapplicationwhichcouldbeusedforsharingusefullinks/documentsamongstagroupofsubscribers.
Userscancreatenewtopicsorsubscribetoexistingtopics.Atopiccanbeeitherprivateorpublic.Apublictopicisvisible/openforsubscriptiontoeveryuser.Aprivatetopiccanbesubscribedonlythroughaninvitationsentbyanexistingsubscriber.
Theapplicationshouldprovideasolutiontofollowingstories:
1.Ausershouldbeabletologin.2.Anewusershouldbeabletoregister.Anactivevalidusershouldbeabletologinwithcorrectcredentials.3.Ausershouldbeabletoresethis/herpasswordbyclickingontheforgotpasswordlink.4.Usercancreateanewtopicandhewillbeautomaticallysubscribedtoit.Thetopiccanbeprivateorpublic.Nameofthetopicshouldbeuniqueperuser.5.Usercansubscribetoanexistingpublictopic.6.Usercanspecifyhis/herseriousnesstoaparticulartopic.7.Subscribeduserscansendinvitestoapublicorprivatetopic.8.Theusershouldbeabletobrowseallthepublictopics.9.Theusershouldbeabletoaddaresourcetoasubscribedtopic.1.Aresourcecaneitherbealinkresourceoradocumentresource.2.Alinkresourcewillcontainalinktoanexternalresourceorevenaninternalresource.3.Adocumentresourcewillconsistofdownloadablecontent.
10.Theusercannotbedeleted.11.Theusershouldbeabletomarkaresourceasread/unread.12.OnlyaCreatorofaresourceoradmincandeletearesource.13.OnlyaCreatorofatopicoradmincandeleteatopic.Itsresourcesshouldalsobedeletedirrespectiveoftheownershipstatusorresources.14.Usercanratearesource.Mostsubscribedtopicwillbeatrendingtopic.
UIHeadershownondashboardpagewillshowoneveryuserloggedinpage,nonloggedinuserwillseehomepageheader.
Flashmessageshouldpopuponeveryajaxifiedcreate,deleteorupdateofanyrecord.
Ajaxrelatedtasks(search,pagination,model,ratingetc)willbedoneafterajaxsessionisdonetillthennormalpageloadbehaviourwillwork.
Socialsharewillbethelastfeature.
ClassStructure
Diagram1.png
Domainsoftheprojectshouldmatchthisclassdiagram.
TakecareofbelongsToandhasmanyrelationships.
Seriousnessandvisibilitywillbeenums.
HomePage
Home (1).png1.Homepagewillappearifuserisnotloggedin.2.Toppostsarethoseresourceswhichhavemaximumrating.Top5recordswillbeshown.3.Recentsharewillhavelatest5resourcescreated.4.Postsofpublictopicswillbeshownonly.5.Emailandusernamewillbeunique.6.Afterregisterorlogin,userwillgotodashboard.7.Dropdownintoppostwillchangethecontentonchangeofdropdown.(Itwillbeajaxified)8.Clickingonuserimagewilltaketouserprofilepage.9.Clickingontopicnamee.g;Grailswillshowthetopicshowpage.
DashboardPageScreenshot from 2015-03-11 17:16:30.png
Thisisthedefault/homepageforloggedinuser.
Userinformationwillbeshownontopleftlikenumberofsubscriptionsandtopicscreatedbyuser.Clickingonusersubscriptionwillshowthelistofsubscribedtopicsofuser.Clickonusertopicwillshowtopicscreatedbyuser.Itwillbetopiclistpage.
Inboxwillshowalltheunreaditems.Searchwillbeajaxifiedandtheajaxedpaginated.
Clickingonmarkasreadwillremovetherecordfrominbox.
Downloadwillappearfordocumentresourceotherwiseviewfullsitewillappear.
Viewfullsitewillopenthelinkinnewtab.
Trendingtopicswillbebasedonmaximumnumberofposts.Top5willbeshown.
Subscriptionswillshowthe5subscribedtopicsoftheuser,orderedbylatestpostenteredinthetopic.Itwillshowthenumberofsubscribedusersforthetopicandthenumberofpostsharedinthattopic.
Clickingonviewallwillshowallthetopicsinalphabeticalorder.
OnlyadminandtheownerofthetopicwillbeabletoseetheEdit,Deleteandchangeofvisibilityofthetopic.
Editwillbeinlineeditingoftopicname.
Changingthedropdownoftopicvisibilitywillupdatethetopic.Sameforseriousness.
Visibilitydropdownwillappearonlyiftheuserisadminorthetopiciscreatedbyloggedinuser,sameforchangingthenameoftopic
Sendinvitationwillopenthepopup,whereuserwillselecttheexistingsubscribedtopicsorcancreateanewtopicwhichwillupdatethetopicdropdown.
Clickingoncommenticonnexttosearchboxwillopencreatetopicpopup.
Topicnamewillbeuniqueperowner.
Sharelinkanddocumentwillbeapopupaswellwhichwillopenbyclickingonthelinksgivenonheader.
Clickingontopicnamewillshowtopicshowpage.
Usercancreatenewtopicbyclickingonheadericon,itwillshowthepopofcreatetopic.
Navigationwillbesameforalltheusers.
Unsubscribewillbeshowntosubscribedtopic,usercanunsubscribebyclickingonit.
TopicShow
Topic (5).png
Clickingonthetopicnamewillshowthispage
Ajaxifiedpaginatedlistofusersandpostsofthetopicwillbeshown.
Usersandpostswillbe10perpage.
Usercansearchpostwithintheselectedtopic.
Topicnamewillbeshownonposts,usersandtopicpanelheader.
Iftopicissubscribedthenunsubscribelinkwillbeshown.
Ownerofthetopiccannotunsubscribethetopic
Subscription/Topics
Subscriptions (5).png
ThispagewillappearfromtheViewAlllinkondashboardsubscriptionpanelandalsoforadminfromtopnavigation.
Ajaxifiedpaginationandsearchingonpostsandtopic.
Searchonpostwillworkonselectedtopic.
Topicsandpostswillbe10perpage.
Onsubscriptionpage,clickingontopicnamewillopenthepostsinrightside.Ontheotherpagestopicviewpagewillbeshownonclickoftopicname.
Edit,Deletelinkswillbeshowntotopicownerandadmin.
TopiclistingwillbealphabeticalorderandpostswillbeonthebasisofdateCreated.
Markasunreadwillbeshownifthepostisalreadyreadbyuser.
Thispagewillbeusedastopicslistingpageforadmin.
Deletingthetopicwilldeleteallthesubscriptionresourcesandreadingitems.
Search
Search (3).png
Toppostandtrendingtopicswillshow5records.
Searchwillbebasedontextintopicnameorresourcedescription.
ajaxifiedpaginationonsearchwith10recordseachpage.
Searchneedstohavesometext.
Admincansearchallthepostbyenteringblanktextinsearch.
Post
Post_show (1).png
ThispagewillappearwhenuserclickonViewPostlinkpostspanel.
Editwillopenthepopupsameasusedforcreatingthepost.
Usercanratepostandshareitonsocialsites.
Ratingwidgetwillbecreatedafteradvancejquerytillthendropdownwillwork.
Numberofusersratedthepostshouldbedisplayedadjacenttotheratings.
EditProfile
Edit (3).pngThispagewillappearwhenuserclickonprofilelinkinheader.
Topiccreatedbyuserwillbeshown,10perpage.
Paginationandsearchingoftopicwillbeajaxified.
Itwillshowupwhenuserclicksonprofilelinkintopnavigation.
User
Profile (4).pngThispagewillappearforuserpublicprofile.Itwillshowupwhenanybodyclicksonuserimage.
Allthepublicsubscriptioncountwillbeshownandthepublictopicscreatedbyuserwillbeshown.Ifloggedinuserisadminthenpublicandpvtbothwillbeshown.
Topicspanelwillshowallthepublictopicscreatedbyuser5perpage,ajaxifiedsearchingandpagination.
Allthepostaddedinpublictopicswillbeshowninpostspanel,ajaxifiedsearchingandpagination.
Users(Foradmin)
Users (5).png
20recordsperpagewillbeshowntoadmin.
Onlyadmincanaccessthispage.
Usercanbedeactivatedbyadmin,bydoingthisuserwillnotbeabletologin.