欢迎来到天天文库
浏览记录
ID:34522188
大小:292.70 KB
页数:13页
时间:2019-03-07
《UrWeb- A Simple Model for Programming the Web.pdf》由会员上传分享,免费在线阅读,更多相关内容在学术论文-天天文库。
1、Ur/Web:ASimpleModelforProgrammingtheWebAdamChlipalartifoamctA*Cplet*ntee*AtsWi*seEMITCSAILonlCLCDP*co*euOsmueEadamc@csail.mit.eduPeRnot*detv*ysaEadetaulAbstractfornetworkcommunication,andonalanguageorAPIlikeSQLforstoringpersistent,structureddataonservers.CodefragmentsTheWorldWideWeb
2、hasevolvedgraduallyfromadocumentde-inthesedifferentlanguagesareoftenembeddedwithineachotherliveryplatformtoanarchitecturefordistributedprogramming.Thisincomplexways,andthepopularWebdevelopmenttoolsprovidelargelyunplannedevolutionisapparentinthesetofinterconnectedlittlehelpincatching
3、inconsistencies.languagesandprotocolsthatanyWebapplicationmustmanage.Thesecomplaintsarenotnew,norarelanguage-basedsolutions.ThispaperpresentsUr/Web,adomain-specific,staticallytypedTheLinksproject[7,11]pioneeredthe“tierlessprogramming”functionalprogramminglanguagewithamuchsimplermodel
4、forapproach,combiningallthepiecesofdynamicWebapplicationsprogrammingmodernWebapplications.Ur/Web’smodelisuni-withinonestaticallytypedfunctionallanguage.Morerecentde-fied,whereprogramsinasingleprogramminglanguagearecom-signsinthemainstreamreapsomesimilarbenefits,asinGoogle’spiledtoothe
5、r“Webstandards”languagesasneeded;supportsnovel12WebToolkitandClosuresystems,foraddingcompilationontopkindsofencapsulationofWeb-specificstate;andexposessimpleofWeb-standardlanguages;andMicrosoft’sLINQ[27],fortype-concurrency,whereprogrammerscanreasonaboutdistributed,safequerying(toSQL
6、databasesandmore)withingeneral-purposemultithreadedapplicationsviaamixoftransactionsandcooper-languages.ativepreemption.Wegiveatutorialintroductiontothemainfea-SuchestablishedsystemsprovidesubstantialbenefitstoWebturesofUr/Webanddiscussthelanguageimplementationandtheprogrammers,butth
7、ereismorewecouldaskfor.Thispaperfo-productionWebapplicationsthatuseit.cusesonalanguagedesignthatadvancesthestateoftheartbyad-CategoriesandSubjectDescriptorsD.2.2[SoftwareEngineer-dressingtwokeydesiderata.First,webringencapsulationtoriching]:DesignToolsandTechniques-Modulesandinterfa
8、ces;Webapplications
此文档下载收益归作者所有