Dynamic Websites vs Static Pages vs Single Page Apps (SPAs)

  Рет қаралды 146,144

Academind

Academind

Күн бұрын

Пікірлер: 172
@academind
@academind 5 жыл бұрын
Which kind of web pages have you built already? What was most fun?
@vaheghevondyan9437
@vaheghevondyan9437 5 жыл бұрын
Hi Max, I created SPAs via React. It was most fun.
@MegaCristisan
@MegaCristisan 5 жыл бұрын
SPA (including OpenId and OAuth2) with React/Angular and Lumen
@aminghost1970
@aminghost1970 5 жыл бұрын
Both static and SPAs, the latter im now having fun building with react
@vladislavbarbarii2089
@vladislavbarbarii2089 5 жыл бұрын
@@4Sell from the video: "SPAs have problems with SEO because search engine crawlers dont necessarily wait for the javascript code running in the browser to complete rendering especially when you first of all need to fetch some content from inside your js code". This explanation was enough for me personally...I hope this helped
@alexandros-markovits
@alexandros-markovits 5 жыл бұрын
I have created simple static ones (html - css - js), an SPA with Vue, a Universall with Nuxt and a couple of static ones with Nuxt.
@TraversyMedia
@TraversyMedia 5 жыл бұрын
You like air max too? I have about 15 pairs including the ones behind you :) I love the white and red. I collect those along with Jordan 1s. Great vid by the way :)
@logicstv
@logicstv 5 жыл бұрын
This is a really needed video, especially for those coming from the oldest approach.
@academind
@academind 5 жыл бұрын
Thanks so much Brad! And yeah, started wearing them a few months ago and got into collecting them (kind of...)
@TheInphinion
@TheInphinion 5 жыл бұрын
My two favorite instructors, Brad and Max!
@michakowalewski5409
@michakowalewski5409 5 жыл бұрын
@@TheInphinion true that! I had the same idea when I read Brad's comment. Both channels are awesome!
@MohammedIqlasUddin
@MohammedIqlasUddin 5 жыл бұрын
Two of the greatest educators on KZbin
3 жыл бұрын
remember all those older PHP sites that returned a different content page based on an id tag given as an URI component? Yeah.. I don't miss those days.. I like the way routing is implemented and works today.
@jhonasn
@jhonasn 4 жыл бұрын
Perfect, that was exactly what I was looking for to show to some begginers in web dev world. Thank you very much!
@vasilisplavos
@vasilisplavos 5 жыл бұрын
Static Pages for the main website Dynamic Website for Blogs, Forums etc Single Page Apps for Tools, Applications etc
@juhavehnia7862
@juhavehnia7862 3 жыл бұрын
Great video! I think the pros and cons should also include mention of scalability. Server side rendering is very expensive especially when you have to serve thousands of clients per hour. SPAs can scale to unbelievable heights because the burden is now on the clients. Most laptops are mobile devices are less than 5 years old and well capable of SPAs so I don't think rendering performance is really a concern any more. My point is that when you also offload your static content including all images, the SPA JavaScript bundle itself to a CDN (Content Delivery Network) you are basically left with just API requests. Depending on your application this could easily be 10 x improvement. Not forgetting that you no longer need to.cache any static content on your site. Expose that naked NGINX which is BTW superb for this application.
@jean4j_
@jean4j_ 4 жыл бұрын
The most enjoyable thing about SLA is the fact the frontend code finally get well structured just like a backend application. Everything is a component. That being said, this type of structure can be achieved with web components with no SPA involved.
@myticas
@myticas 2 жыл бұрын
Maximilian Schwarzmüller is a top of the top educater - every video I know is undoubtable leading straight to the announced content - no frills at all.
@johnmathew8543
@johnmathew8543 3 жыл бұрын
I searched many videos for this topic, so far this is the best explanation I found on KZbin
@gianlucazin36
@gianlucazin36 3 жыл бұрын
I come back to this video every now and then to make order into my mind, you are a hero!
@gilmoretj
@gilmoretj 5 жыл бұрын
Another challenge for SPA's can be accessibility. Audio browsers can find it difficult on detect browser generated content.
@DogmaKrone
@DogmaKrone 5 жыл бұрын
Damn, this video answered so many of my questions. I really like the fact that there's no better technology, but rather everything is great depending on the situation. Great video, have a nice day :)
@academind
@academind 5 жыл бұрын
Awesome to read that the video was helpful for you! Thanks for your great feedback, I also wish you a nice day :)
@julianz.5316
@julianz.5316 5 жыл бұрын
Seems like all major downsides of SPAs are eleminated when the page is shipped as an Electron application. So for Electron a SPA-framework is the most suitable I guess. ;)
@learnwithlaura3
@learnwithlaura3 5 жыл бұрын
Thank you for a great explanation! I´ve been trying to figure out the differences for months. I also like the new background.
@academind
@academind 5 жыл бұрын
Thanks a lot for your awesome feedback Laura!
@doubledouble3454
@doubledouble3454 5 жыл бұрын
I would add a pro for spa which is based on the fact that you can offload the server by removing the task of rendering. Also the nature of spa sometimes requires second database like redis for storing critical information. That way can an app can gain huge performance improvements due to asynchronous nature of the connection between server and client.
@stuart1969
@stuart1969 5 жыл бұрын
It feels like this video is a lowkey introduction for gatsbyjs and where this technology sits in place. i like gatsby, please make a comprehensive tutorial. 👍
@academind
@academind 5 жыл бұрын
I like Gatsby but the video is not supposed to be an introduction to it ;) I might create a tutorial on it in the future, but I got no concrete plans to do so at the moment.
@valeriofunk5000
@valeriofunk5000 4 жыл бұрын
i made a single page e-shop with js and php but it is a 3500 line nightmare that works like a charm.
@911madza
@911madza 5 жыл бұрын
although SPA is where its at in 2019, dynamic sites are much more fun to build (especially if you are specialized in back-end)
@JR-mk6ow
@JR-mk6ow 5 жыл бұрын
To be honest it gives me a false sense of achievement. It's OK to link all stuff and make everything work like a well-structured plan. But like... It's not challenging, it just takes a bit more time but it's not hard 🙄
@911madza
@911madza 5 жыл бұрын
@@JR-mk6ow true dat, asynchronous stuff has always been more challenging than pure dynamic code.... tho, in comparison against whats out there, web development has always been kind of "baby programming" for me... if you want to challenge yourself, go for functional languages and math heavy programming like game engines, audio programming and so on... for free time there are also esoteric langs, to get to know your limits :)
@jean4j_
@jean4j_ 4 жыл бұрын
@@911madza really? I did some websites with Django and SPA apps with React and Vue. I have to say SPA is much more fun to do. I also prefer the fact the backend is totally separated from the frontend with microservice type of architecture
@nelzkie777
@nelzkie777 4 жыл бұрын
Ah got it. I was confused about this sever side rendered and client side rendered. Your explanation is really good. Thanks.
@alind9947
@alind9947 5 жыл бұрын
Hello, as far as I know React is used mostly for SPA. I m curious what developers use mostly for multi page apps. What are the most popular choices? I know that with Node JS you can use some template engines to make pages dynamic. Can you tell me most popular choices for multi page applications? I know that SPAS are a thing right now and almost everything is built that way but I was curious about multi page apps too.
@alexmalikov924
@alexmalikov924 5 жыл бұрын
Amazing Video Max!! You are great explaining!! What about using Nuxt JS for solving problem with SEO?
@academind
@academind 5 жыл бұрын
Thank you so much! Sure, Nuxt.js is decent for that - you can build both a SSR and pre-rendered (static) site with it
@RahulRoy-id5yf
@RahulRoy-id5yf Жыл бұрын
This video really filled a lot of knowledge gaps that i had regarding web development
@georgesmith3022
@georgesmith3022 5 жыл бұрын
with static sites you dont have to worry about security, backing the database, patching the code when there is a new hack exploit, etc. and it costs less.
@martinlionel7487
@martinlionel7487 5 жыл бұрын
Spa is also to move charge from server to Client... That one main raison to do spa
@Advertisingvideos
@Advertisingvideos 5 жыл бұрын
I must rebuild one static web site for rental, which have good SEO, when I make it dynamic will I lost popularity and how much ? What is better to be done in my case??
@MuhammadHamza-uh1lu
@MuhammadHamza-uh1lu 2 жыл бұрын
Great explanation bro. Put the perspective straight. Kudos.
@shawnli7814
@shawnli7814 3 жыл бұрын
For static websites, why can't we just use javascript to fetch data from backend api and use dom manipulation to update the page? In this way we achieve the same result as dynamic websites, but with isolated front end and back end. Is this a common use case?
@AlanHearnshaw
@AlanHearnshaw 3 жыл бұрын
This is exactly what I’m doing with the current project I’m working on. Being a long-time “old-school” developer with stacks like ASP/SQL server and Php/MySQL, I made the effort to learn React and Vue, and even started rewriting the application with the framework. I finally came to the conclusion that it introduced as many issues as it solved, and was a headache. Most of the site now is php/MySQL, and there are one or two pages which benefit from SPA-like functionality (what we used to call DHTML). I simply execute JavaScript fetches on that page, and update dynamically and manipulate the DOM. There really is no need for an entire JavaScript framework. SPAs are just du-jour right now. Most of the time, you don’t need a mallet to crack a nut.
@ismayilmammadli2554
@ismayilmammadli2554 5 жыл бұрын
Can you upload a video about why you don't love PHP?
@ajiteshrajan127
@ajiteshrajan127 5 жыл бұрын
Good overview in less time! It will geat if provide some link of active website/dummy pages for all kinds.
@rodgwr
@rodgwr 3 жыл бұрын
I want to build a personal portfolio with 3 sections (home, projects, about), and whenever the user clicks on one of those sections, the content currently displayed on the page fades out, then the new content fades in. To achieve this, which type of website should I approach?
@leonelnascimento5078
@leonelnascimento5078 2 жыл бұрын
The answer is SPA.
@Capatron1
@Capatron1 5 жыл бұрын
What a great insight this video gave to me! Thanks for sharing it, learned a lot!
@academind
@academind 5 жыл бұрын
Thank YOU for your awesome feedback!
@agung_laksana
@agung_laksana 5 жыл бұрын
I am new in web development, so if I make Single Page Application, I just need to connect it to Restful API from backend. am I right ?
@EduardKaresli
@EduardKaresli 5 жыл бұрын
So, if you want to build your or anyone else's portfolio/personal site, what would you use? Would you still go the SPA way? (that's what I'm trying to do)
@hector3dev
@hector3dev 2 жыл бұрын
static would be fine.
@victormendoza3295
@victormendoza3295 2 жыл бұрын
What about for blogs or sites like indeed with article type of content?
@felixem17
@felixem17 5 жыл бұрын
what about deploying a node app that executes a client (React application)? is that a a bad practice? I used this approach for manage an office 365 authentication in multiple resources (client auth, adal, API).
@drakZes
@drakZes 3 жыл бұрын
So is a blazor web app or Angular web app without a dedicated server a SPA?
@mikojan85channel
@mikojan85channel 4 жыл бұрын
I got confused at 6:53, when you mentioned "the cloud".
@howwasthat3505
@howwasthat3505 5 жыл бұрын
You are the Best Teacher! Maxi
@academind
@academind 5 жыл бұрын
Thank you Mohsin :)
@dean6046
@dean6046 5 жыл бұрын
You're the man Max! I was wondering what kind of hobbies do you have? Are you into music or fitness or cooking, or what?
@academind
@academind 5 жыл бұрын
I do indeed love cooking, besides that a bit of sports, a bit of gaming, nature and enjoying the city
@cliffordowusu5344
@cliffordowusu5344 5 жыл бұрын
So please can we harness the advantages in all of them so that we can get a perfect website with no downsides or we have to choose only one for a particular project??
@w_ulf
@w_ulf 4 жыл бұрын
Danke vielmals! Der Hammer. Great English, how did you learn? I'm a web dev and TEFL cert holder and love languages and learning them. Always interested in how people get involved in other speaking other tongues.
@zachfenton608
@zachfenton608 3 жыл бұрын
Ich wusste dass er Deutsch spricht.
@manojthakur-vk8lp
@manojthakur-vk8lp 4 жыл бұрын
Excellent. Lots of love from INDIA
@HarshitSharma-ir3ls
@HarshitSharma-ir3ls 3 жыл бұрын
Great content brother....Thank you!
@astroboyhasguns
@astroboyhasguns 3 жыл бұрын
Great summary. Subscribed.
@azizkosber5767
@azizkosber5767 3 жыл бұрын
Thank you, this was super informative and clear!
@TheDebarghya09
@TheDebarghya09 3 жыл бұрын
This was really very helpful!
@graficandorealidades7561
@graficandorealidades7561 3 жыл бұрын
The concept of Dynamic Website you gave it's the same of what they call 'server side rendering', which is confusing. What's the difference?
@nagarajanganesan2726
@nagarajanganesan2726 3 жыл бұрын
Hi, already I have an app with integrated angular and nodejs run on the same server. How can I do server side rendering of angular in this existing Integrated approach by using angular universal?
@hector3dev
@hector3dev 2 жыл бұрын
You can use Pug template engine that goes great with NodeJs for server side rendering and forget about angular.
@davidbasil2727
@davidbasil2727 5 жыл бұрын
Web browsers and http was never supposed to be an "app". If you want an "app" experience, download it from the play store or install it on your computer.
@academind
@academind 5 жыл бұрын
So things never change?
@davidbasil2727
@davidbasil2727 5 жыл бұрын
@@academind Barely. 95% of websites are traditional multi-page, server-rendered applications. And mobile app market is growing daily. Web will never have native (mobile and desktop) applications.
@RFranks
@RFranks 3 жыл бұрын
Never been convinced by SPA's. For 99% of cases they aren't necessary and you end up just re-implementing browser functionality in a more buggy and less secure way.
@hector3dev
@hector3dev 2 жыл бұрын
i agree.
@faizullahmohammadi4904
@faizullahmohammadi4904 5 жыл бұрын
I have a question,how control more content in single websites?
@highjumpdev3692
@highjumpdev3692 5 жыл бұрын
You never disappoint me!
@kokizzu
@kokizzu 5 жыл бұрын
mixing dynamic page with ajax for CRUD operations that only updating that page the problem is just when I want to make PWA..
@martinlionel7487
@martinlionel7487 5 жыл бұрын
You don't talk of cache system for dynamic system to make '' static site'' or universal render (ssr+ csr)
@tasnimelmoghrbi
@tasnimelmoghrbi 5 жыл бұрын
Hello , Which best for build search engine ?
@chandinirs
@chandinirs 4 жыл бұрын
Are multipage applications categorised as dynamic web app ?
@kunalgupta116
@kunalgupta116 3 жыл бұрын
very nice and simple explanation 👍
@AbhishekKumar-mq1tt
@AbhishekKumar-mq1tt 5 жыл бұрын
Thank u for this awesome video
@feranmiafrica9528
@feranmiafrica9528 5 жыл бұрын
Hey.. max pls would you do a tutorial on AWS ?
@academind
@academind 5 жыл бұрын
I do have AWS content already :) => academind.com/learn/aws/
@GeorgeMonsour
@GeorgeMonsour 5 жыл бұрын
How do we clone your drive, knowledge and teaching skill? Wow!! As I watch your output I wonder about the organization you've built. I would hope you have a consulting/product division running too. Your udemy support people are superb! So you don't have a problem selecting and delegating in such an enterprise.
@academind
@academind 5 жыл бұрын
Wow, thanks so much! That's really amazing to hear! :) Currently, I got no consulting plans though - I just love coding and creating tutorials/ demos etc
@Deliverant
@Deliverant 5 жыл бұрын
Max would be awesome if you could release a crash course or something on Gatsby
@academind
@academind 5 жыл бұрын
No plans to create such a course at the moment, but definitely on the "ideas" list so we'll see :)
@ayub8457
@ayub8457 5 жыл бұрын
I personally prefer to use turbolinks instead of spa if the app is not a cross platform.
@ImmaterialDigression
@ImmaterialDigression 5 жыл бұрын
Love these videos!
@RishabhJain-uv7zj
@RishabhJain-uv7zj 3 жыл бұрын
Absolutely amazing!
@akshattamrakar9071
@akshattamrakar9071 5 жыл бұрын
Please answer this question, which one of Angular, React and Vue you personally prefer
@academind
@academind 5 жыл бұрын
I tried my best to answer that question in this video/article => academind.com/learn/angular/angular-vs-react-vs-vue-my-thoughts/
@VirendraBG
@VirendraBG 3 жыл бұрын
@@academind Wow. Such a detailed information on all three. Appreciate. 👍🏻
@surendrajat7290
@surendrajat7290 3 жыл бұрын
prefect explanation
@Marius752
@Marius752 5 жыл бұрын
Thank you, that was really good explanation. you rock ;)
@academind
@academind 5 жыл бұрын
Thanks so much for this fantastic feedback Marius!
@constantinegamers
@constantinegamers 5 жыл бұрын
can you make a course on wodpress + Angular?
@shaneblackwoodGodbless
@shaneblackwoodGodbless 5 жыл бұрын
Does a course on this, please plenty show basic of language but not how they come together
@StijnHommes
@StijnHommes 3 жыл бұрын
As long as you make a real native app, it doesn't matter if your website is dynamic, static or a single page. Use whatever works best. Just don't go confusing websites and apps. Or worse, try to make a PWA.
@akashtakawale9074
@akashtakawale9074 5 жыл бұрын
Amazing explanation!!! 😘😘
@academind
@academind 5 жыл бұрын
Thank you Akash!!
@ChauNguyen-jm5ij
@ChauNguyen-jm5ij 5 жыл бұрын
Awesome content!
@rustemibragimov1108
@rustemibragimov1108 5 жыл бұрын
You do not plan to update the course on nuxt)))?
@academind
@academind 5 жыл бұрын
The course actually is up-to-date, not sure what update you're referring to here?
@rustemibragimov1108
@rustemibragimov1108 5 жыл бұрын
@@academind there was a nuxt update, I did not receive notifications with udemy. decided that this course is not supported. sorry if not right)
@vinaykumar-qe4zx
@vinaykumar-qe4zx 5 жыл бұрын
sir..Which technology you built your 'Academind' website in?
@임창수-c7c
@임창수-c7c 5 жыл бұрын
Nuxt
@academind
@academind 5 жыл бұрын
That's correct, we used Nuxt, but I found Gatsby pretty interesting so we switched to it some months ago :)
@Kicknee
@Kicknee Жыл бұрын
Great explanation. Thx
@tamannasain7453
@tamannasain7453 2 жыл бұрын
Great video!!
@mohamedaminebejaoui1376
@mohamedaminebejaoui1376 5 жыл бұрын
Very Good :) , but what about making a series or a video about elasticSearch or elastic stack? :)
@harelwahnich3447
@harelwahnich3447 2 жыл бұрын
you are incredible. thank you.
@VinothKumar5403
@VinothKumar5403 5 жыл бұрын
Liked before watching video.
@limpep
@limpep 5 жыл бұрын
Where can I buy that jumper?
@academind
@academind 5 жыл бұрын
Only available for us, we don't offer any merchandise (yet), sorry :/
@miles611
@miles611 3 жыл бұрын
Great explanation
@bensonwu8
@bensonwu8 4 жыл бұрын
Great video, thanks
@vedantpatel3589
@vedantpatel3589 5 жыл бұрын
your saying what about the web page ? completely forgot seeing your air max behind u 😍😍
@academind
@academind 5 жыл бұрын
:D
@awaisraza2285
@awaisraza2285 5 жыл бұрын
Make a Course on MEAN stack i desperately need to learn MEAN Stack MAx Plzzzzz
@academind
@academind 5 жыл бұрын
I think I got you covered here ;) => www.udemy.com/angular-2-and-nodejs-the-practical-guide/?couponCode=ACAD_W
@nikhilgoyal007
@nikhilgoyal007 4 жыл бұрын
Thank you soo very much!!
@PhilipAlexanderHassialis
@PhilipAlexanderHassialis 5 жыл бұрын
Max, why do you put your shoes on shelves?
@academind
@academind 5 жыл бұрын
I think it looks cool and I like my shoes, that's it actually ;)
@EduardKaresli
@EduardKaresli 5 жыл бұрын
@@academind and you avoid crawling spiders slipping into them 😂
@PhilipAlexanderHassialis
@PhilipAlexanderHassialis 5 жыл бұрын
@@academind ah, so the pattern is "wear shoes > walk > get shoes off > wash shoes > put on shelf" - kinda time consuming, but to each one's own :)
@rouagabderrazak1298
@rouagabderrazak1298 Жыл бұрын
Thank you for talking about SEO issues with SPA.
@hassantariq8847
@hassantariq8847 5 жыл бұрын
Amazing 💎
@shnthekid4093
@shnthekid4093 3 жыл бұрын
you are the best sir
@AZ-rg3rf
@AZ-rg3rf 3 жыл бұрын
I spent most of the video staring at the nike air's
@akashbond862
@akashbond862 5 жыл бұрын
Amazing video
@danielbennett1192
@danielbennett1192 4 жыл бұрын
No homo but i do wanna give max a big kiss for all his work in teaching us noobs
@adante407
@adante407 5 жыл бұрын
Max do you think RoR still has a future? With the release of Rails 6, and the new features included.
@2016joyce
@2016joyce 3 жыл бұрын
air max so pretty
@heyyy4987
@heyyy4987 5 жыл бұрын
Gatsby course.
@zahramahdavi9448
@zahramahdavi9448 Жыл бұрын
Thank you)
@ramyokasha3092
@ramyokasha3092 3 жыл бұрын
thanks bro
@A-and-M
@A-and-M 4 жыл бұрын
thanks
@mirazking7694
@mirazking7694 3 жыл бұрын
SPA! ♨
@hakimamerzaie9332
@hakimamerzaie9332 3 жыл бұрын
thanks.
How The Web Works - The Big Picture
12:25
Academind
Рет қаралды 544 М.
I built the same app 10 times // Which JS Framework is best?
21:58
Fireship
Рет қаралды 2,6 МЛН
黑天使被操控了#short #angel #clown
00:40
Super Beauty team
Рет қаралды 61 МЛН
Chain Game Strong ⛓️
00:21
Anwar Jibawi
Рет қаралды 41 МЛН
Are SPAs better than MPAs? | HTTP 203
25:42
Chrome for Developers
Рет қаралды 43 М.
Astro makes websites faster & easier to build
22:55
Kevin Powell
Рет қаралды 126 М.
SPAs vs MPAs/MVC - Are Single Page Apps always better?
15:59
Academind
Рет қаралды 133 М.
The Easy Way to Design Top Tier Websites
11:54
Sajid
Рет қаралды 668 М.
You might not need useEffect() ...
21:45
Academind
Рет қаралды 178 М.
Multi page vs Single Page Applications  - Which One Is Right For You?!
15:00
Do you REALLY need SSR?
18:15
Theo - t3․gg
Рет қаралды 182 М.
JavaScript Framework Tier List
40:57
Theo - t3․gg
Рет қаралды 382 М.
What are libraries and frameworks?
12:59
Codecademy
Рет қаралды 116 М.