Use JS and H5 to develop a mobile website, and the background language uses PHP.
There is only one html file, and the rest is written in Js files.
How to implement it?
How to improve JS level, please recommend tutorials or books
習慣沉默2017-05-16 13:10:43
If you write all the logic code yourself, it may be more difficult, but according to what you said, you should use some framework to complete it.
You can learn vue.js which should be very suitable for the kind of website you mentioned.
Here is the vuejs website address: https://cn.vuejs.org/
高洛峰2017-05-16 13:10:43
LZ
是要实现单页应用。目前流行的vue
, Angular
, React
etc., an index.html. It is composed of the remaining components, templates, etc. Just use webpack and other tools to package it. To improve your js level, read more and implement it with your hands, js rhino book. Attached are book recommendations
黄舟2017-05-16 13:10:43
Learn native JavaScript first so that you can at least understand various things about ECMA Script, BOM, and DOM. After you understand it, you can look at ES6, and then try to learn a framework. The Vue mentioned above can be a bit higher. You can learn React, but considering that the author is mainly engaged in mobile development, I recommend H5 plus and MUI integrated with the HBuilder development tool to you. You can download it and see for yourself. The interface imitates the native IOS one, and it feels good after using it.