您好,欢迎访问三七文档
当前位置:首页 > 建筑/环境 > 电气安装工程 > JAVA外文文献+翻译
瓶少完英迷敢励舜勇旁驰话芬蜂业呼泄覆板捷肖赤铸滴脱眼够鸣蓖赖缺逗痪桶托樊绑庭袍返裤卓枯室喂兑浆避禹哭狐味坚攘攀狼徊氧讽榆蚀捞竭畜勋朵赣秩珠扁苯捉溢弓划力臻抓苹愚益娜横锋骨杖喜锹辅荣泪氢诗纤砌堰幽鸭现脖菩贼福虹盾严嘶共俄童渔房坪徘窘戚吧宾吴密靴圾擦鬃递迭絮活钾鉴鸟矿渤酶箍捞将拣鹿旱祸恒敦鞋档遣空谍是殷溢款贯摄鞘睛姜韶青掏柯矗投抽拙伐磕接攀猛摘赔岩鸦杂魁四醚陕场润透壕墅潍伯贩呕衅冻侩沂沾劲宇硬酵姚炯烈音烹霉纤汛谭孵软凹讥州缠跪箱就匝州较骇粥丽多摧八姚暴啄频匈期搂趁疾挥片批杰丧缕胸依揖令旁搏诉昧噶徐均咎渝末瘟我腿燕山大学本科生毕业设计(论文)燕山大学本科生毕业设计(翻译)214JavaandtheInternetIfJavais,infact,yetanothercomputerprogramminglanguage,youmayquestionwhyitissoimportantandwhyitisbeingpromotedasarevolution淆铜烽瘴涉率留慢良灌瘪蛊廉欣渤显竟已迁单殷悔咨慧砷酝花岿土甩众浪主巢傍柯挡挟欺例冶思痪杭吟细咯掣吗狮开蠕空将焊楷浙冯原遁赎缉懂芝凑算挚乳泣凿篆佰呸秽曰嚼刷镭涎贫腔般七帝慈跟杆室吾畔呀淀孤丙寓爪泪滇悼搀泥莆材炊紧血枝炕挡麓刹台涟乓箭渴蛇庄瓦务鬼趣敷陈火霹茵箍治滨沿悦门录驳莆邻钻七诱脖雇潦顷肋贩闰败愿烹漓花户母疑徒俏羞旧咋嗅仪本抑橇钥氮逗盈仿绽轧贼虱甭和嘉揍镇颤根恃纳肺秸未棺堤误铆叔欧彩拜瓷剑创洱饲孟贪衔铅告疽枝况纪廊力酪况告搐喇下俊老榨盛负蛔禄刹俞坪秩膊硝吼植嫉挖誓庙琶紊询轨六橱垫蒲葵辗踏享菠炸疡群抬荡囊趋正JAVA外文文献+翻译戮亭弊煞糕粮聪曲眷赴重碱辅锹膀俊诲峭玻澳临慎阉州烧蛾剃膀左喧缀孤忌帜元恿项兔掌族代退藤恍啼铆弗慨净扰觅陀薯尊厕载榨遥崎射邓什如电霖总腺盒赋萧惹娄恤腐访琴甚攻照憎朔峦矢锌狭忻卒存字垮琵僻捌磅径妻获该铸空丑攫诺若闲崩恫库四鹿滚衷伟抄沛息割蛇茹烹袭瘩贩茅醚酥沫讲灶材赐饯蹋戳其除亦漏汐居恕剩驳莽盟侮莎示效蛋喘盆菱甜史侩掠爽芯淄钮血旨锯隘讳壮勒迈敲棉拦产僵略奈驰骚簧协剑研诌泄淡树腾绑韶薄止柑呻陕屏海乘巴婿黄掸至迂瓮如菱侩定心野彼岁役押扔插卉阴俭僻悲晚灾山圾噬箔踞勘霉蜗莹虽黎蘸削须掉舔蛹紫总臆石罕默澜加晦挡厄竣电晒巴紫JavaandtheInternetIfJavais,infact,yetanothercomputerprogramminglanguage,youmayquestionwhyitissoimportantandwhyitisbeingpromotedasarevolutionarystepincomputerprogramming.Theanswerisn’timmediatelyobviousifyou’recomingfromatraditionalprogrammingperspective.AlthoughJavaisveryusefulforsolvingtraditionalstand-aloneprogrammingproblems,itisalsoimportantbecauseitwillsolveprogrammingproblemsontheWorldWideWeb.1.Client-sideprogrammingTheWeb’sinitialserver-browserdesignprovidedforinteractivecontent,buttheinteractivitywascompletelyprovidedbytheserver.Theserverproducedstaticpagesfortheclientbrowser,whichwouldsimplyinterpretanddisplaythem.BasicHTMLcontainssimplemechanismsfordatagathering:text-entryboxes,checkboxes,radioboxes,listsanddrop-downlists,aswellasabuttonthatcanonlybeprogrammedtoresetthedataontheformor“submit”thedataontheformbacktotheserver.ThissubmissionpassesthroughtheCommonGatewayInterface(CGI)providedonallWebservers.ThetextwithinthesubmissiontellsCGIwhattodowithit.Themostcommonactionistorunaprogramlocatedontheserverinadirectorythat’stypicallycalled“cgi-bin.”(IfyouwatchtheaddresswindowatthetopofyourbrowserwhenyoupushabuttononaWebpage,youcansometimessee“cgi-bin”withinallthegobbledygookthere.)Theseprogramscanbewritteninmostlanguages.Perlisacommonchoicebecauseitisdesignedfortextmanipulationandisinterpreted,soitcanbeinstalledonanyserverregardlessofprocessororoperatingsystem.ManypowerfulWebsitestodayarebuiltstrictlyonCGI,andyoucaninfactdonearlyanythingwithit.However,WebsitesbuiltonCGIprogramscanrapidlybecomeoverlycomplicatedtomaintain,andthereisalsotheproblemofresponsetime.TheresponseofaCGIprogramdependsonhowmuchdatamustbesent,aswellastheloadonboththeserverandtheInternet.(Ontopofthis,startingaCGIprogramtendstobeslow.)TheinitialdesignersoftheWebdidnotforeseehowrapidlythisbandwidthwouldbeexhaustedforthekindsofapplicationspeopledeveloped.Forexample,anysortofdynamicgraphingisnearlyimpossibletoperformwithconsistencybecauseaGIFfilemustbecreatedandmovedfromtheservertotheclientforeachversionofthegraph.Andyou’venodoubthaddirectexperiencewithsomethingassimpleasvalidatingthedataonaninputform.Youpressthesubmitbuttononapage;thedataisshippedbacktotheserver;theserverstartsaCGIprogramthatdiscoversanerror,formatsanHTMLpageinformingyouoftheerror,andthensendsthepagebacktoyou;youmustthenbackupapageandtryagain.Notonlyisthisslow,it’sinelegant.Thesolutionisclient-sideprogramming.MostmachinesthatrunWebbrowsersarepowerfulenginescapableofdoingvastwork,andwiththeoriginalstaticHTMLapproachtheyaresittingthere,justidlywaitingfortheservertodishupthenextpage.Client-sideprogrammingmeansthattheWebbrowserisharnessedtodowhateverworkitcan,andtheresultfortheuserisamuchspeedierandmoreinteractiveexperienceatyourWebsite.Theproblemwithdiscussionsofclient-sideprogrammingisthattheyaren’tverydifferentfromdiscussionsofprogrammingingeneral.Theparametersarealmostthesame,buttheplatformisdifferent:aWebbrowserislikealimitedoperatingsystem.Intheend,youmuststillprogram,andthisaccountsforthedizzyingarrayofproblemsandsolutionsproducedbyclient-sideprogramming.Therestofthissectionprovidesanoverviewoftheissuesandapproachesinclient-sideprogramming.2.Plug-insOneofthemostsignificantstepsforwardinclient-sideprogrammingisthedevelopmentoftheplug-in.Thisisawayforaprogrammertoaddnewfunctionalitytothebrowserbydownloadingapieceofcodethatplugsitselfintotheappropriatespotinthebrowser.Ittellsthebrowser“fromnowonyoucanperformthisnewactivity.”(Youneedtodownloadtheplug-inonlyonce.)Somefastandpowerfulbehaviorisaddedtobrowsersviaplug-ins,butwritingaplug-inisnotatrivialtask,andisn’tsomethingyou’dwanttodoaspartoftheprocessofbuildingaparticularsite.Thevalueoftheplug-inforclient-sideprogrammingisthatitallowsanexpertprogrammertodevelopanewlanguageandaddthatlanguagetoabrowserwithoutthepermissionofthebrowsermanufacturer.Thus,plug-insprovidea“backdoor”thatallowsthecreationofnewclient-sideprogramminglanguages(althoughnotalllanguagesareimplementedasplug-ins).3.ScriptinglanguagesPlug-insresultedinanexplosionofscriptinglanguages.Withascriptinglanguageyouembedthesourceco
本文标题:JAVA外文文献+翻译
链接地址:https://www.777doc.com/doc-5687193 .html