This document provides an introduction to programming, web applications, and Ruby on Rails. It discusses key concepts like HTTP requests and responses, the MVC pattern, and the Rails framework. It encourages learning programming through communication, passion, research, problem solving and patience. The document concludes by recommending resources for learning to code in Ruby on Rails.
9. Not necessarily, but…
communication:
express your thoughts!
and ideas properly
passion:
care about what you’re doing !
and be curious how things work
research:
read documentation, !
consult others or!
just google it!
problem solving:
read the error messages !
and be hungry to solve issues
+ patience
16. Why Ruby?
Yukihiro Matsumoto !
(Matz)
Ruby is designed to be human-
oriented. It reduces the burden of
programming. It tries to push jobs
back to machines.!
!
You can accomplish more tasks
with less work, in smaller yet
readable code.
"Matz is nice so we are nice"
18. Web Application
?
"A web application is a program that is displayed in a web browser. *
Web applications are usually stored (and executed) on a web server.
They can be accessed through the Internet
via a communication protocol such as HTTP. "
– Wikipedia
29. David Heinemeier Hansson!
(DHH)
Why Rails?
Rails is an attempt to mold the
beauty and productiveness of
Ruby into a framework for
web applications.
Rails emphasizes principles such as:!
• convention over configuration!
• don't repeat yourself (DRY)!
• model - view - controller
architecture (MVC)
http://contributors.rubyonrails.org/
http://rubyonrails.org/
*over 3000 people have contributed:
63. All The Tools You Need:
AText Editor for writing code and editing files.
TheTerminal (known as Command Prompt)!
Where you start the rails server and run commands.
A Web Browser (Firefox, Safari, Chrome,…)
for viewing and interacting with your application.
Ruby, the amazing programming language we love
Rails, the framework for building web applications