基于PHP和MySQL的网站设计外文资料

整理文档很辛苦,赏杯茶钱您下走!

免费阅读已结束,点击下载阅读编辑剩下 ...

阅读已结束,您可以下载文档离线阅读编辑

资源描述

DesignandImplementationoftheWebsiteBasedonPHP&MYSQLAbstractPHPandMYSQLhasbeenthemainwebdevelopmenttoolforitisfreeandopensource.TheauthorshavediscussedtheenvironmentalissuesindevelopmentprocessbasedonPHPandMYSQLandtheimplementationprocessofthewebsite.KeywordsPHP;MYSQL;Developmentand.Implementation1.INTRODUCTIONWiththedevelopmentofWebtechnology,itisinevitablechoiceforallkindofcorporategrowthtocombinetraditionalmarketingwithnetworkmarketing.Theeffectivemethodofnetworkmarketingistoestablishthewebsitewhichissuitablefortheircompany.Atpresentthewebsitedevelopment'smainstreamplatformincludes:LAMP(Linuxoperatingsystem,Apachenetworkserver,MYSQLdatabase,PHPprogramminglanguage),J2EEand.Netcommercialsoftware.BecausePHPandMYSQLisfree,opensourceandsoon,theyarenotedforITprofessionals.Fromtheperspectiveofwebsitetraffic,morethan70%ofwebsitetrafficisprovidedwithLAMP,whichismostpopularplatformfordevelopingthewebsite.Inthispaper,wedesignedawebsitebasedonPHPandMYSQL.Thepaperisorganizedasfollows.Section1analyzesdevelopmentenvironment.InSection2,weproposedthedevelopmentmodelbasedonPHP.ThencasestudyinSection4.wemakeconclusionInSection5.2.DEVELOPMENTENVIRONMENTANALYSISA.TheChoiceofDevelopmentLanguageASP.NET,PHP&JSParethreemainstreamlanguagesofthewebsitedevelopment,whichhavetheiradvantagesanddisadvantagesrespectively,thecomparisonbetweenthemisshowninTable1.TheprojecttakesPHPasthedevelopmentlanguage,thereasonisasfollows:•Free.Theprojectissmall,whichisnoneedtousethepaymentdevelopmentplatformsuchasASP.NETandJSP.•Strongsupporting.Middleandsmallscalewebsites,evensomelarge-scalewebsitessuchasbaidu,SinainChinatakePHPasthedevelopmentlanguage,whichcancontributetosolvetheproblemduringtheprogramming.•Goodportability.AlthoughitisdesignedtouseintheenvironmentofLinuxandApacheWebserversystematfirst,nowPHPisalreadytransplantedanyoperatingsystemandcompatiblestandardWebserversoftware.•Simplegrammar.PHPhasmanysimilaritieswiththeCprogramminglanguage,soitiseasytoprogramusingPHPfortheCprogrammers.•Rapiddevelopment.Becausethesourcecodeisopen,PHPwillcontinuetodeveloprapidly.B.BuildDevelopmentEnvironmentAtpresenttherearemanydevelopmentplatformbasedonPHP.GenerallymostdeveloperslikethedevelopmentenvironmentLAMP.Thosewhohavecertaindevelopmentexperiencecansetuptheirdevelopmentplatformbychoosingtherelatedserver,DBMS,andoperatingsystem.TherearesomePHPIDE(integrateddevelopmentenvironment)suchasAMPSERV,WAMP,XMAPP,APPSERV,PHPSTUDYinthemarketforthedevelopersdevelopthewebsitebyusingPHP.AtpresentthemainPHPIDEisZendStudio,whichhasincludeddevelopingcomponentsforPHP.Itreducesthedevelopmenttimeandsimplifiesthecomplexapplicationplanduringedition,debugging,analysisandoptimization.TheZendStudionotonlyhascodeforhighmeasurement,grammarshrinkingautomaticallyandbookmark,butalsoitsembeddeddebuggerwhichfitsforlocalandremotedebuggingpatterns.Itismanyhighdebuggingfunctionssuchasvariabletracking,Single-stepoperation,breakpoint,functioncalling,andsoon.Moreover,itisalsoverystableinsupportingChineseforthelatestversion.C.NotesinBuildingtheDevelopmentEnvironmentThosewhoareunfamiliarwiththedevelopmentenvironmentdonotsetitupbyhimselfforitmaycauseaconflictbetweenvariousedition,moreoveritisverydifficulttosolvethecomplexconfigurationproblem.•PHPlanguageversion.Beforedevelopment,youmustensureconsistenceoftheeditionbetweenPHPlanguageandtheserver.NowPHPmainlyhastwoeditions(PHP4andPHP5).ThedifferentversionshavethedifferencewithSESSION,exceptionhandling,thevariablerange,thedatatypeandsoon.•Serverproblem.TheprogramwhichiseditedwithPHPinthewindowsplatformwillbearrangedontheapacheserver.IfitisarrangedonIISitleadstosomeincompatibleproblemsandsomeupdatebymanualsuchaswritablerightsissetupbeforeuploadingthedocument.Therearenottheseproblemsifitisarrangedontheapacheserver.•Databaseproblem.DBMSusingwithPHPhasMYSQL,ORACLEandsoon.MYSQLiswelcomedbymostofthedevelopersforitisopensource,free,andefficient.MYSQLisperfectdatabaseserversoftwareformediumandsmallapplicationsystem.BesidesstandardANSISQL,italsosupportsmanyplatforms.OntheUnix/Linuxsystem,MYSQLalsosupportsthemulti-thread.MYSQLbecomesthefirstchoiceofmiddleandsmalllevelPHPwebsiteforitisopensourceanditprovidesaseriesofsupportssuchasread-writeaccess.3.THEDEVELOPMENTMODELBASEDONPHPPHPbecomesthemaindevelopmentlanguageinthesmallandmedium-sizedenterprisewebsiteforitisfree,opensource,etc.Thedevelopmentstepisasfollows:A.DemandanalysisTherearevariousdemandsforawebsiteproject.Thosedemandsoftenstemfromorcompanyoneselfneeds,mostofwhichistheactualneedsofcustomers.Whatextenttheprojectleadersunderstandtheuser'sneedshasdecidedwhetherissuccessorfailureindevelopingthewebsite.Thereforeuser'sneedsintheformofdocumentcanclearlybetransformedintoallprojectdevelopmentmembers,whichisthemainproblemduringtheprojectdevelopment.Besidesbasicuser'sneeds,therearesomeproblemsasfollowsareneededtonotice:•Thedemandshouldbeconfirmedbywayofthedocument.•Thefeasibilityandpriceoftheirdemandsareinformedtothedemandsideaftereffectiveanalysisanddiscussion.B.FunctionalmoduledesignThedemandreportwillbeorgani

1 / 4
下载文档,编辑使用

©2015-2020 m.777doc.com 三七文档.

备案号:鲁ICP备2024069028号-1 客服联系 QQ:2149211541

×
保存成功