Angular 9 Tutorial For Beginners #29 - Routing Strategies

Поделиться
HTML-код
  • Опубликовано: 17 ноя 2024

Комментарии • 61

  • @navneet4997
    @navneet4997 3 года назад +2

    Hi Sridhar
    Just want to applaud you for your immense service to nation.
    These tutorials will surely make it possible for many to learn and earn🙏

    • @ARCTutorials
      @ARCTutorials  3 года назад

      Thank you so much Navneet. Ur comments and support mean a lot 🙏

  • @kingmaker2690
    @kingmaker2690 4 года назад +2

    Thanks for replying all of our comments/Queries.

  • @SenthilMuthiah
    @SenthilMuthiah 4 года назад +3

    Good. Please see how you can increase your volume. Even I kept 100 % volumne, but some words are not audible

    • @ARCTutorials
      @ARCTutorials  4 года назад

      Sure Senthil. Thanks for your feedback. Will try and improve upon in upcoming videos.

  • @sreenuksr
    @sreenuksr 4 года назад +6

    Angular 9 Tutorial For Beginners #29 - Routing Strategies
    Angular having 2 types of routing strategies - PathLocationStrategy (default) , HashLocationStrategy (we will see # in the url)
    1. This is extremely important
    2. \home \dashboard, \search?keyword=k1, /product, /product/10, /product/10/details, /product?search=param
    3. We can create our own strategy there is no strategy. By default, PathLocationStrategy
    4. We need to add this in Providers of our module
    app.module.ts
    providers: [
    { provide: LocationStrategy, useClass: HashLocationStrategy }
    ],

    • @ARCTutorials
      @ARCTutorials  4 года назад

      Thanks Srini for capturing the notes. Regards Sridhar

  • @ramyaravichandran279
    @ramyaravichandran279 2 года назад

    Sir all your video are veryhelp full but some video had very low audio.. So please concern about that, thank you

  • @abhilash438
    @abhilash438 3 года назад +1

    These notes which you making, this looks really very helpful. Is it shared anywhere? Can I please get it.
    thank you for the wonderful work you are doing.

    • @ARCTutorials
      @ARCTutorials  3 года назад

      Sure Abhilash. pls drop me a note at soorya.aaradhya@gmail.com

  • @ramyaraj10
    @ramyaraj10 4 года назад +4

    Can you explain the Pro's and con's of each strategy? and what is advantage of each. that is not explained well

    • @ARCTutorials
      @ARCTutorials  4 года назад +2

      Sure Ramya. Will cover these points soon in a new tutorial. Thanks Sridhar

    • @yusbelydelgado681
      @yusbelydelgado681 3 года назад +1

      I was thinking about this same question

  • @kolluruprakash
    @kolluruprakash 4 года назад +1

    Please, provide your ppt presentations. those will help us to re-collect what we have learnt so far. thank you :)

  • @xToJuKz
    @xToJuKz 4 года назад +2

    Hi, nice video. One thing, if my URL's have '#' it has consequencies in SEO or google robot? The thing is when I upload my project in my hosting and if I refresh page it shows a 404 not found error but with HashLocationStrategy it's solves. But I do not really like, you cannot change # for something else at least?

    • @ARCTutorials
      @ARCTutorials  4 года назад +2

      No buddy. Unfortunately we cannot change the # thing. Its either path or hash. I know a lot hosting providers will not support path directly. But using Hash wont have any problem in SEO. So don't worry about that thing.

    • @xToJuKz
      @xToJuKz 4 года назад

      @@ARCTutorials Ok thanxs!

  • @rakshita3946
    @rakshita3946 3 года назад

    How to handle the pathlocationstrategy in production deployed angular application?

  • @rajnish1002
    @rajnish1002 3 года назад +1

    Thanks for your videos
    We are pressing our earphones to hear 👂 your voice
    It seems like you making videos in fear mode 😃

    • @ARCTutorials
      @ARCTutorials  3 года назад

      Ha ha ah ah. Buddy I have got better quality videos on Angular 10 series with much more details. Please find them here ruclips.net/video/Fg4spR6cdBQ/видео.html

  • @Trending_Shorts_Latest
    @Trending_Shorts_Latest 2 года назад

    Hi , how to get same data selected on earlier page after we come back to that page using back button?

  • @konadeepak9443
    @konadeepak9443 4 года назад +1

    Sir ur tutorial I am following. But please do videos on NGRX and RXJS . Interviewers are asking them very badly

  • @vaishnavikale713
    @vaishnavikale713 3 года назад

    As I learned from internet
    When we deploy angular application into production server, we need to apply hasing strategy, If we use pathlocationstrategy ,then 404 errors will come. But why this 404 errors will occur
    What is the exact reason for that,can you please explain here.

  • @rajivraghu9857
    @rajivraghu9857 3 года назад

    which one & when to use?

  • @ChroniclesinEnglish
    @ChroniclesinEnglish 3 года назад

    Hi sir please I need some help on angular (web workers)?
    I have a method that interact with the backend and it take a long time to execute from 1 hour to 3, and I need to use web worker to keep this method running in the background and keep the user use the all entire application like normally until the method terminate it's process and display an alert to notify the user.
    Thanks sir in advance.

  • @mrudangdalal
    @mrudangdalal 2 года назад +1

    Most important question I have you didn't explain in the video. what is the difference between Hash and Path Strategies. Which kind of scenarios need what ?

  • @mycontent4741
    @mycontent4741 2 года назад

    Hi Sridhar, Could you please share the ppts that @Prakash Kolluru requested. Regard, Manas

  • @sudeshkodavoor548
    @sudeshkodavoor548 3 года назад +1

    Please make a video on bazel

    • @ARCTutorials
      @ARCTutorials  3 года назад

      Sure Sudesh. Will cover it as well

  • @tusharmittal4443
    @tusharmittal4443 3 года назад +1

    but in which case we use path location strategy or hash location strategy

    • @ARCTutorials
      @ARCTutorials  3 года назад

      Hi Tushar. I have explained the entire routing along with use cases in detail in Angular 10 series. Please follow along ruclips.net/video/xuB4o5tGv7A/видео.html

  • @jiteshjoshisde3154
    @jiteshjoshisde3154 4 года назад +1

    Sir, # not showing in url after apply hash location strategy..
    Also it is not give any error????

    • @ARCTutorials
      @ARCTutorials  4 года назад +1

      Stop angular cli and again Re-compile. Then only it will work correctly. Try it and let me know 👍

    • @jiteshjoshisde3154
      @jiteshjoshisde3154 4 года назад

      @@ARCTutorials no sir...its not working even after re compilation

    • @justicekwakyeasare8589
      @justicekwakyeasare8589 3 года назад

      @@jiteshjoshisde3154 facing the same problem bro . were you able to find a solution to it ??

  • @_Rohit_Kumaar
    @_Rohit_Kumaar 3 года назад

    what you want ? before learning your tutorial , you want i learn how to boost
    volume in my lap ??

  • @venkats2645
    @venkats2645 4 года назад +1

    When using PathLocationStrategy, it shows # in browser page. I didn't get what's the difference in both.

    • @ARCTutorials
      @ARCTutorials  4 года назад

      It should not show you # when using pathLocationStrategy. Only in haslocationstrategy it should show #

    • @ARCTutorials
      @ARCTutorials  4 года назад +1

      Also difference is when using multiple single page apps it comes handy

    • @venkats2645
      @venkats2645 4 года назад

      @@ARCTutorials Thank you

  • @rajunaga4716
    @rajunaga4716 4 года назад +1

    How to stay in same page when click browser refresh.

    • @ARCTutorials
      @ARCTutorials  4 года назад

      Hi Raju. To stay in same page, we will use "#" in the links for clicks and call corresponding function for the same in component class.

  • @HVSharma
    @HVSharma 4 года назад +1

    You've not explained why to use one or the Strategy. That's the main thing!!!! Please explain this.

    • @ARCTutorials
      @ARCTutorials  4 года назад +1

      Sure I will cover it again and explain in detail. Thanks for your feedback.

  • @ahmadfaraz3678
    @ahmadfaraz3678 4 года назад +1

    You did not tell what are the differences in both the strategies?

    • @ARCTutorials
      @ARCTutorials  4 года назад

      Hi Ahmad. I have covered the output of 2 strategies. Pls try and let me know if any isues. Thanks Sridhar

  • @Funimation98
    @Funimation98 2 года назад

    Your volume is too low

  • @jacksm8709
    @jacksm8709 4 года назад +1

    apparently i didnt see any change on my webpage

    • @ARCTutorials
      @ARCTutorials  4 года назад

      The default mode is PathLocationStrategy that's why you didnt see any change. Its good to know what and how things work!!!

  • @prashanthreddy7239
    @prashanthreddy7239 4 года назад +1

    increase volume, too less irritating

    • @ARCTutorials
      @ARCTutorials  4 года назад

      Sure Prasanth. Thank you for your feedback. Will improve upon in future videos. Thanks again 👍

  • @prajjwalrao6848
    @prajjwalrao6848 3 года назад +2

    This everybody can understand, you could have explained pros and cons. I just wasted my 10 minutes

    • @ARCTutorials
      @ARCTutorials  3 года назад +1

      Hi Prajjwal. Can you try checking the Angular 10 tutorial - may be it will answer few questions that you have. ruclips.net/video/c-WqaWqDLms/видео.html

    • @rajivraghu9857
      @rajivraghu9857 3 года назад

      @@ARCTutorials Thank you

  • @dandamudidharani5406
    @dandamudidharani5406 3 года назад

    ur voice slow nd u only teach theortical not teach in pratical plzz tell to pratical also

  • @khaleequzzaman1590
    @khaleequzzaman1590 3 года назад +1

    too much repetition of same thing again and again.

    • @ARCTutorials
      @ARCTutorials  3 года назад

      Hi zaman. Thanks for your feedback. I am trying to improve as we go along. Thank you