開發(fā)大規(guī)模Web應(yīng)用

出版時間:2011-1  出版社:東南大學(xué)  作者:(美)勞登  頁數(shù):279  
Tag標(biāo)簽:無  

內(nèi)容概要

  如何創(chuàng)建一個運(yùn)行關(guān)鍵任務(wù),提供靈活、適應(yīng)、可靠的24/7服務(wù),又具有超高性能的網(wǎng)站?《開發(fā)大規(guī)模web應(yīng)用》由yahoo!ui團(tuán)隊(duì)經(jīng)理撰寫,為打造堅(jiān)如磐石的應(yīng)用指明了現(xiàn)實(shí)途徑,無論你添加多少特性、功能和用戶,這些指導(dǎo)原則一樣有效。你將學(xué)會如何運(yùn)用其他類型軟件所要求的同樣精度來開發(fā)大規(guī)模web應(yīng)用。
   ·讓小型網(wǎng)站在添加更多網(wǎng)頁、代碼和程序員時,避免常見的編碼和維護(hù)痛苦
   ·為大規(guī)?web應(yīng)用優(yōu)化html、css、javascript、php和ajax,獲得全面的解決方案
   ·在一處做修改,即可更新所有相應(yīng)的頁面元素
   ·擁抱模塊化、封裝、抽象和松耦合組件等各種優(yōu)點(diǎn)
   ·采用行之有效的技巧管理數(shù)據(jù)交換,包括表單和cookies
   ·學(xué)習(xí)代碼管理和軟件工程中經(jīng)常被忽視的最佳實(shí)踐
  
·對代碼進(jìn)行性能優(yōu)化和測試簡化如何創(chuàng)建一個運(yùn)行關(guān)鍵任務(wù),提供靈活、適應(yīng)、可靠的24/7服務(wù),又具有超高性能的網(wǎng)站?《開發(fā)大規(guī)模web應(yīng)用》由yahoo!ui團(tuán)隊(duì)經(jīng)理撰寫,為打造堅(jiān)如磐石的應(yīng)用指明了現(xiàn)實(shí)途徑,無論你添加多少特性、功能和用戶,這些指導(dǎo)原則一樣有效。你將學(xué)會如何運(yùn)用其他類型軟件所要求的同樣精度來開發(fā)大規(guī)模web應(yīng)用。
   ·讓小型網(wǎng)站在添加更多網(wǎng)頁、代碼和程序員時,避免常見的編碼和維護(hù)痛苦
   ·為大規(guī)模web應(yīng)用優(yōu)化html、css、javascript、php和ajax,獲得全面的解決方案
   ·在一處做修改,即可更新所有相應(yīng)的頁面元素
   ·擁抱模塊化、封裝、抽象和松耦合組件等各種優(yōu)點(diǎn)
   ·采用行之有效的技巧管理數(shù)據(jù)交換,包括表單和cookies
   ·學(xué)習(xí)代碼管理和軟件工程中經(jīng)常被忽視的最佳實(shí)踐
   ·對代碼進(jìn)行性能優(yōu)化和測試簡化

作者簡介

  Kyle Loudon在Yahoo!領(lǐng)導(dǎo)著一個UI團(tuán)隊(duì)。他曾經(jīng)從事設(shè)計(jì)原版的Apple
iPod用戶界面,并且領(lǐng)導(dǎo)隸屬于波音公司的Jeppesen DataPlan
UI團(tuán)隊(duì),開發(fā)用于全世界各航線的飛行規(guī)劃系統(tǒng)。

書籍目錄

foreword
preface
1. the tenets
 managing complexity
 modular components
 achieving modularity
 benefits of modularity
 ten tenets for large web applications
2. object orientation
 the fundamentals of oop
 why object orientation?
 uml class diagrams
 generalization
 association
 modeling a web page
 defining page types
 defining module types
 writing the code
 achieving modularity
 object-oriented php
 classes and interfaces
 inheritance in php
 object-oriented javascript
 objects
 inheritance in javascript
3. large-scale html
 modular html
 a bad example: using a table and presentation markup
 a better example: using css
 the best example: semantically meaningful html
 benefits of good html
 html tags
 bad html tags
 good html tags
 ids, classes, and names
 conventions for naming
 xhtml
 benefits of xhtml
 xhtml guidelines
 rdfa
 rdfa triples
 applying rdfa
 html 5
4. large-scale css
 modular css
 including css
 applying css
 specificity and importance
 scoping with css
 standard module formats
 positioning techniques
 css box model
 document flow
 relative positioning
 absolute positioning
 floating
 layouts and containers
 example layouts
 example containers
 other practices
 browser reset css
 font normalization
