Si Dunn

Posts Tagged ‘Books’

Lunch with Buddha – An entertaining, engrossing, thought-provoking American road-trip novel – #bookreview

In American West, Authors, Book review, Book reviews, Books, Fiction, Kindle, Literature, Philosophy, Politics, Popular culture, Religion, self-publishing, Travel, United States on May 15, 2013 at 12:06 pm

Lunch with Buddha
Roland Merullo
(PFP/Ajar, Kindle, paperback)

To be honest, I was not really aware of Roland Merullo until his publisher contacted me offering a review copy of an enticingly titled new novel, Lunch with Buddha.

I could blame my “Who?” reaction on my intense focus toward reviewing technology books over the past two years. And I could blame it on empirical evidence that it’s really tough to sell works of fiction these days.

Indeed, several writers of novels and short story collections have told me they don’t get much publicity help from their publishers. Some also have declared they were taking up self-publishing so they could (a) get their books into print (or its digital equivalent), (b) keep more of their paltry earnings, and (c) try their hand at book promotion. Furthermore, I have data — very hard data — showing that virtually no one on Planet Earth has yet read my novel, Erwin’s Law, nor my experimental novella, Jump.

Thus, bottom line, I have not been paying very close attention to the world of fiction lately.

Immediately, I was impressed  (and jarred) to learn that (1) Roland Merullo’s seventh novel, Breakfast with Buddha, is now in its 14th printing; (2) Lunch with Buddha, published late last year, is his eleventh novel and already in its second printing; AND (3) Lunch with Buddha’s completion and publication was funded, at least in part, with significant Kickstarter contributions from Merullo fans.

Intriguingly, Roland Merullo turned down a six-figure advance from a major publishing house and chose a small, independent publisher to bring out his new book.

So he must be good, right?

He’s better than good, actually. Roland Merullo is one of the best, most entertaining writers I’ve encountered in a long time. Seldom am I hooked by a book’s first few paragraphs. But, in Lunch with Buddha, Merullo blends verbal calmness, clarity, wit and depth to create an engaging, absorbing story that flows smoothly from darkly humorous opening to meaningful end.

His new tale is a road-trip novel that covers an odd, yet very American, route: from Seattle to North Dakota, in a borrowed, battered pickup truck nicknamed “Uma.”

Otto Ringling, a New York editor of culinary books and recent widower, is taking the journey with reluctance, while searching for peace of mind and new meanings for his suddenly altered life.

His traveling companion on the drive is his sister’s former guru, “His Holiness” Volya Rinpoche, a Siberian “semi-Buddhist” who now is the sister’s husband and father of their young daughter, Shelsa. Volya still has many questions and misconceptions about life in these not-so-United States. But he also has an infectious spirit, an unshakable spirituality, and plenty of confidence that all will be well and work out in the end.

Otto, meanwhile, is just trying to get a renewed grip on existence. “One of the side effects of losing a spouse–at least for me–had been a peculiar inability to perform the most mundane tasks,” he says in the book, adding:

“Making plane and hotel reservations, shopping for food, setting out the trash on time–these duties, which ordinarily I would have completed with a practiced ease, now seemed as daunting as the learning of a Chinese dialect. I let things slide. For the first time in family history, bills were paid late. The dry cleaners had to call three times to remind me to pick up my shirts. My children could be harsh with me about these failings, but I took their casual criticisms like a battered old fighter takes punches. I would stand. I was determined to stand. I was determined to stay sane, and love them, and help them envision a new life after our old one had been ripped to pieces.”

While Otto and Volya drive across Washington state, Idaho, Montana, and into North Dakota, Otto’s sister, Cecelia, her young daughter Shelsa, and Otto’s children Anthony (20) and Natasha (22), are all riding Amtrak, taking a separate route. They’ve been to Whidbey Island, off the coast of Washington state, to witness Otto scattering his wife’s ashes. Now they are heading for Dickinson, North Dakota, where Celia and Volya live — in Otto’s view – “on the far side of some line that marked the boundary of ordinary American reality.”

