Showing posts with label Web Services. Show all posts
Showing posts with label Web Services. Show all posts

Monday, November 21, 2011

AJAX, Rich Internet Applications, and Web Development for Programmers






Preface xix
Before You Begin xxxi
Part 1: Introduction 1
1 Dive Into® Web 2.0 2
1.1 Introduction 3
1.2 What Is Web 2.0? 4
1.3 Search 7
1.4 Content Networks 12
1.5 User-Generated Content 13
1.6 Blogging 16
1.7 Social Networking 19
1.8 Social Media 23
1.9 Tagging 26
1.10 Social Bookmarking 28
1.11 Software Development 29
1.12 Rich Internet Applications (RIAs) 32
1.13 Web Services, Mashups, Widgets and Gadgets 34
1.14 Location-Based Services 37
1.15 XML, RSS, Atom, JSON and VoIP 38
1.16 Web 2.0 Monetization Models 39
1.17 Web 2.0 Business Models 41
1.18 Future of the Web 44
1.19 Where to Go for More Web 2.0 Information 48
1.20 Web 2.0 Bibliography 49
1.21 Web 2.0 Glossary 56
Part 2: The Ajax Client 66
2 Introduction to XHTML 67
2.1 Introduction 68
2.2 Editing XHTML 69
2.3 First XHTML Example 69
2.4 W3C XHTML Validation Service 72
2.5 Headings 72
Cx Contents
2.6 Linking 73
2.7 Images 76
2.8 Special Characters and Horizontal Rules 79
2.9 Lists 81
2.10 Tables 84
2.11 Forms 88
2.12 Internal Linking 95
2.13 meta Elements 98
2.14 Web Resources 99
3 Cascading Style Sheets™ (CSS) 100
3.1 Introduction 101
3.2 Inline Styles 102
3.3 Embedded Style Sheets 103
3.4 Conflicting Styles 106
3.5 Linking External Style Sheets 109
3.6 Positioning Elements 111
3.7 Backgrounds 115
3.8 Element Dimensions 116
3.9 Box Model and Text Flow 118
3.10 Media Types 122
3.11 Building a CSS Drop-Down Menu 124
3.12 User Style Sheets 126
3.13 CSS 3 130
3.14 Web Resources 130
4 Jav aScript: Introduction to Scripting 131
4.1 Introduction 132
4.2 Simple Program: Displaying a Line of Text in a Web Page 133
4.3 Modifying Our First Program 136
4.4 Obtaining User Input with prompt Dialogs 141
4.4.1 Dynamic Welcome Page 141
4.4.2 Adding Integers 145
4.5 Data Types in Jav aScript 147
4.6 Arithmetic 147
4.7 Decision Making: Equality and Relational Operators 148
4.8 Web Resources 152
5 Ja vaScript: Control Statements I 153
5.1 Introduction 154
5.2 Control Statements 154
5.3 if Selection Statement 155
5.4 if…else Selection Statement 156
5.5 while Repetition Statement 160
5.6 Counter-Controlled Repetition 161Contents xi
5.7 Formulating Algorithms: Sentinel-Controlled Repetition 163
5.8 Formulating Algorithms: Nested Control Statements 166
5.9 Assignment Operators 169
5.10 Increment and Decrement Operators 170
5.11 Web Resources 173
6 Jav aScript: Control Statements II 174
6.1 Introduction 175
6.2 Essentials of Counter-Controlled Repetition 175
6.3 for Repetition Statement 177
6.4 Examples Using the for Statement 181
6.5 switch Multiple-Selection Statement 185
6.6 do…while Repetition Statement 190
6.7 break and continue Statements 192
6.8 Labeled break and continue Statements 195
6.9 Logical Operators 197
6.10 Web Resources 202
7 Jav aScript: Functions 203
7.1 Introduction 204
7.2 Program Modules in JavaScript 204
7.3 Programmer-Defined Functions 205
7.4 Function Definitions 205
7.5 Random Number Generation 210
7.6 Example: Game of Chance 215
7.7 Another Example: Random Image Generator 222
7.8 Scope Rules 223
7.9 JavaScript Global Functions 226
7.10 Recursion 227
7.11 Recursion vs. Iteration 230
7.12 Web Resources 231
8 Jav aScript: Arrays 232
8.1 Introduction 233
8.2 Arrays 233
8.3 Declaring and Allocating Arrays 234
8.4 Examples Using Arrays 235
8.5 Random Image Generator Using Arrays 242
8.6 References and Reference Parameters 243
8.7 Passing Arrays to Functions 244
8.8 Sorting Arrays 247
8.9 Multidimensional Arrays 249
8.10 Building an Online Quiz 253
8.11 Web Resources 255xii Contents
9 Jav aScript: Objects 256
9.1 Introduction 257
9.2 Introduction to Object Technology 257
9.3 Math Object 260
9.4 String Object 261
9.4.1 Fundamentals of Characters and Strings 261
9.4.2 Methods of the String Object 262
9.4.3 Character-Processing Methods 264
9.4.4 Searching Methods 265
9.4.5 Splitting Strings and Obtaining Substrings 268
9.4.6 XHTML Markup Methods 269
9.5 Date Object 272
9.6 Boolean and Number Objects 277
9.7 document Object 278
9.8 window Object 279
9.9 Using Cookies 284
9.10 Multipage HTML and JavaScript Application 288
9.11 Using JSON to Represent Objects 296
9.12 Web Resources 297
10 Document Object Model (DOM):
Objects and Collections 298
10.1 Introduction 299
10.2 Modeling a Document: DOM Nodes and Trees 299
10.3 Traversing and Modifying a DOM Tree 302
10.4 DOM Collections 313
10.5 Dynamic Styles 315
10.6 Summary of the DOM Objects and Collections 321
10.7 Web Resources 322
11 Jav aScript: Events 323
11.1 Introduction 324
11.2 Registering Event Handlers 324
11.3 Event onlo ad 327
11.4 Event onmou semove, the event Object and this 328
11.5 Rollovers with onm ouseover and onmo useout 333
11.6 Form Processing with onfo cus and on blur 338
11.7 Form Processing with ons ubmit and onr eset 341
11.8 Event Bubbling 343
11.9 More Events 345
11.10 Web Resources 346
12 XML and RSS 347
12.1 Introduction 348

















