Skip to main content

Scott Moody's Library tagged merb   View Popular

04 May 08

Vixiom Axioms » Merb on AIR - Drag and Drop Multiple File Upload

  • Merb was originally created by Ezra Zygmuntowicz to avoid some Rails upload issues.



    This is one of the things that Merb was written for. Rails doesn‘t allow multiple concurrent file uploads at once without blocking an entire rails backend for each file upload. Merb allows multiple file uploads at once.



    I’ve built ‘multiple’ file uploaders for Rails sites but they always involved some slight of hand, the files appeared to be uploading all at once but they where actually queued up by Flex then handled one by one by the app (which also had the unhappy side effect of blocking any other requests to that process). I’ve been wanting to try out Adobe AIR’s file system drag and drop for a while so this is a two-fer example. You’ll need the beta version of Flex Builder 3 or the Flex 3 SDK beta if you don’t mind getting down with the command line.


    In a hurry? Here’s one I made earlier (flex source in ‘dist/app/fx‘).

29 Apr 08

Taking Merb to Production

  • Taking Merb to Production


    Posted by Ben Reubenstein
    on December 24, 2007


    This past week I needed to implement a small webservice that needed to be fast and work well under a heavy load. I had part of the service implemented in Rails, but it was not as fast as I thought it could be so I decided to check out Merb. Merb is a lightweight MVC framework much like Rails. Merb however doesn't try to put a lot of "magic" at its core, so overall less time is spent in the framework and more time is spent in your code.



    When I jumped into Merb, there were a lot of good articles but not much on how to productionize Merb, so I hope I can fill in the gap with this article.



    NOTE: I am explaining a lot here, so if you run into spots that are confusing or you think could be done more efficiently, comment and I will get those adjustments into the doc.

18 Apr 08

Stone - a simple database for Ruby applications

  • For small applications, a database can be overkill for storing your data in a consistent and
    organized manner. Therefore, Stone was built to provide plug-and-play data persistence for
    any application or framework. It is fast, and it is easy… therefore it is good.




    You can check out an application that uses Merb+Stone here.




    The source for that blog is here.

13 Apr 08

Guide to Getting Started with Merb and ActiveRecord

  • Spent a while today getting up and running with Merb, the minimalist modular alternative Ruby framework from Ezra and the good people at Engine Yard. Merb has been in a bit of chaos these recent months as it's gone through a major reworking to acheive a whole new level of performance as well as honest-to-goodness modularity, including choosing your own ORM and templating system. I've been watching Merb's development for some time waiting for it to get to a level of stability that looked safe enough to dive in; their most recent release, 0.9.2, combined with pressing needs in a few exciting new Grabb.it features, made today the day.




    My first day with Merb has been mostly great, but the one thing I found really sorely missing was a tutorial on how to get started. In all fairness, the Merb team promises left and right that copious documentation will be coming as they settle down to 1.0. In the meantime, I thought I'd pitch in for any brave early adopters out there with this Guide to Installing Merb and ActiveRecord.

09 Apr 08

Bamboo Blog - Merb and DataMapper Book (Part 1)









  • Merb and DataMapper Book (Part 1) matt


    April 9th, 2008





    When I started learning Merb and DataMapper I kept a collection of notes to help me keep up with these projects. These grew to the point that they couldn't fit nicely into a single text file. With contributions from others I started to put together a small book on developing web apps with Merb and DataMapper. I have decided to release it as we go. There is also a project in GitHub if you want to check it out and contribute.

Thin - yet another web server

    • Thin is a Ruby web server that glues together 3 of the best Ruby libraries in web history:

      • the Mongrel parser, the root of Mongrel speed and security
      • Event Machine, a network I/O library with extremely high scalability, performance and stability
      • Rack, a minimal interface between webservers and Ruby frameworks

      Which makes it, with all humility, the most secure, stable, fast and extensible Ruby web server
      bundled in an easy to use gem for your own pleasure.

Why Rails is total overkill and why I love Rack

  • Rails is total overkill. It tries to do "everything" in a massive framework where major components are tightly intervowen. Smaller frameworks like Merb and Camping have already shown you don't NEED this. I argue you don't need a framework at all - you need highly cohesive, loosely coupled components. That is why I love Rack - it does one thing and does it well, and leave me to write applications, not learn frameworks.
27 Mar 08

Merb Docs - File: README

  • File: README



    Merb



    Like Ruby on Rails, Merb (Mongrel +
    ERB) is an MVC framework. Unlike Rails, Merb is ORM-agnostic, JavaScript
    library agnostic, and template language agnostic, preferring plugins that
    add in support for a particular feature rather than trying to produce a
    monolithic library with everything in the core. In fact, this is a guiding
    principle of the project, which has led to third-party support for the
    ActiveRecord, DataMapper, and Sequel ORMs.



    In addition, it means that the core code in Merb is kept simple and well
    organised. This has multiple benefits. It means it‘s faster for one
    thing. It‘s also easier to understand, maintain and extend.

1 - 20 of 20
Showing 20 items per page

Diigo is about better ways to research, share and collaborate on information. Learn more »

Join Diigo