locked
Javascript frameworks RRS feed

  • Question

  • User-2079475217 posted

    Looking at a little tip, I know enough Rails to hack some web applications, I understand MVC and getting data inside and outside. I used jQuery sparingly for air conditioning to hide and show links depending on the date.

    I think it's time to take a look at some front end js frameworks but I have a few questions.

    Since I have never used them before, I don't know when I will use them instead of just using RoR or Laravel.

    I looked at vue.js and I see that it looks clean to write.

    I found one article that very resonates with my view on these things

    I think the main question is how do I get here... how can I include a small part of one of them in an existing project?

    Also, what would you say, take a look at it first.

    Monday, August 24, 2020 10:24 AM

Answers

  • User-474980206 posted

    The two most popular JavaScript frameworks are vue.js and react.js. You can find lots of articles comparing the two. I’d stay away from angular. If you need it, you will know, but vue.js is a good alternative. 

    the real use of these frameworks is making SPA’s or PWA’s. That is, you want a desktop like experience. The closer your app is to a desktop app, the more you will want to chose a framework. The closer you app is to a website with a couple forms, the less useful they are. either one can be used for one off pages, but the learning curve might make it pointless.

    The other issue with choosing these frameworks is you must learn a new development tool chain based on node. It’s a powerful and useful tool chain, but you must learn it. Visual Studio 2019’s support is not as good as Visual Studio Code, but it’s getting there.

    another approach is using react and next.js. This gives a web server that runs react and can pre-render or even generate static pages using the react framework. This means you have only one programming model and language for your website. this is simple foray into using JavaScript frameworks.

       https://nextjs.org/docs

    There is also one for vue.js

       https://nuxtjs.org

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Monday, August 24, 2020 6:25 PM

All replies

  • User-821857111 posted

    What kind of existing project do you want to incorporate the front end framework in? ASP.NET?

    Monday, August 24, 2020 11:27 AM
  • User-474980206 posted

    The two most popular JavaScript frameworks are vue.js and react.js. You can find lots of articles comparing the two. I’d stay away from angular. If you need it, you will know, but vue.js is a good alternative. 

    the real use of these frameworks is making SPA’s or PWA’s. That is, you want a desktop like experience. The closer your app is to a desktop app, the more you will want to chose a framework. The closer you app is to a website with a couple forms, the less useful they are. either one can be used for one off pages, but the learning curve might make it pointless.

    The other issue with choosing these frameworks is you must learn a new development tool chain based on node. It’s a powerful and useful tool chain, but you must learn it. Visual Studio 2019’s support is not as good as Visual Studio Code, but it’s getting there.

    another approach is using react and next.js. This gives a web server that runs react and can pre-render or even generate static pages using the react framework. This means you have only one programming model and language for your website. this is simple foray into using JavaScript frameworks.

       https://nextjs.org/docs

    There is also one for vue.js

       https://nuxtjs.org

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Monday, August 24, 2020 6:25 PM