Learn Ruby on Rails - Daniel Kehoe - kostenlos E-Book

Learn Ruby on Rails E-Book

Daniel Kehoe

4,9
0,00 €

oder
-100%
Sammeln Sie Punkte in unserem Gutscheinprogramm und kaufen Sie E-Books und Hörbücher mit bis zu 100% Rabatt.
Mehr erfahren.
Beschreibung

Get the book that is called, “The best Rails book for beginners,” for a solid start on Ruby on Rails web development. No other tutorial does a better job of explaining the concepts. Master the basics. Learn the practices you’ll use in the workplace as a professional Rails developer. And follow a roadmap that sets you on a path to building your own web applications, not just following tutorials. This book is written for YOU if you are new to Ruby on Rails and you’ve got experience with the web and need to learn Rails; you don’t know how to program – but want to learn; you want to build an application; you want to start a career as a professional web developer.

Das E-Book können Sie in Legimi-Apps oder einer beliebigen App lesen, die das folgende Format unterstützen:

EPUB

Veröffentlichungsjahr: 2016

Bewertungen
4,9 (14 Bewertungen)
12
2
0
0
0
Mehr Informationen
Mehr Informationen
Legimi prüft nicht, ob Rezensionen von Nutzern stammen, die den betreffenden Titel tatsächlich gekauft oder gelesen/gehört haben. Wir entfernen aber gefälschte Rezensionen.



Learn Ruby on Rails: Book One

Version 4.0.0, 25 November 2016

Daniel Kehoe

Contents