Along the way, Otto and Volya have several humorous–and sometimes troubling–encounters with contemporary American culture and values. Otto, for example, tries to explain to Volya the meanings of some strange signs they see along the highway, such as “REPTILE ZOO AND EXPRESSO” and “EAT BIG FOOD.”

Otto and Volya also have debates over religion and spirituality as the widower seeks understandable meanings he can attach to life, death, and whatever lies beyond our mystery-shrouded finality. For example:

 “What is the goal?” I asked, trying to slip away from it. “What’s the whole point? Enlightenment? Eternal life? What?”

He patted me on the shoulder for the millionth time, and said, “You purify. You go and go. Life cuts you and you try and try and try and pretty soon–”

“You become beautiful.”

“Yes. Good.”

“But toward what are we going and going? What does the beauty look like?”

He shrugged almost helplessly, and for a moment I was gripped hard by the hand of doubt. He seemed only an ordinary man then, and I wanted more than that from him, more than cryptic answers and shrugs. A small inner voice suggested he’d been fooling us all these years, playing a role, maybe even working a scam.

“I can show you,” he said. “I can’t tell you.”

“All right. Please show me, then. I’m having a crisis of faith. I’m a little bit lost.”

He nodded sympathetically. “We find you,” he said. “Don’t worry too much….”

Lunch with Buddha has the same key characters as Roland Merullo’s best-selling Breakfast with Buddha. And a third book, aptly titled Dinner with Buddha, is said to be in the works.

Fortunately, Lunch is written so it can be picked up and immediately enjoyed by those who have not previously read Breakfast. Indeed, Lunch with Buddha will make many readers go back and devour Breakfast, then eagerly anticipate Dinner–and check out some of Roland Merullo’s other works of fiction and nonfiction while waiting for the next serving.

Geoffrey Chaucer and Jack Kerouac are the two names that  pop most quickly to mind when the debate topic is “classic road-trip novels.”  I move that we now add Roland Merullo to that short, but esteemed, list.

Si Dunn

EPUB 3 Best Practices – A solid guide to the EPUB digital publishing process – #bookreview

In Book reviews, ebook, EPUB, How-to, Kindle, Publishing, self-publishing, Software on March 31, 2013 at 9:33 am

EPUB 3 Best Practices
Matt Garrish and Marcus Gylling
(O’Reilly - paperback, Kindle)

If you publish ebooks and other documents or hope to publish some soon, you definitely need to be aware of EPUB 3.

“EPUB is a format for representing documents in electronic form,” the two authors of EPUB 3 Best Practices point out. “Ebook, on the other hand, is just an abstract term used to encompass any electronic representation of a book, including formats such as PDF, HTML, ASCII text, Word, and a host of others, in addition to EPUB.”

They add: “EPUB is designed to be a general-purpose document format, and it can be used to represent many kinds of publications other than books: from magazines to newspapers to journals, and on through office documents and policies and beyond.”

This 345-page, 11-chapter book is not a digital publishing how-to guide that you can zip through in a weekend. Indeed, its contents are, by nature, a bit dense. But Garrish and Gylling do a fine job of explaining and illustrating each key aspect of EPUB. And their book contains essential information that you will need to know — or at least be aware of — if you intend to be a serious publisher of online publications.

You can, after all, hire the services of an EPUB consultant to help you with the technical details. Yet, it can be very beneficial to have a good sense of what you will be paying to have done.

Likewise, you should consider this book if you are thinking of becoming an EPUB consultant. The two authors are EPUB experts;  Gylling, in fact, led the development of the EPUB 3 specification.

“On a practical level,” they note, “EPUB defines both the format for your content and how reading systems go about discovering it and rendering it to readers….” And: “One of the most common misconceptions about EPUB is that its a ‘flavor’ of XML. (‘Should I use EPUB or DocBook?’ or, even worse, ‘Should I use EPUB or HTML5?’ Hint: EPUB (pretty much) = HTML5.)”

If you have little or no experience with EPUB, you may want to check out two ebooks–both free–before diving into EPUB 3 Best Practices. Those books are: What is EPUB 3?  and Accessible EPUB 3.

Si Dunn

iOS 6 Programming Cookbook – Updated for the new SDK – #iOS #programming #bookreview

In Apple, application development, Book review, Book reviews, How-to, iOS, iPad, iPhone, iPod Touch, Kindle, Programmer, Programming, Software, Software development on December 31, 2012 at 9:11 pm

iOS 6 Programming Cookbook
Vandad Nahavandipoor
(O’Reilly –
paperback, Kindle)

If you are a new iOS developer, you can learn many things quickly from this hefty book. And even if you are an iOS veteran, you can gain some important new insights.

The iOS 6 cookbook has been completely updated to cover the recently released iOS 6 SDK. And the author is a well-known and well-experienced developer of iOS apps.

The 20-chapter book begins with the basics of programming for the iPhone, iPad, and iPod touch, using Objective-C. But it is not intended for beginners who are just learning to program.

In some forums, debates continue to rage over whether new programmers who want to create iOS apps should dive straight into learning Objective-C or study traditional C first and perhaps other programming languages before tackling Objective-C.

No opinion is offered in this well-written, well-organized book. It is just assumed that “you are comfortable with the iOS development environment and know how to create an app for the iPhone or iPad.”

The book’s  focus, the author says, is on explaining “frameworks and classes that are available in iOS 6 SDK” and teaching the reader “the latest and greatest APIs. As you know, some users of your apps may still be on older versions of iOS, so please consider those users and choose your APIs wisely, depending on the minimum iOS version that you want to target with your apps.”

Here is the chapter line-up for iOS 6 Programming Cookbook:

  1. The Basics
  2. Implementing Controllers and Views
  3. Auto Layout and the Visual Format Language
  4. Constructing and Using Table Views
  5. Storyboards
  6. Concurrency
  7. Core Location and Maps
  8. Implementing Gesture Recognizers
  9. Networking, JSON, XML, and Twitter
  10. Audio and Video
  11. Address Book
  12. Files and Folder Management
  13. Camera and the Photo Library
  14. Multitasking
  15. Core Data
  16. Dates, Calendars, and Events
  17. Graphics and Animations
  18. Core Motion
  19. iCloud
  20. Pass Kit

Vandad Nahavandipoor’s important new iOS 6 cookbook offers hundreds of how-to examples and code samples that can help solve problems and give well-defined starting points and frameworks for developers at all levels of experience.

The topics and code samples range from the basic, such as testing new iOS apps by running them on the iOS simulator, to the advanced, such as using Apple’s Pass Kit to create digitally signed coupons, tickets or passes that can be delivered to compatible iOS devices running iOS 6 or later.

Si Dunn

Go APE (Author, Publisher, Entrepreneur) with Guy Kawasaki & Shawn Welch – #bookreview #amwriting

In Book review, Book reviews, Books, business, ebook, How-to, Kindle, Marketing, Publishing, self-publishing, Writing on December 10, 2012 at 2:08 pm

APE: Author, Publisher, Entrepreneur—How to Publish a Book
Guy Kawasaki and Shawn Welch
(Nononina Press,
Kindle)

Okay, confession time. I know a bit about the book business—what used to be the book business.

Years ago, I was a freelance developmental book editor for a trio of well-known publishing houses; I’ve had a couple of book agents; books I wrote have been put into print by not-so-major publishers (and later dropped out of print); I’ve written hundreds of book reviews; and I’ve self-published a few books and ebooks: nonfiction, fiction and poetry.

To misquote the late actor-comedian W.C. Fields, on the whole, I’d rather be in self-publishing now.  There isn’t much of an alternative.

And not just basic self-publishing but artisanal self-publishing, which Guy Kawasaki and Shawn Welch define, in their well-written and well-designed new book, as “a new, cool form of publishing…authors lovingly crafting their books with total control over the process.”

Many writers, of course, already are trying to do that, often with abysmal results, because it’s not enough to commit a book to print (or its digital equivalent) and then wait for the world to recognize your genius and surge forward to buy it on Amazon.

To succeed in self-publishing, you really do have to be, as Kawasaki and Welch contend, an APE: an author, a publisher, and an entrepreneur. 

