Home
Explore
Submit Search
Upload
Login
Signup
Advertisement
Check these out next
RoR 101: Session 3
Rory Gianni
RoR 101: Session 6
Rory Gianni
Capybara with Rspec
Omnia Helmi
NodeWay in my project & sails.js
Dmytro Ovcharenko
Merb
Vishnu Gopal
Namespace less engine
shaokun
Workshop 21: React Router
Visual Engineering
Intro to Rack
Rubyc Slides
1
of
67
Top clipped slide
Ramaze - The Underrated Ruby Web Framework
Nov. 20, 2008
•
0 likes
2 likes
×
Be the first to like this
Show More
•
1,598 views
views
×
Total views
0
On Slideshare
0
From embeds
0
Number of embeds
0
Download Now
Download to read offline
Report
Technology
Design
Slides from my talk at RubyConf 08 on Ramaze
luccastera
Follow
Advertisement
Advertisement
Advertisement
Recommended
Be Happy With Ruby on Rails - Ecosystem
Lucas Renan
331 views
•
49 slides
Lightweight Webservices with Sinatra and RestClient
Adam Wiggins
24.1K views
•
47 slides
Using Sinatra to Build REST APIs in Ruby
LaunchAny
9.5K views
•
53 slides
Ansible -new kid in configuration management world
Maciej Sawicki
223 views
•
6 slides
Avatar.js
Alin Pandichi
1.3K views
•
12 slides
Ruby on Rails - An overview
Thomas Asikis
1.4K views
•
37 slides
More Related Content
Slideshows for you
(20)
RoR 101: Session 3
Rory Gianni
•
601 views
RoR 101: Session 6
Rory Gianni
•
448 views
Capybara with Rspec
Omnia Helmi
•
9.7K views
NodeWay in my project & sails.js
Dmytro Ovcharenko
•
5.7K views
Merb
Vishnu Gopal
•
1.5K views
Namespace less engine
shaokun
•
704 views
Workshop 21: React Router
Visual Engineering
•
2.5K views
Intro to Rack
Rubyc Slides
•
3K views
Ruby Isn't Just About Rails
Adam Wiggins
•
6.3K views
RoR 101: Session 6
Rory Gianni
•
482 views
Workshop Intro: FrontEnd General Overview
Visual Engineering
•
666 views
Секретный доклад о React Router - OdessaJS 2014
Andrey Listochkin
•
2.5K views
Angular for rubyists
Tom Cartwright
•
484 views
Seafox
Nick Ager
•
467 views
Your first sinatra app
Rubyc Slides
•
861 views
Ruby w/o Rails (Олександр Сімонов)
Fwdays
•
526 views
Introduce cucumber
Bachue Zhou
•
1.5K views
Scala scripting-slides
Daniel Sebban
•
56 views
The Evolution of Airbnb's Frontend
Spike Brehm
•
354.4K views
CoffeeScript Design Patterns
TrevorBurnham
•
4.8K views
Similar to Ramaze - The Underrated Ruby Web Framework
(20)
Adventurous Merb
Matt Todd
•
2K views
Sinatra and JSONQuery Web Service
vvatikiotis
•
1.9K views
SiteMesh
guest9fefea
•
4.6K views
Porting Rails Apps to High Availability Systems
Marcelo Pinheiro
•
4.5K views
Robotlegs on Top of Gaia
Jesse Warden
•
796 views
GHC
AidIQ
•
577 views
Practical catalyst
dwm042
•
5.6K views
Performance Optimization of Rails Applications
Serge Smetana
•
8.8K views
Z-Ray: A customizable development tool belt (Zendcon 2016)
Mathew Beane
•
595 views
Damage Control
sintaxi
•
765 views
Introduction To Ruby On Rails
Steve Keener
•
1.1K views
The Future is Now: Leveraging the Cloud with Ruby
Robert Dempsey
•
1K views
Intro To Mvc Development In Php
funkatron
•
13.3K views
A Life of breakpoint
Hajime Morrita
•
1.5K views
Rapid Prototyping FTW!!!
cloudbring
•
990 views
Challenges of angular in production (Tasos Bekos) - GreeceJS #17
GreeceJS
•
783 views
Writing native Linux desktop apps with JavaScript
Igalia
•
178 views
Sinatra for REST services
Emanuele DelBono
•
12.1K views
DiUS Computing Lca Rails Final
Robert Postill
•
585 views
Sinatra
kevinreiss
•
658 views
Advertisement
Recently uploaded
(20)
normal vs. cute.pptx
ShaliniSreedharan1
•
0 views
Intelion Systems.pdf
IntelionSystems
•
0 views
How Can ISO/IEC 27001 Help Organizations Align With the EU Cybersecurity Regu...
PECB
•
0 views
Les10.ppt
AlhassanFederated
•
0 views
AIR_BAG.pptx
monu829663
•
0 views
DS Fusion CE - External Transactions.pptx
VatsalaC1
•
0 views
QAM Microsoft PowerPoint جديد.pptx
ssuserd6ee01
•
0 views
Biking on the edge - Jerome Mies - SRD23
SURFevents
•
0 views
Lecture-7-Binary-Trees-and-Algorithms-11052023-054009pm.pptx
HamzaUsman48
•
0 views
Business_Process_Outsourcing_and_Shared_Service_Centers_in_Georgia - Excellen...
NRKMurthy1
•
0 views
P4+ONOS SRv6 tutorial.pptx
tampham61268
•
0 views
Rive
Artmiker Studios
•
0 views
Monitoring Oceans - Chris Atherton - SRD23
SURFevents
•
0 views
IS INDEXED JOURNAL -SUBMIT YOUR RESEARCH PAPERS...!
dannyijwest
•
0 views
International Journal of Computer-Aided technologies (IJCAx)
ijcax
•
0 views
Carding Machine Belts
Nowseore
•
0 views
Lesson Plan.docx
ThokalaNandiniReddy
•
0 views
How volunteering can benefit you or your organisation, with Capgemini
AbilityNet
•
0 views
What's new in web in 2023
RajeshKumar825078
•
0 views
Trends in Cloud Computing Services | Nuvento USA
Nuvento Systems Pvt Ltd
•
0 views
Ramaze - The Underrated Ruby Web Framework
The Underrated Web
Framework
underrated: Not given
enough recognition for its quality
Motivation
Getting Started
Simple Light Modular
sudo gem install
ramaze
http://github.com/manveru/ramaze
Features
M V C
KISS
Modular
Only one dependency
ORM-agnostic
Well Documented
Beautiful Code
BDD
Ruby 1.9
IRC Population
Basics
Controllers
MainController maps to
'/'
BlueController maps to
'/blue'
...unless you use
map
_ .
Action methods accept
arguments via URL
http://localhost:7000/archive? page=2 request[:page]
== '2'
Errors redirect to
error action
Routing (String Routers)
Ramaze::Route [ '/foo' ] = '/bar' # '/foo' => '/bar'
Routing (Regex Routers)
Ramaze::Route [ %r!^/(+)txt$! ] = "/text/%d" # '/123.txt' => '/text/123'
Routing Ramaze::Route [
'name of route' ] = lambda { |path, request| '/bar' if path == '/foo' and request[ :bar ] == '1' } (Lambda Routers) # '/foo' => '/foo' # '/foo?bar=1' => '/bar'
Testing
Views
Ezamar Erubis (bundled)
(default) (my favorite) (plenty of other choices)
inline vs. external
START NO YES
Run return value of action through templating engine Send to browser External Template Is there an external template?
Instance variables set
in the action can be accessed in template (just like in Rails)
(convention) /view
(configuration) view_root
'my_templates'
Layouts
# apply to
all actions except index layout :layout deny_layout :index # apply only to index layout :layout => [ :index ] Layouts
Ezamar Very simple
reimplementation of the Templating-engine found in Nitro. <?r rubycode ?> == <% rubycode %> #{ rubycode } == <%= rubycode %>
Ezamar::Element
Ezamar::Element
Models
That's up to
you to figure out...
ActiveRecord DataMapper Sequel
Og DBI
Ramaze::Store
Helpers
Link Helper R(AdminController,
:index) => /admin/index Rs(:index) => /admin/index Rs(:/) => / A('text') => <a href=”/text”>text</a> A('foo/bar') => <a href=”/foo/bar”>foo/bar</a> A('Home', :href => Rs(:/)) => <a href=”/”>Home</a>
Aspect Helper Allows
you to wrap different Actions on your Controller with code.
Extras
Deployment thin start
--servers 1 --socket /tmp/thin-socket -R start.ru
Live Coding Small
Blog Example: http://pastie.org/319647
RTFC
Thank you. Questions?
Editor's Notes
Good afternooon everyone. My name is Luc Castera and I'm going to talk to you about Ramaze today.
Advertisement