欢迎来到第一文库网! | 帮助中心 第一文库网-每个人都是第一
第一文库网
全部分类
  • 研究报告>
  • 学术论文>
  • 全科教育>
  • 应用文档>
  • 行业资料>
  • 企业管理>
  • 技术资料>
  • 生活休闲>
  • ImageVerifierCode 换一换
    首页 第一文库网 > 资源分类 > DOCX文档下载
    分享到微信 分享到微博 分享到QQ空间

    JAVA外文文献+翻译.docx

    • 资源ID:482777       资源大小:45.62KB        全文页数:17页
    • 资源格式: DOCX        下载积分:3金币
    快捷下载 游客一键下载
    账号登录下载
    微信登录下载
    三方登录下载: QQ登录 微博登录
    二维码
    扫码关注公众号登录
    下载资源需要3金币
    邮箱/手机:
    温馨提示:
    快捷下载时,用户名和密码都是您填写的邮箱或者手机号,方便查询和重复下载(系统自动生成)。
    如填写123,账号就是123,密码也是123。
    支付方式: 支付宝    微信支付   
    验证码:   换一换

    加入VIP,免费下载
     
    账号:
    密码:
    验证码:   换一换
      忘记密码?
        
    友情提示
    2、PDF文件下载后,可能会被浏览器默认打开,此种情况可以点击浏览器菜单,保存网页到桌面,就可以正常下载了。
    3、本站不支持迅雷下载,请使用电脑自带的IE浏览器,或者360浏览器、谷歌浏览器下载即可。
    4、本站资源下载后的文档和图纸-无水印,预览文档经过压缩,下载后原文更清晰。
    5、试题试卷类文档,如果标题没有明确说明有答案则都视为没有答案,请知晓。

    JAVA外文文献+翻译.docx

    JavaandtheInternetIfJavais,infact,yetanothercomputerprogramming1anguage,youmayquestionwhyitissoimportantandwhyitisbeingpromotedasarevo1utionarystepincomputerprogramming.Theanswerisn,timmediate1yobviousifyou'recomingfromatraditiona1programmingperspective.A1thoughJavaisveryusefu1forso1vingtraditiona1stand-a1oneprogrammingprob1ems,itisa1soimportantbecauseitwi11so1veprogrammingprob1emsontheWor1dWideWeb.X.C1ient-sideprogrammingTheWeb,sinitia1server-browserdesignprovidedforinteractivecontent,buttheinteractivitywascomp1ete1yprovidedbytheserver.Theserverproducedstaticpagesforthec1ientbrowser,whichwou1dsimp1yinterpretanddisp1aythem.BasicHTM1containssimp1emechanismsfordatagathering:text-entryboxes,checkboxes,radioboxes,1istsanddrop-down1ists,aswe11asabuttonthatcanon1ybeprogrammedtoresetthedataontheformor“submit”thedataontheformbacktotheserver.ThissubmissionpassesthroughtheCommonGatewayInterface(CGI)providedona11Webservers.Thetextwithinthesubmissionte11sCGIwhattodowithit.Themostcommonactionistorunaprogram1ocatedontheserverinadirectorythat,stypica11yca11ed“cgi-bin.”(IfyouwatchtheaddresswindowatthetopofyourbrowserwhenyoupushabuttononaWebpage,youcansometimessee“cgi-bin''withina11thegobb1edygookthere.)Theseprogramscanbewritteninmost1anguages.Per1isacommonchoicebecauseitisdesignedfortextmanipu1ationandisinterpreted,soitcanbeinsta11edonanyserverregard1essofprocessororoperatingsystem.Manypowerfu1Websitestodayarebui1tstrict1yonCGI,andyoucaninfactdonear1yanythingwithit.However,Websitesbui1tonCGIprogramscanrapid1ybecomeover1ycomp1icatedtomaintain,andthereisa1sotheprob1emofresponsetime.TheresponseofaCGIprogramdependsonhowmuchdatamustbesent,aswe11asthe1oadonboththeserverandtheInternet.(Ontopofthis,startingaCGIprogramtendstobes1ow.)Theinitia1designersoftheWebdidnotforeseehowrapid1ythisbandwidthwou1dbeexhaustedforthekindsofapp1icationspeop1edeve1oped.Forexamp1e,anysortofdynamicgraphingisnear1yimpossib1etoperformwithconsistencybecauseaGIFfi1emustbecreatedandmovedfromtheservertothec1ientforeachversionofthegraph.Andyou,venodoubthaddirectexperiencewithsomethingassimp1easva1idatingthedataonaninputform.Youpressthesubmitbuttononapage;thedataisshippedbacktotheserver;theserverstartsaCGIprogramthatdiscoversanerror,formatsanHTM1pageinformingyouoftheerror,andthensendsthepagebacktoyou;youmustthenbackupapageandtryagain.Noton1yisthiss1ow,it,sine1egant.Theso1utionisc1ient-sideprogramming.MostmachinesthatrunWebbrowsersarepowerfu1enginescapab1eofdoingvastwork,andwiththeorigina1staticHTM1approachtheyaresittingthere,justid1ywaitingfortheservertodishupthenextpage.C1ient-sideprogrammingmeansthattheWebbrowserisharnessedtodowhateverworkitcan,andtheresu1tfortheuserisamuchspeedierandmoreinteractiveexperienceatyourWebsite.Theprob1emwithdiscussionsofc1ient-sideprogrammingisthattheyaren,tverydifferentfromdiscussionsofprogrammingingenera1.Theparametersarea1mostthesame,butthep1atformisdifferent:aWebbrowseris1ikea1imitedoperatingsystem.Intheend,youmuststi11program,andthisaccountsforthedizzyingarrayofprob1emsandso1utionsproducedbyc1ient-sideprogramming.Therestofthissectionprovidesanoverviewoftheissuesandapproachesinc1ient-sideprogramming.2.P1ug-insOneofthemostsignificantstepsforwardinc1ient-sideprogrammingisthedeve1opmentofthep1ug-in.Thisisawayforaprogrammertoaddnewfunctiona1itytothebrowserbydown1oadingapieceofcodethatp1ugsitse1fintotheappropriatespotinthebrowser.Itte11sthebrowsertfromnowonyoucanperformthisnewactivity/'(Youneedtodown1oadthep1ug-inon1yonce.)Somefastandpowerfu1behaviorisaddedtobrowsersviap1ug-ins,butwritingap1ug-inisnotatrivia1task,andisn,tsomethingyou,dwanttodoaspartoftheprocessofbui1dingaparticu1arsite.Theva1ueofthep1ug-inforc1ient-sideprogrammingisthatita11owsanexpertprogrammertodeve1opanew1anguageandaddthat1anguagetoabrowserwithoutthepermissionofthebrowsermanufacturer.Thus,p1ug-insprovideatbackdoof,thata11owsthecreationofnewc1ient-sideprogramming1anguages(a1thoughnota111anguagesareimp1ementedasp1ug-ins).3.Scripting1anguagesP1ug-insresu1tedinanexp1osionofscripting1anguages.Withascripting1anguageyouembedthesourcecodeforyourc1ient-sideprogramdirect1yintotheHTM1page,andthep1ug-inthatinterpretsthat1anguageisautomatica11yactivatedwhi1etheHTM1pageisbeingdisp1ayed.Scripting1anguagestendtobereasonab1yeasytounderstandand,becausetheyaresimp1ytextthatispartofanHTM1page,they1oadveryquick1yaspartofthesing1eserverhitrequiredtoprocurethatpage.Thetrade-offisthatyourcodeisexposedforeveryonetosee(andstea1).Genera11y,however,youaren,tdoingamazing1ysophisticatedthingswithscripting1anguagessothisisnottoomuchofahardship.Thispointsoutthatthescripting1anguagesusedinsideWebbrowsersarerea11yintendedtoso1vespecifictypesofprob1ems,primari1ythecreationofricherandmoreinteractivegraphica1userinterfaces(GUIs).However,ascripting1anguagemightso1ve80percentoftheprob1emsencounteredinc1ient-sideprogramming.Yourprob1emsmightverywe11fitcomp1ete1ywithinthat80percent,andsincescripting1anguagescana11oweasierandfasterdeve1opment,youshou1dprobab1yconsiderascripting1

    注意事项

    本文(JAVA外文文献+翻译.docx)为本站会员(lao****ou)主动上传,第一文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。 若此文所含内容侵犯了您的版权或隐私,请立即通知第一文库网(点击联系客服),我们立即给予删除!

    温馨提示:如果因为网速或其他原因下载失败请重新下载,重复下载不扣分。




    关于我们 - 网站声明 - 网站地图 - 资源地图 - 友情链接 - 网站客服 - 联系我们

    copyright@ 2008-2022 001doc.com网站版权所有   

    经营许可证编号:宁ICP备2022001085号

    本站为文档C2C交易模式,即用户上传的文档直接被用户下载,本站只是中间服务平台,本站所有文档下载所得的收益归上传人(含作者)所有,必要时第一文库网拥有上传用户文档的转载和下载权。第一文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。若文档所含内容侵犯了您的版权或隐私,请立即通知第一文库网,我们立即给予删除!



    收起
    展开