SlideShare une entreprise Scribd logo
1  sur  13
Merb
looking for a hacker’s framework?
Demo idő!

In merbias res!
Miről lesz szó?

történet

miben hasonló a Rails-hez?

miben tér el a Rails-től?

hogyan tovább?
Történet

2006/09/22: Ezra Zygmuntowicz pastie szkriptje

2008/01/10: 1.0.x branch (git-log --reverse)

2008/10/11: Merbcamp, San Diego

2009/01/22: Merb 1.0.8.1
Miben hasonló a Rails-
hez?
Ruby!                     iszonyú jó router

MVC                       MIT license

generators

generált app. directory
struktúra

restful applikációk
támogatása
Miben tér el a Rails-től?
modularitás             teljesítményre
                        koncentrálás (“no
agnosztikus (nem        code is faster than no
“opinionated”)          code”)
publikus API és ennek   a kód
tiszteletben tartása    átláthatóságának
                        fontossága (pl. nincs
slice-ok
                        alias_method_chain)
Modularitás
merb_gems_version = quot;1.0.4quot;
                                               DEPENDENCIES.RB
dm_gems_version = quot;0.9.8quot;

dependency quot;merb-action-argsquot;, merb_gems_version
dependency quot;merb-assetsquot;, merb_gems_version
dependency quot;merb-cachequot;, merb_gems_version
dependency quot;merb-helpersquot;, merb_gems_version
dependency quot;merb-mailerquot;, merb_gems_version
dependency quot;merb-slicesquot;, merb_gems_version
dependency quot;merb-auth-corequot;, merb_gems_version
dependency quot;merb-auth-morequot;, merb_gems_version
dependency quot;merb-auth-slice-passwordquot;, merb_gems_version

dependency quot;dm-corequot;, dm_gems_version
dependency quot;dm-migrationsquot;, dm_gems_version
dependency quot;dm-typesquot;, dm_gems_version
dependency quot;dm-validationsquot;, dm_gems_version
Agnosztikus
require 'config/dependencies.rb'
                                                        INIT.RB
use_orm :datamapper # :active_record, :sequel
use_test :rspec # test_unit
use_template_engine :erb # :haml

# js library: jquery, prototype, dojo, etc.
# i18n, i10n: merb_babel
Merb::Config.use do |c|
 c[:use_mutex] = false
 c[:session_store] = 'cookie' # can also be 'memory',
'memcache', 'container', 'datamapper
 (...)
end
Különböző API-k
public: a következő “elsőpontos” verzióig marad
(2.0)

spec10 test suite: minden release előtt
hibamentesen futnia kell!

private: bármely két release között változhat

plugin: plugin íróknak
Slice-ok

“little slices of MVC cake”

önálló alkalmazások

könnyen beilleszhetőek bármely merb
alkalmazásba, namespace-elt routinggal

pl. merb-auth-slice password
Hátrányok


viszonylag friss, nem kiforrott? (de)

dokumentáció (de készül egy könyv)

még meg sem született, ...
A merb jövője
Rails 3 = Merb 2

minden merb funkció (router, slice-ok, publikus
API, stb.)

a 2009-s RailsConf-ra (május 4-7) ígérik

addig is megmarad a support és a release-ek

minden merb alkalmazás futni fog továbbra is
Kérdés idő!

Érdi Bálint
http://bucionrails.com
balint@bucionrails.com

Contenu connexe

Tendances

Isomorphic JavaScript: #DevBeat Master Class
Isomorphic JavaScript: #DevBeat Master ClassIsomorphic JavaScript: #DevBeat Master Class
Isomorphic JavaScript: #DevBeat Master Class
Spike Brehm
 
NodeWay in my project & sails.js
NodeWay in my project & sails.jsNodeWay in my project & sails.js
NodeWay in my project & sails.js
Dmytro Ovcharenko
 