With APE, Kawasaki and Welch aim to “help people take control of their writing careers by publishing their books. The thesis of APE is simple but powerful: When a self-publisher successfully fills three roles—author, publisher and entrepreneur—the potential benefits are greater than with traditional publishing.”

There’s plenty of truth in that. Three publishers turned down my Vietnam War memoir Dark Signals, even after it received a prestigious award. And several other publishers did not bother to respond to my queries. So I published it myself as a CreateSpace paperback and Kindle ebook, both available through Amazon.

It has not been a runaway best-seller; I knew from the outset that I was writing for a limited audience: readers of military memoirs. Yet several hundred copies have been ordered thus far. And a book that I really needed to push out of my soul finally is out there for posterity, with five-star reviews.

No doubt I could have sold more copies at the outset if I had had APE in hand. Knowing the traditional book business is one thing. Knowing the new ways of book creation and marketing are quite another.   

Filling the three roles — author, publisher and entrepreneur — is “challenging, but they are not impossible—especially if people who have done it before explain it to you.” That’s the key premise behind APE. Kawasaki, a successful author, has become a successful self-publisher with help from Shawn Welch, and together, they are now offering up their hard-earned secrets in a 300-page book that many authors will want to read, repeatedly.

Indeed, many of us likely will value APE as a Chicago Manual of Style for self-publishing that also has entertaining writing and dozens of how-to tips thrown in for added value. APE is comprehensive. And it’s very realistic about what it takes to succeed as a self-published author.

Three points in particular stand out for me.

  1. Yes, I have been a professional editor and proofreader of books. But I still should never do the final edits and proofreading of my own text. (Neither should you.) “The self-edited author is as foolish as the self-medicated patient,” Guy Kawasaki points out. Indeed, I have had to create new editions of at least two of my ebooks, because I found glaring typos that I had completely overlooked while doing my “final” edits. As Kawasaki notes: “The going rate for copyediting is $35 per hour, and copyeditors can work their magic at the rate of roughly ten pages per hour (although this can vary depending on the complexity of the material), so you’ll pay approximately $1,000–$1,500 for a three-hundred-page manuscript. This is one of the dumbest places to try to save money, because poor copyediting destroys the quality of your book.” (Unfortunately, you will have to sell a lot of ebooks to cover that cost.)
  2. At least two of my CreateSpace books have boring covers. I am not a graphic artist, and I should not attempt to save money in the future by “designing” my own book covers or settling for one of the available “standard” covers. As Kawasaki notes: “Not to get too metaphysical, but a cover is a window into the soul of your book. In one quick glance, it needs to tell the story of your book and attract people to want to read it. Unless you’re a professional, hire a professional to create a great cover because, in spite of how the old saying goes, you can judge a book by its cover. Or at very least, people will judge a book by its cover.”
  3. While I have dabbled at business for many years, I am not much of an entrepreneur. And I don’t have the soul of a self-promoting guerilla marketer. I grew up believing modesty is a virtue. (Or, perhaps I merely had that notion spanked into my britches when I was an Eisenhower-era kid.) In any case, when my first books were published, others hired by the publishers did the editing, bragging, selling and distribution. Sometimes I talked to small groups of people and signed a few autographs. But mostly, I just stayed home, started a new project, and waited for the (small) checks to arrive. Now, in APE’s chapter on “How to Build an Enchanting Personal Brand,” Kawasaki states: “Call me idealistic, but your platform is only as good as your reality. If you suck as a person, your platform will suck too.” Cool. Memo to self: Improve personal enchantment platform immediately. (By the way, Guy and Shawn, I would add a comma between “suck” and “too.” You’re welcome.) Seriously, if we self-publish books, we have to sell ourselves to readers, right along with, and often ahead of, our books. And the eight chapters of APE’s “Entrepreneur” section provide excellent guidelines on how to do that.

Even if you already know a lot about self-publishing and self-marketing books, if you’ll go APE, you can learn some profitable new tricks from Guy Kawasaki and Shawn Welch.

Si Dunn

LEGO Bonanza — Stack ‘em up: 3 hot new books for LEGO builders – #bookreview