on 453
14.2 Flash Movie Development 454
14.3 Learning Flash with Hands-On Examples 456
14.3.1 Creating a Shape with the Oval Tool 458
14.3.2 Adding Text to a Button 460
14.3.3 Converting a Shape into a Symbol 461
14.3.4 Editing Button Symbols 463
14.3.5 Adding Keyfr ames 464
14.3.6 Adding Sound to a Button 465
14.3.7 Verifying Changes with Test Movie 466
14.3.8 Adding Layers to a Movie 467
14.3.9 Animating Text with Tweening 468
14.3.10 Adding a Text Field 470
14.3.11 Adding Acti onSc ript 471
14.4 Publishing Your Flash Movie 472xiv Contents
14.5 Creating Special Effects with Flash 473
14.5.1 Impoting and Manipulating Bitmaps 473
14.5.2 Creating an Advertisement Banner with Masking 474
14.5.3 Adding Online Help to Forms 477
14.6 Creating a Website Splash Screen 485
14.7 ActionS cript 491
14.8 Web Resources 491
15 Adobe® Flash® CS3:
Building an Interactive Game 492
15.1 Introduction 493
15.2 Object-Oriented Programming 495
15.3 Objects in Flash 495
15.4 Cannon Game: Preliminary Instructions and Notes 497
15.5 Adding a Start Button 498
15.6 Creating Moving Objects 498
15.7 Adding the Rotating Cannon 503
15.8 Adding the Cannonball 505
15.9 Adding Sound and Text Objects to the Movie 508
15.10 Adding the Time Counter 509
15.11 Detecting a Miss 511
15.12 Adding Collision Detection 512
15.13 Finishing the Game 515
15.14 Act ionSc ript 3.0 Elements Introduced in This Chapter 516
16 Adobe® Flex™ 2 and Rich Internet Applications 517
16.1 Introduction 518
16.2 Flex Platform Overview 519
16.3 Creating a Simple User Interface 520
16.4 Accessing XML Data from Your Application 531
16.5 Interacting with Server-Side Applications 545
16.6 Customizing Your User Interface 554
16.7 Creating Charts and Graphs 558
16.8 Connection Independent RIAs on the Desktop:
Adobe Integrated Runtime (AIR) 566
16.9 Flex 3 Beta 567
16.10 Web Resources 567
Part 4: Rich Internet Application
Server Technologies 568
17 Web Servers (IIS and Apache) 569
17.1 Introduction 570Contents xv
17.2 HTTP Transactions 570
17.3 Multitier Application Architecture 574
17.4 Client-Side Scripting versus Server-Side Scripting 575
17.5 Accessing Web Servers 576
17.6 Microsoft Internet Information Services (IIS) 576
17.6.1 Microsoft Internet Information Services (IIS) 5.1 and 6.0 576
17.6.2 Microsoft Internet Information Services (IIS) 7.0 579
17.7 Apache HTTP Server 581
17.8 Requesting Documents 583
17.9 Web Resources 584
18 Database: SQL, MySQL,
ADO.NET 2.0 and Java DB 585
18.1 Introduction 586
18.2 Relational Databases 587
18.3 Relational Database Overview: A books Database 588
18.4 SQL 591
18.4.1 Basic SELECT Query 591
18.4.2 WHERE Clause 592
18.4.3 ORDER BY Clause 594
18.4.4 Combining Data from Multiple Tables: INNER JOIN 596
18.4.5 INSERT Statement 597
18.4.6 UPDATE Statement 598
18.4.7 DELETE Statement 599
18.5 MySQL 600
18.6 Instructions for Installing MySQL 600
18.7 Instructions for Setting Up a MySQL User Account 601
18.8 Creating a Database in MySQL 602
18.9 ADO.NET Object Model 602
18.10 Java DB/Apache Derby 604
18.11 Web Resources 604
19 PHP 606
19.1 Introduction 607
19.2 PHP Basics 608
19.3 String Processing and Regular Expressions 618
19.3.1 Comparing Strings 618
19.3.2 Regular Expressions 619
19.4 Form Processing and Business Logic 623
19.5 Connecting to a Database 630
19.6 Using Cookies 634
19.7 Dynamic Content 640
19.8 Operator Precedence Chart 649
19.9 Web Resources 651xvi Contents
20 Ruby on Rails 652
20.1 Introduction 653
20.2 Ruby 653
20.3 Rails Framework 660
20.4 ActionContr oller and ActionView 662
20.5 A Database-Driven Web Application 665
20.6 Case Study: Message Forum 670
20.6.1 Logging In and Logging Out 670
20.6.2 Embellishing the Models 674
20.6.3 Generating Scaffold Code 676
20.6.4 Forum Controller and Forum Views 677
20.6.5 Message Controller and Message Views 682
20.6.6 Ajax-Enabled Rails Applications 686
20.7 Script.aculo.us 691
20.8 Web Resources 699
21 ASP.NET 2.0 and ASP.NET Ajax 700
21.1 Introduction 701
21.2 Creating and Running a Simple Web Form Example 702
21.2.1 Examining an ASPX File 703
21.2.2 Examining a Code-Behind File 705
21.2.3 Relationship Between an ASPX File and a Code-Behind File 706
21.2.4 How the Code in an ASP.NET Web Page Executes 706
21.2.5 Examining the XHTML Generated by an ASP.NET Application 707
21.2.6 Building an ASP.NET Web Application 708
21.3 Web Controls 716
21.3.1 Text and Graphics Controls 716
21.3.2 AdRotator Control 721
21.3.3 Validation Controls 726
21.4 Session Tracking 737
21.4.1 Cookies 738
21.4.2 Session Tracking with HttpSessionState 746
21.5 Case Study: Connecting to a Database in ASP.NET 753
21.5.1 Building a Web Form That Displays Data from a Database 754
21.5.2 Modifying the Code-Behind File for the Guestbook Application 763
21.6 Case Study: Secure Books Database Application 765
21.6.1 Examining the Completed Secure Books Database Application 765
21.6.2 Creating the Secure Books Database Application 769
21.7 ASP.NET Ajax 793
21.8 Web Resources 797
22 JavaServer™ Faces Web Applications 798
22.1 Introduction 799
22.2 Java Web Technologies 800Contents xvii
22.2.1 Servlets 800
22.2.2 JavaServer Pages 801
22.2.3 JavaServer Faces 802
22.2.4 Web Technologies in Netbeans 802
22.3 Creating and Running a Simple Application in Netbeans 803
22.3.1 Examining a JSP File 804
22.3.2 Examining a Page Bean File 806
22.3.3 Event-Processing Life Cycle 810
22.3.4 Relationship Between the JSP and Page Bean Files 811
22.3.5 Examining the XHTML Generated by a Java Web Application 811
22.3.6 Building a Web Application in Netbeans 813
22.4 JSF Components 820
22.4.1 Text and Graphics Components 820
22.4.2 Validation Using Validator Components and Custom Validators 825
22.5 Session Tracking 833
22.5.1 Cookies 834
22.5.2 Session Tracking with the SessionBean Object 846
22.6 Web Resources 856
23 Ajax-Enabled JavaServer™ Faces
Web Applications 858
23.1 Introduction 859
23.2 Accessing Databases in Web Applications 860
23.2.1 Building a Web Application That Displays Data from a Database 860
23.2.2 Modifying the Page Bean File for the AddressBook Application 869
23.3 Ajax-Enabled JSF Components 872
23.4 AutoComplete Text Field and Virtual Forms 873
23.4.1 Configuring Virtual Forms 874
23.4.2 JSP File with Virtual Forms and an AutoComplete Text Field 875
23.4.3 Providing Suggestions for an AutoComplete Text Field 879
23.5 Google Maps Map Viewer Component 881
23.5.1 Obtaining a Google Maps API Key 882
23.5.2 Adding a Map Viewer Component to a Page 882
23.5.3 JSP File with a Map Viewer Component 883
23.5.4 Page Bean That Displays a Map in the Map Viewer Component 887
23.6 Web Resources 890
24 Web Services 891
24.1 Introduction 892
24.2 Java Web Services Basics 894
24.3 Creating, Publishing, Testing and Describing a Web Service 894
24.3.1 Creating a Web Application Project and Adding a
Web Service Class in Netbeans 895
24.3.2 Defining the HugeInteger Web Service in Netbeans 895
24.3.3 Publishing the HugeInteger Web Service from Netbeans 900xviii Contents
24.3.4 Testing the HugeInteger Web Service with Sun Java
System Application Server’s Tester Web page 900
24.3.5 Describing a Web Service with the Web Service
Description Language (WSDL) 904
24.4 Consuming a Web Service 905
24.4.1 Creating a Client in Netbe ans to Consume the HugeInt eger
Web Service 905
24.4.2 Consuming the HugeInte ger Web Service 908
24.5 SOAP 914
24.6 Session Tracking in Web Services 915
24.6.1 Creating a Blackjack Web Service 916
24.6.2 Consuming the Blackjack Web Service 920
24.7 Consuming a Database-Driven Web Service from a Web Application 931
24.7.1 Configuring Java DB in Netbeans and Creating the
Reservation Database 931
24.7.2 Creating a Web Application to Interact with the
Reservation Web Service 934
24.8 Passing an Object of a User-Defined Type to a Web Service 939
24.9 REST-Based Web Services in ASP.NET 949
24.9.1 REST-Based Web Service Functionality 950
24.9.2 Creating an ASP.NET REST-Based Web Service 954
24.9.3 Adding Data Components to a Web Service 957
24.10 Web Resources 960
Index 962

