Client-side vs Server-side, Front-end vs Back-end? Beginner Explanation of JavaScript on the Web

  Рет қаралды 83,663

Scott Hanselman

Scott Hanselman

Күн бұрын

Пікірлер: 136
@timbaxter5669
@timbaxter5669 11 ай бұрын
The visual representation of placing server and client next to each other was suuuuuuper helpful. Thanks!
@nikitauday5137
@nikitauday5137 2 жыл бұрын
This is exactly the kind of content I have been looking for when I left university. Really glad to find this, Thank you so much for sharing. 😊😇
@dionito70
@dionito70 2 жыл бұрын
25 years developing professionally, last 10 doing services' back ends, and I had a good laugh with this video. Could not have explained it better. Keep'em coming!!
@the-tankeur1982
@the-tankeur1982 Ай бұрын
How well and patiently explained this video is, makes me think that your nephew is gifted having you around. Thank you for this sir
@neilranada
@neilranada 2 жыл бұрын
Thanks for clarifying the difference between client-side vs server-side JavaScript! This is the best explanation I've seen.
@yawar110
@yawar110 Жыл бұрын
I loved the way you are using your "movable window" to point out server/ server code and client instead of using those red lines / pointers. When a trainer is having fun in teaching, students have fun in learning :)
@ashleymudra99
@ashleymudra99 2 жыл бұрын
I appreciate how you break this down for us beginners! Thank you! I've had the same confusion and your explanation helped. I'd love to see how you would break down what an actual API is, without using the restaurant-waiter analogy, but with code like in this video
@chillryan
@chillryan 2 жыл бұрын
This is absolute great video Scott. Loved the way you explained it. I think going over server-side rendering would be a nice progression.
@WhileSilent
@WhileSilent 6 ай бұрын
your window and cursor manipulation is impeccable. Made it entertaining and easy to understand what you were saying
@HossamKhalaf-sr1oo
@HossamKhalaf-sr1oo 2 жыл бұрын
Real understanding of the basics is the key to understand the more complicated topics, thanks a million
@Kjrack-u9v
@Kjrack-u9v 11 ай бұрын
Clear and concise. A+. Loved it when you said for "Mom and Dad" 🙂
@eziola
@eziola 8 ай бұрын
Love the "Stuff they didn't teach you" beginner videos. I think there is a large audience of professionals in other fields who just need to know this stuff to get things done. Thanks! I hope you keep making these types of videos!
@mjylove2
@mjylove2 5 ай бұрын
this is so beautiful...i almost cry because this concept was so hard to grasp...i finally think i can understand what it means to be "on the server side" and "on the client side" thank you!
@semimaths
@semimaths 2 жыл бұрын
Explanation of processes and threads on windows would be nice.
@raitup00
@raitup00 6 ай бұрын
I 'm a beginner, and the way you explained these concepts was exceptional!
@mattcargile
@mattcargile 2 жыл бұрын
Thanks Scott! Good to see you! I always enjoy when you talk out technical acronyms. In this case http.
@spstc967
@spstc967 2 жыл бұрын
I dont know why but your voice is so relaxing I could listen to you all day long. Love your content btw
@yaswanthtogarapu8458
@yaswanthtogarapu8458 2 жыл бұрын
this is exactly what the beginners want the content for understading the differnce
@phucnguyen0110
@phucnguyen0110 2 жыл бұрын
Perfectly explained, thank you, Scott! Before I transitioned into a developer, I am a semi-fluent computer user and I was working as a technical support agent - so I did have a slight clue about the topic (without diving too deep). And I ended up learning them more as I wanted to become a (web) developer, but still refreshing to see someone with the technical skill and experience like you breaking it down!
@Jack-ol4yq
@Jack-ol4yq 2 жыл бұрын
whats web development like?
@neyandeva4
@neyandeva4 2 жыл бұрын
A great video Scott. The way you narrate things is really good.
@mvnworldyou
@mvnworldyou 2 ай бұрын
You're a truly gifted communicator 👍
@jesusdacoast872
@jesusdacoast872 10 ай бұрын
Thank you very much, nice , clear and concise explanation
@salamander1782
@salamander1782 2 жыл бұрын
Thanks so much for taking your time to share stuff like this. I really like that you're straightforward with the information so I don't have to skip half of the video where the creator is talking about something else.
@GaryKGaming
@GaryKGaming 2 жыл бұрын
Thanks Scott! I don't really need these videos but I just watch them because you are an all around good egg 😊
@adamshwehne
@adamshwehne 2 жыл бұрын
Gosh your way of teaching is soooo good.. the info come so easy and plain out of your mouth .. and the subjects you choose are just great.. I am a FE developer and yet I find this video very informative.. keep up the good work Sir.
@alanjrobertson
@alanjrobertson 2 жыл бұрын
Your explanations are absolutely superb, thanks Scott 👍
@lonniewatson9109
@lonniewatson9109 2 жыл бұрын
Yes it is very 101 but Had that kind of clarity been available to me decades ago I may still have a full head of hair today at 55... Great as always...
@sigma_675
@sigma_675 2 жыл бұрын
I love this video. Basics like this were never made clear to us, but this video clarified everything. Thank you very much👍
@alinesinclaire2854
@alinesinclaire2854 Жыл бұрын
man FINALLY! thanks you soooo much! I was struggling so much with this concept, you are my hero!
@randolphschreiner4479
@randolphschreiner4479 2 жыл бұрын
Much appreciated. It is a bit confusing when learning to write JS many tutorials have everything run as a client side program. It is good for learning the concepts but makes it difficult to translate over to creating server side projects. This answered many questions for me.
@ThyagoRibeiro-k2k
@ThyagoRibeiro-k2k 2 ай бұрын
Very good video! It helped me understanding a concept that I was passing by without paying the correct attention
@LadyLatency
@LadyLatency 2 жыл бұрын
great stuff Scott! One small thing I would show (which I have found helpful for students) is to run 'ss -tunlp' or 'netstat -tunlp' to show them what it looks like for it to be 'listening'. small addition , but i have found it really helpful since students can now "visualize" whats happening behind the scenes.
@devhulk
@devhulk 2 жыл бұрын
The "Bob Ross" of coding. Love it.
@AlejandroSanchez-ls4hh
@AlejandroSanchez-ls4hh Жыл бұрын
Wow. Really good teaching skills. Your nephew is very lucky 👍
@SauravKumar-vj7ks
@SauravKumar-vj7ks 2 жыл бұрын
Scott , this is really an awesome explanation. You just right away earned a subscriber with this video. Great content man. Please try to explain processes and threads on windows in the next video.
@thejeffkershner
@thejeffkershner 2 жыл бұрын
You are an excellent teacher.
@Contradi
@Contradi 2 жыл бұрын
This stage of my learning is far behind me but if I had had an explainer like this then I would have probably made it further, sooner. Great video as always. I love sending these types of videos to friends who ask.
@nurillaewmuzaffar
@nurillaewmuzaffar Ай бұрын
Great video
@tjwreds1
@tjwreds1 2 жыл бұрын
good video, moving yourself around and pointing cracked me up.
@laxlyfters8695
@laxlyfters8695 2 жыл бұрын
Amazing explanation!!!! Another great beginner video would be to go over the event loop in javascript
@muddy11112
@muddy11112 Жыл бұрын
This is a great explanation. Much appreciated
@Anbu_Sampath
@Anbu_Sampath Жыл бұрын
Loved the way you explained it.
@prateekjha6862
@prateekjha6862 2 жыл бұрын
Can you make a video on client side rendering VS server side rendering? Great video as always Scott :D
@devine_noise
@devine_noise 2 жыл бұрын
You're a great teacher Scott!
@DiomedesDominguez
@DiomedesDominguez 2 жыл бұрын
I think that I love the fact that I can hear the 3D printer working on the background. Almost every day I code with the same background "music".
@PrafullKotecha
@PrafullKotecha 2 жыл бұрын
I just realized Scott would be a very good sleep-story reader on "Calm"!!
@EzerGetulio
@EzerGetulio Жыл бұрын
What an amazing explanation! Thank you so much!
@idanbarhom
@idanbarhom Жыл бұрын
this is the video i'm looking for. i'm a first year computer science student and have a webDevelopment project. suffers from the same issue... ty!!!!
@LewisKo
@LewisKo 5 ай бұрын
best explanation ever. thank you sir
@zhimu-s8e
@zhimu-s8e 8 ай бұрын
Good. It`s very suit for me. For a new project, I'm learning server-side development
@dave4347
@dave4347 2 жыл бұрын
This is absolutely great and so useful, even for someone like me who's been doing this for 10+ years. You have such a simple and clear way of explaining things, and not with a single ounce of ego. Oftentimes, this is the kind of explanation developers in the workplace need but don't get due to assumption of knowledge or egos getting in the way.
@justinmiller3349
@justinmiller3349 2 жыл бұрын
Hey Scott, I'd love to see a video disambiguating classic asp vs asp.net vs asp.net core vs .NET etc. As someone who hasn't done much development inside the microsoft ecosystem I find it a bit confusing to navigate. Thanks again for the great content.
@doowruc
@doowruc 2 жыл бұрын
Some of that is covered in this video: kzbin.info/www/bejne/mHbJc5l4htZqe6c
@Rohit-nn9ky
@Rohit-nn9ky 2 жыл бұрын
Thank you for making it sound so simple. Subscribed!!
@anderlabaka3287
@anderlabaka3287 2 жыл бұрын
Love this content, thank you so much!! I've ended up being an RPA developer (not sure how) and been doing that for the last 4 years. I can develop decently, but don't have the computer science background because I studied something else. This type of video is invaluable for profiles like me - it helps us get general/basic knowledge that I sometimes feel ashamed of not knowing working as a developer.. So thank you!!! Just out of curiosity, although probably has nothing to do: is what you have used to write logs on the client side (line 10) what could be used to run undesirable scripts on someone else's computer? I imagine it must be much more complicated than that, but just made me think about it
@georgeschangler2106
@georgeschangler2106 11 ай бұрын
Your methodology is excellent. You would do great, if you create courses for programmers.
@JohnZuccarelli
@JohnZuccarelli Жыл бұрын
Hey Scott, love and the video and your terminal setup! Any chance you could share the theme and colors you are using for your terminal?
@avanthasiriwardana
@avanthasiriwardana 2 жыл бұрын
Great stuffs as usual Scott
@ThePakman90
@ThePakman90 Ай бұрын
This was a great video, I really appreciate it.
@rayantovi
@rayantovi 2 жыл бұрын
i don't understand this.. is this a front-end or back-end youtube bug, because you're hella underrated!
@its_bea.x
@its_bea.x 2 жыл бұрын
The difference between client side and server side rendering in relation to frontend development
@Saadet-jp6lr
@Saadet-jp6lr Жыл бұрын
lit my last year in the univ- cs. and iwas looking for such a video.
@omedjamal7509
@omedjamal7509 2 жыл бұрын
Great. would be nice if you could go over the benefits and drawbacks of each side of these two rendering and how and when to use them.
@johngreenstreet9347
@johngreenstreet9347 2 жыл бұрын
This is really very helpful. Thank you.
@SteveRogers-gc6hg
@SteveRogers-gc6hg 8 ай бұрын
Thank you very much for this video it was really clarifying!
@jason-yb9qk
@jason-yb9qk 2 ай бұрын
okay so i have a question. I just read an article about three tier web app architecture and it says that the frontend is in a public subnet and the backend is on a private subnet Therefore, the backend is only accessible from the frontend ec2 (I use aws here as an example) instance and not from the public internet. My question is when a user in his laptop access the web which is the frontend ec2 instance and made a backend request (let's say the user clicks a button that has fetch("some backend url")) does the request come from the user's laptop or from the frontend ec2 instance? because if the request comes from the user's laptop does that mean it will not be allowed since the backend is only accessible from the frontend ec2 instance? or does the request is actually made from the frontend ec2 instance? Thank you in advance
@acodersjourney
@acodersjourney Жыл бұрын
Thanks for the great content. Keep it up!
@swamiv330
@swamiv330 2 жыл бұрын
Can you please make an video on how we can use browser debugging tools to identify common web page errors/issues ?
@soccerman1998
@soccerman1998 2 жыл бұрын
Amazing video!!! Thank you for the continuous great content
@mikael2746
@mikael2746 2 жыл бұрын
Hi Mr. Scott. Please, can you tell me, if you want, what VS Code theme you use? Thanks.
@r7boatguy
@r7boatguy 2 жыл бұрын
Scott, have you played around with Home Assistant? It's been a long time since I've been seriously programming, but playing around with HA to create some client-side widgets in JS, it seems that the "client side has access to the server side", and you can actually reference server-side objects in the client-side code. I think there's some websockets stuff going on, but thought I'd ask if you knew how this works, since you seem to tinker with everything!
@shanselman
@shanselman 2 жыл бұрын
surely, the same tech is how Blazor works - location transparency
@r7boatguy
@r7boatguy 2 жыл бұрын
@@shanselman I'm non the wiser, so I guess that's on my list to look at some day!
@MrTranton
@MrTranton 2 жыл бұрын
Hey Scott, i’d love to know what tool you use for zooming and annotating
@adnana4073
@adnana4073 2 жыл бұрын
love your beginner video . we all love to code and I want to see videos about architect an application as a fundamental video I feel the roadmap to building an application is not that clear with architecture. should the app be monothic , layers or m microservies . I hope you understand my concern Thank you Scott. : )
@rahulg9414
@rahulg9414 2 жыл бұрын
hey Mr scott. amazing content.
@nafizimtiaz3539
@nafizimtiaz3539 11 ай бұрын
Awesome explanation !!
@MathCuriousity
@MathCuriousity 5 ай бұрын
Another thing I didn’t understand: you didn’t show the code for how your server was accepting “localhost5000”, where did you write that code?
@letsgameco3514
@letsgameco3514 2 жыл бұрын
Hello, I would to ask what a configuration for the console in Ubuntu do you use?
@adamohm
@adamohm 2 жыл бұрын
Very good video, very basic but it is always nice to get some repetition!
@darkice83
@darkice83 2 жыл бұрын
Care to elaborate why a script tag is bad practice? Is it because JavaScript should be kept in a separate file and then referenced in the html?
@DanielTolentino42
@DanielTolentino42 2 жыл бұрын
Yes
@mngavish
@mngavish 2 жыл бұрын
@Scott Hanselman, what program are you using to record your videos? thx!
@shanselman
@shanselman 2 жыл бұрын
OBS
@bagorolin
@bagorolin 2 жыл бұрын
He has videos about OBS in his channel. Check those out, they are very helpful :) also a podcast with the initial founder if you are interested in background stuff :)
@princeverma7695
@princeverma7695 4 ай бұрын
great presentation
@averyjohnson675
@averyjohnson675 11 ай бұрын
Great instructor
@nicenaija9952
@nicenaija9952 2 жыл бұрын
What vscode theme is this?
@fruittech2944
@fruittech2944 Жыл бұрын
Thank You Mr. Scott
@sigma_675
@sigma_675 2 жыл бұрын
I love this video. Thank you very much👍
@totfosk
@totfosk 2 жыл бұрын
awesome editing!
@MathCuriousity
@MathCuriousity 5 ай бұрын
What was great! Do not worry about things being “too basic”! It was perfect for a noob like me. I have a question - don’t laugh: I thought servers are elsewhere - but you said it was “on your computer”. How does that work?!
@KRISHNAPRASADARYAL-ew1hl
@KRISHNAPRASADARYAL-ew1hl Жыл бұрын
that means some parts of code can be run on client side and other part must be run on the serser even though we make a code under a file name and run it, am i right, sir?
@GameBacardi
@GameBacardi 2 жыл бұрын
Does this "server" close itself after execution or does it matter if leave it run on background ?
@Optinix-gz1qg
@Optinix-gz1qg 2 жыл бұрын
It seems a good idea to close the port when not using it. It depends on your local net and your paranoid level.
@scotthanselperson892
@scotthanselperson892 2 жыл бұрын
How many comments are hidden? I'm looking forward to the next expo.
@williamliu8985
@williamliu8985 2 жыл бұрын
wow.. is there a .net version for demonstrating this client/server thing?
@shanselman
@shanselman 2 жыл бұрын
Exactly the same, except .net code would compile into web assembly and then run within the context of the browser.
@JagTheRipper
@JagTheRipper 10 ай бұрын
Hi I’m currently stuck in my project. I have created a user form with an app.js node backend file connected to MongoDB via an api.js files to mongoDB. I want to somehow add a client side script so that when a user interacts with a button, the page changes accordingly. But I can’t seem to do that on any js file because on console log client it says unable due to text/html MIME. I researched, it’s cause I can’t interact with the Dom while I have a server side rendering script. How do I get around this? Btw I’m also using ejs to help render my pages.
@JagTheRipper
@JagTheRipper 10 ай бұрын
I noticed you said you send a JavaScript file over to the browser but also mentioned should not do this cause it’s bad. Was wondering if got any other method?
@pirateben
@pirateben 2 жыл бұрын
i have a video idea like this and my questions are kinda specific but also has core concepts i want to know .... question i want to make an end 2 end encryption app/website .. this part is the specific part now to the core ... should i do the public privet key part on the client side or the server side ... two where should we store both the public keys and how to keep the privet one secret ... core part in simpler form ... when you run client side code vs server side code and where should we store the data client side or server side .. sorry i cant explain better
@bagorolin
@bagorolin 2 жыл бұрын
Nice video and good example to make the concepts clear. One remark client- and server-side is not the same as front- and backend. I would remove this from the title. Frontend is User-Interface related and backend is all the rest.
@SnobbyLion
@SnobbyLion Жыл бұрын
Very helpful! Thank you
@satishkumasi2326
@satishkumasi2326 2 жыл бұрын
Great video sir. Vlookup in excel
@gugildak12
@gugildak12 2 жыл бұрын
Nice, clear, explanation. thx
@mohammaddr4652
@mohammaddr4652 2 ай бұрын
thanks a lot . that was very helpful to me
@chelmi00
@chelmi00 2 жыл бұрын
Hi Scott, could you send us the file for us to work with it?
@dovids.greenberger435
@dovids.greenberger435 2 жыл бұрын
Thank you this was great!
@headlights-go-up
@headlights-go-up 2 жыл бұрын
localHost 5000 sounds like the name of a nerdy high school garage band.
IL'HAN - Qalqam | Official Music Video
03:17
Ilhan Ihsanov
Рет қаралды 700 М.
Git 101 Basics - Computer Stuff They Didn't Teach You #4
33:50
Scott Hanselman
Рет қаралды 205 М.
My Top Tips for using Windows Terminal like a Pro
16:10
Scott Hanselman
Рет қаралды 101 М.
Full HTTP Networking Course - Fetch and REST APIs in JavaScript
5:08:48
freeCodeCamp.org
Рет қаралды 925 М.
Web Server Concepts and Examples
19:40
WebConcepts
Рет қаралды 267 М.
Backend web development - a complete overview
12:58
SuperSimpleDev
Рет қаралды 1,9 МЛН
Git Pull Requests explained - Computer Stuff They Didn't Teach You #5
21:10
Tmux has forever changed the way I write code.
13:30
Dreams of Code
Рет қаралды 1 МЛН
Everything You NEED to Know About WEB APP Architecture
10:27
ForrestKnight
Рет қаралды 566 М.
How to structure a JS/TS monorepo (From Zero to Turbo - Part 1)
11:58
IL'HAN - Qalqam | Official Music Video
03:17
Ilhan Ihsanov
Рет қаралды 700 М.