Home  >  Article  >  Backend Development  >  Personal skill tree lights up, please ask front-end questions.

Personal skill tree lights up, please ask front-end questions.

WBOY
WBOYOriginal
2016-12-05 13:44:11992browse

I am pure PHP back-end, now I am going to learn some front-end knowledge, and then develop some small things by myself. I already have some basic knowledge of javascript, html, and css, and I’m ready to get started with vue.js.

The current problem is this: I found a set of website interface templates that I like online. https://github.com/VinceG/Boo… . How do I use an assets-type website template like this? . Especially the homepage I want is also in assets. It seems that the problem of introduction does not matter.

Or this kind of template https://github.com/meritoo/Bo... There are no assets, but a direct interface html. Then I will now start to develop my own things based on this set. Is this process just about writing the backend, writing vue.js, then modifying the block elements in the html template bit by bit, adding vue.js elements, and then viewing and displaying these processes?
I feel like changing the html is very cumbersome.

I have been writing with angularjs for a while before, and I used Laravel to separate the front and back ends. I feel that it is a lot of work for one person to write the front and back ends, although I have not tried the situation where the front and back ends are not separated. Now I want to give it a try without separation. If anyone knows, please give me some advice.

Reply content:

I am pure PHP back-end, now I am going to learn some front-end knowledge, and then develop some small things by myself. I already have some basic knowledge of javascript, html, and css, and I’m ready to get started with vue.js.

The current problem is this: I found a set of website interface templates that I like online. https://github.com/VinceG/Boo… . How do I use an assets-type website template like this? . Especially the homepage I want is also in assets. It seems that the problem of introduction does not matter.

Or this kind of template https://github.com/meritoo/Bo... There are no assets, but a direct interface html. Then I will now start to develop my own things based on this set. Is this process just about writing the backend, writing vue.js, then modifying the block elements in the html template bit by bit, adding vue.js elements, and then viewing and displaying these processes?
I feel like changing the html is very cumbersome.

I have been writing with angularjs for a while before, and I used Laravel to separate the front and back ends. I feel that it is a lot of work for one person to write the front and back ends, although I have not tried the situation where the front and back ends are not separated. Now I want to give it a try without separation. If anyone knows, please give me some advice.

When I was in school, I helped my roommate make the front-end page of a project. He wrote Java to provide an interface, and then directly found a background theme template like this for the front-end interface. In fact, these files are all static HTML files. If you look at the source code, you may be shocked because the data is hard-coded in HTML. For example, each TD in a table is hard-coded. In fact, if If you put a framework (Vue or Angular, etc.) on this UI, a large part of the code can be deleted directly, and then dynamically rendered through the interface data.
So it is much simpler to first locate the code that can be killed, and then render the page through the interface data.

As a demo of phper's vuejshttps://github.com/TIGERB/eas...Haha~

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn