开发大规模Web套用


开发大规模Web套用

文章插图
开发大规模Web套用【开发大规模Web套用】《开发大规模Web套用》是2011年东南大学出版社出版的图书,作者是美国作家劳登(Kyle Loudon)和Nate Koechley 。本书主要讲述了如何创建一个运行关键任务,提供灵活、适应、可靠的24/7服务 。
基本介绍书名:开发大规模Web套用
作者:(美国)劳登(Kyle Loudon)、Nate Koechley
原版名称:Developing Large Web Applications
ISBN:9787564124953、 7564124954
页数:279页
出版社:东南大学出版社
出版时间:2011年1月1日
装帧:平装
开本:16
作者简介劳登(Kyle Loudon),在Yahoo!领导着一个UI团队 。他曾经从事设计原版的Apple iPod用户界面,并且领导隶属于波音公司的Jeppesen DataPlan UI团队,开发用于全世界各航线的飞行规划系统 。内容简介《开发大规模Web套用(影印版)》内容简介:如何创建一个运行关键任务,提供灵活、适应、可靠的24/7服务,又具有超高性能的网站《开发大规模web套用》由yahoo!UI团队经理撰写,为打造坚如磐石的套用指明了现实途径,无论你添加多少特性、功能和用户,这些指导原则一样有效 。你将学会如何运用其他类型软体所要求的同样精度来开发大规模web套用 。让小型网站在添加更多网页、代码和程式设计师时,避免常见的编码和维护痛苦、为大规模web套用最佳化HTML、CSS、Javascript、PHP和AJAX,获得全面的解决方案、在一处做修改,即可更新所有相应的页面元素、拥抱模组化、封装、抽象和松耦合组件等各种优点、採用行之有效的技巧管理数据交换,包括表单和cookies、学习代码管理和软体工程中经常被忽视的最佳实践、对代码进行性能最佳化和测试简化 。目录Forewordpreface1.the tenetsmanaging complexitymodular componentsachieving modularitybenefits of modularityten tenets for large web applications2.object orientationthe fundamentals of oopwhy object orientation?uml class diagramsgeneralizationassociationmodeling a web pagedefining page typesdefining module typeswriting the codeachieving modularityobject-oriented phpclasses and interfacesinheritance in phpobject-oriented javascriptobjectsinheritance in javascript3.large-scale htmlmodular htmla bad example: using a table and presentation markupa better example: using cssthe best example: semantically meaningful htmlbenefits of good htmlhtml tagsbad html tagsgood html tagsids, classes, and namesconventions for namingxhtmlbenefits of xhtmlxhtml guidelinesrdfardfa triplesapplying rdfahtml 54.large-scale cssmodular cssincluding cssapplying cssspecificity and importancescoping with cssstandard module formatspositioning techniquescss box modeldocument flowrelative positioningabsolute positioningfloatinglayouts and containersexample layoutsexample containersother practicesbrowser reset cssfont normalization5.large-scale javascriptmodular javascriptincluding javascriptscoping with javascriptworking with the domcommon dom methodspopular dom librariesworking with eventsevent handling normalizationa bad example: global data in event handlersa good example: object data in event handlersevent-driven applicationsworking with animationmotion animationsizing animationcolor transitionan example: chained selection lists 6.data managementdynamic modulesdata managerscreating data managersextending data managersdata using sql as a sourcean sql exampledata using xml as a sourcean xml exampledata from web servicesdata in the json formatcookies and formsmanaging data in cookiesmanaging data from forms7.large-scale phpmodular web pagesgenerating pages in phpworking with pagespublic interface for the page classabstract interface for the page classimplementation of the page classextending the page classworking with modulespublic interface for the module classabstract interface for the module classimplementation of the module classextending the module classan example module: slideshowlayouts and containersspecial considerationshandling module variationsmultiple instances of a moduledynamic javascript and cssimplementing nested modules8.large-scale ajaxin the browsermanaging connectionsusing ajax librarieson the serverexchange formatsserver proxiesmodular ajaxmvc and ajaxusing ajax with mvcpublic interface for the model objectimplementation of the model object public interface for the view objectabstract interface for the view objectview object implementationpublic interface for the connect objectabstract interface for the connect objectimplementation of the connect objectcontrollersan example of ajax with mvc: accordion lists9.performancecaching opportunitiescaching css and javascriptcaching modulescaching for pagescaching with ajaxusing expires headersmanaging javascriptjavascript placementjavascript minificationremoving duplicatesdistribution of assetscontent delivery networksminimizing dns lookupsminimizing http requestscontrol over site metricsmodular testingusing test datacreating test data10.application architecturethinking modularlyorganizing componentssitewide architecturesection architecturearchitecture for pagesarchitecture and maintenancereorganizing module usesadding module variationsmaking widespread changeschanges in data sourcesexposing modules externallyindex