search

Home  >  Q&A  >  body text

Seriously ask Teacher Tianpeng for advice

When I learned thinkphp, I always followed the video MVC front-end static template and CURD. I think this is how it should be developed.

One day, I came into contact with vue. Some people said that vue thinkphp is the mainstream. After learning vue, I felt something was wrong. MVVM and MVC seemed to conflict.

After looking it up, I still can’t figure it out. I feel like only you can solve this pain.

Ask the teacher:

1. If we use thinkphp to develop websites, is it mainstream to use vue? Or bootstrap, layu, etc.?

2. I definitely use thinkphp for back-end development. When I want to make a simple front-end template (front-end and back-end), what should I use?

We are looking forward to the reply from Mr. Zhu from Tianpeng University, thank you!

豆花泡馍豆花泡馍1264 days ago849

reply all(5)I'll reply

  • 猪老湿

    猪老湿2021-06-10 21:48:28

    The MVVM idea also comes from MVC;

    Using the MVVM model, the back-end function is relatively simple and does not require a VIEM layer. It only needs to respond to interface data requests to meet the separation of front-end and back-end development.

    All this is based on the premise that the front-end (client) has excess performance and can take on more server-side functions.

    reply
    0
  • 豆花泡馍

    Thank you for your reply. I have studied further in the past few days. I have to master both methods. I am still practicing.

    豆花泡馍 · 2021-06-11 23:09:06
  • 寇先生

    寇先生2021-06-08 17:24:45

    See which one you are familiar with! They are all tools

    reply
    0
  • 豆花泡馍

    Thanks for the reply, they are indeed useful.

    豆花泡馍 · 2021-06-11 23:10:02
  • 豆花泡馍

    豆花泡馍2021-06-08 10:39:58

    When we talk about thinkphp in practice in our video, there are ready-made templates, which can be integrated. If I develop it myself, there will be no templates, which is very uncomfortable.

    I was looking for a template, so I was taken to vue and learned element ui.

    I feel like I am going further and further down the wrong path. . . be lost

    reply
    0
  • Cancelreply