资源描述:
《设置php开发环境外文翻译(绿皮书)》由会员上传分享,免费在线阅读,更多相关内容在教育资源-天天文库。
1、大连交通大学2013届本科生毕业设计(论文)外文翻译外文原文SettingUpthePHPDevelopmentEnvironmentGettingaworkingdevelopmentenvironmentputtogethercanbeintimidating,especiallyfortheabsolutebeginner.Tofollowalongwiththeprojectinthisbook,you’llneedtohaveaccesstoaworkinginstallationofApache,PHP,andMySQL,preferab
2、lyonyourlocalmachine.It’salwaysdesirabletotestlocally,bothforspeedandsecurity.Doingthisbothsheltersyourwork-in-progressfromtheopenInternetanddecreasestheamountoftimespentuploadingfilestoanFTPserverandwaitingforpagestoreload.WhyYouNeedApache,MySQL,andPHPPHPisapowerfulscriptingla
3、nguagethatcanberunbyitselfinthecommandlineofanycomputerwithPHPinstalled.However,PHPaloneisn'tenoughinordertobuilddynamicwebsites.TousePHPonawebsite,youneedaserverthatcanprocessPHPscripts.Apacheisafreewebserverthat,onceinstalledonacomputer,allowsdeveloperstotestPHPscriptslocally
4、;thismakesitaninvaluablepieceofyourlocaldevelopmentenvironment.Additionally,dynamicwebsitesaredependentonstoredinformationthatcanbemodifiedquicklyandeasily;thisisthemaindifferencebetweenadynamicsiteandastaticHTMLsite.However,PHPdoesn’tprovideasimple,efficientwaytostoredata.This
5、iswherearelationaldatabasemanagementsystemlikeMySQLcomesintoplay.Thisbook’sexamplesrelyonMySQL;IchosethisdatabasebecausePHPprovidesnativesupportforitandthedatabaseisfree,open-sourceproject.Itrunsinboth32-bitand64-bitenvironments,butonWindowstheonlyofficialdistributionis32-bit,r
6、equiringWindows32-bitcompatibilitymodetobeenabledwhileusingIISina64-bitWindowsenvironment.Thereisathird-partydistributionavailablefor64-bitWindows.PHPisageneral-purposescriptinglanguagethatisespeciallysuitedforwebdevelopment.PHPgenerallyrunsonawebserver,takingPHPcodeasitsinputa
7、ndcreatingwebpagesasoutput.Itcanalsobeusedforcommand-linescriptingandclient-sideGUIapplications.PHPcanbedeployedonmostwebservers,manyoperatingsystemsandplatforms,andcanbeusedwithmanyrelationaldatabasemanagementsystems.Itisavailablefreeofcharge,andthePHPGroupprovidesthecompletes
8、ourcecodeforuserstobuild,customizeandextendfortheirown