Секретный доклад о React Router - OdessaJS 2014
Секретный доклад о React Router - OdessaJS 2014Секретный доклад о React Router - OdessaJS 2014
Секретный доклад о React Router - OdessaJS 2014
Andrey Listochkin
 

Tendances (20)

A Toda Maquina Con Ruby on Rails
A Toda Maquina Con Ruby on RailsA Toda Maquina Con Ruby on Rails
A Toda Maquina Con Ruby on Rails
 
Building Isomorphic JavaScript Apps - NDC 2015
Building Isomorphic JavaScript Apps - NDC 2015Building Isomorphic JavaScript Apps - NDC 2015
Building Isomorphic JavaScript Apps - NDC 2015
 
The Evolution of Airbnb's Frontend
The Evolution of Airbnb's FrontendThe Evolution of Airbnb's Frontend
The Evolution of Airbnb's Frontend
 
Isomorphic JavaScript: #DevBeat Master Class
Isomorphic JavaScript: #DevBeat Master ClassIsomorphic JavaScript: #DevBeat Master Class
Isomorphic JavaScript: #DevBeat Master Class
 
Isomorphic JavaScript with Nashorn
Isomorphic JavaScript with NashornIsomorphic JavaScript with Nashorn
Isomorphic JavaScript with Nashorn
 
Be Happy With Ruby on Rails - Ecosystem
Be Happy With Ruby on Rails - EcosystemBe Happy With Ruby on Rails - Ecosystem
Be Happy With Ruby on Rails - Ecosystem
 
NodeWay in my project & sails.js
NodeWay in my project & sails.jsNodeWay in my project & sails.js
NodeWay in my project & sails.js
 
SPA using Rails & Backbone
SPA using Rails & BackboneSPA using Rails & Backbone
SPA using Rails & Backbone
 
Performance monitoring measurement angualrjs single page apps with phantomas
Performance monitoring measurement angualrjs single page apps with phantomasPerformance monitoring measurement angualrjs single page apps with phantomas
Performance monitoring measurement angualrjs single page apps with phantomas
 
Server-side JavaScript for the rest of us
Server-side JavaScript for the rest of usServer-side JavaScript for the rest of us
Server-side JavaScript for the rest of us
 
Sails Framework Instroduction
Sails Framework InstroductionSails Framework Instroduction
Sails Framework Instroduction
 
Ruby on Rails - An overview
Ruby on Rails -  An overviewRuby on Rails -  An overview
Ruby on Rails - An overview
 
RoR 101: Session 6
RoR 101: Session 6RoR 101: Session 6
RoR 101: Session 6
 
Workshop Intro: FrontEnd General Overview
Workshop Intro: FrontEnd General OverviewWorkshop Intro: FrontEnd General Overview
Workshop Intro: FrontEnd General Overview
 
Секретный доклад о React Router - OdessaJS 2014
Секретный доклад о React Router - OdessaJS 2014Секретный доклад о React Router - OdessaJS 2014
Секретный доклад о React Router - OdessaJS 2014
 
Workshop 21: React Router
Workshop 21: React RouterWorkshop 21: React Router
Workshop 21: React Router
 
CoffeeScript - An Introduction
CoffeeScript - An IntroductionCoffeeScript - An Introduction
CoffeeScript - An Introduction
 
Ruby on Rails + AngularJS + Twitter Bootstrap
Ruby on Rails + AngularJS + Twitter BootstrapRuby on Rails + AngularJS + Twitter Bootstrap
Ruby on Rails + AngularJS + Twitter Bootstrap
 
RoR 101: Session 5
RoR 101: Session 5RoR 101: Session 5
RoR 101: Session 5
 
RoR 101: Session 6
RoR 101: Session 6RoR 101: Session 6
RoR 101: Session 6
 

En vedette (10)

Web3
Web3Web3
Web3
 
Presentación escuelas
Presentación escuelasPresentación escuelas
Presentación escuelas
 
Hermosos elefantes
Hermosos elefantesHermosos elefantes
Hermosos elefantes
 