Another Web Programming Books
Another Web Services Books
Download

Sunday, November 20, 2011

Ajax The Complete Reference






Contents at a Glance
Part I Core Ideas
1 Introduction to Ajax . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
2 Pre-Ajax JavaScript Communications Techniques . . . . . . . . . . . . . . . . . . . . 15
3 XMLHttpRequest Object . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 61
4 Data Formats . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 115
Part II Applied Ajax
5 Developing an Ajax Library . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 177
6 Networking Considerations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 231
7 Security Concerns . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 283
8 User Interface Design for Ajax . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 335
9 Site and Application Architecture with Ajax . . . . . . . . . . . . . . . . . . . . . . . . 407
Part III Advanced Topics
10 Web Services and Beyond . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 483
Part IV Appendixes
A JavaScript Quick Reference . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 551
B HTTP 1.1 Reference . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 587
C AjaxTCR Library Reference . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 609
Index . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 635


Another Web Programming Books
Another Web Services Books
Download

Saturday, November 19, 2011

AJAX in Oracle JDeveloper






Contents
Preface ....................................................................................................... V
Motivation for this Book ....................................................................... V
Who Should Read this Book?...............................................................VI
Outline to the Book Structure ............................................................. VII
Prerequisite Skills .............................................................................. VIII
Acknowledgements ........................................................................... VIII
About the Author ..................................................................................IX
Contents ................................................................................................... XI
1 What is Ajax?..........................................................................................1
1.1 Introduction ......................................................................................1
1.2 What is XMLHttpRequest? ..............................................................2
1.3 XMLHttpRequest Object Properties.................................................2
1.3.1 The readyState Property ............................................................3
1.3.2 The onreadystate change Property..............................................3




