وبلاگ بلیان

Learn Enough Ruby to Be Dangerous : Write Programs, Publish Gems, and Develop Sinatra Web Apps with Ruby

معرفی کتاب «Learn Enough Ruby to Be Dangerous : Write Programs, Publish Gems, and Develop Sinatra Web Apps with Ruby» نوشتهٔ Michael Hartl و Benjamin Abelow، منتشرشده توسط نشر Addison-Wesley Professional در سال 2022. این کتاب در 8 صفحه، فرمت pdf، زبان انگلیسی ارائه شده است.

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 don't 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. Cover Title Page Copyright Page Contents Preface About the Author 1 Hello, World! 1.1 Introduction to Ruby 1.2 Ruby in a REPL 1.2.1 Exercises 1.3 Ruby in a File 1.3.1 Exercises 1.4 Ruby in a Shell Script 1.4.1 Exercises 1.5 Ruby in a Web Browser 1.5.1 Deployment 1.5.2 Exercises 2 Strings 2.1 String Basics 2.1.1 Exercises 2.2 Concatenation and Interpolation 2.2.1 Single-Quoted Strings 2.2.2 Exercises 2.3 Printing 2.3.1 Exercises 2.4 Attributes, Booleans, and Control Flow 2.4.1 Combining and Inverting Booleans 2.4.2 Bang Bang 2.4.3 Exercises 2.5 Methods 2.5.1 Exercises 2.6 String Iteration 2.6.1 Exercises 3 Arrays 3.1 Splitting 3.1.1 Exercises 3.2 Array Access 3.2.1 Exercises 3.3 Array Slicing 3.3.1 Exercises 3.4 More Array Methods 3.4.1 Sorting and Reversing 3.4.2 Pushing and Popping 3.4.3 Undoing a Split 3.4.4 Exercises 3.5 Array Iteration 3.5.1 Exercises 4 Other Native Objects 4.1 Math 4.1.1 More Advanced Operations 4.1.2 Math to String 4.1.3 Exercises 4.2 Time 4.2.1 Exercises 4.3 Regular Expressions 4.3.1 Splitting on Regexes 4.3.2 Exercises 4.4 Hashes 4.4.1 Symbols 4.4.2 Nested Hashes 4.4.3 Exercises 4.5 Application: Unique Words Exercises 5 Functions and Blocks 5.1 Function Definitions 5.1 Exercises 5.2 Functions in a File 5.2.1 Exercises 5.3 Method Chaining 5.3.1 Exercises 5.4 Blocks 5.4.1 Yield 5.4.2 Exercises 6 Functional Programming 6.1 Map 6.1.1 Exercises 6.2 Select 6.2.1 Exercises 6.3 Reduce 6.3.1 Reduce, Example 1 6.3.2 Reduce, Example 2 6.33 Functional Programming and TDD 6.3.4 Terminology Review 6.3.5 Exercises 7 Objects and Classes 7.1 Defining Classes 7.1.1 Exercises 7.2 Inheritance 7.2.1 Exercises 7.3 Derived Classes 7.3.1 Exercises 7.4 Modifying Native Objects 7.4.1 Exercises 7.5 Modules 7.5.1 Exercises 8 Testing and Test-Driven Development 8.1 Testing and Ruby Gem Setup 8.1.1 Exercises 8.2 Initial Test Coverage 8.2.1 Pending Tests 8.2.2 Exercises 8.3 Red 8.3.1 Exercises 8.4 Green 8.4.1 Exercises 8.5 Refactor 8.5.1 Publishing the Ruby Gem 8.5.2 Exercises 9 Shell Scripts 9.1 Reading from Files 9.1.1 Exercises 9.2 Reading from URLs 9.2.1 Exercises 9.3 DOM Manipulation at the Command Line 9.3.1 Exercises 10 A Live Web Application 10.1 Setup 10.1.1 Exercises 10.2 Site Pages 10.2.1 Exercises 10.3 Layouts 10.3.1 Exercises 10.4 Embedded Ruby 10.4.1 Exercises 10.5 Palindrome Detector 10.5.1 Form Tests 10.5.2 Exercises 10.6 Conclusion
دانلود کتاب Learn Enough Ruby to Be Dangerous : Write Programs, Publish Gems, and Develop Sinatra Web Apps with Ruby