外文翻译-Ajax的应用.docx

上传人:p** 文档编号:746781 上传时间:2024-02-26 格式:DOCX 页数:9 大小:33.03KB
下载 相关 举报
外文翻译-Ajax的应用.docx_第1页
第1页 / 共9页
外文翻译-Ajax的应用.docx_第2页
第2页 / 共9页
外文翻译-Ajax的应用.docx_第3页
第3页 / 共9页
外文翻译-Ajax的应用.docx_第4页
第4页 / 共9页
外文翻译-Ajax的应用.docx_第5页
第5页 / 共9页
外文翻译-Ajax的应用.docx_第6页
第6页 / 共9页
外文翻译-Ajax的应用.docx_第7页
第7页 / 共9页
外文翻译-Ajax的应用.docx_第8页
第8页 / 共9页
外文翻译-Ajax的应用.docx_第9页
第9页 / 共9页
亲,该文档总共9页,全部预览完了,如果喜欢就下载吧!
资源描述

《外文翻译-Ajax的应用.docx》由会员分享,可在线阅读,更多相关《外文翻译-Ajax的应用.docx(9页珍藏版)》请在第壹文秘上搜索。

1、附录1TheapplicationofAjaxSpendafewminutesusingyourapplicationyouselected(browserexcept),writeitdowntowhatuserinteraction,andthenimmediatelyback.Forthesakeofbrevity,Igiveanexampleofelectronicform,however,pointsinvolvedhereisgeneralenoughforvariouscases,thetexteditor.Well,westarted.Firstinthespreadsheet

2、toinputsomeequalities,payattentionto,caninteractinseveralways:editdata,browsingthedatausingthekeyboardandmouse,alsocanusethemousetodragtoreorganizethedata.Idotheseoperations,theprogramgavemefeedback.Whenmovingthemouse,thecursorchangesshape;whenthemousestopsabove,buttonbright;selectedtextcanchangecol

3、or.Whenawindowordialogboxisselected,andusuallyisnotthesame,etc.Thesearetheso-calledrichuinteraction.Ofcourse,therearestillsomeroomforimprovement,butthisisagoodstart.OK,aspreadsheetisarichclientprogram7Absolutelynot.Inaspreadsheetorsimilardesktopapplications,businesslogicanddatamodelisruninaclosedenv

4、ironment.Inthisenvironment,theyclearlyunderstandeachother,andcanvisiteachother,andtheenvironmentoutsideofthings,isunknowntothem.Whatistheclient?Itisaseparateprocessofmutualcommunicationprogram,whichisusuallyrunontheserver.Ingeneral,theserverisalwaysbiggerthantheclient,ability,dispositionisbetter,bec

5、ausetheserverisusuallystoredmultitudeinformation.Theclientprogramenablestheenduserscanviewandmodifytheinformation,whenmultipleclientsconnectedtothesameserver,canshareinformationbetweenthem.Showsasimpleclient/serverarchitecture.Inthenlayerarchitectureinthemodem,theserveroftenandfurthertheback-endserv

6、er(suchasadatabase)communication,soCallednIniddlewarenIayeralsoplaysaroleofclientandserver.EndofourAjaxapplicationinthechain,itisonlyastheclient,therefore,fortheconvenienceofdiscussion,wecanpulthewholensystemasalabeledasblackboxserver.SpreadsheetapplicationsIonlyneedtomanageitsownsavedasmallamountof

7、datainmemoryorinthelocalfilesystem.Ifthedesignofwellstructure,couplingformdataanditcanbeveryloose,butIcan,tpassanetworktosplitorSharethemthroughnetwork.Inthissense,theapplicationofelectronicformisnotaclient.ThecorrespondingWebbrowserisatypicalclient,whichcommunicatewiththeWebserver,therequestpage.Th

8、ebrowserhasabundantfunctions,usedtomanageuserbrowsingbehavior,thecommonfunctionofthebackbutton,thehistorylistandtabbedbrowsingmultipledocumentsetc.ButwhenweputthesitespecificWebpagesasanapplication,thesegeneralbrowsingfunctionactuallyandapplicationis,atbest,suchasspreadsheetsandWindowsbegantherelati

9、onshipbetweenbuttonorthewindowlist.WeconsidertheapplicationofmodernWeb.Forthesakeofsimplicity,wechoseAearthpeopleknowonlinebookstore.OpentheAmazonsiteinthebrowser,becausebeforeIvisited,itwillshowmeafriendlygreeting,Somerecommendedbibliography,andmypurchasehistoryinformation.Clickonanyoneoftherecomme

10、ndedbibliography,willgotoanotherpage(atthistime,thepagetorefresh,withinafewsecondsIwhatalsodontsee).Thenewpageistheinformationrelevanttothebookreview:otherbooks,second-handbooks,offerthesameauthor,andotherbooksIread.Inshort,appearstobeveryrich,highdegreeofassociatedinformationinfrontofme.Butforme,in

11、teractivewayistoclickonthehyperlink,andthenfillinsomeforms.Suppose1atthekeyboardaccidentallyfellasleep,wakeupseconddays,ifnotrefreshthepage,IdontknowuHarryPorterseriesofbookshavebeenpublished,norwillmylistfromonepagetoanotherpage,ifIwanttoseemorethingstoo,becauseIcannotchangethelocalcontentareapages

12、ize.IseemtobeinthecriticismoftheAmazoninterface,butitisnotthecase,Ijusttookitasanexample.Infact,inthetraditionalWebdevelopmentoftheshackles,theyhavedoneverywell.Butcomparedtothespreadsheet,andtheinteractionmodelisundoubtedlytoolimited.WhyWebistheapplicationofmodemstillhavesomanyIimitationsTThecurren

13、tsituationhassomereasonabletechnicalreasons,wehavetoconsidernow.TheblueprintfortheInternetisallthecomputerintheworldareconnected,formingahugecomputingresources.Ifthelocaldataandremoteinvocationequated,thenboththeanalysisofproteincomponentsorcracksignalsfromouterspace,usersneednotconsiderthephysicall

14、ocationofthemachines,therestofthecomputationonlypleasure.Butunfortunately,thelocalcallandremoteinvocationissomethingtotallydifferent.Underthecurrentleveloftechnology,thenetworkcommunicationisstillacostlythings(thatistosay,isusuallyveryslow,butunreliable).Intheabsenceofanetworkcalledthesituation,meth

15、odandfunctionofdifferentdataandtheiroperationsarelocatedinthesamelocalmemory,totransferdataandreturntheresultsobtainedareverydirect.Inaremotecall,communicationinthenetworkatbothendsofthetwosidestosendandreceivedatarequiresalotofcomputationatthebottom.Comparedwiththedatabackandforthontheline,thesecal

16、culationsrequiremoretimeconsuming.Thetransmissionofabinarydata,togothroughmanystepsofcodinganddecoding,errorchecking,failure,packetretransmissionsplitandreorganization,dataintoOand1binarysignal,throughtheline(orwirelessconnectiontotheotherparty).Inthelocal,callthefunctioncallrequestisencodedasanobject,thentheobjectisserializedasaseriesofbytes,theapplicationlayerprotocol(usuallyHTTP)viathephysicaltransmissionmedium(suchascoppercable,opticalfibe

展开阅读全文
相关资源
猜你喜欢
相关搜索

当前位置:首页 > 办公文档 > 简明教程

copyright@ 2008-2023 1wenmi网站版权所有

经营许可证编号:宁ICP备2022001189号-1

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