Book description
All You Need to Know, and Nothing You Don't, to Create Ruby Programs, Gems, and Web Apps
Programmers love Ruby for its elegance, power, and flexibility: that's why it was chosen for the Ruby on Rails framework that launched websites from Shopify to Coinbase. You'll love Ruby too, but you don't need to learn "everything" about it, just how to use it efficiently to solve real problems. In Learn Enough Ruby to Be Dangerous, renowned instructor Michael Hartl teaches the concepts, skills, and approaches you need to be professionally productive in both general-purpose programming and beginning web app development.
Even if you're new to programming, Hartl helps you quickly build technical sophistication and master the lore you need to succeed. You'll gain a solid understanding of object-oriented and functional programming, develop and publish a self-contained Ruby package (a gem), and use your gem to build and deploy a dynamic web app with the Sinatra framework. Focused exercises help you internalize what matters, without wasting time on details pros dont care about. Soon, it'll be like you were born knowing this stuff--and you'll be suddenly, seriously dangerous.
Learn enough about . . .
Writing real code quickly using interactive Ruby (irb)
Working with native Ruby objects and creating your own
Using functional techniques to write more concise and modular code
Creating tests and improving code with test-driven development (TDD)
Developing and publishing self-contained Ruby packages (gems)
Writing nontrivial shell scripts to leverage Ruby's power at the command line
Developing and deploying a web app with routes, layouts, embedded Ruby, and forms
Mastering modern development skills you can use with any language
Michael Hartl's Learn Enough Series includes books and video courses that focus on the most important parts of each subject, so you don't have to learn everything to get started--you just have to learn enough to be dangerous and solve technical problems yourself.
Register your book for convenient access to downloads, updates, and/or corrections as they become available. See inside book for details.
Table of contents
- Cover Page
- About This eBook
- Title Page
- Copyright Page
- Contents
- Preface
- About the Author
- Chapter 1. Hello, World!
- Chapter 2. Strings
- Chapter 3. Arrays
- Chapter 4. Other Native Objects
- Chapter 5. Functions and Blocks
- Chapter 6. Functional Programming
- Chapter 7. Objects and Classes
- Chapter 8. Testing and Test-Driven Development
- Chapter 9. Shell Scripts
- Chapter 10. A Live Web Application
- Code Snippets
Product information
- Title: Learn Enough Ruby to Be Dangerous: Write Programs, Publish Gems, and Develop Sinatra Web Apps with Ruby
- Author(s):
- Release date: June 2022
- Publisher(s): Addison-Wesley Professional
- ISBN: 9780137844241
You might also like
video
Learn Enough Ruby to Be Dangerous: Write Programs, Publish Gems, and Develop Sinatra Web Apps with Ruby
7 Hours of Video Instruction In Learn Enough Ruby to Be Dangerous: Write Programs, Publish Gems, …
video
Learn Ruby the Hard Way
The media elements for Learn Ruby the Hard Way demonstrate key points in the text.
book
Beginning Ruby 3: From Beginner to Pro
Learn the principles behind object-oriented programming in Ruby and within a few chapters create a fully …
video
Learn to Code with Ruby
“Learn to Code with Ruby" is a meticulously crafted educational experience, designed to take you from …