5. large-scale javascript
 modular javascript
 including javascript
 scoping with javascript
 working with the dom
 common dom methods
 popular dom libraries
 working with events
 event handling normalization
 a bad example: global data in event handlers
 a good example: object data in event handlers
 event-driven applications
 working with animation
 motion animation
 sizing animation
 color transition
 an example: chained selection lists
6. data management
 dynamic modules
 data managers
 creating data managers
 extending data managers
 data using sql as a source
 an sql example
 data using xml as a source
 an xml example
 data from web services
 data in the json format
 cookies and forms
 managing data in cookies
 managing data from forms
7. large-scale php
 modular web pages
 generating pages in php
 working with pages
 public interface for the page class
 abstract interface for the page class
 implementation of the page class
 extending the page class
 working with modules
 public interface for the module class
 abstract interface for the module class
 implementation of the module class
 extending the module class
 an example module: slideshow
 layouts and containers
 special considerations
 handling module variations
 multiple instances of a module
 dynamic javascript and css
 implementing nested modules
8. large-scale ajax
 in the browser
 managing connections
 using ajax libraries
 on the server
 exchange formats
 server proxies
 modular ajax
 mvc and ajax
 using ajax with mvc
 public interface for the model object
 implementation of the model object
 public interface for the view object
 abstract interface for the view object
 view object implementation
 public interface for the connect object
 abstract interface for the connect object
 implementation of the connect object
 controllers
 an example of ajax with mvc: accordion lists
9. performance
 caching opportunities
 caching css and javascript
 caching modules
 caching for pages
 caching with ajax
 using expires headers
 managing javascript
 javascript placement
 javascript minification
 removing duplicates
 distribution of assets
 content delivery networks
 minimizing dns lookups
 minimizing http requests
 control over site metrics
 modular testing
 using test data
 creating test data
10. application architecture
 thinking modularly
 organizing components
 sitewide architecture
 section architecture
 architecture for pages
 architecture and maintenance
 reorganizing module uses
 adding module variations
 making widespread changes
 changes in data sources
 exposing modules externally
index

章節(jié)摘錄

版權(quán)頁:插圖:As applications on the Web become larger and larger, how can web developers managethe complexity? In many ways, we need to turn to some of the same good practicesused in other types of software development. Generally speaking, these practices arenot yet pervasive in web development——that is, in software development primarily us-ing HTML, CSS, JavaScript, and various server-side scripting languages (we'll use PHPfor the server-side scripting in this book, but the same principles apply to many otherlanguages). Furthermore, the uniqueness of these technologies poses a challenge fordevelopers trying to apply good practices in a cohesive way.One of the themes that you'll see repeated in this book is the importance of extendingmodular development practices to web development. This book presents concrete,practical techniques to achieve modularity in large web applications. In the process,we'll explore many of the finer aspects of HTML, CSS, JavaScript, and PHP. You'll findthat most of the techniques are relatively simple to apply, and none rely on the use ofspecific frameworks. That said, it's important to realize that they don't preclude youfrom using various frameworks, either; to the contrary, these techniques create a betterlandscape in which to use many frameworks. As a case in point, we'll look at severalexamples that utilize the Yahoo! User Interface CYUI) JavaScript library.At the outset, it's important to establish why the techniques that we're going to explorein this book are especially useful for web developers working on large web applications.We'll begin by looking at some of the factors that contribute to the complexity of manylarge web applications. Then we'll explore how modularity plays an important role inmanaging this complexity. Last, we'll examine a list of tenets that will guide our dis-cussions throughout the rest of the book.

編輯推薦

《開發(fā)大規(guī)模Web應(yīng)用(影印版)》:“如果你準(zhǔn)備構(gòu)建一個精心打造的大型站點(diǎn),那么《開發(fā)大規(guī)模Web應(yīng)用(影印版)》就是為你撰寫的。從今天就開始吧,因?yàn)槿澜缍荚诘戎愕膽?yīng)用面世。”

圖書封面

圖書標(biāo)簽Tags

評論、評分、閱讀與下載


    開發(fā)大規(guī)模Web應(yīng)用 PDF格式下載


用戶評論 (總計(jì)1條)

 
 

  •   大規(guī)模Web應(yīng)用的書籍,英文版
 

250萬本中文圖書簡介、評論、評分,PDF格式免費(fèi)下載。 第一圖書網(wǎng) 手機(jī)版

京ICP備13047387號-7