In Adult fans of LEGO, Book review, Book reviews, game, games, Hardback, How-to, Kindle, LEGO, Paperback, Popular culture on November 15, 2012 at 12:45 pm

No Starch Press recently has released three new books aimed at the world’s millions of LEGO™ builders:

  • The Unofficial LEGO™ Builder’s Guide, 2nd Edition
  • The LEGO™ Adventure Book, Vol. 1
  • The Unofficial LEGO™ Technic Builder’s Guide.

Here are short reviews of each.

The Unofficial LEGO™ Builder’s Guide, 2nd Edition
Allan Bedford
(No Starch,
paperbackKindle)

Allan Bedford’s popular how-to guide has been updated, and all photographs and illustrations are now in color.

The well-written 221-page book starts at the absolute beginner’s level, showing and explaining the various LEGO pieces, which range from “bricks” to “plates” to “slopes” to “tiles” and numerous others. From there, it shows the best ways to connect pieces for successful construction.  Then it delves into three different, progressively larger, sizes of LEGO constructions –minifig, miniland, and jumbo – before briefly going smaller, to microscale.

Bedford explains how to design and build structures and characters from LEGO elements and also shows how to put together several projects, including a train station, a space shuttle, a mosaic, a game board, and a sculpture of the Sphinx.

His book’s Appendix A offers a helpful “Brickopedia” that contains “a selection of more than 275 elements, from basic bricks, slopes, and plates, to specialized elements, arches, and even decorative elements.

The pieces included represent the most common and most reusable elements in the LEGO system,” Bedford notes. The parts’ specifications are given, and helpful notes are included, as well.

Appendix B, meanwhile, shows how to download and use design grids to plan complex LEGO projects before you build them.

The LEGO™ Adventure Book, Vol. 1
Megan Rothrock
(No Starch, hardback 
- Kindle)

Megan Rothrock’s book is the debut volume in the new “The LEGO™ Adventure Book series” from No Starch Press.

Subtitled “Cars, Castles, Dinosaurs & More!”, Volume 1 presents excellent color photographs of nearly 200 intriguing models crafted by LEGO builders around the world. Ms. Rothrock’s 200-page book also features “brick-by-brick breakdowns” of 25 models that range from a medieval village to T. Rex and a British Railways steam engine.

The constructions are shown step by step in close-up, so even inexperienced builders can duplicate them. Some are simple, such as a small bridge “that can be added to any scene” in eight steps. And others are more involved, such as a mecha named “Counterblast” that is well-armed with big guns that requires more than 50 steps to complete.

Megan Rothrock is well-known in LEGO builder circles. She is a former set designer for the LEGO Group, and her models have been widely displayed, including at ComicCon and LEGO events in Europe. She is now a freelance toy designer in Denmark.

LEGO builders frequently claim that they can build models of “almost anything” with LEGO parts. With books such as The LEGO™ Adventure Book, Vol. 1 helping guide and train you, you definitely can learn to build lots of different types of models.

The Unofficial LEGO™ Technic Builder’s Guide
Paweł “Sariel” Kmieć
(No Starch, paperbackKindle)

The LEGO™ Technic system lets you build LEGO models that move. The system includes motors, gears, pneumatics, pulleys, linkages, and other devices designed for LEGO constructions. But working with Technic can be complex at times.

Fortunately, Paweł “Sariel” Kmieć has excellent credentials for showing and explaining how to construct Technic models and make them operate. He is described as “YouTube’s most popular LEGO Technic builder, a guest blogger for the official LEGO Technic blog, and a 2012 LEGO Ambassador.”

His 333-page book is packed with illustrations, photographs, explanations, and tips on everything from simple “pins” (which “keep bricks and beams together”) to wheeled suspension systems and using a subtractor to get better steering of a tracked LEGO vehicle that has two motors and is radio-controlled.

While most of the focus is on details of how to use specifics Technic parts, he also shows some amazing and inspiring powered models that he has built from LEGO pieces and LEGO Technic devices.

Whether you are new to Technic or an old hand, you likely will want to build many things that move, once you have this book. 

Si Dunn