103 1.2.4staticandcurrent4
103 1.2.4staticandcurrent4103 1.2.4staticandcurrent4
103 1.2.4staticandcurrent4
 
nFusion Capabilities
nFusion CapabilitiesnFusion Capabilities
nFusion Capabilities
 
Hinckley & Learning
Hinckley & LearningHinckley & Learning
Hinckley & Learning
 
Dr Manuel Louro Profissional Rvc Formador Mediador Efa Formador Como Se Artic...
Dr Manuel Louro Profissional Rvc Formador Mediador Efa Formador Como Se Artic...Dr Manuel Louro Profissional Rvc Formador Mediador Efa Formador Como Se Artic...
Dr Manuel Louro Profissional Rvc Formador Mediador Efa Formador Como Se Artic...
 
Javier Ameneiro Montero
Javier Ameneiro MonteroJavier Ameneiro Montero
Javier Ameneiro Montero
 
Yellow on the Outside, Shame on the Inside: Asian Culture Revealed (Revised)
Yellow on the Outside, Shame on the Inside: Asian Culture Revealed (Revised)Yellow on the Outside, Shame on the Inside: Asian Culture Revealed (Revised)
Yellow on the Outside, Shame on the Inside: Asian Culture Revealed (Revised)
 
103 1.2.5staticandcurrent5
103 1.2.5staticandcurrent5103 1.2.5staticandcurrent5
103 1.2.5staticandcurrent5
 

Similaire à Introducing Merb

Instruments ruby on rails
Instruments ruby on railsInstruments ruby on rails
Instruments ruby on rails
pmashchak
 

Similaire à Introducing Merb (20)

Merb For The Enterprise
Merb For The EnterpriseMerb For The Enterprise
Merb For The Enterprise
 
.NET Architects Day - DNAD 2011
.NET Architects Day - DNAD 2011.NET Architects Day - DNAD 2011
.NET Architects Day - DNAD 2011
 
09 - Fábio Akita - Além do rails
09 - Fábio Akita - Além do rails09 - Fábio Akita - Além do rails
09 - Fábio Akita - Além do rails
 
Ruby on Rails 101 - Presentation Slides for a Five Day Introductory Course
Ruby on Rails 101 - Presentation Slides for a Five Day Introductory CourseRuby on Rails 101 - Presentation Slides for a Five Day Introductory Course
Ruby on Rails 101 - Presentation Slides for a Five Day Introductory Course
 
Consegi 2010 - Dicas de Desenvolvimento Web com Ruby
Consegi 2010 - Dicas de Desenvolvimento Web com RubyConsegi 2010 - Dicas de Desenvolvimento Web com Ruby
Consegi 2010 - Dicas de Desenvolvimento Web com Ruby
 
Merb presentation at ORUG
Merb presentation at ORUGMerb presentation at ORUG
Merb presentation at ORUG
 
When To Use Ruby On Rails
When To Use Ruby On RailsWhen To Use Ruby On Rails
When To Use Ruby On Rails
 
Introduction To Ruby On Rails
Introduction To Ruby On RailsIntroduction To Ruby On Rails
Introduction To Ruby On Rails
 
Intro to Rails
Intro to RailsIntro to Rails
Intro to Rails
 
Damage Control
Damage ControlDamage Control
Damage Control
 
Rails onCpanel
Rails onCpanelRails onCpanel
Rails onCpanel
 
Jasig Rubyon Rails
Jasig Rubyon RailsJasig Rubyon Rails
Jasig Rubyon Rails
 
Introduction to Rails - presented by Arman Ortega
Introduction to Rails - presented by Arman OrtegaIntroduction to Rails - presented by Arman Ortega
Introduction to Rails - presented by Arman Ortega
 
Static Code Analysis For Ruby
Static Code Analysis For RubyStatic Code Analysis For Ruby
Static Code Analysis For Ruby
 
Ruby on Rails Presentation
Ruby on Rails PresentationRuby on Rails Presentation
Ruby on Rails Presentation
 