1.3.3 The responseText Property........................................................3
1.3.4 The responseXML Property ......................................................4
1.3.5 The status Property ....................................................................4
1.3.6 The statusText Property.............................................................4
1.4 XMLHttpRequest Object Methods...................................................5
1.4.1 The abort() Method....................................................................5
1.4.2 The open() Method ....................................................................5
1.4.3 The send() Method.....................................................................5
1.4.4 The setRequestHeader() Method ...............................................6
1.4.5 The getResponseHeader() Method ............................................6
1.4.6 The getAllResponseHeaders() Method......................................6
1.5 Sending an Ajax Request..................................................................7
1.6 Processing an Ajax Request..............................................................8
1.7 JDeveloper Integrated JavaScript Editor ........................................ 10
1.8 Summary......................................................................................... 17
2 Developing an Ajax Web Application................................................. 19
2.1 Introduction .................................................................................... 19
2.2 Setting the Environment ................................................................. 19
2.3 Sending an Ajax Request................................................................ 29
2.4 Processing an Ajax Request on the Server Side ............................. 31
2.5 Processing an Ajax Response........................................................ 35
2.6 Summary ....................................................................................... 44
3 Less JavaScript with Prototype ........................................................... 45
3.1 Introduction .................................................................................... 45
3.2 Overview of Prototype.................................................................... 45
3.2.1 $() function .............................................................................. 45
3.2.2 $F() function........................................................................... 46
3.2.3 $A() function .......................................................................... 46
3.2.4 $H() function ........................................................................... 46
3.2.5 $R() function .......................................................................... 46
3.2.6 $w() Function .......................................................................... 47
3.2.7 Try.these function() ................................................................ 47
3.2.8 Ajax.Request Class................................................................. 47
3.2.9 Ajax.Updater Class.................................................................. 49
3.2.10 Ajax.PeriodicalUpdater Class .............................................. 50
3.3 Installing Prototype ....................................................................... 50
3.4 Configuring Prototype in AJAX Web Application........................ 51
3.5 Updating a DOM Element with Ajax.Updater ............................... 58
3.6 Summary......................................................................................... 60
4 Ajax with Java-GWT ........................................................................... 61
4.1 Introduction .................................................................................... 61
4.2 Installing GWT ............................................................................... 61
4.3 Creating a GWT Application.......................................................... 62
4.4 GWT Class Libraries ...................................................................... 75
4.5 Creating a Form Validation Ajax Application................................ 77
4.6 Summary......................................................................................... 87
5 Ajax with Java-DWR ........................................................................... 89
5.1 Introduction .................................................................................... 89
5.2 Setting the Environment ................................................................. 89
5.3 Creating a DWR Application.......................................................... 90
5.4 Deploying and Running the DWR Application............................ 103
5.5 Summary....................................................................................... 106
6 Ajax without JavaScript – AjaxTags ................................................ 107
6.1 Introduction .................................................................................. 107
6.2 Setting the Environment ............................................................... 107
6.3 Overview of AjaxTags.................................................................. 111
6.4 Installing AjaxTags....................................................................... 113
6.5 Validating a Form with AjaxTags ................................................ 114
6.6 Summary....................................................................................... 128
7 Ajax with JSF-Ajax4jsf ...................................................................... 129
7.1 Introduction .................................................................................. 129
7.2 Overview of Ajax4jsf ................................................................... 129
7.2.1Ajax Filter............................................................................... 130
7.2.2 Ajax Action Components ...................................................... 130
7.2.3 Ajax Containers ..................................................................... 130
7.2.4 JavaScript Engine .................................................................. 130
7.2.5 Ajax4jsf Component Library................................................. 130
7.3 Setting the Environment ............................................................... 132
7.4 Creating an Ajax4jsf Application ................................................. 133
7.5 Sending an Ajax Request.............................................................. 145
7.6 Processing an Ajax Request.......................................................... 148
7.7 Processing the Ajax Response..................................................... 154
7.8 Summary....................................................................................... 158
8 Ajax with PHP-Xajax ......................................................................... 159
8.1 Introduction .................................................................................. 159
8.2 Setting the Environment ............................................................... 160
8.3 Integrating PHP with JDeveloper ................................................. 161
8.4 Creating a Database Table ............................................................ 164
8.5 Sending an Ajax Request............................................................. 167
8.6 Processing an Ajax Request.......................................................... 169
8.7 Processing the Ajax Response..................................................... 172
8.8 Summary....................................................................................... 179
9 RSS Feed with Ajax ............................................................................ 181
9.1 Introduction .................................................................................. 181
9.2 Overview of Google Ajax Feed API ............................................ 182
9.3 Setting the Environment ............................................................... 184
9.4 Receiving a RSS Feed .................................................................. 186
9.5 Receiving Multiple Feeds ............................................................. 191
9.6 Summary....................................................................................... 194
10 Web Search with Ajax...................................................................... 195
10.1 Introduction ................................................................................ 195
10.2 Setting the Environment for Google Search............................... 195
10.3 Overview of Google Ajax Search API ....................................... 197
10.4 Creating a Google Ajax Web Search Application ...................... 199
10.5 Web Search with Yahoo Web Services ..................................... 203
10.6 Creating an Ajax Web Search Application for Yahoo ............... 205
10.7 Sending an Ajax Request with Yahoo Search Web Services .... 210
10.8 Running the Yahoo Ajax Web Search Application ................... 217
10.9 Summary..................................................................................... 219
Index ....................................................................................................... 223


Another Web Services Books
Another Web Programming Books
Download

Saturday, September 17, 2011

Drupal Web Services






