Live data from Hacker News

“Start Rails 5 development”

github.com

61–67 of 67 posts

Re: “Start Rails 5 development”

#61
post #50
post #27

Earlier quoted context omitted.

Not to one-up you, just since apparently it's worth mentioning, I've been doing webdev for about 9 years, and at least from my perspective backend rendering is definitely going out the window. I started as a Rails dev in 2008, did ASP.Net before that, and last year I've moved from Rails to a pimped up Grape, which is a framework suited more for developing API's. Maybe it's just the sort of apps I'm building (basicall…

When you say "Ember seems to do too much", can you give me an example? I'm interested in understanding why it has this reputation of being bloated.

If you ever inspect ember objects, they're huge, the properties/functions they have...

http://emberjs.com/api/classes/Ember.EachProxy.html

See the EachProxy class? Click on the class it extends.

http://emberjs.com/api/classes/Ember.Object.html

Oh look that object extends another class... apparently it uses Mixin to extend these classes maybe the apply function? If it's using prototype inheritance than looking up the prototype chain would be a performance hit IIRC.

I was doing Ember while during beta though. But during that time they were marketing Ember as smaller library and more performance than Angular.

The last bench mark I've seen, Ember library is much bigger and the performance was not that great compare to Angular...

Re: “Start Rails 5 development”

#62
post #47
post #27

Earlier quoted context omitted.

Not to one-up you, just since apparently it's worth mentioning, I've been doing webdev for about 9 years, and at least from my perspective backend rendering is definitely going out the window. I started as a Rails dev in 2008, did ASP.Net before that, and last year I've moved from Rails to a pimped up Grape, which is a framework suited more for developing API's. Maybe it's just the sort of apps I'm building (basicall…

Is this stack something you'd consider documenting? Coming from Rails, but increasingly moving towards SPAs with Rails as the API (hard to give up all the OOTB niceties), this sounds intriguing.

I still have a lot to learn, but been off rails a few months and miss nothing -- http://www.ajostrow.me/articles/getting-over-rails

Re: “Start Rails 5 development”

#63
post #7

I'm curious about the fate of Rails(and other frameworks like Django) in a few years, seeing that many web applications are moving to the Single-Page-Application model and the server simply acts as a rest backend. Perhaps there will still be a large demand for sites that aren't SPA applications. Interesting times.

For over a decade I've heard that SPA and server-side JavaScript is the future. I always believed JavaScript would carve out a place on the server side, but I've always been skeptical about SPA given the often terrible UX and SEO. And besides that, most sites are better off being served statically from a cache. tl;dr Wake me up when even 5% of sites are SPA.

> Wake me up when even 5% of sites are SPA.

5% of all web apps or new build apps?

Re: “Start Rails 5 development”

#64
post #53
post #47

Earlier quoted context omitted.

Is this stack something you'd consider documenting? Coming from Rails, but increasingly moving towards SPAs with Rails as the API (hard to give up all the OOTB niceties), this sounds intriguing.

I definitely am going to do that as soon as we're going to start marketing the app. But at the moment the way we built it is not very repeatable, I'd love to see a project that builds out grape to be more like a standalone framework like rails is, maybe if we get time we could do that.

> I'd love to see a project that builds out grape to be more like a standalone framework like rails is

You should check out Napa by Bellycard. It takes Grape and brings it together with things we all love from Rails like ActiveRecord, Rake and generators that make for a productive framework.

https://github.com/bellycard/napa

Re: “Start Rails 5 development”

#66
post #7

I'm curious about the fate of Rails(and other frameworks like Django) in a few years, seeing that many web applications are moving to the Single-Page-Application model and the server simply acts as a rest backend. Perhaps there will still be a large demand for sites that aren't SPA applications. Interesting times.

just want to point out that Django is pretty good at making REST backends.

Re: “Start Rails 5 development”

#67
post #47

Earlier quoted context omitted.

Is this stack something you'd consider documenting? Coming from Rails, but increasingly moving towards SPAs with Rails as the API (hard to give up all the OOTB niceties), this sounds intriguing.

I still have a lot to learn, but been off rails a few months and miss nothing -- http://www.ajostrow.me/articles/getting-over-rails

Sorry I missed your comment at the time you posted, and given the structure of HN, no sure you will see this reply, but thanks for posting that. Looks sure to make the transition smoother.
Post reply on HN