In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-17 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)05/31 Report--
Today, the editor will share with you what are the relevant knowledge points about the difference between thinkphp3.1 and 3.2. the content is detailed and the logic is clear. I believe most people still know too much about this knowledge, so share this article for your reference. I hope you can get something after reading this article.
Differences: 1. Ordinary grouping and independent grouping in the thinkphp3.1 version also need to be configured in the configuration file, while the thinkphp3.2 version does not need to be configured and can be directly used in independent grouping; 2. The thinkphp3.2 version starts to use namespaces, while the thinkphp3.1 version does not have command space.
This article operating environment: Windows10 system, ThinkPHP3.2 version, Dell G3 computer.
What is the difference between thinkphp3.1 and 3.2
The main differences are:
1. ThinkPHP3.2 mainly integrates the grouping issues of version 3.1 and previous versions. Before 3.2, there are ordinary grouping and independent grouping, which also need to be configured in the configuration file. 3.2 configuration is no longer needed, just use separate grouping.
2. ThinkPHP3.2 is starting to use namespaces, so there are requirements for the server PHP version.
Version 3.2 introduced namespaces, enhanced drive and behavior, enhanced the concept of modularity and support for cloud platforms, and improved many details.
Major improvements to thinkphp3.2 include:
New Design of Modular Architecture
New namespaces and automatic import mechanism
Improved routing featur
Support for dynamic switching of topics
More powerful Action parameter binding
Parameter binding support for the model
Improved domain name deployment support
Brand-new application mode
Newly rewritten tool classes (including images, CAPTCHA, uploads, etc.)
Provide better cloud platform support
Fixed a number of previously found BUG
It is mainly the debugging of the schema and the introduction of namespaces, and the other effects are small (the utility class has been rewritten).
These are all the contents of this article entitled "what's the difference between thinkphp3.1 and 3.2". Thank you for reading! I believe you will gain a lot after reading this article. The editor will update different knowledge for you every day. If you want to learn more knowledge, please pay attention to the industry information channel.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.