Table of Contents
Preface 1
Chapter 1: About Drupal Web Services 7
What are web services? 8
XML and web services 9
The REST protocol 10
Standards compliance 11
Why are web services useful? 12
Why use web services in Drupal? 12
How Drupal uses web services 14
Drupal as a service consumer 14
Mollom 14
Auto tagging 16
Flickr and Flickr API 17
Apache Solr search integration 17
Facebook 18
Drupal as a service provider 18
Services module 18
RSS 19
AMFPHP 20
XML-RPC 20
Summary 22
Chapter 2: Consuming Web Services in Drupal 23
Using SOAP 24
The SOAP message 25
Enabling SOAP in PHP 27
Using the SOAP Client module 28
Installing and configuring the SOAP Client module 28
Getting started with FedEx Web Services 32
Using FedEx Shipping Quotes module 32
Installing and configuring the FedEx Shipping Quotes for Ubercart module 33
Confirming your Ubercart store settings 38
Entering your test credentials in the FedEx module configuration 38
Testing the FedEx Web Service with our Drupal site 43
SOAP request/call in the FedEx module file 48
Summary 48
Chapter 3: Drupal and Flickr 49
Accessing Flickr 50
Your Flickr account 51
Flickr module 52
Signing up for a Flickr API key 52
Configuring the Flickr module 54
Adding the Flickr filter 56
Setting Flickr module permissions 56
Testing the Flickr module 57
Flickr module blocks 62
Flickr random photo from photoset 66
Flickr random photos block 67
Flickr recent photos and recent photosets 68
Flickr user page photosets, user page random photos, and recent photos 68
Summary 70
Chapter 4: Drupal and Amazon 71
Accessing Amazon 72
Signing up for an Amazon Web Services account 73
Installation and initial configuration of the Amazon module 73
Testing configuration 76
Using the Amazon module 78
Testing the Amazon Example content type 78
Using the Amazon content type with Views 80
Using the Amazon filters 83
Testing the Amazon input filter 84
Amazon Store module 85
Using the Amazon Store module 86
Configuring your Amazon Store 87
Testing your Amazon Store 90
Summary 91
Chapter 5: Drupal and Multimedia Web Services 93
CDN2 video 94
Accessing the CDN2 web service 95
Signing up for the CDN2 web service 96
Configuring the CDN2 module 98
Adding videos using CDN2 101
Uploading videos with CDN2 content type 104
Using the Kaltura module and web service 105
Accessing the Kaltura service 106
Importing and uploading Kaltura video content 109
Using the Media: Flickr module 111
Summary 118
Chapter 6: Drupal Web Services the Easy Way:
The Services Module 119
The Services module—what is it? 120
The Services module—why use it and what does it buy you? 121
Deployment module 121
Content distribution 122
Installing and enabling the Services module 122
Testing a simple service callback 126
Creating a Services module and running a custom callback 131
Creating custom Services module 132
Adding to our function to allow for returning Photo nodes data 135
Adding a database query to our custom Services module 136
Adding arguments 138
Summary 139
Chapter 7: Drupal, Spam, and Web Services 141
CAPTCHA and reCAPTCHA 142
Installing and configuring CAPTCHA and reCAPTCHA 142
Image CAPTCHA 146
reCAPTCHA 147
AntiSpam 150
Installing and configuring AntiSpam 150
Additional TypePad/AntiSpam module settings 152
AntiSpam moderation queue 154
Mollom module 156
Configuring the Mollom web service 156
Choosing the content that Mollom will protect 158
Mollom reports and statistics 160
Summary 163
Chapter 8: Using XML-RPC 165
XML-RPC and Drupal 165
Drupal Blog API and Google Docs 166
Enabling and configuring Blog API 167
Setting up a Google Documents account 168
Posting the Google Document to Drupal 170
Testing and viewing the document on your Drupal site 173
Removing posts 176
Syncing content between Drupal sites 176
Using the Deployment module with Services 177
The Deployment module 177
Installing, enabling, and configuring Deployment 178
Summary 186
Chapter 9: Twitter and Drupal 187
Twitter and Drupal 187
The Twitter API 188
The Twitter module 189
Integrating the Twitter module with Drupal 189
Registering your website with Twitter 191
Setting up a Twitter application 191
Configuring the Twitter module once you have your app setup 196
Setting up OAuth configuration 198
Setting up your user account to integrate with Twitter 198
Posting your Drupal nodes as tweets to your Twitter account 200
Showing tweets in blocks on your Drupal site 201
Twitter module page and block Views 203
Actions and triggers with the Twitter module 206
Tweet module 208
Configuring short URLs 209
Configuring the Tweet module 210
Summary 214
Chapter 10: LinkedIn and Drupal 215
LinkedIn and Drupal 215
Installing the LinkedIn Integration and OAuth modules 217
Using the LinkedIn Integration module 218
Status update and promoting content to LinkedIn 220
Setting permissions 221
Posting LinkedIn profile data to Drupal 222
Posting Drupal content to LinkedIn 226
Checking usage statistics for the LinkedIn module 228
Summary 229
Chapter 11: Facebook and Drupal 231
What is Facebook? 232
Drupal and Facebook 232
Requirements for running Drupal for Facebook 233
Installing and enabling Drupal for Facebook 234
Installing the Facebook libraries 237
Setting up Canvas Pages 238
Creating your first Facebook app 239
Configuring Drupal to work with your Facebook app 243
Testing the Facebook application 244
Editing your Facebook application settings 247
Summary 248
Chapter 12: Authentication Services 251
OpenID and Drupal 251
Enabling and configuring the OpenID module 252
Setting up the OpenID server/provider 253
OAuth and OAuth Connector 258
Using OAuth Connector 259
Configuring a provider connection for Twitter 261
Setting up the Twitter developer application account 265
Summary 269
Appendix: Modules Used in the Book 271
Modules used in Chapter 1 274
CCK 274
Mollom 274
Auto Tagging 275
AMFPHP 275
Modules used in Chapter 2 275
SOAP Client 276
FedEx web services 276
FedEx shipping quotes for Ubercart 276
Ubercart 277
Token 277
Modules used in Chapter 3 277
Flickr account and API key 277
Flickr module 278
idGettr 278
Modules used in Chapter 4 278
Amazon web service and API key 278
Amazon module 278
Features 279
Views 279
Amazon store module 279
Modules used in Chapter 5 280
CDN2 web service 280
CDN2 video module 280
Kaltura web service 281
Kaltura module 281
Media: Flickr 281
Embedded media field 282
Modules used in Chapter 6 282
Services module 282
Modules used in Chapter 7 282
CAPTCHA 283
reCAPTCHA 283
AntiSpam 283
Modules used in Chapter 8 284
BlogAPI module 284
Google Documents 284
Deployment module 284
Modules used in Chapter 9 285
Twitter module 285
Tweet 285
Shorten URLs 286
Short URL 286
Modules used in Chapter 10 286
OAuth module 286
Autoload 287
Input Stream 287
LinkedIn Integration 287
Modules used in Chapter 11 287
Drupal for Facebook 288
Facebook Connect 288
Facebook - Auth 288
Modules used in Chapter 12 289
Google Apps authentication 289
Summary 289
Index 291


