学生考勤管理系统的设计和实现外文翻译(共8页).docx
《学生考勤管理系统的设计和实现外文翻译(共8页).docx》由会员分享,可在线阅读,更多相关《学生考勤管理系统的设计和实现外文翻译(共8页).docx(8页珍藏版)》请在冰点文库上搜索。
![学生考勤管理系统的设计和实现外文翻译(共8页).docx](https://file1.bingdoc.com/fileroot1/2023-5/16/2943304b-5171-45b9-aa58-b26b92c66e7f/2943304b-5171-45b9-aa58-b26b92c66e7f1.gif)
DesignandImplementation oftheManagementSystem forStudentsAttendance
As forthedevelopmentofinformationtechnologyandeconomic,computerandnetworkingapplicationsbecomeincreasinglycommon.Withtheschoolinformationalconstructioninputsareconstantlyincreasing,theconstructionofcampusnetworkaccessestospacedevelopment.Networkshavegraduallyinfiltratedintotheschoolmanagement,teachingandotherareas.Forexample:
Acomprehensiveeducationsystemwhichutilizesinformationtechnologyofthenetworktocarryoncollegecoursetoeducate,itoffersfromthenetworkclassroom,essentialstudylinksdiscussing,answeringquestions,andprocessinghomeworktoexaminationtoteachersandstudents.
The ManagerSystemforStudentsAttendance isasystemwhichcanhelpexchangeinformationbetweentheschoolandstudents.Aswe know,Inthehighschools,students’jobofcheckonworkattendancenotonlyworkloadisverylarge,butalsotimeisverystrong.Inthepastmanyhighschoolscarrythroughmanagingbysigninginandreportingforms,efficiencyanddiaphaneityarenotgood,andeasymakeamistake,too.Alongwithdevelopmentofdatabasetechnologyandprogressofcorporationinformation’sbuilding,usingcomputertomanagecheckonworkattendanceofcorporationswhichitisnecessary.Itsavesamassofmanpowerandmaterialresourcesandgreatlylightensworkloadofemployees.Thesystemisaninformationsystemdesignedforaskingforleaveonline forstudentsandmanaging attendanceofundergraduate.Itisgenerallydividedintothreemainmodules:
themoduleforaskingforon-lineleave,themoduleformanagingattendanceofundergraduateand themodule forbackstagemanagement.Therearedifferentcustomers intheuniversityoperating thesystem,suchas student,teacher, ateacherinchargeofaclass,departmentleader,schoolleader,administrator.Administratorshavethehighestauthority.Teachershaveanauditandinquiryauthority.Studentsonlyprovidewithcompetence.
The systemisbasedonBrowser/Server(browser/server)structureanddevelopedbyJSPlanguageandMySQLdatabase.ItalsousesTOMCATasaserver.Thesystemiswrittenbythelanguage:
HTMLandJAVA.Thekeytechniquesusedintheprocessofdevelopmentare:
thepagemodularization,dynamicgeneratingandstaticpageshowingofinformation,etc.Andthethesisfocusesontheintroductionofthesystem’sattendancemanagementandthemanagementofaskingforleaveonline.Anditdevelopsthefunctionofstudent,teacher,ateacherinchargeofaclass,departmentleader,schoolleaderonthewhole.Itincludedthewholedesignofsystem,logicframe,dataflow,partitionofeveryfunctionmodule,designofsystemfunctionmodulesandconcreterealizationandsoon.
Constructing theattendancesystembasedonMVCisthetypicalcasethatusesJSP-Action-JAVABANtodevelopthewebsite,itinvolvestotheMVCdesignpattern,aswellasthebackstagedatabase,thetiedoperationbetweenthefundamentaltableandthesystemdownstage,thissystemthroughtheJDBCgaindatabaseactuationtotieupthefundamentaltable inthedatabaseandthedownstagesystem.Toconstructthesystemintheprocess,IuseMYECLIPSEtomakethesoftwaredevelopmentkitofmysystembackstage,usesDREAMWEAVERtomakethesoftwaredevelopmentkitofmydownstagehomepage.
Implementation ofasystemisboundtoapplytodifferentresources,andtechnology.So,let'sdiscussthisappraisalsystemundertheuseoftechnologyintheapplicationofconceptsandresources:
MVC andUserInterfaces MVCwasfirstpopularizedwithSmalltalkandisnowusedinmanymodernuserinterfaceframeworks.OneoftheprimarybenefitsofMVCisthatitprovidesreusablecomponentsforinteractiveuserinterfaces.SwingdoesthisadmirablyforrichJavaclients,whileStrutsdoessotoalesserextentontheWeb.EventhoughtheintroductionofTilestoStrutsprovidesmorereuse,thecomponentsarestillmorepage-centricasopposedtoSwing'smorefine-grainedwidget-centricapproach.LikeStruts,JSFistargetedatJavaWebapplications,butmovesclosertoSwingwithitsconcentrationonreusableuserinterfacewidgets(orcomponents).
MVCPattern WebeginbydescribingthetraditionalformofMVCandthendiscusshowithasbeenadaptedfortheWeb.Eachofthethreeframeworksisthenexamined,andtheirrespectiveimplementationsofthiscommonpatternareuncovered.Theintentofthispatternistopartitioninteractiveapplicationsintothreeseparatecomponents:
Model,View,andController.TheModelrepresentscoreapplicationdataandfunctionallogic,theViewrendersthedataanddisplaysittousersoftheapplication,andtheControllerhandlesuserinteractionorinput.Allthreecomponentscommunicateviaachange-propagationmechanismtostaysynchronized.
SQLDatabases SQLdatabaseisatypeofdatabasetechnologythatisthemostwidelyusedintoday'scomputingenvironment.Herethedataisstoredinaverystructuredformatthatprovideshighlevelsoffunctionality.SQLdatabasesaregenerallymorerobust,secureandhavebetterperformancethanotherolderdatabasetechnologies.ItprovidesforSQLaccesstothedata.SoitisimportanttounderstandthetermSQLbeforeweproceedfurther.
SQL SQLisusedtocreate,maintain&queryrelationaldatabasesandusesregularEnglishwordsformanyofitscommands,whichmakesiteasytouse.Itisoftenembeddedwithinotherprogramminglanguages.AfundamentaldifferencebetweenSQLandstandardprogramminglanguagesisthatSQLisdeclarative.Youspecifywhatkindofdatayouwantfromthedatabase;theRDBMSisresponsibleforfiguringouthowtoretrieveit.
JSP
Putsuccinctly,JAVAServerPagesisatechnologyfordevelopingwebpagesthatincludedynamiccontent.UnlikeaplainHTMLpage,whichcontainsstaticcontentthatalwaysremainsthesame,aJSPpagecanchangeitscontentbasedonanynumberofvariableitems,includingtheidentityoftheuser,theuser'sbrowsertype,informationprovidedbytheuser,andselectionsmadebytheuser.
AJSPpagecontainsstandardmarkuplanguageelements,suchasHTMLtags,justlikearegularwebpage.However,aJSPpagealsocontainsspecialJSPelementsthatallowtheservertoinsertdynamiccontentinthepage.JSPelementscanbeusedforavarietyofpurposes,suchasretrievinginformationfromadatabaseorregisteringuserpreferences.WhenauserasksforaJSPpage,theserverexecutestheJSPelements,mergestheresultswiththestaticpartsofthepage,andsendsthedynamicallycomposedpagebacktothebrowser.
S2SH
DAOlayerisresponsibleforinteractionwithpersistentobjects.Thislayerencapsulatesthedata,add,delete,check,changeoperation.
AtypicalJ2EEthree-tierstructure,dividedintothepresentationlayer,middlelayer(businesslogic)anddataserviceslayer.Three-tiersystem,thebusinessrules,dataaccessandverifythelegitimacyofsuchworkontheintermediatelayerprocessing.Clientsdonotdirectlyinteractwiththedatabase,butbythemiddletiercomponentsandestablishconnections,thenthemiddletieranddatabaseinteraction.
S2SHframework
AtypicalJ2EEthree-tierstructure,dividedintothepresentationlayer,middlelayer(businesslogic)anddataserviceslayer.Three-tiersystem,thebusinessrules,dataaccessandverifythelegitimacyofsuchworkontheintermediatelayerprocessing.Clientsdonotdirectlyinteractwiththedatabase,butbythemiddletiercomponentsandestablishconnections,thenthemiddletieranddatabaseinteraction.
JSPpresentationlayeristhetraditionaltechnology,sinceitsinceptionin1999,afteryearsofdevelopment,itswideapplicationandstableperformance,asthepresentationlayertechnologyforlayingasolidfoundation.
ThemiddlelayeristhepopularSpring+Hibernate,inordertocontroltheseparationlayerandbusinesslogiclayer,furtherdividedintothefollowing.
WebtieristheMVCpatterninsidethe"C"(controller),controlsthebusinesslogicandpresentationlayerofinteraction,calledbusinesslogiclayer,andbusinessdatabacktothepresentationlayerfororganizationalperformance,thesystemusingStrutsMVCframework.
Servicelayer(iebusinesslogic),isresponsibleforachievingbusinesslogic.BusinesslogictoDAOlayerbasedonthepositivemodeDAOcomponentpackaging,completesystemrequiresbusinesslogic.
DAOlayerisresponsibleforinteractionwithpersistentobjects.Thislayerencapsulatesthedata,add,delete,check,changeoperation.
PO,persistentobject.Throughtheentity-relationalmappingtoolfordatarelationaldatabasemappingobjects,itiseasytorealizeobject-orientedwayofoperatingthedatabase,thesystemusesHibernateastheORMframework.
Spring'srolethroughouttheentiremiddlelayer,theWeblayer,Servicelayer,DAOlayerandPOseamlessintegrationofitsdataserviceslayerisusedtostoredata.
Agoodframeworkthatallowsdeveloperstoreducethere-establishmentoftheburdenoftheprogramtosolvecomplexproblemsandenergy;itcanbeextendedtothecustom-house;andhasastrongusercommunitytosupportit.Usuallyagoodframeworktosolveaproblem.However,yourapplicationislayered,eachlayermayneedtheirownframework.OnlysolvetheUIproblemdoesnotmeanyoucanbegoodbusinesslogicandpersistencelogic,andUIcomponentsofagoodcoupling.
First,Developmentefficiency:
theuseofstrictJ2EElayeredarchitecture,canbeavoidedwhenasimplebuttonchangesthepagewilldamagethesystem.Changestothepresentationlayerifanerroroccurs,itwillnotbeextendedtobusinesslogicerrors,butwillnotaffectthepersistencelayer.Therefore,theuseofJ2EElayeredarchitecture,evenifthepre-development