When to use Node JS? Ruby on Rails is Off the Tracks!

preview_player
Показать описание
Short answer:

Learn Python 3:

Learn web development fast:

My Instagram:

Thanks!

Stef
Рекомендации по теме
Комментарии
Автор

Rails is still the fastest way to get a web app built. I was actually working primarily as a JS dev for 3 years, first at a unicorn and then at a smaller YC startup. I was happy with Node, but still it seems that the median successful YC startup's tech stack starts and sometimes stays on Rails. Not just the really old ones like Airbnb and Github, but also some of those that are now booming, like Stripe, Coinbase and Teespring.

After a couple of weeks of messing around with Rails, while checking out the digital nomad scene in Chiang Mai, I understood why. I was *already* more productive with Rails than I was with Node+Express, which I'd been using for years! Since it's not a completely apples to apples comparison, I started looking at other MVC frameworks inspired by Rails, namely Django and CakePHP. Both were productive, but clearly an inferior less so than Rails (and in Django's case it's even less performant due to Python's problems in that area). The only framework I saw which came close was Laravel, which is much newer and has much more built into the box.

These days, my primary stack is Elixir/Phoenix as is probably obvious if you check out my channel. I love it since it's both highly productive and *incredibly* performant compared even to Node or Golang/Martini. But if it all came down to speed of shipping an MVP, I'd have to go with Rails every time.

Also, a side note. One does not "do machine learning" with Django. Django is a web framework that would have to communicate with an ML stack that could well be python wrappers over a C++ library. Non-python web frameworks can do that, too.

AlchemistCamp
Автор

And why do you suggest PHP + Framework X for small and medium sized applications? What does PHP offer over ruby except for an ugly syntax and inconsistent semantics? What does Laravel offer over Rails except for maybe less overhead (that you could also greatly reduce in Rails if you go API only + e.g. React).

GS-oiqj
Автор

Learning Web Development right now. Got CSS HTML and JS pretty much down. So I should just skip learninng ruby/ruby on rails totally? And should I even bother learning node.js until the time comes for me to use it since it should be for specialized apps only?

jameshinkle
Автор

Can you suggest some references of where to look for which framework for a particular application?
Like Python/Django vs ASP.net, etc.

straight
Автор

Thanks for the advices teacher Stef, particularly the last one interms of doing sports and maintaining an healthy Body.

I want to mention that a standing desk comes really in handy for the work we do.

P.S. I got a question regarding burnout. I really feel sick and tired of doing anything code related or even tech as well. After learning for almost 8 months straight and then starting to freelance. I got piles of work to do and am really stressed out especially emotionally.

Even though I like programming and taking on projects and enjoy learning new stuff and evolving. But somehow my motivation levels aren't as high as their used to be.

Any advice you can give me teacher Stef?

How to prevent burnout and how to get out of ut if you re already in?
I would really appreciate the help.
Thanks

johannesscheitel
Автор

I use PHP Laravel for backend, React for frontend and Node.js for sockets (I check some data realtime)

aArcziMetin
Автор

Thank you for your videos. What is your opinion about react?

radupatron
Автор

Pretty good video. Although, Node.js is also apart of the MEAN-Stack with Angular, MongoDB and Express. Single Page Application makes for great user experience without page reloading. Don't forget, Ionic and Electron.js can be used for desktop apps and native mobile apps.

marvinl
Автор

Node JS is new? It came out over 8 years ago. At what point is a widely adopted technology not considered new anymore? Apple opened up iOS development around the same time Node JS came out - is that still considered new?

Turbo
Автор

I would like to add: Use node if you need realtime app or you have to deal with heavy I/O.

geeksy
Автор

I am using node for e-commerce. Bad choice?

prateekcool
Автор

Good call for nodejs as a messaging system. But JavaScript is advancing quite nicely (recent async await support) plus many modern language features piping through the tc39. I tend to think JavaScript is not ideal on its own, so i have been leveraging typescripts type system which almost brings JS on par with C#, but nodes has been around for 6 years or so, so not sure about it being new enough for the hipsters :) hey just subscribed, looking forward to your content, the exercise reminder is a HUGE + 1 from me, more people should talk about programming and life balance, maybe a good topic for a video. :) cheers!

BinaryReader
Автор

But I have another way to see things. I think that is not totally fair to compare a web framework, like rails, with a pure language such as node.js.
And the 2nd: the speed doesn't decide everything, what about other things )))
For example, Node is not suitable for processor intensive tasks. The Node API has a habit of changing in backwards-incompatible ways from release to release (i.e. unstable API), unreliability... etc.

maxkos
Автор

Does this info still remain the same for 2020?

ElTexMexAlex
Автор

I think that node is best because of how easy it makes async code. Also, if you are on a small team and need front end devs to do work on backend having JS means less mental overhead for them. Also, NPM ecosystem is awesome.

cwooley
Автор

I'm starting to hate Karlie Kloss.

FlorinToader
Автор

Saw this and pushed myself to workout. I started an intense Yoga program I struggled with before, but it's going much better now because I know more. Good content as usual.

busyrand
Автор

I've seen the same thing with Rails at least where I live in Southern California. I remember the glory days of 100k + offers because they couldn't get enough ROR devs. Now nada. Once in awhile I get a few calls. I've done a few enterprise Rails apps and I will never do it again. Hosting rails apps was a pain and maintaining it was a nightmare. Sure you could build an app quick but now every other major MVC framework can do it. I love your vlogs cause you say it like it is. I've been a web developer since 96. Your videos click with the reality of web development and not the snuff pieces of how JavaScript everywhere is the answer to everything.

BryanSiegeldotcom
Автор

One thing, Express is more mature than Laravel.
Yes. JS in general is constantly releasing new versions, but I don't see it as a bad thing.
They always aim for improvement.
I agree with your choices but maybe for different reasons.

thealpha_
Автор

I've been working in coding since 2001. I honestly ignore all PHP development because it's just better for me, to have one language for the entire web stack.. backend, front end. Makes things simpler.

hwynightkid
join shbcf.ru