Create a new project in ROR
Create a new project in RORCreate a new project in ROR
Create a new project in ROR
 
Fisl 11 - Dicas de Desenvolvimento Web com Ruby
Fisl 11 - Dicas de Desenvolvimento Web com RubyFisl 11 - Dicas de Desenvolvimento Web com Ruby
Fisl 11 - Dicas de Desenvolvimento Web com Ruby
 
Instruments ruby on rails
Instruments ruby on railsInstruments ruby on rails
Instruments ruby on rails
 
Intro to Rails and MVC
Intro to Rails and MVCIntro to Rails and MVC
Intro to Rails and MVC
 
Practical Intro Merb
Practical Intro MerbPractical Intro Merb
Practical Intro Merb
 

Dernier

Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
panagenda
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Victor Rentea
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 

Dernier (20)

Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamDEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challenges
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptx
 
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 

Introducing Merb

  • 1. Merb looking for a hacker’s framework?
  • 3. Miről lesz szó? történet miben hasonló a Rails-hez? miben tér el a Rails-től? hogyan tovább?
  • 4. Történet 2006/09/22: Ezra Zygmuntowicz pastie szkriptje 2008/01/10: 1.0.x branch (git-log --reverse) 2008/10/11: Merbcamp, San Diego 2009/01/22: Merb 1.0.8.1
  • 5. Miben hasonló a Rails- hez? Ruby! iszonyú jó router MVC MIT license generators generált app. directory struktúra restful applikációk támogatása
  • 6. Miben tér el a Rails-től? modularitás teljesítményre koncentrálás (“no agnosztikus (nem code is faster than no “opinionated”) code”) publikus API és ennek a kód tiszteletben tartása átláthatóságának fontossága (pl. nincs slice-ok alias_method_chain)
  • 7. Modularitás merb_gems_version = quot;1.0.4quot; DEPENDENCIES.RB dm_gems_version = quot;0.9.8quot; dependency quot;merb-action-argsquot;, merb_gems_version dependency quot;merb-assetsquot;, merb_gems_version dependency quot;merb-cachequot;, merb_gems_version dependency quot;merb-helpersquot;, merb_gems_version dependency quot;merb-mailerquot;, merb_gems_version dependency quot;merb-slicesquot;, merb_gems_version dependency quot;merb-auth-corequot;, merb_gems_version dependency quot;merb-auth-morequot;, merb_gems_version dependency quot;merb-auth-slice-passwordquot;, merb_gems_version dependency quot;dm-corequot;, dm_gems_version dependency quot;dm-migrationsquot;, dm_gems_version dependency quot;dm-typesquot;, dm_gems_version dependency quot;dm-validationsquot;, dm_gems_version
  • 8. Agnosztikus require 'config/dependencies.rb' INIT.RB use_orm :datamapper # :active_record, :sequel use_test :rspec # test_unit use_template_engine :erb # :haml # js library: jquery, prototype, dojo, etc. # i18n, i10n: merb_babel Merb::Config.use do |c| c[:use_mutex] = false c[:session_store] = 'cookie' # can also be 'memory', 'memcache', 'container', 'datamapper (...) end
  • 9. Különböző API-k public: a következő “elsőpontos” verzióig marad (2.0) spec10 test suite: minden release előtt hibamentesen futnia kell! private: bármely két release között változhat plugin: plugin íróknak
  • 10. Slice-ok “little slices of MVC cake” önálló alkalmazások könnyen beilleszhetőek bármely merb alkalmazásba, namespace-elt routinggal pl. merb-auth-slice password
  • 11. Hátrányok viszonylag friss, nem kiforrott? (de) dokumentáció (de készül egy könyv) még meg sem született, ...
  • 12. A merb jövője Rails 3 = Merb 2 minden merb funkció (router, slice-ok, publikus API, stb.) a 2009-s RailsConf-ra (május 4-7) ígérik addig is megmarad a support és a release-ek minden merb alkalmazás futni fog továbbra is

Notes de l'éditeur