Chapter 1 Free Offer and More1.1 Get Book Two1.2 Get the Videos1.3 The Online and Ebook VersionsChapter 2 Introduction2.1 Is It for You?2.2 What To Expect2.2.1 What’s in Book One2.2.2 What’s in Book Two2.2.3 A Warning About Links2.2.4 What Comes Next2.2.5 Versions2.2.6 Staying In Touch2.2.7 A Note to Reviewers and Teachers2.2.8 Using the Book in the Classroom2.2.9 Let’s Get StartedChapter 3 Concepts3.1 How the Web Works3.2 Programming Languages3.3 Ruby and JavaScript3.4 JavaScript and JQuery3.4.1 JQuery3.4.2 Full-Stack JavaScript3.5 Front and Back Ends3.6 Rails 53.7 JavaScript Frameworks3.7.1 AngularJS and Ember.js3.7.2 ReactChapter 4 What is Rails?4.1 Rails as a Community4.2 Six Perspectives on Rails4.2.1 Web Browser Perspective4.2.2 Programmer Perspective4.2.3 Software Architect Perspective4.2.4 Gem Hunter Perspective4.2.5 Time Traveler Perspective4.2.6 Tester Perspective4.3 Understanding Stacks4.3.1 Full Stack4.3.2 Rails StacksChapter 5 Why Rails?5.1 Why Ruby?5.2 Why Rails?5.3 Rails Guiding Principles5.3.1 Rails is Opinionated5.3.2 Rails is Omakase5.3.3 Convention Over Configuration5.3.4 Don’t Repeat Yourself5.4 Where Rails Gets Complicated5.4.1 When Rails has No Opinion5.4.2 Omakase But Substitutions Are Allowed5.4.3 Conventions or Magic?5.4.4 DRY to ObscurityChapter 6 Rails Challenges6.1 A List of Challenges6.1.1 It is difficult to install Ruby.6.1.2 Rails is a nightmare on Windows.6.1.3 Why do I have to learn Git? It is difficult.6.1.4 Why worry about versions?6.1.5 Do I really need to learn about testing?6.1.6 Rails error reporting is cryptic.6.1.7 There is too much magic.6.1.8 It is difficult to grasp MVC and REST.6.1.9 Rails contains lots of things I don’t understand.6.1.10 There is too much to learn.6.1.11 It is difficult to find up-to-date advice.6.1.12 It is difficult to know what gems to use.6.1.13 Rails changes too often.6.1.14 It is difficult to transition from tutorials to building real applications.6.1.15 I’m not sure where the code goes.6.1.16 People like me don’t go into programming.Chapter 7 Get Help When You Need It7.1 Getting Help With Rails7.2 References7.2.1 RailsGuides7.2.2 Cheatsheets7.2.3 API Documentation7.3 Meetups, Hack Nights, and Workshops7.4 Pair Programming7.5 Pairing With a Mentor7.6 Code Review7.7 Staying Up-to-DateChapter 8 Plan Your Product8.1 Product Owner8.2 User Stories8.3 Wireframes and Mockups8.4 Graphic Design8.5 Software Development Process8.6 Behavior-Driven DevelopmentChapter 9 Manage Your Project9.1 To-Do List9.2 Kanban9.3 Agile MethodologiesChapter 10 Mac, Linux, or Windows10.1 Your Computer10.2 Hosted Computing10.3 Installing Ruby10.3.1 MacOS10.3.2 Ubuntu Linux10.3.3 Hosted Computing10.3.4 WindowsChapter 11 Terminal Unix11.1 The Terminal11.2 Unix Commands Explained11.3 Getting Fancy With the Prompt11.4 Learning Unix Commands11.5 Exit Gracefully11.6 Structure of Unix Commands11.6.1 Prompt11.6.2 Command11.6.3 Option11.6.4 Argument11.7 Quick Guide to Unix Commands11.7.1 cd11.7.2 pwd11.7.3 ls11.7.4 Hidden Files and Folders11.7.5 Dots11.7.6 open11.7.7 mkdir11.7.8 touch11.7.9 mv11.7.10 cp11.7.11 rm11.7.12 Removing a Folder11.7.13 The Mouse and the Command Line11.7.14 Arrow Keys11.7.15 Tab Completion11.8 Why Abbreviations?Chapter 12 Text Editor12.1 You Don’t Need an IDE12.2 Which Text Editor12.2.1 Install Atom12.2.2 Other Choices12.2.3 How To Use a Text Editor12.3 Editor Shell CommandChapter 13 Learn Ruby13.1 Ruby Language Literacy13.2 Resources for Learning Ruby13.2.1 Collaborative Learning13.2.2 Online Tutorials13.2.3 Books13.2.4 Newsletters13.2.5 ScreencastsChapter 14 Crossing the Chasm14.1 Facing the Gap14.2 Bridging the Gap With a Strategy14.3 Bridging the Gap With Social Practice14.3.1 Making an Effort14.3.2 Conversation Starters14.3.3 Pay It Forward14.4 Finding a Mentor14.5 Creating Mentorship Moments14.5.1 Online14.5.2 GitHub14.5.3 Meetups14.5.4 Workshops and Classes14.5.5 On the Job14.6 What’s Next14.6.1 Entrepreneurs14.6.2 Lifestyle Businesses and Personal Projects14.7 Build ApplicationsChapter 15 Level Up15.1 What to Learn Next15.1.1 Databases15.1.2 Testing15.1.3 Authentication and Sessions15.1.4 Authorization15.1.5 JavaScript15.1.6 Other Topics15.1.7 Curriculum Guides15.2 Places to Learn15.2.1 Code Camps15.2.2 Other Classrooms15.2.3 Online Courses15.2.4 Videos15.2.5 Books15.3 A Final WordChapter 16 Version Notes16.1 Version 4.0.016.2 Version 3.0.016.3 Version 2.2.216.4 Version 2.2.116.5 Version 2.2.016.6 Version 2.1.616.7 Version 2.1.516.8 Version 2.1.416.9 Version 2.1.316.10 Version 2.1.216.11 Version 2.1.116.12 Version 2.1.016.13 Version 2.0.216.14 Version 2.0.116.15 Version 2.0.016.16 Version 1.1916.17 Version 1.1816.18 Version 1.17Chapter 17 Credits and Comments17.1 Credits17.1.1 Financial Backers17.1.2 Editors and Proofreaders17.1.3 Photos17.2 Comments

Chapter 1 Free Offer and More

You are reading Book One, which introduces basic concepts and gives you the background you need to succeed.

Book One is 99 cents on Amazon and free on my own site. I’ll also tell you how to get Book Two plus videos and advanced tutorials.

1.1 Get Book Two

In Book Two, you’ll build a useful web application, for hands-on learning. You should get started with Book Two right away, for hands-on learning. Read Book Two when you are at your computer; read Book One for background when you are away from the computer. The two books go together, which is why I want you to have both books.

