Home  >  Article  >  php教程  >  prototype 1.0 background prototype release

prototype 1.0 background prototype release

WBOY
WBOYOriginal
2016-10-17 09:12:101481browse

Prototype is a backend prototype system that mainly solves basic system solutions in development. It is reconstructed based on onethink (the functions of onthink are roughly the same) and developed using ThinkPHP 5.0.1. It removes the independent model and plug-in mechanism and retains the Install installation module.
Features:
Does not inherit controller
ajax submit return and pagination
html5 ajax asynchronous upload file image cropping function
No helper functions are used.
Remove independent models and plug-in functions (if you are using composer, why do you need plug-ins)
Use new features of php7

prototype 1.0 background prototype release
prototype 1.0 background prototype releaseprototype 1.0 background prototype releaseprototype 1.0 background prototype releaseprototype 1.0 background prototype release

github repository: https://github.com/static7/prototype.git

window system WampServer Version 3.0.6 64bit configuration example

The configuration is as follows to access through virtual domain name

Configure the httpd-vhosts.conf file under apache. Path X:wamp64binapacheapache2.4.23confextra

Add the following code


DocumentRoot "X:/xxx/tp5/public/"
ServerName www.tp5.com
ErrorLog "logs/dummy-host.example.com-error.log"
CustomLog "logs/dummy-host.example.com-access.log" common

Options +Indexes +FollowSymLinks +MultiViews
AllowOverride all
Require all granted


Then restart wamp

Then open your local C:WindowsSystem32driversetchosts file and configure it as follows:

127.0.0.1 www.tp5.com
Note: After installing wamp, be sure to switch to the php7 version. Part of the css js uses the Bootstrap Chinese website open source project free CDN service. Please be sure to connect to the Internet

Turn off strict mode of mysql
Modify my.ini
sql-mode="STRICT_TRANS_TABLES,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION"
Modified to
sql-mode="NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION"
Statement
If this system is used in business, please evaluate it yourself and bear the corresponding responsibilities

Thanks to ThinkPHP official

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