Available:*
Library | Item Barcode | Call Number | Material Type | Item Category 1 | Status |
---|---|---|---|---|---|
Searching... | 30000010185914 | QA76.625 H57 2009 | Open Access Book | Book | Searching... |
On Order
Summary
Summary
From the bestselling author of Push , a story of survival and awakening--and one young man's remarkable strength
The Kid brings us deep into the interior life of Abdul Jones, son of Sapphire's unforgettable heroine, Precious. Left alone by his mother's death to navigate in a world where love and hate sometimes hideously masquerade, forced to confront unspeakable violence, his history, and the dark corners of his own heart, Abdul claws his way toward adulthood. In a generational story that moves with the speed of thought from a Mississippi dirt farm to Harlem in its heyday, from a troubled Catholic orphanage to downtown artists' lofts, The Kid is a soaring tale of body and spirit, rooted in the hungers of flesh and of the soul.
Author Notes
Tony Hillerson is a Software Architect for EffectiveUI. He graduated from Ambassador University with a BA in MIS. On any given day, he may be working with Flex, Java, Rails, Maven, Ant, Ruby, Rake, Capistrano, or shell scripts. Tony maintains RubyAMF, a Rails plug-in that allows Flex applications to pass AMF messages to and from Rails. Tony has been a speaker at 360|Flex, Adobe MAX, and RailsConf, as well as local user groups. In his nonexistent free time, Tony enjoys playing the bass, playing World of Warcraft, making electronic music, brewing beer, learning Latin, and studying philosophy. Tony lives outside Denver, Colorado with his wife and son, Titus.
Daniel Wanja , a native of Switzerland, currently lives in Denver, Colorado. He has lived in Denver for more than six years with his wife and three children, ages 5, 3, and 5 months. Daniel is a dynamic, skilled enterprise software architect and developer with over 20 years' experience. He has worked in the banking, insurance, and high-tech industries around the world delivering mission-critical software. Daniel is president and part owner of two Flex and Ruby on Rails consulting agencies, Nouvelles Solutions, Inc., in Denver, http://n-so.com , and ProDesign Sarl in Geneva, Switzerland, http://prodesign.ch . Daniel started the http://onrails.org blog on Ruby on Rails and related matters in 2005.
Excerpts
Excerpts
Preface In 2004 yet another framework for making websites appeared. It was called Ruby on Rails, and when web and enterprise developers who had never heard of Ruby before started to work with it, they discovered that it wasn't like all the others. Why? Rails offers the promise of fewer configuration files, less boilerplate code, less red tape, and, most of all, the promise of having fun again while programming. Rails was designed to make development more about getting common development tasks done by following conventions, not offering endless flexibility for the remote possibility of connecting up with any number of hypothetical legacy back-ends sometime in the future. By taking away unnecessary choices and offering simple solutions for common problems, Rails lets developers focus on writing applications, and developers have paid Rails back in accolades and adoption. Around the same time as Rails was emerging, Macromedia (later bought by Adobe) was bringing a product codenamed "Royale" to market as Flex--a server-side Flash compiler. Flash had been experiencing a groundswell of developers wanting to build rich interfaces for web applications, not just animations or "Punch the Monkey" ads. Flash developers loved that they could build interfaces that would be extremely hard, if not impossible, to produce in HTML and JavaScript, but the Flash IDE was more suited to timeline animations. Flex changed all that by offering an easy-to-understand XML language for developing Flash interfaces, as well as a component set that made it dead simple to build applications. Flex 2 made things even better by taking the Flex compiler off the server so that there was no requirement of building and deploying Flash movies (SWFs) using the Flex framework and compiler. Flex 3 is one step better by being open source! The Flex language has come a long way too. Bruce Eckel, the author of such books as Thinking in C++, Second Edition (Prentice Hall, 2000) and Thinking in Java, Fourth Edition (Prentice Hall, 2006), said it best when he said, "Flex is a DSL for graphics, multimedia, and UIs" ( http://www.artima.com/weblogs/viewpost.jsp?thread=193593 ). DSL, or Domain Specific Language, is a language with terms that match up well with a certain problem domain, and the term DSL should resonate with Rails developers. Flex, more than HTML with JavaScript, is a language for building rich interfaces quickly and easily. Flex and Rails developers haven't crossed paths that often, but more and more as the word gets out about each technology, developers want to know what these two are about. Having worked for years with both Flex and Rails, we believe that both have something powerful to offer developers who want to build desktop-like functionality into web apps quickly, in a team environment, with the ability to be agile and react to the ever-changing requirements of building and delivering an application to the web. Audience for This Book ?Chances are you're reading this introduction to figure out if this book is for you. Have a look at these "stories" and see if any of them sound familiar. Rick--Rails Guy Background ?Worked with Java for years: Struts, EJB, Spring, all that. Then discovered the joy of working with Rails and hasn't looked back. Overheard Edge Rails? Is there any other kind?" Goal HTML/CSS/JavaScript is fine for simple interfaces, and I don't mind how crufty it is as long as I don't have to deal with it. I'd be interested in finding out how to build richer interfaces, though--interfaces that don't just look better but also give users better tools and an overall better experience." Jill--Java to Flex Convert Background Worked with Swing and understands desktop applications. Got into "The Web" and did lots of J2EE. Loves Flex for the ability to build desktop-like functionality on the web, usually in front of J2EE back-ends. Overheard GridBagLayout? What were they thinking?" Goal "I love working with Flex, but I'm getting a little tired of all the work it takes to set up the back-end with Java. Enterprise software is great when I need the flexibility of all that configuration, but what about when I have a straightforward model and I just want it to work? There's got to be an easier way." Pete--Flash/PHP guy Background Has done lots of design work and building of interfaces with Flash. Has built websites with PHP and also integrated PHP back-ends with Flash. Overheard "I don't skip intro, I make intro" Goal "I know what I can do in Flash, and I know how to feed Flash UIs with data from PHP. I'd really like to see what this Flex thing is all about though, since I'm not always building timeline animations. I've also heard a lot about Rails and how easy it is to get a back-end up and running." If any of these stories sound a bit like you, then this book is for you. Rails and Flex have both revolutionized the way we develop web applications on both the front- and the back-ends. Developers who have found Rails and left the world of enterprise framework stacks behind would very rarely willingly go back to the slow development cycles and bloated boilerplate code they had to endure. Flex developers have found the declarative XML language much cleaner and less crufty than HTML and able to do things like 3D and video that would be impossible without Flex. Of course, there are the normal disclaimers. Rails isn't for every project and neither is Flex. David Heinemeier Hansson wrote about PHP in a blog post ( http://www.loudthinking.com/posts/23-the-immediacy-of-php ): I've been writing a little bit of PHP again today. That platform has really received an unfair reputation. For the small things I've been using it for lately, it's absolutely perfect. . . . For the small chores, being quick and effective matters far more than long-term maintenance concerns. Or how pretty the code is. PHP scales down like no other package for the web and it deserves more credit for tackling that scope. And the same goes for Flex. HTML doesn't need to be compiled and needs no special tools besides the ubiquitous browser to view it, whereas Flex needs a compiler and the Flash Player. However, when you find yourself with a medium to large web project with a database back-end, working with a team on a set of complex forms, rich visual interactions, video integration, 3D features, or a very large set of views, then Flex and Rails make a great choice. The Flex and Rails story has a lot to do with discovering the integration capabilities and learning the ins and outs of making them talk to each other. We've gone a bit beyond that, though, and tried to assemble enough information about the next steps, common tasks, and how-to's that developers will want to know about sooner or later. We thought that, for the most part, Flex developers who have never used Rails will want to learn some of the features that they'll run into during integration, but also during daily work. Likewise, developers who are already familiar with Rails will want to know a bit more about how Flex works than just consuming Rails' XML services. Note - This book is not an introduction to Rails nor to Flex. If you haven't used at least one of these technologies before, you may find yourself a little lost. If you've used or are pretty familiar with one technology and haven't been exposed to the other, then this book is a great companion to reading a primer about the other, either first or at the same time. What's in This Book? The book is designed to take you through the process of learning about integrating and beginning to explore Flex and Rails. In Part I, Flex and Rails Essentials, we cover the core topics that you need to be familiar with in order to get you Flex and Rails projects going. In Chapter 1, Developing with Flex and Rails, we talk about how to set up your environment. Then in Chapter 2, Passing Data with XML, and Chapter 3, Flex with RESTful Services, we'll show you how to integrate Flex and Rails using XML, both with a regular and with a RESTful Rails service. Chapter 4, Using Fluint to Test a Flex with Rails Application, addresses testing. Chapter 5, Passing Data with AMF, discusses how to integrate Flex with RubyAMF, which uses the Flash-native AMF protocol. Sooner or later you're going to want to learn how to debug your applications on the front- and back-ends to learn about what's going on or going wrong with them, so Chapter 6, Debugging, discusses debugging in both environments. One of the great features of Flex is that it's easy to start making very powerful data visualization features available in your application, so Chapter 7, Data Visualization, introduces several pieces of that topic. Chapter 8, Flex MVC Frameworks, talks a bit about a common topic in the Flex community--which frameworks to choose--and discusses two popular ones. Chapter 9, Performance and Optimization, finishes the main section of the book with a discussion of how to get to the bottom of performance problems in both Flex and Rails and some tips about optimizing your applications. Part II, Cookbook Recipes, was a lot of fun to bring to you. It's in the form of a cookbook, which contains many "recipes" or short discussions and how-to's about topics that you'll have questions about at some point. In Chapters 10 through 22, we cover everything from working with common source control systems and authenticating to pushing data and deploying Flex and Rails applications. Chapter 10: Source Control Flex and Rails Projects Chapter 11: Building Flex with Rake Chapter 12: Deploying Flex and Rails Applications Chapter 13: Read the Source! Chapter 14: Using Observers to Clean up Code Chapter 15: Authenticating Chapter 16: Reusing Commands with Prana Sequences Chapter 17: Hierarchical Data with RubyAMF Chapter 18: Advanced Data Grid and Awesome Nested Set Chapter 19: Runtime Flex Configuration with Prana Chapter 20: Server Push with Juggernaut Chapter 21: Communicating between Flex and JavaScript Chapter 22: File Upload Let's Get Started Now that you've decided to take the first steps to putting Flex on Rails, let's take a look at what you'll need to get your development environment in shape. Start with Chapter 1, Developing with Flex and Rails, to make sure you have all the pieces in place. (c) Copyright Pearson Education. All rights reserved. Excerpted from Flex on Rails: Building Rich Internet Applications with Adobe Flex 3 and Rails 2 by Derek Wischusen, Tony Hillerson, Daniel Wanja All rights reserved by the original copyright owners. Excerpts are provided for display purposes only and may not be reproduced, reprinted or distributed without the written permission of the publisher.Table of Contents
Foreword | p. xv |
Preface | p. xvii |
Acknowledgments from Tony Hillerson | p. xxi |
Acknowledgments from Daniel Wanja | p. xxii |
About the Authors | p. xxiv |
Part I Flex and Rails Essentials | |
Chapter 1 Developing with Flex and Rails | p. 3 |
Installation: What You Need to Get Running | p. 3 |
The Structure of a Flex and Rails Application | p. 6 |
The Example Code | p. 9 |
Compiling MXML | p. 9 |
Running the Rails Server | p. 9 |
Summary | p. 9 |
Chapter 2 Passing Data with XML | p. 11 |
XML in Rails | p. 11 |
XML in Flex | p. 14 |
Getting XML to Flex | p. 17 |
Sending XML to Rails | p. 19 |
Mapping Data Types | p. 21 |
Error Handling | p. 25 |
Summary | p. 28 |
Chapter 3 Flex with RESTful Services | p. 29 |
Creating the Stock Portfolio Rails Application | p. 29 |
Accessing Our RESTful Application with Flex | p. 39 |
Summary | p. 48 |
Chapter 4 Using Fluint to Test a Flex with Rails Application | p. 49 |
Using Fluint to Write Your Flex Unit Tests | p. 50 |
The Basics of Testing a Flex Application | p. 51 |
Testing a Cairngorm-Based Application | p. 59 |
Using Fixtures | p. 79 |
Summary | p. 83 |
Chapter 5 Passing Data with AMF | p. 85 |
What Is AMF? | p. 85 |
Benefits of AMF | p. 86 |
RubyAMF | p. 87 |
A Simple RubyAMF Example | p. 95 |
A RESTful RubyAMF Integration | p. 101 |
Summary | p. 103 |
Chapter 6 Debugging | p. 105 |
Logging | p. 106 |
Debuggers | p. 110 |
Command Line Debuggers | p. 117 |
Debugging Communication | p. 127 |
Summary | p. 129 |
Chapter 7 Data Visualization | p. 131 |
Online Analytical Processing (OLAP) | p. 133 |
Advanced DataGrid | p. 144 |
Charting | p. 147 |
Summary | p. 152 |
Chapter 8 Flex MVC Frameworks | p. 153 |
What Do We Mean by a Framework? | p. 153 |
Roll Your Own | p. 154 |
Cairngorm at a High Level | p. 154 |
PureMVC at a High Level | p. 159 |
Stuff | p. 163 |
Summary | p. 182 |
Chapter 9 Performance and Optimization | p. 185 |
Flex Performance | p. 185 |
Rails Performance | p. 206 |
Summary | p. 211 |
Part II Cookbook Recipes | |
Chapter 10 Source Control Flex and Rails Projects | p. 215 |
Goal | p. 215 |
Solution | p. 215 |
Ignoring Files in Subversion | p. 215 |
Git | p. 217 |
Discussion | p. 218 |
Summary | p. 219 |
Chapter 11 Building Flex with Rake | p. 221 |
Goal | p. 221 |
Solution | p. 221 |
Rake Is Your Friend | p. 221 |
The Rakefile | p. 222 |
Summary | p. 225 |
Chapter 12 Deploying Flex and Rails Applications | p. 227 |
Goal | p. 227 |
Solution | p. 227 |
Capistrano | p. 227 |
Deploying with Capistrano | p. 228 |
Summary | p. 232 |
Chapter 13 Read the Source! | p. 233 |
Goal | p. 233 |
Solution | p. 233 |
The Beauty of Open Source | p. 233 |
The Rails Source | p. 235 |
Flex Source | p. 238 |
Generated Flex Source | p. 240 |
Summary | p. 243 |
Chapter 14 Using Observers to Clean Up Code | p. 245 |
Goal | p. 245 |
Solution | p. 245 |
BindingUtils and ChangeWatchers in Flex | p. 245 |
Taking Action on ActiveRecord Lifecycle Events | p. 248 |
Summary | p. 250 |
Chapter 15 Authenticating | p. 251 |
Goal | p. 251 |
Solution | p. 251 |
Authenticating Users | p. 251 |
Installing restful_authentication | p. 251 |
Summary | p. 257 |
Chapter 16 Reusing Commands with Prana Sequences | p. 259 |
Goal | p. 259 |
Solution | p. 259 |
Sequences | p. 259 |
Prana's EventSequence | p. 261 |
Summary | p. 265 |
Chapter 17 Hierarchical Data with RubyAMF | p. 267 |
Goal | p. 267 |
Solution | p. 267 |
Nested Sets | p. 267 |
Summary | p. 273 |
Chapter p. 18 | |
Advanced Data Grid and Awesome Nested Set | p. 275 |
Goal | p. 275 |
Solution | p. 275 |
Overview | p. 275 |
Create the Rails Application and Database | p. 275 |
Creating a Script to Load the Data | p. 276 |
Flex Application | p. 279 |
Adding CRUD | p. 282 |
Summary | p. 287 |
Chapter 19 Runtime Flex Configuration with Prana | p. 289 |
Goal | p. 289 |
Solution | p. 289 |
IoC, Eh? | p. 289 |
Summary | p. 293 |
Chapter 20 Server Push with Juggernaut | p. 295 |
Goal | p. 295 |
Solution | p. 295 |
Push Technology | p. 295 |
Juggernaut | p. 295 |
Creating the Rails Messaging Application | p. 297 |
Creating the Flex Messaging Client Application | p. 299 |
Summary | p. 301 |
Chapter 21 Communicating between Flex and JavaScript | p. 303 |
Goal | p. 303 |
Solution | p. 303 |
Communication between Flex and JavaScript | p. 303 |
Security | p. 303 |
Building the Samples | p. 304 |
ExternalInterface | p. 304 |
SWFObject and Prototype | p. 305 |
ExternalInterface in Action | p. 305 |
Flex-Ajax Bridge in Action | p. 309 |
Summary | p. 311 |
Chapter 22 File Upload | p. 313 |
Goal | p. 313 |
Solution | p. 313 |
File Upload | p. 313 |
Creating the Rails Application and Installing attachment_fu | p. 315 |
Using Flex's FileReference Class to Upload | |
One or Several Files | p. 316 |
Using Flex URLLoader Class to Upload a PNG File | p. 318 |
Summary | p. 320 |
Index | p. 321 |