merb core

27
merb All you need, none you don’t

Upload: ezra-zygmuntowicz

Post on 28-May-2015

4.610 views

Category:

Technology


0 download

DESCRIPTION

All you need.. none you don't.

TRANSCRIPT

Page 1: Merb Core

merbAll you need, none you don’t

Page 2: Merb Core

Guiding principles of merb development.

Page 3: Merb Core

Prefer simplicity over magic as much as possible

Page 4: Merb Core

Prefer simplicity over magic as much as possible

This is framework code, no &:foo or returning allowed!

Page 5: Merb Core

Prefer simplicity over magic as much as possible

This is framework code, no &:foo or returning allowed!

When in doubt... benchmark and profile

Page 6: Merb Core

Prefer simplicity over magic as much as possible

This is framework code, no &:foo or returning allowed!

When in doubt... benchmark and profile

Know your runtime and how it acts

Page 7: Merb Core

No code is faster than no code.

Merb’s motto:

Page 8: Merb Core

Why?

Page 9: Merb Core

Why Not?

Page 10: Merb Core

Developer time is expensive...Servers are cheap...

Page 11: Merb Core

Developer time is expensive...Servers are cheap...

Who cares about efficiency, just throw more servers at the

problem!

Page 12: Merb Core

Throwing more servers at the

problem only goes so far ...

Page 13: Merb Core

Throwing more servers at the

problem only goes so far ...

Of course I’m happy to sell you more servers ;)

Page 14: Merb Core

Premature Optimization is the

root of blah blah blah...

Page 15: Merb Core

*Postmature Optimization* is the root of all hosting

bills ;)

Page 16: Merb Core

back to merb...

Page 17: Merb Core

What’s new?

Page 18: Merb Core

merb-core

• Ebb

• Evented Mongrel

• FastCGI

• Mongrel

• Thin

• Webrick

Rack Webserver Abstraction Layer

Page 19: Merb Core

config/rack.rb

Page 20: Merb Core

config/rack.rb

Page 21: Merb Core

merb-corePowerful Router

Page 22: Merb Core

merb-corePowerful Router

Page 23: Merb Core

Provides APImerb-core

Page 24: Merb Core

merb-more• Code Generators

• Asset Bundling

• Mailers and Parts

• Haml and other templating support

• Action Args

• Caching

• Other essentials

Page 25: Merb Core

merb-plugins• merb_dartamapper

• merb_activerecord

• merb_sequel

• merb_helpers

• merb_param_protection

• many more to come

Page 27: Merb Core

Questions?