Another Web Services
Download

Saturday, July 16, 2011

Developing XML Web Services Using Microsoft ASP.NET






Contents
Introduction
Course Materials ......................................................................................................2
Prerequisites.............................................................................................................3
Course Outline .........................................................................................................4
Setup ........................................................................................................................8
Microsoft Official Curriculum.................................................................................9
Microsoft Certified Professional Program .............................................................11
Facilities.................................................................................................................13
Module 1: The Need for XML Web Services
Overview..................................................................................................................1
Evolution of Distributed Applications .....................................................................2
Problems with Traditional Distributed Applications ...............................................4
Introducing XML Web Services............................................................................14
The Web Technology Stack and .NET ..................................................................16
The .NET Alternatives to XML Web Services ......................................................18
Common XML Web Service Scenarios.................................................................20
Review ...................................................................................................................22
Module 2: XML Web Service Architectures
Overview..................................................................................................................1
Service-Oriented Architecture .................................................................................2
XML Web Services Architectures and Service-Oriented Architecture ...................4
Roles in an XML Web Services Architecture..........................................................8
The XML Web Services Programming Model ......................................................16
Review ...................................................................................................................18
Module 3: The Underlying Technologies of XML Web Services
Overview..................................................................................................................1
HTTP Fundamentals ................................................................................................2
Using HTTP with the .NET Framework..................................................................8
XML Essentials......................................................................................................17
XML Serialization in the .NET Framework ..........................................................26
SOAP Fundamentals..............................................................................................29
Using SOAP with the .NET Framework................................................................36
Lab 3.1: Issuing HTTP and SOAP Requests Using the .NET Framework ............45
Review ...................................................................................................................54
Module 4: Consuming XML Web Services
Overview..................................................................................................................1
WSDL Documents...................................................................................................2
XML Web Service Discovery..................................................................................8
XML Web Service Proxies ....................................................................................19
Implementing an XML Web Service Consumer Using Visual Studio .NET.........27
Lab 4.1: Implementing an XML Web Service Consumer Using Visual Studio
.NET.......................................................................................................................34
Review ...................................................................................................................43
Module 5: Implementing a Simple XML Web Service
Overview................................................................................................................. 1
Creating an XML Web Service Project .................................................................. 2
Implementing XML Web Service Methods.......................................................... 11
Managing State in an ASP.NET XML Web Service ............................................ 33
Debugging XML Web Services............................................................................ 42
Lab 5.1: Implementing a Simple XML Web Service............................................ 61
Review .................................................................................................................. 77
Module 6: Publishing and Deploying XML Web Services
Overview................................................................................................................. 1
Overview of UDDI.................................................................................................. 2
Publishing an XML Web Service ......................................................................... 16
Finding an XML Web Service .............................................................................. 21
Publishing an XML Web Service on an Intranet .................................................. 24
Configuring an XML Web Service ....................................................................... 26
Lab 6.1: Publishing and Finding Web Services in a UDDI Registry.................... 29
Review .................................................................................................................. 39
Module 7: Securing XML Web Services
Overview................................................................................................................. 1
Overview of Security .............................................................................................. 2
Built-In Authentication ......................................................................................... 10
Custom Authentication: SOAP Headers ............................................................... 18
Authorization: Role-Based Security ..................................................................... 25
Authentication and Authorization with HttpModules........................................... 34
Authorization: Code Access Security ................................................................... 39
Encryption............................................................................................................. 46
Lab 7.1: Securing XML Web Services ................................................................. 54
Review .................................................................................................................. 70
Course Evaluation................................................................................................. 72
Module 8: Designing XML Web Services
Overview................................................................................................................. 1
Data Type Constraints............................................................................................. 2
Performance .......................................................................................................... 11
Lab 8.1: Implementing Caching in an XML Web Service.................................... 28
Reliability.............................................................................................................. 33
Versioning............................................................................................................. 37
HTML Screen Scraping XML Web Services ....................................................... 39
Aggregating XML Web Services.......................................................................... 47
Demonstration: Example of an Aggregated XML Web Service........................... 52
Lab 8.2: Implementing an Aggregated XML Web Service .................................. 53
Review .................................................................................................................. 67
Module 9: Global XML Web Services Architecture
Overview................................................................................................................. 1
Introduction to GXA ............................................................................................... 2
Routing and Referral............................................................................................... 8
Security and License ............................................................................................. 16
Review .................................................................................................................. 19
Course Evaluation................................................................................................. 20


Another XML Books
Another Web Services Books
Another ASP Books
Download

Wednesday, July 13, 2011

