How to separate app interfaces, front-end websites, and background management in projects

Source: Internet
Author: User
For example, in a project, the development of the app interface, website front-end, and background management modules is to use one project for development respectively, or use one project for separate module development, how can I reuse some common functions of different projects, such as the order place used by the app and website front-end... for example, in a project, the development of the app interface, website front-end, and background management modules is to use one project for development respectively, or use one project for separate module development, if different projects are used, how should we reuse some common functions, such as the order processing used by the app and website front-end? Do we need to separate these functions.

Reply content:

For example, in a project, the development of the app interface, website front-end, and background management modules is to use one project for development respectively, or use one project for separate module development, if different projects are used, how should we reuse some common functions, such as the order processing used by the app and website front-end? Do we need to separate these functions.

Using restfull API, common parts can be made into Libraries

We now use swagger to define data interfaces. The front end uses h5 static pages, and the Web directory is assigned a directory for the front end. The app project has a dedicated attachment directory, and the back end uses the Java idea project, the front end uses the h5 hbuilder project, and the app uses the Android studio project.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.