1.2 Get the Videos

You can watch videos as you read the book. A subscription is only $19 per month (there’s also a discount when you get the video series plus advanced tutorials). You’ll get Book Two when you get the videos:

Get Book Two plus the Videos

You can also get Book Two when you buy the advanced Capstone Rails Tutorials, which you’ll want after you finish this book series:

Get Book Two plus the Videos and Advanced Tutorials

With the videos and the advanced tutorials, I promise there is no better way to learn Rails.

1.3 The Online and Ebook Versions

I’ve created an online version of this book at learn-rails.com. You’ll also find PDF, Epub (iBooks), and Mobi (Kindle) versions available for download. Look for the link “Free Online Edition” when you visit the site. It’s free:

learn-rails.com

You’ll need the invitation code for the free online and ebook editions:

STLIB400B1

I’ll ask you to provide your email address when you sign up to get free access. I work hard to keep the books up to date, incorporating improvements and fixing errors as readers report issues. I update the books often and I send email to notify of updates. If you bought the book from Amazon or another retailer, email is the only way to learn about updates.

Get the ebook version you prefer, get Book Two when you are ready, and let’s get started.

Chapter 2 Introduction

Welcome. This is a first step on your path to learn Ruby on Rails.

This book contains the background that’s missing from other tutorials. Here you’ll learn key concepts so you’ll have a solid foundation for continued study. Whether you choose to continue with another book in this series, a video course, or a code school, everything will make sense when you start here.

You can read this book anywhere, at your leisure, on your phone or tablet. Use this book to gain background understanding when you are not at your computer. With Book Two, the next in the series, you’ll need a computer at hand so you can build your first web application.

In Book Two, you’ll build a working web application so you’ll gain hands-on experience. Along the way, you’ll practice techniques used by professional Rails developers. And I’ll help you’ll understand why Rails is a popular choice for web development.

You can start with Book Two before finishing this book if you’re eager to get started building your first application. In fact, I recommend it, because the hands-on learning in Book Two reinforces the concepts you learn in this book.

Figure 2.1: The application you will build in Book Two.

2.1 Is It for You?

If you’ve built simple websites using HTML, you’ll quickly progress to building websites with Rails. Or, if you have experience in a language such as PHP or Java, you’ll make the jump to the Rails framework. But I promise you don’t need to be a programmer to succeed with this book or the next. You’ll be surprised how quickly you become familiar with the Unix command line interface and the Ruby programming language even if you’ve never tried programming before.

My books are ideal if you are:

a student a startup founder making a career change

If you are starting a business, and hiring developers, or working alongside developers as a manager or developer, this book will help you talk with developers. However, the true purpose of my book is to help you become you a Rails developer yourself. I want to help you launch a startup or begin a new career.

2.2 What To Expect

There is deep satisfaction in building an application and making it run. With this book and the next, I’ll give you everything you need to build a real-world Rails application. More importantly, I’ll explain everything you build, so you understand how it works.

When you’ve completed this tutorial, you will be ready for more advanced self-study, including the Capstone Rails Tutorials, textbook introductions to Rails, or workshops and code camps that provide intensive training in Ruby on Rails. Other curriculums often skip the basics. With this tutorial you’ll have a solid grounding in key concepts. You won’t feel overwhelmed or frustrated as you continue your studies. I think you’ll also have fun!

This book and the next are good preparation for:

textbooks such as Michael Hartl’s Ruby on Rails Tutorialintroductory workshops from RailsBridge or Rails Girlsintensive training with immersive code camps Capstone Rails Tutorials from the RailsApps Project

We are blessed with many textbooks, workshops, and classroom programs that teach Ruby on Rails. I believe this book is unique in covering the basics while introducing the tools and techniques of professional Rails development.

2.2.1 What’s in Book One

Book One is a self-help book that can change your life, though here you won’t find any inspirational quotes or magical thinking.

I explain the culture and practices of the Rails community. I introduce the basic concepts you’ll need to understand web application development. You’ll learn how to be a successful learner and how to get help when you need it. I also provide a plan for study so you can learn more when you need it. There’s so much to learn, it helps to have a map so you know where to go next.

