Recent projects are not twists, but have a big impact on their own technology stack.
As a freelancer, prefer to do small and medium-sized projects, how to use the fastest speed to do projects, read a lot of technical blog, Suddenly, PHP and Android do small and medium-sized projects are the fastest.
The recent project has made me affirm this feeling.
This project, which is such a thing, requires a three-terminal, or even four-part architecture:
1, front-end: Android 5.1 system with laser scanning head of the PDA running on the app
2, API: Provide JSON data to the front end, the front-end submission of data processing
3, CMS: Provide staff with an operating interface, the data provided to the front-end management, and other systems for regular or irregular communication, to set up and operate.
4, also part, regular or according to the CMS in the settings, with another system to communicate, access to data.
In this way, the background is very important, 2, 3, 4 parts are backstage things.
To achieve this, you need a strong server platform to support our backend.
I recommend UPUPW+THINKPHP5.
TP5 will not say, look at UPUPW.
The UPUPW Green server platform is currently the most featured free server PHP suite under Windows.
Includes three core versions of Apache,nginx and Kangle,
The Kangle universal version supports the IOCP work model and supports php,asp,asp. NET parsing language, more suitable for the efficient production work of WIN server!
The UPUPW PHP Suite simplifies the setup of the PHP environment by extracting a compressed package to any disk directory that does not contain Chinese or white space.
Suitable for VPS, cloud hosting, server erection site, also suitable for local development and testing of PHP programs. Green, safe, stable, high speed!UPUPW can run on Windows2003/ -/ -/ .; XP/WIN7/WIN8/WIN10; +/64 bits; UPUPW PHP Suite works perfectly Discuz! X3.4Phpwind9. X DEDECMS5.7WORDPRESS4. x and other programs; UPUPW Original security protection function equipped with anti-injection attack, anti-cross-station, hide the host header information, prohibit the access of the unbound domain name; UPUPW Unique Process Daemon when the Web site is not accessible automatically reload the service process to restore the site access to do unattended; UPUPW unique host performance adaptation function, low-equipped host, high-end host based on performance and load tailored one-button optimization; UPUPW Control Panel can be new, delete database and user and instant import, export big data such as G-level or above functions; UPUPW PHP Environment Integration package is fully compatible with IIS, the unique proxy virtual host function can be parallel with IIS; UPUPW PHP Environment Integration Package Green free, decompression is used, unrestrained, no need to uninstall, panel KK Clean is no trace; UPUPW support virtual host can be customized to create the site directory, and each directory can be individually bound multi-level domain name or generic domain name; UPUPW PHP Suite does not need to be installed, perfect support package porting or backup, support USB drive running, ready to deploy a button to reach.
The latest and most integrated version is: Ank All-in-one interface version V1.1.4:UPUPW Ank Server integrated Environment Intelligent Control Platform (V1.1.4)
More than 180 m size, but is too strong, personally think is win under the most integrated environment.
March 9, 2018
Record One:
During the development phase, the Android virtual machine runs the test and runs the URL of the API for the address of this PC, which requires additional domain names on the UPUPW Control Panel to set up the virtual website:
Explain:
"Primary Domain Name"
In the development environment, it is the URL bound in the local hosts;
The URL of the domain name resolution in the production environment;
"Extra Domain Name"
Can be tied to the machine IP127.0.0.1 and LAN IP192.168.2.103, so that you can achieve UPUPW virtual sites in the local area network access, so as to achieve the Android virtual machine environment Test API.
Use UPUPW as the server, through the THINKPHP5 to build the perfect app backstage