News for hackers. Stuff that matters.
Re:Why's that company so big? I could do that in a weekend by morgante on Monday October 03, 2016 @11:46AM (#12628376)
No, Express is much closer to Flask than Django. One of my biggest gripes with Node is that there's really no equivalent to Django/Rails in terms of developer productivity and best practices.
Re:Why's that company so big? I could do that in a weekend by overcast on Tuesday October 04, 2016 @09:55AM (#12635498)
That's what gives Express its appeal. Rather than a walled in environment, I can pick and choose the pieces that I need. Much more flexible if you want to move over to a different library within Express.
Re:Why's that company so big? I could do that in a weekend by morgante on Tuesday October 04, 2016 @10:06AM (#12635579)
I understand that's why people think Express is great, but in practice you end up rebuilding a lot of the same functionality. It can work okay in a microservices architecture, but in the end you have to reinvent a lot of the wheel.

There's also a common misconception that Django is a "walled in" environment. It provides sensible default utilities for everything, but you actually don't need to use them at all. For example, you can bring anything from your own template engine to your own ORM if you want to.

Re:Why's that company so big? I could do that in a weekend by overcast on Tuesday October 04, 2016 @10:26AM (#12635755)
Not sure what wheels I'm reinventing, I just choose to include the libraries that are correct for the application.

If I don't use half the stuff Django is offering me, only to bring in my own. Aren't we back to the same place?

Re:Why's that company so big? I could do that in a weekend by morgante on Tuesday October 04, 2016 @10:33AM (#12635815)
The difference is that the Django ecosystem really focuses on developer productivity and has strong best practices. Look at 5 different Express apps and you'll find 5 different ways of structuring models, controllers, and routes.

Plus the fact that Django has some suggested defaults allows you to be very productive with them. For example, I really haven't found any equivalent to DRF for Express.

I want to make it clear I'm not some Node hater. Probably half my projects are still in Node, but I do know I'm much high productivity in Django.

Re:Why's that company so big? I could do that in a weekend by overcast on Tuesday October 04, 2016 @10:36AM (#12635837)
So really all we're seeking here is a standard for application layout. I really really dislike being forced into some heavy handed framework, not that Django is that, but it's on the topic of discussion.
Re:Why's that company so big? I could do that in a weekend by malyk on Monday October 03, 2016 @01:05PM (#12629215)
Ember? Sails?
Re:Why's that company so big? I could do that in a weekend by morgante on Monday October 03, 2016 @01:11PM (#12629279)
Ember is not a server-side framework.

Sails is leagues behind Django in terms of everything from tooling to quality.

Re:Why's that company so big? I could do that in a weekend by dclowd9901 on Monday October 03, 2016 @01:52PM (#12629666)
I thought Ember had isomorphism now...
Re:Why's that company so big? I could do that in a weekend by morgante on Monday October 03, 2016 @01:55PM (#12629702)
Server-side rendering ("isomorphism") does not make a framework into a server-side framework. Ember is not designed to be a backend for your application.
Re:Why's that company so big? I could do that in a weekend by FigmentEngine on Tuesday October 04, 2016 @03:37AM (#12633902)
Re:Why's that company so big? I could do that in a weekend by morgante on Tuesday October 04, 2016 @10:09AM (#12635616)
Sorry, I'm not sure how that's relevant to my comment? I personally love the diversity of the JS ecosystem, but that doesn't have any bearing on the fact that Ember is simply not a backend framework.
Re:Why's that company so big? I could do that in a weekend by worldsayshi on Monday October 03, 2016 @06:47PM (#12631988)
Meteor
Re:Why's that company so big? I could do that in a weekend by morgante on Monday October 03, 2016 @06:54PM (#12632031)
Meteor is not at all equivalent to Django. I've used both, and they're leagues apart. Meteor still can't even use SQL.

If you choose Meteor, it's going to dictate your entire stack from database to frontend framework. That's fine if what you really want is an all-in-one solution but it's definitely not a Django equivalent.