注冊(cè) | 登錄讀書(shū)好,好讀書(shū),讀好書(shū)!
讀書(shū)網(wǎng)-DuShu.com
當(dāng)前位置: 首頁(yè)出版圖書(shū)科學(xué)技術(shù)計(jì)算機(jī)/網(wǎng)絡(luò)軟件與程序設(shè)計(jì)其他編程語(yǔ)言/工具深入淺出Ajax(影印版)

深入淺出Ajax(影印版)

深入淺出Ajax(影印版)

定 價(jià):¥98.00

作 者: (美)麥克勞夫林 著
出版社: 東南大學(xué)出版社
叢編項(xiàng): 東南大學(xué)出版社O'REILLY圖書(shū)系列
標(biāo) 簽: Java

ISBN: 9787564103484 出版時(shí)間: 2006-05-01 包裝: 膠版紙
開(kāi)本: 12開(kāi) 頁(yè)數(shù): 412 字?jǐn)?shù):  

內(nèi)容簡(jiǎn)介

  本書(shū)將教會(huì)您如何在很短的時(shí)間內(nèi)掌握使用JavaScript代碼來(lái)向服務(wù)器提交異步請(qǐng)求?同時(shí),您可以學(xué)習(xí)如何使用諸如動(dòng)態(tài)HTML、XML、JSON、DOM等技術(shù)來(lái)解決開(kāi)發(fā)過(guò)程中遇到的許多問(wèn)題。讓你從那些繁瑣而笨拙的網(wǎng)站開(kāi)發(fā)技術(shù)中徹底解放出來(lái)!本書(shū)將是一本指導(dǎo)您進(jìn)行異步開(kāi)發(fā)的經(jīng)典參考書(shū)籍。作為一名網(wǎng)站設(shè)計(jì)人員,您也許時(shí)常因?yàn)橛龅揭韵虑闆r而煩惱:用戶只是移動(dòng)了鼠標(biāo)就要從服務(wù)器重載數(shù)據(jù);盡管請(qǐng)求的服務(wù)很簡(jiǎn)單,用戶卻仍然需要長(zhǎng)時(shí)間等待服務(wù)器的響應(yīng)。無(wú)疑,Ajax技術(shù)能夠幫助你減少這樣的煩惱。Ajax中的異步技術(shù)能夠讓您設(shè)計(jì)的網(wǎng)站在變得更簡(jiǎn)潔的同時(shí)具有更敏捷的用戶響應(yīng)。我們都知道,下一代的網(wǎng)站設(shè)計(jì)需要新的技術(shù)來(lái)指導(dǎo);需要引入一些吸引人的、夠炫的技術(shù)來(lái)支持我們完成設(shè)計(jì)。這就是本書(shū)能夠提供給您的。閱讀本書(shū),一定會(huì)帶給您許多的樂(lè)趣。首先,您可以在很短的時(shí)間內(nèi)掌握如何使用JavaScript代碼來(lái)向服務(wù)器提交異步請(qǐng)求。同時(shí),更為有趣的是,您可以學(xué)習(xí)如何使用諸如動(dòng)態(tài)HTML、XML、JSON、DOM等技術(shù)來(lái)解決開(kāi)發(fā)過(guò)程中遇到的許多問(wèn)題。毫無(wú)疑問(wèn),這是一本指導(dǎo)您進(jìn)行異步開(kāi)發(fā)的經(jīng)典參考書(shū)籍。本書(shū)和其他深入淺出系列書(shū)籍一樣,使用許多有趣的視覺(jué)刺激來(lái)保持我們大腦思考的興奮。在您讀完書(shū)中第一章后,不但能夠掌握一個(gè)基于Ajax的簡(jiǎn)單應(yīng)用程序開(kāi)發(fā),而且還能夠了解怎樣讓一個(gè)混亂的項(xiàng)目走上正軌。為了幫助讀者解決問(wèn)題,作者還為您準(zhǔn)備了多達(dá)5張CD的資料作為參考。讀完全書(shū),您會(huì)驚奇的發(fā)現(xiàn)那些繁瑣笨拙的網(wǎng)站開(kāi)發(fā)技術(shù)早已隨風(fēng)而去,展現(xiàn)在我們面前的是一個(gè)嶄新的技術(shù)境界。作者簡(jiǎn)介:Beet is a guitar player who is still struggling sith the realization that you cant pay the bills if the realization that youre into acoustic fingerstyle blues and jazz, and high-end custom instruments. Hes just recently discovered, to his delight, that writing books that help people become better programmers does pay the3 bill. Hes vgery happy balut this, as are his wife Leigh, and his young kids, Dean and Tobbie.Before Brett wandered into Head First land, he devloped enteprise Java applications for Nextel Communications and Allegiance Tleecom.When that became fairly mundane, Brett took on application servers, working on the Lutris Enhydra servlet Enhydra servlet engine and FJB container. Along the way , Brett gor hooked on open source software, and helped found several coll progrmming tools, like Jakarta Turbine and JDOM.

作者簡(jiǎn)介

暫缺《深入淺出Ajax(影印版)》作者簡(jiǎn)介

圖書(shū)目錄