Panobook 2012: Award-Winning Panoramic Photographs – #bookreview

In Book review, Book reviews, Camera, Digital camera, Digital photography, Hardback, Landscape, Photographer, Photography, Software on November 9, 2012 at 12:34 pm

Panobook 2012: Award-Winning Panoramic Photographs
The Kolor Team
(Rocky Nook, hardback)

Beautiful.There are few other words to describe this gathering of 150 prize-winning panoramic color photographs.

The photographs were judged as the best of the 1,647 entries in the Panobook 2012 competition sponsored by Kolor, developer of Autopano image-stitching software. The software enables individual images shot with conventional digital cameras to be stitched together to create expansive panoramic photographs. 

Professional and amateur photographers all over the world submitted photos for the competition.  And, in the words of the book’s editors, the results included “[s]ublime landscapes, original compositions, artistic and technical performances …exceptional images that invite you on a unique journey around the world.”

The stunning shots range from the interior of a basilica in Krakow, Poland, to an idyllic landscape in West Virginia, to an amazing tangle of trees in New Zealand, as well as elegant city skylines, landscapes, shorelines, building interiors, and even panoramic underwater photographs.

Almost anyone who likes photography and pursues it as a profession or hobby will find many inspiring and engrossing pictures in this collection.

Si Dunn

Specificity, Selectors, and the Cascade: Applying CSS3 to Documents – #bookreview

In Book review, Book reviews, Cascading Style Sheets, CSS, CSS3, How-to, Kindle, Paperback, Programmer, Programming, Web applications, Web designer, Web developer, Web development on November 9, 2012 at 9:57 am

Selectors, Specificity, and the Cascade: Applying CSS3 to Documents
Eric A. Meyer
(O’Reilly, paperbackKindle)

If you know some basic CSS but wonder how the “cascade” part of Cascading Style Sheets works, here is a useful guide.

Actually, this is a 73-page, two-chapter excerpt from the upcoming fourth edition of Eric A. Meyer’s CSS: The Definitive Guide. If you are learning CSS, dealing with CSS issues, or moving to CSS3, this small book can provide you with numerous how-to examples to apply to right now.

The first chapter focuses on “Selectors.” Selectors are not clearly defined at the beginning. But they generally are described elsewhere as “patterns” that can be used to select the element or elements you want to style in a document, such as headings of a certain font sizes or paragraphs with text in specific colors.

Fortunately, the first chapter’s code examples, descriptive paragraphs, and illustrations quickly clarify how to put selectors to work in a document. “[D]ocument structure and CSS selectors allow you to apply a wide variety of style to elements,” the author notes.

The second chapter’s topics are “Specificity and the Cascade.” And the initial technical definitions get a bit dense. For example: “When determining which values should apply to an element, a user agent must consider not only inheritance but also the specificity of the declaration, as well as the origin of the declarations themselves. The process of consideration is what’s known as the cascade.”

Uh, okay.

Once again, fortunately, the second chapter’s code samples, illustrations, and follow-up paragraphs quickly clarify what is going on. And they enable you to learn by doing, seeing the outcome, and applying what you’ve learned to documents of your own.

Si Dunn

Deploying Rails – A good how-to guide covering choices, tools & best practices – #programming #bookreview

In Book review, Book reviews, How-to, Paperback, Project management, Rails, Ruby on Rails, Ruby programming, Software, Software development, System administration, Web developer, Web development on September 11, 2012 at 1:44 pm

Deploying Rails: Automate, Deploy, Scale, Maintain, and Sleep at Night
Anthony Burns and Tom Copeland (Pragmatic Bookshelf, paperback)

Maybe you have been studying Ruby and Rails and now feel ready for the next big step. Perhaps you are already on a job where a Rails application needs to be deployed and running on a server ASAP. Or, maybe you manage a team that must deploy and support a Rails app, and you want to understand more of what they actually must accomplish to get the app up and running – and keep it running.

Deploying Rails is a very good guide to the decisions that must be made and to the tools and best practices essential for success. The two writers are both professional Rails developers with strong backgrounds.

