• Complain

Alex Tamoykin - Start Programming Now: No CS Degree Needed

Here you can read online Alex Tamoykin - Start Programming Now: No CS Degree Needed full text of the book (entire story) in english for free. Download pdf and epub, get meaning, cover and reviews about this ebook. year: 2015, publisher: Alex Tamoykin, genre: Home and family. Description of the work, (preface) as well as reviews are available. Best literature library LitArk.com created for fans of good reading and offers a wide selection of genres:

Romance novel Science fiction Adventure Detective Science History Home and family Prose Art Politics Computer Non-fiction Religion Business Children Humor

Choose a favorite category and find really read worthwhile books. Enjoy immersion in the world of imagination, feel the emotions of the characters or learn something new for yourself, make an fascinating discovery.

Alex Tamoykin Start Programming Now: No CS Degree Needed
  • Book:
    Start Programming Now: No CS Degree Needed
  • Author:
  • Publisher:
    Alex Tamoykin
  • Genre:
  • Year:
    2015
  • Rating:
    5 / 5
  • Favourites:
    Add to favourites
  • Your mark:
    • 100
    • 1
    • 2
    • 3
    • 4
    • 5

Start Programming Now: No CS Degree Needed: summary, description and annotation

We offer to read an annotation, description, summary or preface (depends on what the author of the book "Start Programming Now: No CS Degree Needed" wrote himself). If you haven't found the necessary information about the book — write in the comments, we will try to find it.

Alex Tamoykin: author's other books


Who wrote Start Programming Now: No CS Degree Needed? Find out the surname, the name of the author of the book and a list of all author's works by series.

Start Programming Now: No CS Degree Needed — read online for free the complete book (whole text) full work

Below is the text of the book, divided by pages. System saving the place of the last page read, allows you to conveniently read the book "Start Programming Now: No CS Degree Needed" online for free, without having to search again every time where you left off. Put a bookmark, and you can go to the page where you finished reading at any time.

Light

Font size:

Reset

Interval:

Bookmark:

Make
Start Programming Now No CS degree needed Alexander Tamoykin Contents This - photo 1
Start Programming Now
No CS degree needed
Alexander Tamoykin
Contents

This book helps you to start programming from scratch. No Computer Science degree needed. Its practical and simple. It helps you to get the ball rolling.

  1. Photo by

This book is the bare minimum guide helping you to start programming from scratch. In almost anything, the hardest part is to get the ball rolling. After reading this book you will be comfortable with programming. Further learning will require less effort since the ball is already rolling.

  • You dont have a Computer Science degree ?
  • You would love to create software but dont know where to start ?
  • Want to put your software skills into real practice ?

If the answer to any of these question is yes, then this book is for you. Ive been there. I dont have a Computer Science degree. My degree is in Telecommunication Engineering and not in Software Engineering. Software was always what I wanted to do. Therefore I decided to learn it myself. I read many different books and practiced a lot. Most of books are so in depth. There was nothing that explains the most important basics of different aspects of programming. This is what this book is about. It helps you to connect the dots and start programming something useful.

After reading this book you will be able to do 3 things:

  1. Create a basic web application and put it on the Internet.
  2. Write code yourself.
  3. Understand and modify existing code.

Were going to build a web application using the framework called Ruby on Rails. Why web app? Because everything is on the Internet these days. Have you heard of Twitter, YellowPages, Groupon and many more? They are all doing business on the Internet using Ruby on Rails. Why Ruby on Rails ? Because its really easy to start. Its really powerful and its hot on the job market.

Ill show you how to set up your computer for software development. Well cover the basics of Ruby programming language. Next, well get to hands on coding. This is where we create our first web application. Well put it on the Internet. Lastly, Ill tell you what to do next and how to improve your skills going forward.

This book touches on basics. Its enough to get your hands on the keyboard and Start Programming Now. However, we dont dive deep into every aspect of programming. Basic stuff is just the tip of the iceberg. Its enough to get you started. From here, only sky is the limit.

We need tools in order to program. This is where programming starts. Unfortunately, for many people this is where it also ends. Ive seen people fighting with incompatible versions or programs and giving up. But dont worry, I went through this process myself. I tried every piece of software and I can tell you that it works for sure. Follow the instructions and youll be fine. Ready, get set, go!

