Suche senden
Hochladen
Merb
•
0 gefällt mir
•
301 views
T
tohchye
Folgen
An introduction to Merb
Weniger lesen
Mehr lesen
Technologie
Melden
Teilen
Melden
Teilen
1 von 25
Jetzt herunterladen
Downloaden Sie, um offline zu lesen
Empfohlen
Adventurous Merb
Adventurous Merb
Matt Todd
Symfony bundle fo asynchronous job processing
Symfony bundle fo asynchronous job processing
Wojciech Ciołko
Plugins unplugged
Plugins unplugged
Christian Rokitta
Angular JS and Magento
Angular JS and Magento
Vinci Rufus
Rails engines in large apps
Rails engines in large apps
Enrico Teotti
Rails course day 7
Rails course day 7
Al Sayed Gamal
PostgREST Design Philosophy
PostgREST Design Philosophy
begriffs
Rails Engines
Rails Engines
Dimitrios Zorbas
Empfohlen
Adventurous Merb
Adventurous Merb
Matt Todd
Symfony bundle fo asynchronous job processing
Symfony bundle fo asynchronous job processing
Wojciech Ciołko
Plugins unplugged
Plugins unplugged
Christian Rokitta
Angular JS and Magento
Angular JS and Magento
Vinci Rufus
Rails engines in large apps
Rails engines in large apps
Enrico Teotti
Rails course day 7
Rails course day 7
Al Sayed Gamal
PostgREST Design Philosophy
PostgREST Design Philosophy
begriffs
Rails Engines
Rails Engines
Dimitrios Zorbas
Cucumber: How I Slice It
Cucumber: How I Slice It
linoj
[WSO2Con EU 2017] An Overview of Ballerina Composer
[WSO2Con EU 2017] An Overview of Ballerina Composer
WSO2
BioMake PAG 2017
BioMake PAG 2017
Chris Mungall
using Mithril.js + postgREST to build and consume API's
using Mithril.js + postgREST to build and consume API's
Antônio Roberto Silva
Tutorial on joomla transfer moffatmn
Tutorial on joomla transfer moffatmn
Moffat Ngacha
Rack Middleware
Rack Middleware
LittleBIGRuby
jQuery Intro
jQuery Intro
Jason Noble
OpenERP and Perl
OpenERP and Perl
OpusVL
Rails Engines as a way to Micro services
Rails Engines as a way to Micro services
Lucas Alencar
RoR 101: Session 1
RoR 101: Session 1
Rory Gianni
Task Scheduling and Asynchronous Processing Evolved. Zend Server Job Queue
Task Scheduling and Asynchronous Processing Evolved. Zend Server Job Queue
Sam Hennessy
Rack is Spectacular
Rack is Spectacular
Bryce Kerley
Introduction to asp
Introduction to asp
Madhuri Kavade
Introduction to Fuel
Introduction to Fuel
Phil Sturgeon
Introduction to Web Programming with Perl
Introduction to Web Programming with Perl
Dave Cross
wp-n00b.php
wp-n00b.php
Temian Vlad
Module design pattern i.e. express js
Module design pattern i.e. express js
Ahmed Assaf
Understanding JSP -Servlets
Understanding JSP -Servlets
Gagandeep Singh
Rack
Rack
Scott Leberknight
Ruby on Rails Meets Enterprise Applications
Ruby on Rails Meets Enterprise Applications
dan_mcweeney
Action And Linking Verbs
Action And Linking Verbs
palaciok001
191319
191319
soomrosalman
Weitere ähnliche Inhalte
Was ist angesagt?
Cucumber: How I Slice It
Cucumber: How I Slice It
linoj
[WSO2Con EU 2017] An Overview of Ballerina Composer
[WSO2Con EU 2017] An Overview of Ballerina Composer
WSO2
BioMake PAG 2017
BioMake PAG 2017
Chris Mungall
using Mithril.js + postgREST to build and consume API's
using Mithril.js + postgREST to build and consume API's
Antônio Roberto Silva
Tutorial on joomla transfer moffatmn
Tutorial on joomla transfer moffatmn
Moffat Ngacha
Rack Middleware
Rack Middleware
LittleBIGRuby
jQuery Intro
jQuery Intro
Jason Noble
OpenERP and Perl
OpenERP and Perl
OpusVL
Rails Engines as a way to Micro services
Rails Engines as a way to Micro services
Lucas Alencar
RoR 101: Session 1
RoR 101: Session 1
Rory Gianni
Task Scheduling and Asynchronous Processing Evolved. Zend Server Job Queue
Task Scheduling and Asynchronous Processing Evolved. Zend Server Job Queue
Sam Hennessy
Rack is Spectacular
Rack is Spectacular
Bryce Kerley
Introduction to asp
Introduction to asp
Madhuri Kavade
Introduction to Fuel
Introduction to Fuel
Phil Sturgeon
Introduction to Web Programming with Perl
Introduction to Web Programming with Perl
Dave Cross
wp-n00b.php
wp-n00b.php
Temian Vlad
Module design pattern i.e. express js
Module design pattern i.e. express js
Ahmed Assaf
Understanding JSP -Servlets
Understanding JSP -Servlets
Gagandeep Singh
Rack
Rack
Scott Leberknight
Ruby on Rails Meets Enterprise Applications
Ruby on Rails Meets Enterprise Applications
dan_mcweeney
Was ist angesagt?
(20)
Cucumber: How I Slice It
Cucumber: How I Slice It
[WSO2Con EU 2017] An Overview of Ballerina Composer
[WSO2Con EU 2017] An Overview of Ballerina Composer
BioMake PAG 2017
BioMake PAG 2017
using Mithril.js + postgREST to build and consume API's
using Mithril.js + postgREST to build and consume API's
Tutorial on joomla transfer moffatmn
Tutorial on joomla transfer moffatmn
Rack Middleware
Rack Middleware
jQuery Intro
jQuery Intro
OpenERP and Perl
OpenERP and Perl
Rails Engines as a way to Micro services
Rails Engines as a way to Micro services
RoR 101: Session 1
RoR 101: Session 1
Task Scheduling and Asynchronous Processing Evolved. Zend Server Job Queue
Task Scheduling and Asynchronous Processing Evolved. Zend Server Job Queue
Rack is Spectacular
Rack is Spectacular
Introduction to asp
Introduction to asp
Introduction to Fuel
Introduction to Fuel
Introduction to Web Programming with Perl
Introduction to Web Programming with Perl
wp-n00b.php
wp-n00b.php
Module design pattern i.e. express js
Module design pattern i.e. express js
Understanding JSP -Servlets
Understanding JSP -Servlets
Rack
Rack
Ruby on Rails Meets Enterprise Applications
Ruby on Rails Meets Enterprise Applications
Andere mochten auch
Action And Linking Verbs
Action And Linking Verbs
palaciok001
191319
191319
soomrosalman
Nouns
Nouns
palaciok001
Learning and Research - Junior Camp Internship Programme
Learning and Research - Junior Camp Internship Programme
Gameli
Adjectives Vs
Adjectives Vs
palaciok001
Abortion
Abortion
palaciok001
Homonyms
Homonyms
palaciok001
Adjectives Vs Adverbs
Adjectives Vs Adverbs
palaciok001
Linking Verbs
Linking Verbs
palaciok001
Internet and Social Media: making the most of the global platform
Internet and Social Media: making the most of the global platform
Gameli
Dm Intro
Dm Intro
tohchye
Prepositional Phrases
Prepositional Phrases
palaciok001
Overview of Woekpor Digital Literacy Initiative
Overview of Woekpor Digital Literacy Initiative
Gameli
Job Applications
Job Applications
palaciok001
Introduction to Junior Camp Internship Programme
Introduction to Junior Camp Internship Programme
Gameli
Visual Rhetoric
Visual Rhetoric
palaciok001
Nouns
Nouns
palaciok001
Andere mochten auch
(17)
Action And Linking Verbs
Action And Linking Verbs
191319
191319
Nouns
Nouns
Learning and Research - Junior Camp Internship Programme
Learning and Research - Junior Camp Internship Programme
Adjectives Vs
Adjectives Vs
Abortion
Abortion
Homonyms
Homonyms
Adjectives Vs Adverbs
Adjectives Vs Adverbs
Linking Verbs
Linking Verbs
Internet and Social Media: making the most of the global platform
Internet and Social Media: making the most of the global platform
Dm Intro
Dm Intro
Prepositional Phrases
Prepositional Phrases
Overview of Woekpor Digital Literacy Initiative
Overview of Woekpor Digital Literacy Initiative
Job Applications
Job Applications
Introduction to Junior Camp Internship Programme
Introduction to Junior Camp Internship Programme
Visual Rhetoric
Visual Rhetoric
Nouns
Nouns
Ähnlich wie Merb
And the Greatest of These Is ... Rack Support
And the Greatest of These Is ... Rack Support
Ben Scofield
Rugalytics | Ruby Manor Nov 2008
Rugalytics | Ruby Manor Nov 2008
Rob
All I Need to Know I Learned by Writing My Own Web Framework
All I Need to Know I Learned by Writing My Own Web Framework
Ben Scofield
Service Oriented Integration With ServiceMix
Service Oriented Integration With ServiceMix
Bruce Snyder
SproutCore and the Future of Web Apps
SproutCore and the Future of Web Apps
Mike Subelsky
Damage Control
Damage Control
sintaxi
More Secrets of JavaScript Libraries
More Secrets of JavaScript Libraries
jeresig
Rapid Prototyping FTW!!!
Rapid Prototyping FTW!!!
cloudbring
Intro To Mvc Development In Php
Intro To Mvc Development In Php
funkatron
Integrating Flex And Rails With Ruby Amf
Integrating Flex And Rails With Ruby Amf
railsconf
Flex With Rubyamf
Flex With Rubyamf
Tony Hillerson
Sinatra
Sinatra
Koen Van der Auwera
En story of cakephp2.0
En story of cakephp2.0
Hiroki Shimizu
Ruby Isn't Just About Rails
Ruby Isn't Just About Rails
Adam Wiggins
Apache and PHP: Why httpd.conf is your new BFF!
Apache and PHP: Why httpd.conf is your new BFF!
Jeff Jones
Curso Symfony - Clase 4
Curso Symfony - Clase 4
Javier Eguiluz
Jsf Ajax
Jsf Ajax
rajivmordani
symfony on action - WebTech 207
symfony on action - WebTech 207
patter
Zend Con 2008 Slides
Zend Con 2008 Slides
mkherlakian
Express Presentation
Express Presentation
aaronheckmann
Ähnlich wie Merb
(20)
And the Greatest of These Is ... Rack Support
And the Greatest of These Is ... Rack Support
Rugalytics | Ruby Manor Nov 2008
Rugalytics | Ruby Manor Nov 2008
All I Need to Know I Learned by Writing My Own Web Framework
All I Need to Know I Learned by Writing My Own Web Framework
Service Oriented Integration With ServiceMix
Service Oriented Integration With ServiceMix
SproutCore and the Future of Web Apps
SproutCore and the Future of Web Apps
Damage Control
Damage Control
More Secrets of JavaScript Libraries
More Secrets of JavaScript Libraries
Rapid Prototyping FTW!!!
Rapid Prototyping FTW!!!
Intro To Mvc Development In Php
Intro To Mvc Development In Php
Integrating Flex And Rails With Ruby Amf
Integrating Flex And Rails With Ruby Amf
Flex With Rubyamf
Flex With Rubyamf
Sinatra
Sinatra
En story of cakephp2.0
En story of cakephp2.0
Ruby Isn't Just About Rails
Ruby Isn't Just About Rails
Apache and PHP: Why httpd.conf is your new BFF!
Apache and PHP: Why httpd.conf is your new BFF!
Curso Symfony - Clase 4
Curso Symfony - Clase 4
Jsf Ajax
Jsf Ajax
symfony on action - WebTech 207
symfony on action - WebTech 207
Zend Con 2008 Slides
Zend Con 2008 Slides
Express Presentation
Express Presentation
Kürzlich hochgeladen
Manual 508 Accessibility Compliance Audit
Manual 508 Accessibility Compliance Audit
Skynet Technologies
Data governance with Unity Catalog Presentation
Data governance with Unity Catalog Presentation
Knoldus Inc.
(How to Program) Paul Deitel, Harvey Deitel-Java How to Program, Early Object...
(How to Program) Paul Deitel, Harvey Deitel-Java How to Program, Early Object...
AliaaTarek5
Assure Ecommerce and Retail Operations Uptime with ThousandEyes
Assure Ecommerce and Retail Operations Uptime with ThousandEyes
ThousandEyes
2024 April Patch Tuesday
2024 April Patch Tuesday
Ivanti
Take control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test Suite
DianaGray10
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
LoriGlavin3
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...
Wes McKinney
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...
Alkin Tezuysal
Connecting the Dots for Information Discovery.pdf
Connecting the Dots for Information Discovery.pdf
Neo4j
Modern Roaming for Notes and Nomad – Cheaper Faster Better Stronger
Modern Roaming for Notes and Nomad – Cheaper Faster Better Stronger
panagenda
Digital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptx
LoriGlavin3
Sample pptx for embedding into website for demo
Sample pptx for embedding into website for demo
HarshalMandlekar2
Decarbonising Buildings: Making a net-zero built environment a reality
Decarbonising Buildings: Making a net-zero built environment a reality
IES VE
Long journey of Ruby standard library at RubyConf AU 2024
Long journey of Ruby standard library at RubyConf AU 2024
Hiroshi SHIBATA
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.
Curtis Poe
Moving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdf
LoriGlavin3
From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .
Alan Dix
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platforms
Sergiu Bodiu
How to write a Business Continuity Plan
How to write a Business Continuity Plan
Databarracks
Kürzlich hochgeladen
(20)
Manual 508 Accessibility Compliance Audit
Manual 508 Accessibility Compliance Audit
Data governance with Unity Catalog Presentation
Data governance with Unity Catalog Presentation
(How to Program) Paul Deitel, Harvey Deitel-Java How to Program, Early Object...
(How to Program) Paul Deitel, Harvey Deitel-Java How to Program, Early Object...
Assure Ecommerce and Retail Operations Uptime with ThousandEyes
Assure Ecommerce and Retail Operations Uptime with ThousandEyes
2024 April Patch Tuesday
2024 April Patch Tuesday
Take control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test Suite
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...
Connecting the Dots for Information Discovery.pdf
Connecting the Dots for Information Discovery.pdf
Modern Roaming for Notes and Nomad – Cheaper Faster Better Stronger
Modern Roaming for Notes and Nomad – Cheaper Faster Better Stronger
Digital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptx
Sample pptx for embedding into website for demo
Sample pptx for embedding into website for demo
Decarbonising Buildings: Making a net-zero built environment a reality
Decarbonising Buildings: Making a net-zero built environment a reality
Long journey of Ruby standard library at RubyConf AU 2024
Long journey of Ruby standard library at RubyConf AU 2024
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.
Moving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdf
From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platforms
How to write a Business Continuity Plan
How to write a Business Continuity Plan
Merb
1.
Merb An Introduction
2.
Who am I?
3.
History
4.
Key Focus
5.
Fast (No code is
faster than no code)
6.
Memory Efficient
7.
Modular (All you need
none you don’t)
8.
As Simple As
Possible
9.
Features
10.
Plugins as Gems
11.
Rack Integration
12.
File upload example
using rack middleware uploader = Proc.new do |env| request = Merb::Request.new(env) if request.path =~ //images/upload/ params = request.params FileUtils.mv params[:file][:tempfile].path, Merb.root / 'public' / 'uploads' / params[:file][:filename] headers = {quot;Content-Typequot;=>quot;text/htmlquot;, quot;Locationquot; => quot;/imagesquot;} [302, headers, quot;You are being redirectedquot;] else [404, {}, quot;No Upload here, move alongquot;] end end merb = Merb::Rack::Application.new run Rack::Cascade.new([uploader, merb])
13.
Router
14.
Optional Path Segments Matching
match(quot;/articles(/:year(/:month(/:day)))/:titlequot;). to(:controller => quot;articlesquot;, :action => quot;showquot;). name(:article) Generating /articles/Hello => { :title => “Hello” } /articles/2008/07/Hello => { :year => “2008”, :month => “07”, :title => “Hello” }
15.
Access to Request
& Params match(quot;/secretquot;).defer_to do |request, params| if request.session.authenticated? params end end http://www.slideshare.net/carllerche/merb-pluming-the-router-presentation
16.
Controllers
17.
class Posts <
Application provides :xml def show @post = Post.get(params[:id]) display @post end end
18.
Background Processing
19.
render_then_call do
send_notification end run_later do send_notification end
20.
Exceptions
21.
class Exceptions <
Merb::Controller # handle NotFound exceptions (404) def not_found render :format => :html end # handle NotAcceptable exceptions (406) def not_acceptable render :format => :html end end
22.
Merb Slice
23.
Application Server
24.
merb -e produciton
-d -c 4 Processes • master • spawner • worker Hot Deploy kill HUP ‘master process id’
25.
Questions?
Jetzt herunterladen