Ruby on Rails vs. Django vs. Nodejs

  Рет қаралды 65,362

Chris Hawkes

Chris Hawkes

Күн бұрын

Пікірлер: 140
@ebentee
@ebentee 4 жыл бұрын
Whoever read this you'll be successful one day, let's do this together for the the future
@0colorad0
@0colorad0 4 жыл бұрын
Oh, what a liar... I'm gonna go drink some vodka.
@amongdoomers9464
@amongdoomers9464 4 жыл бұрын
@@0colorad0 You have 49 Smh!
@Jimmy_Jones
@Jimmy_Jones 4 жыл бұрын
My goal is to jump off a cliff. I will be successful one day.
@royz_1
@royz_1 4 жыл бұрын
This probably won't help anyone accomplish anything but I do admire people who are positive and want good for others. So yeah, I am sure that you too will be a successful person one day!
@ebentee
@ebentee 4 жыл бұрын
@@royz_1 Thanks bro
@kelvinsajere191
@kelvinsajere191 2 жыл бұрын
What I’ve learnt in my 4 years as a web developer is that after learning Python, understanding how Django works after a year of learning Python, it was way easy for me to pick up JavaScript, then Vue, React and now nodeJs using the ExpressJs framework. Vue, React, I have been using for a year now, Node, I just picked up a week ago, and I find it’s actually way easier than some people perceive it to be, but I feel like it’s always easier to understand any other web programming tech if your first was Python, with the Django Framework. So yeah, if you were still wondering, all I’m saying is, I think Django is the most robust web Framework.
@DevlogBill
@DevlogBill 2 жыл бұрын
Hi Kelvin, was Python your first programming language? What has been your experience with your first language? Also, from your personal experience how long did you wait before picking up that second language?
@brandonb478
@brandonb478 2 жыл бұрын
100% agree. Did a bootcamp and learned Ruby on Rails and React. Now after just 2 years, I've used Django, Node.js, and .NET relatively easily. I feel like once you know how to program, the language doesn't matter too much. Just find one you like and do what you want to do.
@fathershafiu3414
@fathershafiu3414 4 жыл бұрын
I love Ruby alot and it makes me feel good when programming
@musilicks
@musilicks 2 жыл бұрын
I yearn for that. JavaScript just brings me pain. But I can't get enough
@nujranujranujra
@nujranujranujra 4 жыл бұрын
Ruby on Rails is very easy for beginners. It automatically creates the modules and database connections are very easy to configure. If you wanna develop faster, go for Rails. But NodeJs does not give an off-the-shelf framework feel. Every package has to be installed manually. It doesn't follow any convention which might be an advantage in certain areas. Database configuration is difficult.
@realchrishawkes
@realchrishawkes 4 жыл бұрын
The Ruby magic I hear so much about. :)
@dylanbritz4248
@dylanbritz4248 2 жыл бұрын
Some MVC Frameworks for nodejs has risen in the past years, I use AdonisJS and it makes NodeJs Development a dream, Same thing Rails did for Ruby
@BryceCorbitt
@BryceCorbitt 4 жыл бұрын
A surprising number of companies still use the Spring Framework as well. It's rather slow and complicated to learn, but very reliable.
@mostshockingtop1096
@mostshockingtop1096 4 жыл бұрын
Entire infrastructure is built on Spring need someone to maintain the old infrastructure...otherwise government wouldn't hire people with COBOL.
@navjotsingh2251
@navjotsingh2251 4 жыл бұрын
I work for Shell (UK), we use Spring Framework a lot. It's not that bad tbh I don't think it's too difficult to learn imo.
@musilicks
@musilicks 2 жыл бұрын
@@navjotsingh2251 Spring is just a lil nasty, bru, you can't avoid that fact. It just kinda... i don't know.. looks a lil funky. A little ugly.
@gregfletcher2360
@gregfletcher2360 4 жыл бұрын
I enjoyed the video! Just so you know, the math is wrong for the Ruby On Rails at 7:45. It's 43%, not 70%. That's less than Django.
@umessr8456
@umessr8456 4 жыл бұрын
I noticed it as well ;)
@davidhernandez9275
@davidhernandez9275 4 жыл бұрын
I also noticed it! But I thought I had made bad calculations
@janmsavage
@janmsavage 4 жыл бұрын
fact: ROR is used twice as many times as Django. fact: because objects in Ruby can learn to respond to behaviors (methods) with which they weren't instantiated, ROR can do some pretty fancy and flexible stuff Django cannot do. Together with Postgresql, ROR is the most stable, most efficient, and most powerful web solution.
@realchrishawkes
@realchrishawkes 4 жыл бұрын
Rails is still more widely used than Django, I agree.
@beenmicrophone5817
@beenmicrophone5817 4 жыл бұрын
does that mean that you would essentially have to rebuild the db from the ground up to add extra functionality/relationships ect?
@clumsyjester459
@clumsyjester459 3 жыл бұрын
@@beenmicrophone5817 Most full-blown web frameworks can do database migrations. You just tell it to add a table or column or index and it will do it. Usually you don't touch the database directly. But why take that inderection? Why not just modify the DB by hand? Because by going via migrations, they get checked into your repo and other developers will automatically get them as well. But I think Jan didn't only talk about databases. He talked about meta programming. In Ruby, if you call 'User.unknown_method()', then Ruby tried to find 'unknown_method' in User. If it's not defined, Ruby looks in the ancestor classes. If they don't define it either, it doesn't just throw an error directly. It calls 'User.method_missing(:unknown_method)'. By default, 'method_missing' just throws an error, so it behaves like all other programming languages. But you can override that behaviour by simply defining 'method_missing' for your 'User' class. And 'method_missing' receives ':unknown_method' as an argument, so you can inspect that before deciding what to do. In general, Ruby treat's you like an adult. It gives you sharp tools if you need them and it is your own responsibility not to hurt yourself. I like that mindset. As a beginner, just remember that most problemes (at leat 95%) can be solved with less sharp tools and if it's possible, it's usually the better route.
@Ausind-z4s
@Ausind-z4s 4 жыл бұрын
People will have to research their local market. For example, In Australia there are lot of django, Java-spring, C#, and node express roles. Ruby and PHP are used in few companies. However, django is mostly used in small companies, including start-ups. Banks and Large corporations use Java-spring/C#. Node-express is used by both small and large companies.
@MrMaksuz
@MrMaksuz 4 жыл бұрын
Wtf i heard c# and .net core is the no 1 in australia when it comes to job
@realchrishawkes
@realchrishawkes 4 жыл бұрын
🔥 If you're learning to code, check out my website 👉 codehawke.com/all_access.html 🔥 Learn more 👉 kzbin.info/www/bejne/nKHTY2RrhLiFjJI
@BillClinton228
@BillClinton228 4 жыл бұрын
If you are not coding in Assembly you are a loser and a incel. Also, I'm better than you because I hate PHP.
@lifebarier
@lifebarier 3 жыл бұрын
I was about to learn ruby on rails, but installation calls for instalation of node.js... Went straight back to spring.
@realchrishawkes
@realchrishawkes 2 жыл бұрын
Lol
@neverforget1575
@neverforget1575 2 жыл бұрын
Not anymore lol rails 7 is epic!!!
@lifebarier
@lifebarier 2 жыл бұрын
@@neverforget1575 rubyonrails setup guide still lists node.js as requirement. Though I do see articles saying node is not requirements now... Will need to check it out again
@jovannikolic6346
@jovannikolic6346 4 жыл бұрын
The volume is a bit lower in this video.
@JakobPapirov
@JakobPapirov 3 жыл бұрын
This video is only about the popularity of each technologies, not strengths and weaknesses of each.
@satya.antonio
@satya.antonio 4 жыл бұрын
StackOverflow has a trends tool. Here is possible to see the percentage of questions asked in each technology: insights.stackoverflow.com/trends?tags=django%2Cnode.js%2Cruby-on-rails
@DefCantGame
@DefCantGame 2 жыл бұрын
As someone who loves going to your videos thoughts on laravel (as it starts to enter a more mature stage) and django? I know its ends up being what you know best but i guess if we put that aside and just look at the key advantages and market
@dudebroepicgamer4847
@dudebroepicgamer4847 4 жыл бұрын
I agree. Node js is more popular now for web development. But Python is cool because people use it for a lot of other stuff too. I think Node, PHP, and even Ruby are mostly just used for backend web. That’s my opinion. :D
@nitishsharma7698
@nitishsharma7698 4 жыл бұрын
I am getting job in a small company working on Ruby on Reils projects. Should i go ahead with that and investvmy time learning Ruby and Reils framework?
@realchrishawkes
@realchrishawkes 4 жыл бұрын
If you got a job using it.. hell yeah
@nitishsharma7698
@nitishsharma7698 4 жыл бұрын
@@realchrishawkes Thanks
@nitishsharma5147
@nitishsharma5147 2 жыл бұрын
@@benzflynn thanks for a very intellectual and polite answer. My question indicated i already have a job and a small company wants me to learn this tech from scratch to join them. And my question was to get some view about investing time with new thing with a new company.
@TheJonhjonhz
@TheJonhjonhz 4 жыл бұрын
I have worked with RoR and Django and I prefer rails for the features and fast development but Django is a very good framework can be done everything you need.
@taab84
@taab84 4 жыл бұрын
I too used both frameworks and rails is more convenient
@AMC-throwaway
@AMC-throwaway 4 жыл бұрын
@@taab84 It would be nice if rails came out of box with an admin like django
@clumsyjester459
@clumsyjester459 3 жыл бұрын
@@AMC-throwaway If you have proper authorization management in place in your application already (e.g. consul + assignable_values) and build your forms with 'simple_forms' in Rails, it doesn't take much more effort than the default admin interface in Django. And you should probably already use such gems for the non-admin screens.
@georgiosdoumas2446
@georgiosdoumas2446 4 жыл бұрын
Looking at the number of new questions asked per year inside StackOverflow is a hint to the new people that are getting interested to learn that technology (and as newbies they have questions to ask) , and not necessarily what are the available jobs (or how much the companies are using that technology) . It also reflects the lack of good books/video-courses on that technology! Imagine a language/framework that is so good, so user-friendly and so well documented and with some good books, that thousands of programmers use it, but only a few hundreds questions need to be asked per year!
@w1d3r75
@w1d3r75 4 жыл бұрын
You just described Rails
@georgiosdoumas2446
@georgiosdoumas2446 4 жыл бұрын
@@w1d3r75 You mean rails is an example of the good language that no questions need to be asked? Or it is the opposite?
@w1d3r75
@w1d3r75 4 жыл бұрын
Yeah, Rails is an example of a mature framework that does not change every six months. Plus the RoR community it's one of the most collaborative that you will find
@davidbasil2727
@davidbasil2727 4 жыл бұрын
Rails is a Rolls Royce of web frameworks. Its a true "full-stack" framework because it has ajax support.
@TheBrownSys
@TheBrownSys 4 жыл бұрын
What do you mean by "Ajax support"?
@davidbasil2727
@davidbasil2727 4 жыл бұрын
@@TheBrownSys ujs, turbolinks, server generated Javascript
@Muhammadwaseemkha9003
@Muhammadwaseemkha9003 4 жыл бұрын
i am learning django its so aweosme
@Scottni2
@Scottni2 3 жыл бұрын
100% facts!
@dineshsadhwani3717
@dineshsadhwani3717 4 жыл бұрын
i’m not sure if you can use search term data for “Django” because you may be mixing data about the movie “Django unchained” in there
@lawrenlelko
@lawrenlelko 4 жыл бұрын
I like Udemy, but their ads really turn me off.
@realchrishawkes
@realchrishawkes 4 жыл бұрын
The worst. I worked with them a bit and decided to go my own way
@mr_don_key
@mr_don_key 4 жыл бұрын
@@realchrishawkesand Lawren Lelko: Which ads? i haven't seen any!
@DevlogBill
@DevlogBill 2 жыл бұрын
Hi Chris, I hear from most about you should be really concerned about the popularity of a framework whether it is Node or Django. My question is, is popularity really a factor? I ask because I am in New York City so I think maybe this shouldn't be so much of an issue for someone like me? You have so many types of industries here. My question is popularity really a factor? In your personal opinion is Ruby still a viable option? I also ask because I see everyone running to node.js my thought is this makes that technology over saturated maybe I should go the other direction? What are your thoughts? Thanks Chris.
@dankierson
@dankierson 2 жыл бұрын
The decision is not clarified. You try to cover both the question which to learn and which to use. But you don't detail the vital differences between the 3 frameworks. Django and Rails are multi-threaded and by default *blocking,* i.e. all threads' tasks are stopped when a database/file-system/network call is made. Node.js is by default single-threaded and *non-blocking* to all user requests except other database/file-system/network calls. For database query intensive work Node.js is 20 times faster than Rails. But for CPU intensive work, Ruby is several times more efficient than Node.js. That is when both frameworks are in default configurations. Yet Node.js can be configged to put CPU intensive tasks on separate threads. And Rails has some async libraries to allow non-blocking tasks to execute in waiting intervals during the database/file-system/network calls. One point of correction at 3:00 - JavaScript used at Node.js backends is *way way* more sophisticated in its constructs than the JavaScript that is adequate for the browser. It takes time to learn async JavaScript and to best use it. Jobswise Node.js wins hands down.
@royz_1
@royz_1 4 жыл бұрын
I bet out of those 200k+ questions on Django, more than half are regarding migrations. I am currently learning Django and migrations are a pain in the.. you know where!
@realchrishawkes
@realchrishawkes 4 жыл бұрын
It is such a pain. Always caused problems for me. Django 2.0 was even worse.
@rafsun69
@rafsun69 4 жыл бұрын
Well I never really had serious problems with migrations. Its pretty simple once you know WHY you're doing it. And considering the amount of effort to carry out the same task in Nodejs, Django does a lot for you!
@TheSirgo23
@TheSirgo23 4 жыл бұрын
NodeJS seems to grow even more. The problem with django is that it doesn't support GraphQL. Nowadays people seem to go for some boilerplate skip tools like hasura, apollo, prisma, postraphile, strapi and many others. Devs and startup companies do not want to waste time on writing again and again auth/CRUD operations. Maybe you could make a video about these tools?
@sakshamkapoor5905
@sakshamkapoor5905 4 жыл бұрын
We can use graphql in django. Install graphene.
@MrAndreiZima
@MrAndreiZima 4 жыл бұрын
Exactly what @@sakshamkapoor5905 said. In order to use GraphQL in Django, you need to install graphene.
@mr_don_key
@mr_don_key 4 жыл бұрын
wrong: you can use ALL backend tech in django, including GraphQL.
@NishantCosmos
@NishantCosmos 3 жыл бұрын
django is so scalable i heared
@walterprorok7986
@walterprorok7986 4 жыл бұрын
What, no Laravel?
@ElTexMexAlex
@ElTexMexAlex 4 жыл бұрын
What about asp.net or asp.net core bro?
@18.michaelmaramag89
@18.michaelmaramag89 4 жыл бұрын
If you want a painful and nighmare development choose node. Since i just tried it for project, and i will never comeback.👿 for me rails way so easy, plus more netflix time 👌.. or dont choose the 3 of them.. choose golang..
@arslanbekametov4251
@arslanbekametov4251 4 жыл бұрын
what about laravel ??
@aarongarza4769
@aarongarza4769 3 жыл бұрын
Laravel = PHP
@Artymka
@Artymka 4 жыл бұрын
NodeJS But it was bought by Microsoft Ruby opensource and she has a future in this and it is much faster than NodeJS C# sharp as I understood this language if you want to work in companies almost everywhere . Python in the future will be large-scale open source language and it will have a ide like qt (C++ )
@mr_don_key
@mr_don_key 4 жыл бұрын
Seem you have clearly no idea/experiences with any of the languages: some errors: - Node is NOT bought by Microsoft. NPM is, but NPM != Node. - All the mentioned languages are Open Source - ruby is way slower than Node (many benchmarks and real life scenarios have proven this) in most use cases. It might be fast enough for many usecases though.. - QT itself is not an IDE, it's a set of libraries and (mini) frameworks, that are tied to an IDE (QT creator) and make system. Sure there are wrappers made for using QT libs with Python, but QT creator doens't recognise python code at all. (synthax highlighting etc.)
@technomancr7187
@technomancr7187 4 жыл бұрын
Javascript development is such a hot mess, I've gone back to Ruby (and Rails) and I'm much happier for it. Keeping Javascript frameworks for the front-end.
@kamikaze9785
@kamikaze9785 4 жыл бұрын
Can u tell any reason
@musilicks
@musilicks 2 жыл бұрын
@@kamikaze9785 closures hurt their wittle bwain
@arifarslanturk2951
@arifarslanturk2951 4 жыл бұрын
NodeJS
@naheliegend5222
@naheliegend5222 4 жыл бұрын
What about Flask?
@realchrishawkes
@realchrishawkes 4 жыл бұрын
I guess you could replace that with Django.
@mr_don_key
@mr_don_key 4 жыл бұрын
You have to write javascript on the frontend.. this is not true at all.Not all sites use custom js code. Many are plain old school mpa sites, that use jquery because of bootstrap. the rest of the site operates without wriiten one line of js code
@mahmudurrahman9052
@mahmudurrahman9052 4 жыл бұрын
Does Laravel not come into this context??🤔
@realchrishawkes
@realchrishawkes 4 жыл бұрын
It could be added to the discussion but I planned that in a different video going head to head with another tech.
@Ragnarok540
@Ragnarok540 4 жыл бұрын
PHP, don't bother
@juancarlosaguilarlopez9252
@juancarlosaguilarlopez9252 4 жыл бұрын
Node js has been the first backend I used, fortunately that knowledge was transferable to learn Spring framework with java, and I liked it.There are a myriad of Spring framework tutorials so it's really easy to start.But learning java is arduous compare to JavaScript.
@AlexanderSuraphel
@AlexanderSuraphel 2 жыл бұрын
Learning Spring is more arduous than learning spring which over abstracted mess I’m glad I’m not using anymore.
@ayresnarita
@ayresnarita 2 жыл бұрын
If you need to take things of the ground, go Ruby on Rails, if you need a job, JavaScript.
2 жыл бұрын
THANKS!!
@mostafaseyedashor8768
@mostafaseyedashor8768 3 жыл бұрын
hi chris, thank you for the video, i think it was better if you have compared these frameworks more deeply
@rileydavidjesus
@rileydavidjesus 4 жыл бұрын
I picked NodeJS for obvious reasons.
@aidenyang747
@aidenyang747 3 жыл бұрын
Mark my words: any program that can be written in Ruby will be written in Ruby!!!!! Ruby is the only language you should learn
@realchrishawkes
@realchrishawkes 3 жыл бұрын
Thanks for sharing!
@TSAVIX
@TSAVIX 3 жыл бұрын
@@dhirendrasinhrana202 Python говно.
@kelvinsajere191
@kelvinsajere191 2 жыл бұрын
When Python and JavaScript exists? That quote was actually for the JavaScript programming language and was never for Ruby. Stop the cap.
@dalitsobotha7932
@dalitsobotha7932 4 жыл бұрын
Thank you so much Chris! Very informative video.
@realchrishawkes
@realchrishawkes 4 жыл бұрын
Thank you for watching and the comment
@rileydavidjesus
@rileydavidjesus 4 жыл бұрын
I don't see Laravel. Lol
@realchrishawkes
@realchrishawkes 4 жыл бұрын
I need to cover that lol
@mahmudurrahman9052
@mahmudurrahman9052 4 жыл бұрын
And I have just posted similar question lol
@rahullanjhekar368
@rahullanjhekar368 4 жыл бұрын
@@realchrishawkes lol
@GeetaKumari-vu4qq
@GeetaKumari-vu4qq 4 жыл бұрын
@@rahullanjhekar368 lol lol
@justinprakashraj6256
@justinprakashraj6256 3 жыл бұрын
lol
@nahidkarimankur4828
@nahidkarimankur4828 4 жыл бұрын
Here is the in depth discussion about nodejs vs django readerheart.com/nodejs-vs-django-who-is-the-most-powerful-technology-for-backend-web-development-in-2021/
@sanderhegeman3194
@sanderhegeman3194 3 жыл бұрын
Django 4life 💪🏼
@realchrishawkes
@realchrishawkes 2 жыл бұрын
Still love it
@johnplaid648
@johnplaid648 4 жыл бұрын
You sound muffled.
@sajalhsn13
@sajalhsn13 4 жыл бұрын
sound volumn is lower
@leandro.barroso
@leandro.barroso 4 жыл бұрын
Good job sir! It's a very helpful video to me.
@realchrishawkes
@realchrishawkes 4 жыл бұрын
Glad it was helpful!
@RakibFiha
@RakibFiha 4 жыл бұрын
Flask
@jxsl13
@jxsl13 4 жыл бұрын
buffalo golang ftw.
@MrRobertosoto
@MrRobertosoto Жыл бұрын
PHP still the king.
@raha5184
@raha5184 4 жыл бұрын
I'll pick Node.js... coming from front-end 👍
@Sam-gd4xp
@Sam-gd4xp 4 жыл бұрын
A lot of rambling, what was the point again?
@georgiosdoumas2446
@georgiosdoumas2446 4 жыл бұрын
The point as I get it is : just choose any of the 3 , you could find a job.
@gogogogogogogogogogog9
@gogogogogogogogogogog9 4 жыл бұрын
php 💙
@jlindsay
@jlindsay 3 жыл бұрын
node kills python and ruby...
@Muaddibkhan
@Muaddibkhan 4 жыл бұрын
Dude get a new mic
@baguswachyunuralam9062
@baguswachyunuralam9062 3 жыл бұрын
Sekarat
@realchrishawkes
@realchrishawkes 3 жыл бұрын
Thanks for sharing
@Abdulkadir-vb3vj
@Abdulkadir-vb3vj 3 жыл бұрын
Learn Ruby if you want to stay unemployed
@SoldierXfreedom
@SoldierXfreedom 3 жыл бұрын
LMFAO
How I Learned Ruby on Rails in 2 days
13:14
Travis Media
Рет қаралды 24 М.
Mom Hack for Cooking Solo with a Little One! 🍳👶
00:15
5-Minute Crafts HOUSE
Рет қаралды 23 МЛН
Beat Ronaldo, Win $1,000,000
22:45
MrBeast
Рет қаралды 158 МЛН
Sigma Kid Mistake #funny #sigma
00:17
CRAZY GREAPA
Рет қаралды 30 МЛН
10 Reasons To Use Python Django
16:41
Chris Hawkes
Рет қаралды 45 М.
Django vs Node.js: Choosing the best framework...
7:24
Jelvix | TECH IN 5 MINUTES
Рет қаралды 41 М.
Is Coding still worth it in 2024? (as an ex-Google programmer)
13:36
Heroku Is Dead, Here's What I Recommend
11:59
Theo - t3․gg
Рет қаралды 271 М.
FastAPI vs. Django vs. Flask
14:29
Chris Hawkes
Рет қаралды 67 М.
STOP Learning These Programming Languages (for Beginners)
5:25
Andy Sterkowitz
Рет қаралды 738 М.
PYTHON VS NODEJS | HERE'S WHAT WE THINK
6:22
Jelvix | TECH IN 5 MINUTES
Рет қаралды 121 М.
Mom Hack for Cooking Solo with a Little One! 🍳👶
00:15
5-Minute Crafts HOUSE
Рет қаралды 23 МЛН