Merb

Loading...

Flash Player 9 (or above) is needed to view presentations.
We have detected that you do not have it on your computer. To install it, go here.

0 comments

Post a comment

    Post a comment
    Embed Video
    Edit your comment Cancel

    1 Group

    Merb - Presentation Transcript

    1. merb contagion @ Ruby Tuesday, Taiwan
    2. Ruby Web Framework • The one and the only Rails • Actually, there are others... • rmaze • mack • sinatra • camping
    3. merb and....... • Scalability • Flexibility • Awesome Features
    4. Speed Anything that slows merb down is a bug !
    5. Size • No Code is Better then No Code • LOC • Rails 24K~50K • merb 10K~17K
    6. Simplicity • No Magic • Magic is for your JOB security... • Hacker’s framework ? • makes you a hacker • I Grok it !!
    7. Call Stack • Shorter Call Stack • Rails 41~58 (more with plugins) • merb 27~32
    8. Adaptablility • ORM - datamapper, active record, sequeal • Javascript - jquery, prototype • testing - runit, rspec • template engine - erb, haml
    9. Modularity • Rails 6 gems • merb 18 gems • merb-core • merb-more • datamapper 9 gems
    10. Merb API • private Don’t touch them • public • plugin (overridable)
    11. Plugin • plugin is simply a gem • dependency management ! • Hooks • APIs • no more alias_method_chain
    12. Flexiable file layout • fullstack merb-gen app • core only merb-gen core • simple merb-gen flat • singel file merb-gen very_flat
    13. Awesome Features • Exception handling • Run later • sexy route • Content Negotiation • Slices • Parts
    14. Exception • raise NotFound • status = 404 • controller: exceptions • action: not_found • Not Log in • status = 401 • controller: exceptions • action: unauthenticated
    15. Run Later
    16. Sexy route
    17. Content Negotiation
    18. Slices • mini application • like Django’s app • like Rails’s Engine • reusability haven! • ex. merb-auth, merb-blog, merb-cms
    19. Parts • a component • component in rails1.0 • before filter + partial
    20. Q&A
    SlideShare Zeitgeist 2009

    + contagioncontagion Nominate

    custom

    404 views, 0 favs, 0 embeds more stats

    presented in Ruby Tuesday 12/23

    More info about this document

    © All Rights Reserved

    Go to text version

    • Total Views 404
      • 404 on SlideShare
      • 0 from embeds
    • Comments 0
    • Favorites 0
    • Downloads 5
    Most viewed embeds

    more

    All embeds

    less

    Flagged as inappropriate Flag as inappropriate
    Flag as inappropriate

    Select your reason for flagging this presentation as inappropriate. If needed, use the feedback form to let us know more details.

    Cancel
    File a copyright complaint
    Having problems? Go to our helpdesk?

    Categories

    Tags

    Groups / Events