Live data from Hacker News

Lotus, a web framework for Ruby

lucaguidi.com

51–60 of 143 posts

Re: Lotus, a web framework for Ruby

#51
post #50

Weird, I get the idea of defining a new web framework API, but why would you build everything from scratch? There's loads of very good open source code out there. Why not fork DataMapper for Lotus::Model for example? Now you have some dodgy hand rolled library that's probably not seen enough eyes to be really production proof.

Lotus::Model apparently depends on https://github.com/jeremyevans/sequel , which has been widely used in production similarly to DataMapper.

Re: Lotus, a web framework for Ruby

#52
post #51
post #50

Weird, I get the idea of defining a new web framework API, but why would you build everything from scratch? There's loads of very good open source code out there. Why not fork DataMapper for Lotus::Model for example? Now you have some dodgy hand rolled library that's probably not seen enough eyes to be really production proof.

Lotus::Model apparently depends on https://github.com/jeremyevans/sequel , which has been widely used in production similarly to DataMapper.

It seems you are right, my apologies, I clearly hadn't read deep enough. Still, Sequel is just an SQL abstraction. DataMapper is exactly what Lotus::Model is, a full model abstraction over databases, regardless of the querying language.

Some years ago I even implemented an XQuery querying backend for DataMapper, it was not much work at all, at a time where AR still had SQL code all through the base and Sequel was just in low profile development.

Re: Lotus, a web framework for Ruby

#53
post #47

Earlier quoted context omitted.

>A complete web framework has client-side components that facilitate two-way communication to/from the server, data binding, HTML5 history state-based page/view swapping, etc. In other words, the type of stuff being addressed by Angular, etc. No. I can't possibly disagree with this any more strongly. I'm probably on the wrong side of history here, but Javascript absolutely should _not_ be a requirement for using a we…

I used to think like you, but I've since understood since that this is the wrong battle. You have 2 things that are more and more diverging yet use the same platform for distribution: - websites as-you-know-them, which goal is to provide _information_ - webapps, which goal is to provide _services_ Your point of view is completely valid for the first kind: when you want the information, you don't want the frills that…

Similarly, I find myself wandering lost and confused in the valley between "app" and "document". I've been doing front-end "app" stuff a few years now, mostly because I wanted to write JS and thought that servers were scary and complex. But now that I've mostly gotten over that, I look at requirements and user stories and ask: could this just be done with HTML forms? (Sure, so maybe we want some animation and fine-grained interactivity, but most of the time these could just be frosting on the HTTP cake.)

I guess some things are really "documents" (Wikipedia articles) and some things are really "apps" (HTML5 games), but it seems like there's a huge swath of uncritical groupthink that's saying you're web thing needs to be an "app" because iPhone.

Re: Lotus, a web framework for Ruby

#54

Earlier quoted context omitted.

>A complete web framework has client-side components that facilitate two-way communication to/from the server, data binding, HTML5 history state-based page/view swapping, etc. In other words, the type of stuff being addressed by Angular, etc. No. I can't possibly disagree with this any more strongly. I'm probably on the wrong side of history here, but Javascript absolutely should _not_ be a requirement for using a we…

I respect your opinion, but I will happily disregard it when it comes to building web apps. If that means I someday lose you as a customer, so be it.

Hear, hear!

Re: Lotus, a web framework for Ruby

#55

I'm all for new frameworks that emphasize different ideas and philosophies. If nobody ever tried experimenting with a new approach, we wouldn't have Rails in the first place. So kudos to Luca and his fine work in developing Lotus. I like much of what I see. That being said, I feel like YARWF (Yet Another Ruby Web Framework) is not the most pressing matter in the web space today, and I take exception to the notion tha…

>A complete web framework has client-side components that facilitate two-way communication to/from the server, data binding, HTML5 history state-based page/view swapping, etc. In other words, the type of stuff being addressed by Angular, etc. No. I can't possibly disagree with this any more strongly. I'm probably on the wrong side of history here, but Javascript absolutely should _not_ be a requirement for using a we…

I couldn't care less about losing you as a visitor to my site. It's 2014. JavaScript is required for using the web.

Re: Lotus, a web framework for Ruby

#56
post #51
post #50

Weird, I get the idea of defining a new web framework API, but why would you build everything from scratch? There's loads of very good open source code out there. Why not fork DataMapper for Lotus::Model for example? Now you have some dodgy hand rolled library that's probably not seen enough eyes to be really production proof.

Lotus::Model apparently depends on https://github.com/jeremyevans/sequel , which has been widely used in production similarly to DataMapper.

Sequel is way more actively supported/developed compared to datamapper. Last release of DM was in 13/10/2011...

Re: Lotus, a web framework for Ruby

#57
post #25

Earlier quoted context omitted.

> This is depressingly similar In graduate school, many a moon ago, my advisor would say that this is validation of the idea, so one should be happy to be on the right track.

Thanks for the de-demotivation.

It isn't zero sum. There's still substantial design space to explore.

Lotus being received well just means people are ready for the idea. That may not have been the case in 2011, for instance.

Re: Lotus, a web framework for Ruby

#58

Earlier quoted context omitted.

Thanks for the de-demotivation.

It isn't zero sum. There's still substantial design space to explore. Lotus being received well just means people are ready for the idea. That may not have been the case in 2011, for instance.

I think I was misunderstood. By de-demotivation I meant re-motivation :)

Re: Lotus, a web framework for Ruby

#60
post #56
post #51

Earlier quoted context omitted.

Lotus::Model apparently depends on https://github.com/jeremyevans/sequel , which has been widely used in production similarly to DataMapper.

Sequel is way more actively supported/developed compared to datamapper. Last release of DM was in 13/10/2011...

It's not a choice between DataMapper and Sequel, they are not comparable. Anyway, I know it's not maintained anymore, that's why I suggested forking it.
Post reply on HN