The Complete Book of Middleware






Introduction

Week 1 at a Glance

Day 1 Introduction to SQL
Day 2 Introduction to the Query: The SELECT Statement
Day 3 Expressions, Conditions, and Operators
Day 4 Functions: Molding the Data You Retrieve
Day 5 Clauses in SQL
Day 6 Joining Tables
Day 7 Subqueries: The Embedded SELECT Statement

Week 1 in Review
Week 2 at a Glance

Day 8 Manipulating Data
Day 9 Creating and Maintaining Tables
Day 10 Creating Views and Indexes
Day 11 Controlling Transactions
Day 12 Database Security
Day 13 Advanced SQL Topics
Day 14 Dynamic Uses of SQL

Week 2 in Review
Week 3 at a Glance

Day 15 Streamlining SQL Statements for Improved Performance
Day 16 Using Views to Retrieve Useful Information from the Data Dictionary
Day 17 Using SQL to Generate SQL Statements
Day 18 PL/SQL: An Introduction
Day 19 Transact-SQL: An Introduction
Day 20 SQL*Plus
Day 21 Common SQL Mistakes/Errors and Resolutions
Week 3 in Review
Appendixes

A Glossary of Common SQL Statements
B Source Code Listings for the C++ Program Used on Day 14
C Source Code Listings for the Delphi Program Used on Day 14
D Resources
E ASCII Table
F Answers to Quizzes and Excercises


Another Web Services Books
Another Web Programming Books
Download

Tuesday, June 28, 2011

Web Services Essentials






Table of Contents
Preface ..............................................................................................................................1
Audience ........................................................................................................................1
Organization...................................................................................................................2
Conventions Used in This Book .....................................................................................3
Comments and Questions ...............................................................................................3
Acknowledgments..........................................................................................................4

Part I: Introduction to Web Services...............................................................................5

Chapter 1. Introduction ..................................................................................................6
1.1 Introduction to Web Services ....................................................................................6
1.2 Web Service Architecture .......................................................................................10
1.3 XML Messaging .....................................................................................................15
1.4 Service Description: WSDL....................................................................................17
1.5 Service Discovery: UDDI .......................................................................................18
1.6 Service Transport....................................................................................................19
1.7 Security Considerations ..........................................................................................21
1.8 All Together Now...................................................................................................22
1.9 Standards and Coherence ........................................................................................24

Part II: XML-RPC .........................................................................................................25

Chapter 2. XML-RPC Essentials ..................................................................................26
2.1 XML-RPC Overview..............................................................................................26
2.2 Why XML-RPC?....................................................................................................26
2.3 XML-RPC Technical Overview..............................................................................28
2.4 Developing with XML-RPC ...................................................................................35
2.5 Beyond Simple Calls ..............................................................................................40

Part III: SOAP ...............................................................................................................42

Chapter 3. SOAP Essentials..........................................................................................43
3.1 SOAP 101...............................................................................................................43
3.2 The SOAP Message ................................................................................................45
3.3 SOAP Encoding......................................................................................................48
3.4 SOAP via HTTP .....................................................................................................52
3.5 SOAP and the W3C ................................................................................................54
3.6 SOAP Implementations ..........................................................................................55

Chapter 4. Apache SOAP Quick Start .........................................................................57
4.1 Installing Apache SOAP .........................................................................................57
4.2 Hello, SOAP! .........................................................................................................59
4.3 Deploying SOAP Services ......................................................................................68
4.4 The TcpTunnelGui Tool .........................................................................................72
4.5 Web Resources .......................................................................................................74

Chapter 5. Programming Apache SOAP......................................................................75
5.1 Working with Arrays ..............................................................................................75
5.2 Working with JavaBeans ........................................................................................79
5.3 Working with Literal XML Documents ..................................................................88
5.4 Handling SOAP Faults............................................................................................93
5.5 Maintaining Session State.......................................................................................98

Part IV: WSDL............................................................................................................. 102

Chapter 6. WSDL Essentials....................................................................................... 103
6.1 The WSDL Specification...................................................................................... 103
6.2 Basic WSDL Example: HelloService.wsdl............................................................ 105
6.3 WSDL Invocation Tools, Part I............................................................................. 111
6.4 Basic WSDL Example: XMethods eBay Price Watcher Service............................ 113
6.5 WSDL Invocation Tools, Part II ........................................................................... 115
6.6 Automatically Generating WSDL Files................................................................. 118
6.7 XML Schema Data Typing ................................................................................... 121

Part V: UDDI................................................................................................................ 134

Chapter 7. UDDI Essentials ........................................................................................ 135
7.1 Introduction to UDDI............................................................................................ 135
7.2 Why UDDI? ......................................................................................................... 136
7.3 UDDI Technical Overview ................................................................................... 138
7.4 UDDI Data Model ................................................................................................ 139
7.5 Searching UDDI ................................................................................................... 144
7.6 Publishing to UDDI .............................................................................................. 157
7.7 UDDI Implementations......................................................................................... 169
7.8 Web Resources ..................................................................................................... 170

Chapter 8. UDDI Inquiry API: Quick Reference....................................................... 171
8.1 The UDDI Inquiry API ......................................................................................... 172
8.2 Find Qualifiers...................................................................................................... 196

Chapter 9. UDDI 4J..................................................................................................... 197
9.1 Getting Started...................................................................................................... 197
9.2 Finding and Retrieving UDDI Data....................................................................... 198
9.3 Publishing UDDI Data.......................................................................................... 203
9.4 UDDI4J Quick Reference API .............................................................................. 206

Glossary ........................................................................................................................ 270
Colophon....................................................................................................................... 282


Another Web Services Books
Download

Wednesday, June 1, 2011

Services and Business Computing Solutions with XML