Programming can be frustrating and Rails isn’t easy for beginners. The chapter, “Rails Challenges,” describes many of the problems learners encounter. It’s natural to get discouraged so take a look when you begin to feel overwhelmed.

Two chapters, “Crossing the Chasm”, and “Level Up”, will help you after you put the book down. Many learners feel stranded if their only experience is step-by-step tutorials. These chapters are designed to give you a strategy for building an application on your own.

2.2.2 What’s in Book Two

You’ll start coding in Book Two. It’s a hands-on tutorial that will lead you through the code needed to build a real-world web application. Don’t skip around in Book Two. The tutorial is designed to unfold in steps, one section leading to another, until you reach the “Testing” chapter.

You can complete Book Two in one long weekend, though it will take concentration and stamina. If you work through the book over a longer timespan, try to set aside uninterrupted blocks of two hours or more for reading and coding, as it takes time to focus and concentrate.

Feel free to start Book Two before you finish this book. Begin coding with Book Two while you get background knowledge from this book at your leisure.

Visit tutorials.railsapps.org to learn how to get Book Two.

2.2.3 A Warning About Links

My books are densely packed with links to background reading. If you click every link, you’ll be a well-informed student, but you may never finish the book! It’s up to you to master your curiosity. Follow the links only when you want to dive deeper.

2.2.4 What Comes Next

The best way to learn is by doing; when it comes to code, that means building applications. Hands-on learning with actual Rails applications is the key to absorbing and retaining knowledge.

After you read this book, you’ll be able to work with the example applications from the RailsApps Project. The project provides open source example applications for Rails developers, for free. Each application is accompanied by a tutorial in the Capstone Rails Tutorials series, so there’s no mystery code. Each application can be generated in a few minutes with the Rails Composer tool, which professional developers use to create starter applications.

The RailsApps Project is solely supported by sales of the books, videos, and advanced tutorials. If you make a purchase, you’ll keep the project going. And you’ll have my sincere appreciation for your support.

2.2.5 Versions

Book One is relevant and useful for any version of Rails. Book Two requires a specific version of Rails (the newest at the time it was revised) and shows how to install the latest version of Rails.

2.2.6 Staying In Touch

If you obtained this book from Amazon or another retailer, take a moment to get on the mailing list for the book. I’ll let you know when I release updates to the book.

Get on the mailing list for the book

2.2.7 A Note to Reviewers and Teachers

This book approaches the subject differently than most introductions to Rails. It introduces concepts of product planning, project management, and website analytics to place development within a larger context of product development and marketing. In Book Two, rather than show the student how to use scaffolding, I introduce the model-view-controller design pattern by creating the components manually. Lastly, though every other Rails tutorial shows how to use a database, Book Two doesn’t, because I want the book to be a short introduction and I believe the basic principles of a web application stand out more clearly without adding a database to the application. Though this tutorial is not a typical Rails introduction, I hope you’ll agree that it does a good job in preparing Rails beginners for continued study, whether it is a course or more advanced books.

2.2.8 Using the Book in the Classroom

If you’ve organized a workshop, course, or code camp, and would like to assign the book as recommended reading, contact me at daniel@danielkehoe.com to arrange access to the book for your students. The book is available at no charge to students enrolled in qualified workshops or classes.

2.2.9 Let’s Get Started

In the next chapter, we’ll start with basic concepts.

Chapter 3 Concepts

This chapter provides the background, or big picture, you will need to understand Rails.

These are the key concepts you’ll need to know before you try to use Rails.

In the following two chapters, you’ll gain a deeper understanding of Rails, including its history, the guiding principles of Rails, and reasons for its popularity. First, let’s consider how the web works.

3.1 How the Web Works

We start with absolute basics, as promised.

When you “visit a website on the Internet” you use a web browser such as Safari, Chrome, Firefox, or Internet Explorer.

Web browsers are applications (software programs) that work by reading files.

Compare a word processing program with a web browser. Both word processing programs and web browsers read files. Microsoft Word reads files that are stored on your computer to display documents. A web browser retrieves files from remote computers called servers to display web pages. Simply put, the World Wide Web is nothing more than files delivered to web browsers by web servers.



Tausende von E-Books und Hörbücher

Ihre Zahl wächst ständig und Sie haben eine Fixpreisgarantie.