Table of Contents (summary)
                             Intro                                                                
                      1    Using Ajax: web applications for a new generation                              
                      2    Speaking the Language: making ajax requests                              
                            Interlude                                                        
                      3    She Blinded Me with Asynchrony: asynchronous apps                      
                      4    Web Page Forestry: the document object model                              
                      4.5   A Second Helping: devloping dora applications                              
                      5    Saying More with POST: post requests                                
                             Interlude                                                    
                      6    More Than Words Can Say: .vml requests and responses                      
                      7    A Fight to the Finish:json versus xml                                    
                      Appendix 1 : A Few Special Bonus Gifts: extras                                
                      Appendix 2: 'All I Want Is the Code": ajax and dora utilities                      
                       Index                                                                    
Table of contents (the real thing)
     Intro
      Your brain on Ajax. Here you are trying to learn something, and your brain is
         doing you a favor by making sure the learning doesn't srick. Your brain's thinking,"Better
         leave room for more important things, like which wild animals to avoid and whether naked
         snowboarding is a bad idea." So how do you trick your brain into thinking that your life
         depends on knowing how to program asynchronously?
                                  Who is this book for?                                                
                                  we know what your brain is thinking                                    
                                   Metacognition                                                    
                                   Bend your brain into submission                                      
                                   Read Me                                                              
                                   Technical reviewer                                                
                                   Acknowledgments        
1 Using Ajax
The Web, Reloaded
Welcome to the new millenium
"Reload? We don't need no stinking reloads."
The highlight reel: Chapter 1
Creating a request object
PHR.. at a glance
What the server used to do...
What the server should do now
Initialing a connection
Connecting to the web server
Adding an event handler
Coding the callback function
How we see web apps...
  Introducing the web browser
  What should the browser do with the server's response?
  Sending instructions to the browser
  Getting the server's response
  Checking for the right ready state
  60 second review                
2 Speaking the Language
   Break Neck Pizza Delivery
Break Neck Pizza, Ajax-style
HTMI, 101 : accepting user input
Event handlers connect HTML to JavaScript
Using the DOM to get user input
Where's the web browser?
Creating a request objcct (revisited)
Supporting multiple browsers
JavaScript doesn't have to be in a function
PHR.. at a glance
Request URLs deliver data to the server
Seud the request to the server
Retrieving data from the server
HTTP ready states
Checking the ready state
What is the browser doing?
Get the server's response from the request object
Test driving the Brcak Neck app
when browsers cache request URLs...
60 second review
3 She Blinded Me with Asynchrony
   What does asynchronous really mean?
Building an Ajax-powered coffee maker
Iterative developn~ent and Ajax apps
Moving JavaScript to external files
Breaking up theJavaScript
Sending an asynchronous request
Getting the value of a radio group
Espresso Talk: Asynchronous and Synchronous Application
Getting the text content of a <div>
Setting the text content of a <div>
Clearing the order form
PHP... at a glance
Writing the callback function
IntroducingJavaScript's substring() function
The final test drive (right?)
We need two request objects!
Creating two request objects
welcome to the world of asynchrony!
4 Web Page Forestry
    Need a dynamic application?
Meet the DOM
Using the DOM without Ajax
How the browser sees your HTML
Write your own... Web Dictionary
Order matters to the web browser
Browsers see the world upside down
The DOM tree
Moving around in a DOM tree
The node knows.., pretty much everything
Some browsers don't recognize Node
The Great Chapter 4 Coding Challenge
4.5 A Second Helping
  Evervone's a critic
What's the game plan?
The big picture
Setting up CD covers
Programmatically adding event handlers
Adding a CD to the top 5
Pay attention to "this"
Adding children to an element
An element can have only one parent
More additions to our DOM tree
A final test drive
5 Saying More with POST
     Repeat business rocks
Submitting a form with Ajax
Send the order to the server
PHR.. at a glance
When things go wrong...
The DOM is connected to what a customer sees
Test driving Break Neck
Error messages and response headers
The server talks back
Break Neck error handling
GET requests versus POST requests
Web servers unencode POST data
Send more data with a POST request
Trying out POST requests
The mysterious POST data
  Request headers
  Response headers
  Setting the content type
6 More Than Words Can Say
          Servers don't get to say much
        Speak Up!
        The limited vocabulary, of a server
        XML: just what the doctor ordered
        Revisiting Boards 'R' Us
        The problem with Boards 'R' Us
        The problem with proprietaW data formats
        Filling that XML prescription
        PHP... at a glance
        Using responseText to get raw XML
Remember DOM trees?
  Using responseXML in your code
        Finding elements by their tag name
        Testing out XML in Boards 'R' Us
        XML is a language to define other languages
        Don't try and use XMI, for everything
        XML for requests?
        Which data format?
7 A Fight to the Finish
   A new data format
A review of request and response formats
Fighting words: XML and JSON
You use the DOM to work with XML
You work withJSON using "normal" JavaScript
JSON is JavaScript
TheJSON data format
JSON on the server
JSON comes across as text
What data format should you send your requests in?
Which is the better data format?
a.1 A Few Special Bonus Gifts
  Ajax toolkits
script.aculo.us and UI toolkits
Inspecting the DOM
Using JSON libraries in your PHP scripts
Using eval0 withJSON
a.2 It's time for a little bonus credit.
ajax.is
Using ajax.js
text-utils.js
Using text-utils.js

本目錄推薦

掃描二維碼
Copyright ? 讀書(shū)網(wǎng) ranfinancial.com 2005-2020, All Rights Reserved.
鄂ICP備15019699號(hào) 鄂公網(wǎng)安備 42010302001612號(hào)