Their 217-page book, they note, “is “centered around an example social networking application called MassiveApp. While MassiveApp may not have taken the world by storm just yet, we’re confident that it’s going to be a winner, and we want to build a great environment in which MassiveApp can grow and flourish. This book will take us through that journey.”

That “journey” is organized into 10 chapters and two appendices, all well written and illustrated with code examples.

  • Chapter 1: Introduction – (including choosing a hosting location)
  • Chapter 2: Getting Started with Vagrant – (setting up and managing a virtual server and virtual machines)
  • Chapter 3: Rails on Puppet – (“arguably the most popular open source server provisioning tool.…”)
  • Chapter 4: Basic Capistrano – (“the premier Rails deployment utility….”)
  • Chapter 5: Advanced Capistrano – (deals with making deployments faster and also easier when “deploying to multiple environments.”)
  • Chapter 6: Monitoring with Naigos – (monitoring principles and how to apply them to Rails apps. Also, how to perform several types of checks.)
  • Chapter 7: Collecting Metrics with Ganglia – (how to gather a Rails app’s important metrics from an infrastructure level and an application level.)
  • Chapter 8: Maintaining the Application – (how to handle “the ongoing care and feeding of a production Rails application.”)
  • Chapter 9: Running Rubies with RVM – (using the Ruby enVironmental Manager [RVM] in development and deployment.)
  • Chapter 10: Special Topics – (“We’ll sweep through the Rails technology stack starting at the application level and proceed downward to the operating system, hitting on various interesting ideas as we go.”)

The two appendices cover (1) “a line-by-line review of a Capistrano deployment file” and (2) “deploying MassiveApp to an alternative technology stack consisting of nginx and Unicorn.”

A key focus of the book is building a set of configuration files and keeping the latest versions stored in Git, so deployment of a new or updated app can go smoother.

Deploying a Rails app involves making many different choices, and the process can go wrong quite easily if not set up properly.

“The most elegant Rails application,” the authors caution, “can be crippled by runtime environment issues that make adding new servers an adventure, unexpected downtime a regularity, scaling a difficult task, and frustration a constant.

“Good tools do exist for deploying, running, monitoring, and measuring Rails applications, but pulling them together into a coherent whole is no small effort.”

Deploying Rails can significantly ease the complicated process of getting a new Rails application running on a server. Equally important, Rails experts Anthony Burns and Tom Copeland can show you how to keep the app running smoothly and configured for growth as it gains users, functionality, and popularity.

Si Dunn

Learning Rails 3 – It’s not easy, but this good how-to guide definitely can help – #bookreview

In Book review, Book reviews, How-to, Kindle, Rails, Ruby, Ruby on Rails, Software, Web development on September 8, 2012 at 2:09 pm

Learning Rails 3
Simon St.Laurent, Edd Dumbill, and Eric J. Gruber
(O’Reilly,
paperbackKindle)

Ruby on Rails frequently is hailed as an “outstanding” or “powerful” or “amazing” tool for creating web applications.

But beginners often dive into it, quickly go off the rails, and give up in frustration.

“Building a Ruby on Rails application requires mastering a complicated set of skills,” the authors of Learning Rails 3 concede. Indeed, you may encounter several “problems and confusions” just getting everything installed, configured and running the right way.

Fortunately, Learning Rails 3 shows how to make the installation, configuration, and initial testing go fairly smoothly. I didn’t know (or understand) Rails and had only a smattering of Ruby experience. But I was able to accomplish an easy installation on a Windows XP machine, using railsinstaller.org. Then I was able to follow the instructions in Learning Rails 3 and get it all running.

Caution: Read and follow the book’s steps very carefully, in the correct order. Pay close attention to the text and code examples. At several different points, I glanced past a step or skipped an important character as I typed. And, no surprise, I ran into puzzling error messages or code failures until I backtracked and figured out what I had skipped. Also, a lot of stuff happens or appears to happen when you create a new Rails application or do some other tasks. Long lists of status notifications, warnings, and miscellaneous cryptic messages will stream by. But don’t panic.

