Practical Reporting with Ruby and Rails (eBook)
312 Seiten
Apress (Verlag)
978-1-4302-0532-6 (ISBN)
Business intelligence and real-time reporting mechanisms play a major role in any of today's forward-looking business plans. With many of these solutions being moved to the Web, the popular Rails framework and its underlying Ruby language are playing a major role alongside web services in building the reporting solutions of tomorrow. This book offers a comprehensive introduction to this popular framework. It shows you how the Ruby language and Rails framework can create truly compelling reporting services by plugging into popular third-party applications and services such as Google AdWords, UPS.com, iTunes, and SalesForce.com.
David Berube is a Ruby developer, trainer, author, and speaker. He's used both Ruby and Ruby on Rails for several years, starting in 2003 when he became a Ruby advocate after he wrote about the language for Dr Dobb's Journal. Prior to this, he worked professionally with PHP, Perl, C++, and Visual Basic. His professional accomplishments include creating the Ruby on Rails engine for CoolRuby.com, a site that tracks the latest Ruby developments, and working with ThoughtBot.com on the Rails engine that powers Sermo America's Top Doctor contest. Additionally, he has worked on several other Ruby projects, including the engine powering CyberKnowHow's BirdFluBreakingNews search engine, and he also created the Slueshi text adventure game system, a multiplayer text game engine written in Ruby. David's journalism has been in print in over 65 countries, in magazines such as Linux Magazine, Dr Dobb's Journal, and PHP International Magazine. He's also taught college courses and spoken publicly on topics such as 'MySQL and You' and 'Making Money with Open Source Software.' He lives in New Hampshire and his hobbies include basketball, yo-yos, and sleep.
Business intelligence and realtime reporting mechanisms play a major role in any of todays forwardlooking business plans. With many of these solutions being moved to the Web, the popular Rails framework and its underlying Ruby language are playing a major role alongside web services in building the reporting solutions of tomorrow. Practical Reporting with Ruby and Rails is the first book to comprehensively introduce this popular framework, guiding readers through a wideranging array of features. Note this isnt a staid guide to generating traditional reports, but rather it shows you how the Ruby language and Rails framework can create truly compelling reporting services by plugging into popular third-party applications and services such as Google AdWords, UPS.com, iTunes, and SalesForce.com.
David Berube is a Ruby developer, trainer, author, and speaker. He's used both Ruby and Ruby on Rails for several years, starting in 2003 when he became a Ruby advocate after he wrote about the language for Dr Dobb's Journal. Prior to this, he worked professionally with PHP, Perl, C++, and Visual Basic. His professional accomplishments include creating the Ruby on Rails engine for CoolRuby.com, a site that tracks the latest Ruby developments, and working with ThoughtBot.com on the Rails engine that powers Sermo America's Top Doctor contest. Additionally, he has worked on several other Ruby projects, including the engine powering CyberKnowHow's BirdFluBreakingNews search engine, and he also created the Slueshi text adventure game system, a multiplayer text game engine written in Ruby. David's journalism has been in print in over 65 countries, in magazines such as Linux Magazine, Dr Dobb's Journal, and PHP International Magazine. He's also taught college courses and spoken publicly on topics such as "MySQL and You" and "Making Money with Open Source Software." He lives in New Hampshire and his hobbies include basketball, yo-yos, and sleep.
Contents at a Glance 5
Contents 6
About the Author 10
About the Technical Reviewer 11
Acknowledgments 12
Introduction 13
Introducing Reporting with Ruby 14
Data Access Fundamentals 15
Choosing a Database 15
Using Active Record As a Database Access Library 17
Summary 29
Calculating Statistics with Active Record 30
Grouping and Aggregation 30
Analyzing Data with Grouping and Aggregates 33
Summary 42
Creating Graphs with Ruby 44
Choosing a Graphing Utility 44
Graphing Data 48
Summary 60
Creating Reports on the Desktop 61
Choosing a Desktop Format 61
Exporting Data to Spreadsheets 62
Creating GUIs with Ruby 70
Summary 83
Connecting Your Reports to the World 84
Choosing a Web Framework 84
Live Intranet Web Reporting with Rails 85
Graphical Reporting with Rails 100
Summary 116
Examples of Reporting with Ruby 118
Tracking Auctions with eBay 119
Using eBay APIs 119
Obtaining Competitive Intelligence via eBay Web Services 121
Summary 139
Tracking Expenditures with PayPal 140
Gathering Data from PayPal 140
Reporting PayPal Expenses 143
Summary 160
Creating Sales Performance Reports with SugarCRM 161
Installing SugarCRM 161
Sales Force Reporting 162
Summary 175
Investment Tracking with Fidelity 176
Writing a Small Server to Get Report Data 176
Tracking a Stock Portfolio 178
Summary 192
Calculating Costs by Analyzing Apache Web Logs 193
Speeding Up Insertions with ActiveRecord:: Extensions 194
Creating PDFs with PDF:: Writer 195
Cost- Per- Sale Reporting 196
Summary 216
Tracking the News with Google News 218
Using FeedTools to Parse RSS 219
Company News Coverage Reporting 220
Summary 235
Creating Reports with Ruby and Microsoft Office 236
Interacting with Microsoft Office 236
Importing Web- Form Data into an Access Database 239
Summary 263
Tracking Your Ads with Google AdWords 264
Obtaining Google AdWords Reports 265
Planning an AdWords Campaign 270
Summary 287
Index 288
Erscheint lt. Verlag | 30.3.2008 |
---|---|
Zusatzinfo | 312 p. |
Verlagsort | Berkeley |
Sprache | englisch |
Themenwelt | Informatik ► Programmiersprachen / -werkzeuge ► Ruby |
Mathematik / Informatik ► Informatik ► Web / Internet | |
Schlagworte | Business Intelligence • Functions • language • Rack • Ruby • Statistics • Web service • Web Services |
ISBN-10 | 1-4302-0532-6 / 1430205326 |
ISBN-13 | 978-1-4302-0532-6 / 9781430205326 |
Haben Sie eine Frage zum Produkt? |
![PDF](/img/icon_pdf_big.jpg)
Größe: 3,4 MB
DRM: Digitales Wasserzeichen
Dieses eBook enthält ein digitales Wasserzeichen und ist damit für Sie personalisiert. Bei einer missbräuchlichen Weitergabe des eBooks an Dritte ist eine Rückverfolgung an die Quelle möglich.
Dateiformat: PDF (Portable Document Format)
Mit einem festen Seitenlayout eignet sich die PDF besonders für Fachbücher mit Spalten, Tabellen und Abbildungen. Eine PDF kann auf fast allen Geräten angezeigt werden, ist aber für kleine Displays (Smartphone, eReader) nur eingeschränkt geeignet.
Systemvoraussetzungen:
PC/Mac: Mit einem PC oder Mac können Sie dieses eBook lesen. Sie benötigen dafür einen PDF-Viewer - z.B. den Adobe Reader oder Adobe Digital Editions.
eReader: Dieses eBook kann mit (fast) allen eBook-Readern gelesen werden. Mit dem amazon-Kindle ist es aber nicht kompatibel.
Smartphone/Tablet: Egal ob Apple oder Android, dieses eBook können Sie lesen. Sie benötigen dafür einen PDF-Viewer - z.B. die kostenlose Adobe Digital Editions-App.
Zusätzliches Feature: Online Lesen
Dieses eBook können Sie zusätzlich zum Download auch online im Webbrowser lesen.
Buying eBooks from abroad
For tax law reasons we can sell eBooks just within Germany and Switzerland. Regrettably we cannot fulfill eBook-orders from other countries.