Maik Schmidt0976694069
На infanata не видел ни одной книги по Ruby – решил начать традицию
Table of contents :
Enterprise Integration with Ruby……Page 1
Contents……Page 6
Foreword……Page 8
1 Introduction……Page 9
1.1 What Is Enterprise Software?……Page 10
1.3 Why Ruby?……Page 11
1.5 PragBouquet……Page 13
1.6 Acknowledgments……Page 14
2 Databases……Page 16
2.1 The Coupon Application……Page 17
Exploring the Environment……Page 18
Determine the Winners……Page 19
Enhancing Flexibility……Page 23
Respecting Customer Privacy……Page 25
Joining Forces……Page 27
The Fruits of Our Labor……Page 31
2.2 Database Interface (DBI)……Page 33
2.3 Object-Relational Mappers……Page 36
ActiveRecord Basics……Page 41
What Do We Have in Stock?……Page 49
Validation……Page 54
Migrating Database Schemas……Page 55
Conclusion……Page 58
2.4 Lightweight Directory Access Protocol (LDAP)……Page 59
An Address Book for PragBouquet Customers……Page 63
Ruby/LDAP……Page 69
ActiveLDAP……Page 78
3 Processing XML……Page 87
3.1 A Short XML Reminder……Page 89
Should I Use Elements or Attributes?……Page 90
To Score Well……Page 91
Generating XML Documents Using Raw Strings……Page 92
Generating XML Documents with REXML……Page 97
Builder……Page 99
3.3 Processing XML Documents……Page 103
XML Processing with REXML……Page 104
Tree Parsing……Page 105
REXML Stream Parsing……Page 110
But It’s Not Standard……Page 117
XPath……Page 123
XML Processing with XmlSimple……Page 132
3.4 Validating XML Documents……Page 135
xmllint……Page 138
Conclusion……Page 139
3.5 Are There Alternatives to XML?……Page 140
Comma-Separated Values (CSV)……Page 141
Processing Comma-Separated Values……Page 142
Properties Files……Page 144
Fixed-Length Records……Page 145
YAML Ain’t Markup Language (YAML)……Page 147
4 Low-Ceremony Distributed Applications……Page 153
4.1 “I’d Rather Use a Socket”……Page 154
The PragBouquet Status Monitor……Page 155
Status Monitor Clients……Page 158
Adding Better Persistence……Page 163
Sending E-mails……Page 164
Waking Up the Operator……Page 167
The Other Side of HTTP……Page 174
Some WEBrick Details……Page 176
It Can Always Be Easier……Page 179
WEBricklet……Page 181
Hiding Little Secrets……Page 183
5.1 Another Day, Another Protocol……Page 187
XML-RPC in Less Than Eight Minutes……Page 189
xmlrpc4r……Page 193
5.2 We Will Take No REST, Will We?……Page 197
Refactoring the Stock Class API……Page 208
A Look Under the Hood of SOAP……Page 210
SOAP the Hard Way……Page 213
Web Services Description Language……Page 216
SOAP Headers……Page 221
Conclusion……Page 228
5.4 CORBA, RMI, and Friends……Page 229
The SMS Server Again……Page 230
The CORBA Client……Page 234
Bridging the Gap……Page 236
CORBA Is Coming Home………Page 241
C++ CORBA Services……Page 242
Distributed Ruby (dRuby)……Page 243
6.1 Internationalization and Localization……Page 248
Character Sets and Encodings……Page 249
jcode……Page 254
ICU4R……Page 256
International I/O……Page 259
Date and Time Formats……Page 261
Managing Message Text……Page 263
Conclusion……Page 268
Logging with Logger……Page 269
Logging to Files……Page 270
The Log Line Format……Page 271
Logging with Log4r……Page 272
Loggers……Page 274
Formatters……Page 276
Outputters……Page 279
Configuration……Page 280
Performance Considerations……Page 286
6.3 Creating Daemons and Services……Page 287
Unix Daemons……Page 288
Windows Services……Page 289
6.4 Build and Deployment Process……Page 294
Deploying with setup.rb……Page 295
Underprivileged?……Page 299
Shipping the Status Monitor……Page 302
RubyGems……Page 307
6.5 Project Automation with Rake……Page 311
Rakefiles……Page 312
Tasks and Actions……Page 315
File Lists……Page 321
6.6 Testing Legacy Applications……Page 322
Conclusion……Page 328
A Resources……Page 329
Index……Page 330
Reviews
There are no reviews yet.