Hi,
will you be posting the migration details publicly ? Would be interesting.
Even if we are starting and maintaining Merb projects. Merb and Sinatra are awesome.
Best luck,
pedromg
--
You received this message because you are subscribed to the Google Groups "merb" group.
To post to this group, send email to me...@googlegroups.com.
To unsubscribe from this group, send email to merb+uns...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/merb?hl=en.
Need the gems dm-rails and rspec-rails.
To generate a new project that uses datamapper:rails new prj_name -m http://datamapper.org/templates/rails.rb
Nothing special needed to use haml.. just add to Gemfile for bundler.
application_controller instead of application.
No fancy sugar for params.. e.g., instead of def edit(id)
, you need def edit; id = params[:id]
Instead of link_to "req", url(:req,req_id)
,
it is link_to "req", req_path(req_id)
Instead of partial 'foo'
, it is render :partial => 'foo'
All strings are auto-escaped, e.g., = '<br/>'
in Rails is equivalent to = h '<br/>'
in Merb. Use raw() if you don't want it escaped.
This is a pain in the ass for helpers that generate forms and other html snippets.
On Thu, May 26, 2011 at 12:59 PM, pr <piyu...@gmail.com> wrote:
> I undertook a similar project to migrate our open source project
> Mostfit (http://github.com/mostfit/mostfit) to Rails 3. I sent this
> email to my team after 3 days:
I recently met someone on a local meeting porting a Merb app to
Rails3. After 2 weeks they dropped the port. The team (of 3) has their
own homebrew fast Merb as they say, and will stick to it for new apps
development. Was nice to ear that.
I'm happy with Merb and Sinatra. And at its core, Ruby is a very
active project, with a great deal of attention. If Ruby gets better
and faster, Merb gets better and faster. We'll need to pay attention
to this Rubygems recent "development".
And, as posted here before:
http://sethgodin.typepad.com/seths_blog/2011/03/bring-me-stuff-thats-dead-please.html
As for Engine Yard, AppCloud has support for Merb apps.
Nicos, thanks for the effort, I see still lots of production apps that
will be thanking all that Merb love ;-)
best regards,
pedro mg
Hi,
On Wed, Jun 1, 2011 at 6:09 AM, Tony Mann <theph...@gmail.com> wrote:
> I like Merb. But our app is now part of a suite of apps, and it really needs
> to be in Rails to "play nice" with the others. So I have no choice.
yes, you mentioned it before. Will you be using/porting js "to" CoffeScript ?
best regards,
pedro mg
best regards,
pedro mg
best regards,
pedro mg
On Thu, Jun 2, 2011 at 10:27 PM, Tony Mann <theph...@gmail.com> wrote:
> We are going to stick with DM, at least for now. So the models can stay
> as-is.
> We just need to port the rest of the stack; ie. controllers, views, and
> helpers. And some of the merb-specific /lib code.
> If you need more info, let me know.
> If this is starting to bore the list, you can email me directly :-)
let it flow, this is a good topic and this list needs this kind of activity ;-)
pedro
--
On Fri, Jun 3, 2011 at 6:17 PM, Roy Wright <r...@wright.org> wrote:
> Personally I've switched to Ramaze for an easy to understand, light weight
> framework. I much prefer having to specify what I want versus discover the
> magic recipes necessary to disable what I don't want.
>
> On Jun 3, 2011, at 11:48 AM, Tony Mann wrote:
>
> A thought, based on the "we gave up on our Rails 3 port" postings:
>
> Rails3 derived some benefits from having merb team work with them, but
> ultimately Rails 3 does not appeal to merb developers.
>
> So to me, the integration of merb into Rails 3 was ultimately failure, since
> the developer community was not well-served by it. This gives us three
> choices:
>
> Make Rails 3 more appealing for merb developers. I see no path for this.
> Get merb back up and running. I don't see enough community support for this,
I'd love to see numbers on merb apps in production. Merb was growing
steadily until the core developers had that "call for action" to work
on a messed Rails. That was a breaking point in Merb timeline and
teared its community apart. I still find Merb a smart project and
pretty interesting framework. Because of its value we can't say "its
dead". It isn't. Nicos is working on it, digging its source and
working on interesting future solutions.
It would be interesting to have a Merb::Conf (conference) to revamp
its image as a working and smart ruby framework.
> since the rug was pulled out from under it. People incorrectly see Rails 3
> as having "solved" the problems merb originally solved.
> Take advantage of Sinatra's momentum. Put our energy into a lightweight
> framework on top of it. Padrino comes to mind.
Sinatra is interesting for its pure simplicity. I'm using it as a
read-only "model" (API) for a Merb app.
What makes you want to redirect efforts in developing Merb to Padrino
? The community ? For now, I'll stick to Merb.
I will try to contact Ezra and Wycats and other commiters like SnuSnu
to ask them how they see Merb right now, and how they see Merb related
to other Ruby frameworks technically.
best regards,
@pedro_mg
What makes you want to redirect efforts in developing Merb to Padrino
? The community ? For now, I'll stick to Merb.
--
On Jun 24, 2011 7:17 PM, "Tony Mann" <theph...@gmail.com> wrote:
>>
>> What makes you want to redirect efforts in developing Merb to Padrino
>> ? The community ? For now, I'll stick to Merb.
>
>
> I was just pondering whether we could leverage Sinatra's momentum. I imagine that Padrino needs help, and Sinatra provides a great foundation. Maybe we could take our learnings from Merb and use them to make something like Padrino be a pack leader, as a genuine alternative to Rails.
>
I see your point, and makes sense of course. Yet we can easily fork
the debate in several situations here :-)
- project contribution and hacking;
- production web apps;
- time spent learning a framework;
Its not easy nor free (time) to port production apps to another
framework. I dont even know if its easier to port on a smaller company
with fewer resources (as contradictory as may seem history tells us it
is) than in a big company.
Merb has an excellent basis to be worked on. Comes to mind a recent
example, related to the run_later() method for small tasks. Is it
implemented on Rails3 ? Some Rails friends went "oh cool!!".
Love and use Sinatra. Merb+Datamapper+jQuery makes my day ;)
@pedro_mg