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

แชร์
ฝัง
  • เผยแพร่เมื่อ 17 ธ.ค. 2024

ความคิดเห็น • 172

  • @academind
    @academind  5 ปีที่แล้ว +46

    Which kind of web pages have you built already? What was most fun?

    • @vaheghevondyan9437
      @vaheghevondyan9437 5 ปีที่แล้ว +6

      Hi Max,
      I created SPAs via React. It was most fun.

    • @MegaCristisan
      @MegaCristisan 5 ปีที่แล้ว +3

      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 ปีที่แล้ว +2

      @@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 ปีที่แล้ว +1

      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 ปีที่แล้ว +240

    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 ปีที่แล้ว +5

      This is a really needed video, especially for those coming from the oldest approach.

    • @academind
      @academind  5 ปีที่แล้ว +20

      Thanks so much Brad!
      And yeah, started wearing them a few months ago and got into collecting them (kind of...)

    • @TheInphinion
      @TheInphinion 5 ปีที่แล้ว +35

      My two favorite instructors, Brad and Max!

    • @michakowalewski5409
      @michakowalewski5409 5 ปีที่แล้ว +1

      @@TheInphinion true that! I had the same idea when I read Brad's comment. Both channels are awesome!

    • @MohammedIqlasUddin
      @MohammedIqlasUddin 5 ปีที่แล้ว +10

      Two of the greatest educators on TH-cam

  • @jhonasn
    @jhonasn 4 ปีที่แล้ว +13

    Perfect, that was exactly what I was looking for to show to some begginers in web dev world. Thank you very much!

  •  3 ปีที่แล้ว +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.

  • @juhavehnia7862
    @juhavehnia7862 3 ปีที่แล้ว +6

    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.

  • @johnmathew8543
    @johnmathew8543 3 ปีที่แล้ว

    I searched many videos for this topic, so far this is the best explanation I found on TH-cam

  • @vasilisplavos
    @vasilisplavos 5 ปีที่แล้ว +4

    Static Pages for the main website
    Dynamic Website for Blogs, Forums etc
    Single Page Apps for Tools, Applications etc

  • @gianlucazin36
    @gianlucazin36 3 ปีที่แล้ว

    I come back to this video every now and then to make order into my mind, you are a hero!

  • @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.

  • @jean4j_
    @jean4j_ 4 ปีที่แล้ว +1

    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.

  • @julianz.5316
    @julianz.5316 5 ปีที่แล้ว +6

    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. ;)

  • @gilmoretj
    @gilmoretj 5 ปีที่แล้ว +4

    Another challenge for SPA's can be accessibility. Audio browsers can find it difficult on detect browser generated content.

  • @learnwithlaura3
    @learnwithlaura3 5 ปีที่แล้ว +2

    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 ปีที่แล้ว +1

      Thanks a lot for your awesome feedback Laura!

  • @alexmalikov924
    @alexmalikov924 5 ปีที่แล้ว +8

    Amazing Video Max!! You are great explaining!! What about using Nuxt JS for solving problem with SEO?

    • @academind
      @academind  5 ปีที่แล้ว +1

      Thank you so much! Sure, Nuxt.js is decent for that - you can build both a SSR and pre-rendered (static) site with it

  • @alind9947
    @alind9947 5 ปีที่แล้ว +2

    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.

  • @911madza
    @911madza 5 ปีที่แล้ว +6

    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

  • @stuart1969
    @stuart1969 5 ปีที่แล้ว +3

    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 ปีที่แล้ว +1

      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.

  • @Advertisingvideos
    @Advertisingvideos 5 ปีที่แล้ว +2

    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??

  • @martinlionel7487
    @martinlionel7487 5 ปีที่แล้ว +2

    Spa is also to move charge from server to Client... That one main raison to do spa

  • @doubledouble3454
    @doubledouble3454 5 ปีที่แล้ว +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.

  • @nelzkie777
    @nelzkie777 4 ปีที่แล้ว

    Ah got it. I was confused about this sever side rendered and client side rendered. Your explanation is really good. Thanks.

  • @georgesmith3022
    @georgesmith3022 5 ปีที่แล้ว +3

    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.

  • @DogmaKrone
    @DogmaKrone 5 ปีที่แล้ว +6

    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 ปีที่แล้ว +2

      Awesome to read that the video was helpful for you! Thanks for your great feedback, I also wish you a nice day :)

  • @RahulRoy-id5yf
    @RahulRoy-id5yf ปีที่แล้ว

    This video really filled a lot of knowledge gaps that i had regarding web development

  • @ismayilmammadli2554
    @ismayilmammadli2554 5 ปีที่แล้ว +4

    Can you upload a video about why you don't love PHP?

  • @shawnli7814
    @shawnli7814 3 ปีที่แล้ว +1

    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.

  • @rodgwr
    @rodgwr 3 ปีที่แล้ว +1

    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?

  • @ajiteshrajan127
    @ajiteshrajan127 5 ปีที่แล้ว +1

    Good overview in less time!
    It will geat if provide some link of active website/dummy pages for all kinds.

  • @agung_laksana
    @agung_laksana 5 ปีที่แล้ว +1

    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 ?

  • @MuhammadHamza-uh1lu
    @MuhammadHamza-uh1lu 2 ปีที่แล้ว

    Great explanation bro. Put the perspective straight. Kudos.

  • @w_ulf
    @w_ulf 4 ปีที่แล้ว +1

    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.

  • @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.

  • @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).

  • @mikojan85channel
    @mikojan85channel 4 ปีที่แล้ว

    I got confused at 6:53, when you mentioned "the cloud".

  • @victormendoza3295
    @victormendoza3295 2 ปีที่แล้ว

    What about for blogs or sites like indeed with article type of content?

  • @mohamedaminebejaoui1376
    @mohamedaminebejaoui1376 5 ปีที่แล้ว +2

    Very Good :) , but what about making a series or a video about elasticSearch or elastic stack? :)

  • @drakZes
    @drakZes 2 ปีที่แล้ว

    So is a blazor web app or Angular web app without a dedicated server a SPA?

  • @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.

  • @Capatron1
    @Capatron1 5 ปีที่แล้ว

    What a great insight this video gave to me! Thanks for sharing it, learned a lot!

    • @academind
      @academind  5 ปีที่แล้ว +1

      Thank YOU for your awesome feedback!

  • @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??

  • @martinlionel7487
    @martinlionel7487 5 ปีที่แล้ว

    You don't talk of cache system for dynamic system to make '' static site'' or universal render (ssr+ csr)

  • @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.

  • @feranmiafrica9528
    @feranmiafrica9528 5 ปีที่แล้ว +1

    Hey.. max pls would you do a tutorial on AWS ?

    • @academind
      @academind  5 ปีที่แล้ว

      I do have AWS content already :) => academind.com/learn/aws/

  • @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?

  • @faizullahmohammadi4904
    @faizullahmohammadi4904 5 ปีที่แล้ว

    I have a question,how control more content in single websites?

  • @GeorgeMonsour
    @GeorgeMonsour 5 ปีที่แล้ว +1

    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

  • @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..

  • @Deliverant
    @Deliverant 5 ปีที่แล้ว +1

    Max would be awesome if you could release a crash course or something on Gatsby

    • @academind
      @academind  5 ปีที่แล้ว +1

      No plans to create such a course at the moment, but definitely on the "ideas" list so we'll see :)

  • @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 ปีที่แล้ว +1

      I do indeed love cooking, besides that a bit of sports, a bit of gaming, nature and enjoying the city

  • @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 2 ปีที่แล้ว

      @@academind
      Wow. Such a detailed information on all three.
      Appreciate. 👍🏻

  • @azizkosber5767
    @azizkosber5767 3 ปีที่แล้ว

    Thank you, this was super informative and clear!

  • @davidbasil2727
    @davidbasil2727 5 ปีที่แล้ว +2

    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 ปีที่แล้ว +1

      So things never change?

    • @davidbasil2727
      @davidbasil2727 5 ปีที่แล้ว +2

      @@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.

  • @howwasthat3505
    @howwasthat3505 5 ปีที่แล้ว

    You are the Best Teacher!
    Maxi

    • @academind
      @academind  5 ปีที่แล้ว

      Thank you Mohsin :)

  • @tasnimelmoghrbi
    @tasnimelmoghrbi 5 ปีที่แล้ว

    Hello , Which best for build search engine ?

  • @kunalgupta116
    @kunalgupta116 3 ปีที่แล้ว

    very nice and simple explanation 👍

  • @surendrajat7290
    @surendrajat7290 3 ปีที่แล้ว +1

    prefect explanation

  • @astroboyhasguns
    @astroboyhasguns 3 ปีที่แล้ว

    Great summary. Subscribed.

  • @RFranks
    @RFranks 3 ปีที่แล้ว +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.

  • @HarshitSharma-ir3ls
    @HarshitSharma-ir3ls 3 ปีที่แล้ว

    Great content brother....Thank you!

  • @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)

  • @constantinegamers
    @constantinegamers 5 ปีที่แล้ว

    can you make a course on wodpress + Angular?

  • @chandinirs
    @chandinirs 4 ปีที่แล้ว

    Are multipage applications categorised as dynamic web app ?

  • @TheDebarghya09
    @TheDebarghya09 3 ปีที่แล้ว

    This was really very helpful!

  • @Marius752
    @Marius752 5 ปีที่แล้ว +2

    Thank you, that was really good explanation. you rock ;)

    • @academind
      @academind  5 ปีที่แล้ว

      Thanks so much for this fantastic feedback Marius!

  • @shaneblackwoodGodbless
    @shaneblackwoodGodbless 5 ปีที่แล้ว

    Does a course on this, please plenty show basic of language but not how they come together

  • @manojthakur-vk8lp
    @manojthakur-vk8lp 4 ปีที่แล้ว

    Excellent. Lots of love from INDIA

  • @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 :)

  • @ayub8457
    @ayub8457 5 ปีที่แล้ว

    I personally prefer to use turbolinks instead of spa if the app is not a cross platform.

  • @highjumpdev3692
    @highjumpdev3692 5 ปีที่แล้ว

    You never disappoint me!

  • @RishabhJain-uv7zj
    @RishabhJain-uv7zj 3 ปีที่แล้ว

    Absolutely amazing!

  • @AbhishekKumar-mq1tt
    @AbhishekKumar-mq1tt 5 ปีที่แล้ว +3

    Thank u for this awesome video

  • @rouagabderrazak1298
    @rouagabderrazak1298 ปีที่แล้ว

    Thank you for talking about SEO issues with SPA.

  • @vedantpatel3589
    @vedantpatel3589 5 ปีที่แล้ว

    your saying what about the web page ?
    completely forgot seeing your air max behind u 😍😍

  • @limpep
    @limpep 5 ปีที่แล้ว

    Where can I buy that jumper?

    • @academind
      @academind  5 ปีที่แล้ว

      Only available for us, we don't offer any merchandise (yet), sorry :/

  • @akashtakawale9074
    @akashtakawale9074 5 ปีที่แล้ว

    Amazing explanation!!! 😘😘

    • @academind
      @academind  5 ปีที่แล้ว +1

      Thank you Akash!!

  • @ImmaterialDigression
    @ImmaterialDigression 5 ปีที่แล้ว +1

    Love these videos!

  • @Kicknee
    @Kicknee ปีที่แล้ว

    Great explanation. Thx

  • @ChauNguyen-jm5ij
    @ChauNguyen-jm5ij 5 ปีที่แล้ว +1

    Awesome content!

  • @tamannasain7453
    @tamannasain7453 2 ปีที่แล้ว

    Great video!!

  • @miles611
    @miles611 3 ปีที่แล้ว

    Great explanation

  • @harelwahnich3447
    @harelwahnich3447 2 ปีที่แล้ว

    you are incredible. thank you.

  • @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.

  • @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 :)

  • @bensonwu8
    @bensonwu8 4 ปีที่แล้ว

    Great video, thanks

  • @VinothKumar5403
    @VinothKumar5403 5 ปีที่แล้ว +1

    Liked before watching video.

  • @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!!

  • @akashbond862
    @akashbond862 5 ปีที่แล้ว +1

    Amazing video

  • @hassantariq8847
    @hassantariq8847 5 ปีที่แล้ว +1

    Amazing 💎

  • @danielbennett1192
    @danielbennett1192 4 ปีที่แล้ว

    No homo but i do wanna give max a big kiss for all his work in teaching us noobs

  • @zahramahdavi9448
    @zahramahdavi9448 ปีที่แล้ว

    Thank you)

  • @shnthekid4093
    @shnthekid4093 3 ปีที่แล้ว

    you are the best sir

  • @ramyokasha3092
    @ramyokasha3092 3 ปีที่แล้ว

    thanks bro

  • @AZ-rg3rf
    @AZ-rg3rf 3 ปีที่แล้ว

    I spent most of the video staring at the nike air's

  • @adante407
    @adante407 5 ปีที่แล้ว

    Max do you think RoR still has a future? With the release of Rails 6, and the new features included.

  • @hakimamerzaie9332
    @hakimamerzaie9332 3 ปีที่แล้ว

    thanks.

  • @A-and-M
    @A-and-M 4 ปีที่แล้ว

    thanks

  • @2016joyce
    @2016joyce 3 ปีที่แล้ว

    air max so pretty

  • @mirazking7694
    @mirazking7694 3 ปีที่แล้ว

    SPA! ♨

  • @hooschool7613
    @hooschool7613 5 ปีที่แล้ว

    Where are you from? Like your accent :)

    • @academind
      @academind  5 ปีที่แล้ว +3

      I'm from Germany :)