“The only mandatory technical prerequisite for reading this book is direct familiarity with HTML and a general sense of how programming works,” the authors emphasize. “You’ll be inserting Ruby code into that HTML as a first step toward writing Ruby code directly, so understanding HTML is a key foundation.”

Once you get past the initial shock of installing Ruby on Rails, working at the command line, and modifying some bits of code deep within a few subdirectories, you will start discovering the power and possibilities of Rails.

If you’ve never worked with Ruby, the authors offer, in Appendix A, “An Incredibly Brief Introduction to Ruby.” (Appendix B is “An Incredibly Brief Introduction to Relational Databases,” and Appendix C provides “An Incredibly Brief Guide to Regular Expressions.”) You won’t need to be a Ruby expert; just have some basic knowledge of how to work it.

The remainder of the 387-page book is organized into 20 chapters:

  1. Starting Up Ruby on Rails
  2. Rails on the Web
  3. Adding Web Style
  4. Managing Data Flow: Controllers and Models
  5. Accelerating Development with Scaffolding and REST
  6. Presenting Models with Forms
  7. Strengthening Models with Validation
  8. Improving Forms
  9. Developing Model Relationships
  10. Managing Databases with Migrations
  11. Debugging
  12. Testing
  13. Sessions and Cookies
  14. Users and Authentication
  15. Routing
  16. From CSS to SASS
  17. Managing Assets and Bundles
  18. Sending Code to the Browser: JavaScript and CoffeeScript
  19. Mail in Rails
  20. Pushing Further into Rails

The book mercifully does not dump you head-first into the middle of Model-View-Controller (MVC) architecture. You begin by gently nibbling at its edges and using a few things you likely already know. Once you feel comfortable and can find your way around some of the subdirectories, then the real fun begins. The authors offer a rich array of how-to discussions, code examples, screen shots and “Test Your Knowledge” quizzes (with the answers conveniently available).

Learning Rails 3 is an excellent guide for Ruby on Rails newcomers. And those already working with Rails can learn from it, too.

Si Dunn

FileMaker Pro 12: The Missing Manual – A big but easy how-to guide by two experts – #bookreview #database

In Book review, Book reviews, Database, Database management, Developer, FileMaker Pro, How-to, Kindle, Paperback, Software on September 6, 2012 at 12:35 pm

FileMaker Pro 12: The Missing Manual
Susan Prosser and Stuart Gripman
(O’Reilly,
paperbackKindle)

The good news is: “FileMaker Pro is the ease-of-use champion.” It avoids common database “jargon words like query, join, and alias.” Instead, the two authors state, it uses “simple concepts like find, sort, and connect.”

So, if it’s so simple, why does this book weigh three pounds and have 924 pages?

Two reasons, both good. The authors – each are FileMaker Pro Certified Developers — do a fine job of explaining the package, from the basics to the most advanced features. And they illustrate their points with a generous number of screen shots, lists of steps, and other learning aids.

“FileMaker Pro databases,” they point out, “can be as simple as a list of the things you need to pack when you’re camping (complete with pictures!) or as complex as a company-wide system for purchasing, sales, inventory, invoicing, shipping, and customer tracking. But all of them essentially work the same way.”

FileMaker Pro 12: The Missing Manual has six parts, and the first two parts (encompassing four chapters and 172 pages) explain and demonstrate how to get started with the software and use it to build and improve your first database.

In Part 3, you move past the beginner stage and into creating and maintaining a relational database, plus handling such choices as field options, layout mechanics, calculations, and using scripts. In Part 4, you learn how to start thinking like a relational database developer and using FileMaker Pro Advanced. Part 5 focuses on database security and integration issues, including managing accounts, sharing databases over the Internet and sharing data with other systems. Part 6 contains four useful appendices, including definitions of FileMaker error codes.

In a powerful package like FileMaker Pro 12, there are plenty of choices and capabilities to explain, and there are few ways to be reasonably “complete” without ending up holding a big pile of how-to pages.

Despite its heft and thickness, however, this excellent Missing Manual is structured to help you move forward at your own pace — whether you want to learn it all or just enough to scrape by at a new workplace.

Si Dunn

Follow

Get every new post delivered to your Inbox.

Join 1,338 other followers