Nowadays its possible to get Ruby on Rails setup on all major platforms. I recommend using Mac OS X or any flavor of Linux. If youre using windows, youll be fine too.

Go to Apple Developer Site. Register or sign in if you have an account already. Search for Command Line Tools. Choose the one for you version of OS X (Mountain Lion, Mavericks, etc), download it and install it.

Package manager is a program that installs and manages different packages. Ubuntu already has a built in package manager called apt-get. On Mac OS X youll need to download Homebrew. Open up the program named Terminal and execute this script to install it:

$ ruby -e "$(curl -fsSL https://raw.github.com/Homebrew/homebrew/go/install)"
$ brew update $ brew install rbenv ruby-build $ echo 'eval "$(rbenv init -)"' >> ~/.bash_profile $ source ~/.bash_profile
$ rbenv install 2.1.0 $ rbenv global 2.1.0 # set ruby 2.1.0 as a default
$ gem install rbenv-rehash bundler
$ brew install git

Were going to use the database called PostgreSQL aka Postgres. Its simple to install and use. Its supported by many platforms. Lets install it using Homebrew. Well also configure Postgres to run locally.

$ brew install postgresql $ echo "export PGHOST=localhost" >> ~/.bash_profile $ echo "export PGDATA=/usr/local/var/postgres" >> ~/.bash_profile $ source ~/.bash_profile

Following commands make it so Postgres starts up on boot. Its convenient. You wont need to start it manually every time you reboot.

$ ln -sfv /usr/local/opt/postgresql/*.plist ~/Library/LaunchAgents $ launchctl load ~/Library/LaunchAgents/homebrew.mxcl.postgresql.plist

Now its time to create a database user for our application.

$ createuser todo -s

Now is time to install Rails framework. Rails is distributed as a ruby gem. RubyGems is a packaging system that comes with ruby installation. Well need to use gem command to install it

$ gem install rails --version 4.0.2

I recommend to start with RubyMine. I used it myself to start with. It does a lot of stuff for you automatically so you can focus on learning how to program instead of configuring your development environment. Download and install the 30 days trial from JetBrains Downloads

Congratulations! Now you have all necessary software to start programming. Cant wait to write a first line of code ? Lets learn how to do it.

Dont be scared of coding. Its actually pretty simple. Look at

Figure 31 How Programming Works Any program is just code running by an - photo 2
Figure 3.1: How Programming Works

Any program is just code running by an interpreter inside an operating system. Let me explain:

  1. Code is text written according to a certain (Ruby) syntax which is stored into a regular file.
  2. Interpreter (Ruby binary) is the program that reads code and runs it. It takes some actions according to instructions written in code.
  3. Operating System (Mac OS X) is the software installed on our computer that runs the interpreter.

Thats it! So all we need to do is to write some ruby code and run it. Lets figure out how to write code.

Variables are like labels. Lets say you put all your old stuff in a box. You dont want to forget whats in it. You put a label on the box with the name old_stuff. Next time you want to look at your old stuff, you can refer to the box named old_stuff. Same analogy works for programming. You create a variable named old_stuff. You assign it a value of action figures of Ninja Turtles which is a string of text. When you need to look at old_stuff in your program, you can reference it by the variable named old_stuff.

old_stuff = "action figures of Ninja Turtles" puts "My old stuff is " + old_stuff
Box 3.1. Variable naming convention

Every programming language has its own convention. Its a set of naming rules that programmers agree to use for the sake of consistency. Here is our first Ruby convention. A variable name in Ruby is always lowercase separated with the underscore symbol. For instance:

Next page
Light

Font size:

Reset

Interval:

Bookmark:

Make

Similar books «Start Programming Now: No CS Degree Needed»

Look at similar books to Start Programming Now: No CS Degree Needed. We have selected literature similar in name and meaning in the hope of providing readers with more options to find new, interesting, not yet read works.


Reviews about «Start Programming Now: No CS Degree Needed»

Discussion, reviews of the book Start Programming Now: No CS Degree Needed and just readers' own opinions. Leave your comments, write what you think about the work, its meaning or the main characters. Specify what exactly you liked and what you didn't like, and why you think so.