what protocol does it depend on?
get is to fetch
post is to send data, submitting something
the name
#RAILS
lets you follow constructed convention Rails = Ruby + Patterns (MBC) Rails ins a gem
##Commands for rails
rails new awesome_answers -d postgresql -T
bin/rake db:create bin/rails s
MODEl VIEW CONTROL
API goes to app folder
.gitignore takes stuff that doesnt go on github
config.ru is for rack
gemfile is for bundler
Bundler is a gem that manages ither gems
rails 4.2.5.1 first number is major release second number is minor release two numbers at the back is very minor release (fixing bugs)
Convention over Configuration
DHK$ bin/rails g controller welcome
index .html .erb | | | | | | cotroller action format templating system
bin/rake routes to see the routes
as: :greet Hello|
<%= link_to "hello", hello_path %>
link_to is a helper method that is built in with rails, its a view helper methd, meanning it's accessible only in the views/ view helpers.
render "/welcome/about", layout: false
http://localhost:3000/rails/info/routes
summary
projects give a brief discription what technology you used -create a profile page
IdeaBox(Link) December 2015 The IdeaBox is my final project for CodeCore Development Bootcamp. This app enables users to initiate an idea project and invite other users to collaborate and help me out in building the requirements of the idea project to develop.
Technologies used: Ruby on Rails, Postgresql, HTML5, CSS3, SemanticUI, Javascript and Git.
good example: Ivy Rubi-Olamit
make sure your projects are live
add group projects
angel list