Table of Contents
Preface. ................................................................................................................................................ xiv
.
Chapter I
Extending XML Types Using Updates.................................................................................................... 1
Béatrice Bouchou, Université François Rabelais Tours, France
Denio Duarte, Universidade Comunitária Regional de Chapecó, Brazil
Mírian Halfeld Ferrari, Université François Rabelais Tours, France
Martin A. Musicante, Universidade Federal do Rio Grande do Norte, Brazil
Chapter II
A Comparative Study of XML Change Detection Algorithms.............................................................. 22
Grégory Cobéna, INRIA, France
Talel Abdessalem, Telecom ParisTech, France
Chapter III
Active XML Transactions...................................................................................................................... 39
Debmalya Biswas, SAP Research, Germany
Il-Gon Kim, Korea Information Security Agency (KISA), Korea
Chapter IV
SEEC: A Dual Search Engine for Business Employees and Customers. .............................................. 57
.
Kamal Taha, University of Texas at Arlington, USA
Ramez Elmasri, University of Texas at Arlington, USA
Chapter V
Web Services as XML Data Sources in Enterprise Information Integration......................................... 82
Ákos Hajnal, Computer and Automation Research Institute, Hungary
Tamás Kifor, Computer and Automation Research Institute, Hungary
Gergely Lukácsy, Budapest University of Technology and Economics, Hungary
László Z. Varga, Computer and Automation Research Institute, Hungary

Chapter VI
Consistency and Modularity in Mediated Service-Based Data Integration Solutions. ......................... 98 .
Yaoling Zhu, Dublin City University, Ireland
Claus Pahl, Dublin City University, Ireland
Chapter VII
Facilitating Design of Efficient Components by Bridging Gaps between Data Model and
Business Process via Analysis of Service Traits of Data..................................................................... 114
Ning Chen, Xi’an Polytechnic University, China
Chapter VIII
On the Use of Web Services in Content Adaptation............................................................................ 121
Khalil El-Khatib, University of Ontario Institute of Technology, Canada
Gregor v. Bochmann, University of Ottawa, Canada
Abdulmotaleb El-Saddik, University of Ottawa, Canada
Chapter IX
Analysis of Service Compatibility: Complexity and Computation..................................................... 136
Ken Q. Pu, University of Ontario Institute of Technology, Canada
Chapter X
XML Compression for Web Services on Resource-Constrained Devices........................................... 156
Christian Werner, University of Lübeck, Germany
Carsten Buschmann, University of Lübeck, Germany
Ylva Brandt, University of Lübeck, Germany
Stefan Fischer, University of Lübeck, Germany
Chapter XI
Mining Association Rules from XML Documents.............................................................................. 176
Laura Irina Rusu, La Trobe University, Australia
Wenny Rahayu, La Trobe University, Australia
David Taniar, Monash University, Australia
Chapter XII
A Tutorial on RDF with Jena............................................................................................................... 197
Wan-Yeung Wong, The Chinese University of Hong Kong, Hong Kong, China
Tak-Pang Lau, The Chinese University of Hong Kong, Hong Kong, China
Irwin King, The Chinese University of Hong Kong, Hong Kong, China
Michael R. Lyu, The Chinese University of Hong Kong, Hong Kong, China
Chapter XIII
Extending Enterprise Application Integration (EAI) with Mobile and Web Services
Technologies........................................................................................................................................ 217
Abbass Ghanbary, MethodScience.com & University of Western Sydney, Australia
Bhuvan Unhelkar, MethodScience.com & University of Western Sydney, Australia
Chapter XIV
Modeling and Specification of Collaborative Business Processes with a MDA Approach
and a UML Profile............................................................................................................................... 238
.
Pablo David Villarreal, CDIDI - Universidad Tecnológica Nacional, Argentina
Enrique Salomone, INGAR-CONICET, Argentina
Omar Chiotti, Universidad Tecnologica Nacional and INGAR-CONICET, Argentina
Chapter XV
A Fundamental SOA Approach to Rebuilding Enterprise Architecture for a Local
Government after a Disaster................................................................................................................ 269
Zachary B. Wheeler, SDDM Technology, USA
Chapter XVI
Towards Theory Development for Emergent E-Business Innovations: Using Convergent
Interviewing to Explore the Adoption of XBRL in Australia.............................................................. 288
Indrit Troshani, The University of Adelaide, Australia
Sally Rao Hill, The University of Adelaide, Australia
Afterword........................................................................................................................................... 306
.
Compilation of References................................................................................................................ 307
About the Contributors..................................................................................................................... 328
Index.................................................................................................................................................... 333


Another XML Books
Another Web Service Books
Download

Wednesday, May 18, 2011

Mining Amazon Web Services






Contents at a Glance
Introduction xx
Part I Discovering Amazon Web Services
Learning about Amazon Web Services
Chapter 1: 3
Using Amazon Web Services to Your Advantage
Chapter 2: 27
Working with Web Service Data
Chapter 3: 47
Part II Writing Amazon Web Services Programs
Starting the Development Process
Chapter 4: 79
Writing Applications Using VBA
Chapter 5: 99
Writing Applications Using Visual Studio
Chapter 6: 125
Writing Applications Using PHP
Chapter 7: 175
Writing Applications Using Java
Chapter 8: 199
Writing Applications for Mobile Devices
Chapter 9: 225
Part III Refining Your Amazon Web Services Program
Crafting Your Application
Chapter 10: 255
Considering User Needs
Chapter 11: 269
Other Refinements You Should Consider
Chapter 12: 289

Appendixes
Helpful Third Party Resource Sites
Appendix A: 315
Amazon License Checklist
Appendix B: 321
Amazon Area ID List
Appendix C: 327
Late Breaking Amazon Web Services News
Appendix D: 333
Glossary: 341
Index 361


Another Data Mining Books
Another Web Services Books
Another Web Programming Books
Download
Related Posts with Thumbnails

Put Your Ads Here!