-
The difference is that thinkPHP is just a product written by PHP, a framework, which is to encapsulate some duplicate things together.
-
ThinkPHP is an MVC framework based on PHP. It's open source, and you can go down to the source code online. As for viewing ThinkPHP's system, you don't need any tools.
Because it's encapsulated in the system source code, it's not actually shown to you on a web page. You can try to set up an environment to run PHP. To view the php page, to configure the environment, Apache, MySQL
It's easy to use the integrated development environment and wampserver.
-
ThinkPHP and PHP are not comparable.
Because, ThinkPHP is based on PHP.
PHP is a dynamic programming scripting language.
ThinkPHP is a group of classes that are encapsulated using the PHP language.
-
PHP is a development language, and ThinkPHP is a development framework, which is not the same.
-
ThinkPHP is a framework developed with PHP and is developed by PHP itself. With this framework, the development of some projects can be accelerated, and the specification will be better.
-
Yes, why not. Who told you no. Do you have to beat that person?
You say that the function tp can't be implemented? Just kidding, hahahahaha, just kidding. Joke.
Broad and profound, although flawed, but the program is enough. Programming language Alas tp is just a framework can you talk well. Can you think about it?
-
The question is like the relationship between bread and flour;
ThinkPHP is just a framework system made with PHP that can do something on top of it. For example, you can make a burger directly from bread, and of course you can make it directly from flour.
It's not quite an appropriate example, but that's what it means, huh.
-
ThinkPHP and other frameworks are object-oriented MVC architecture, MVC is the current mainstream development model, the framework is their own already done, this architecture, developers only need to write business, and the framework will generally provide some commonly used classes to developers, such as processing, pagination classes, captcha classes, etc., the framework will also simplify SQL statements, these are improving the development efficiency of developers, and if you use native PHP, developers need to do their own MVC architecture, and make their own single entrance The development efficiency and maintainability are not as good as directly using those mainstream MVC frameworks.
-
Personally, I have the experience of doing PHP projects, and I have been using CI, Larael, and National Day to learn TP source code and documentation examples.
First of all, not all programmers like to embrace change
What is Change?
The change I understand is a new thing that I have never learned or used before, such as development frameworks, programming ideas, and programming languages.
In their opinion, the programming language, design patterns, and development frameworks they are accustomed to using are the best, and the biggest characteristic of this type of person is that they are conservative and stubborn, and it may also be due to historical reasons, the initial version of the company's project is developed on the basis of a certain framework, so the programmers who took over later have to be familiar with the framework, and after a long time of familiarity, the love for other things will be worn out, because many people do the profession of programmers, just mixing a bowl of rice.
This kind of person, you discuss with him which of the major frameworks is better or worse, not what is it to play the piano to the cow?
The other type of people, in the past two years since the rise of the Internet, have been influenced by start-up companies, and are seekers of all kinds of forced and awesome words.
Programmers in such companies, in their eyes, only value the number of GitHub stars of the framework, whether the official framework documentation is in English, and whether the official website is high enough.
If you compare the official website of CI and Larael, and then take a look at the official website of ThinkPHP, you will find that the latter is earlier than CI and Larael due to historical reasons, and the style of the document and official website interface is relatively low, so it is naturally not touted by those fastidious programmers.
In their eyes, the "appearance" of the framework is justice, low force, the author is still Chinese, thinkphp is certainly not worth touting.
The more people you meet, you will find that in the world of programmers, whether it is a bullshit pretending to be a criminal, or a pseudo-technologist who often points out performance optimization, in their eyes, the hottest framework, the most cutting-edge technology, and the most profound principle is justice (the program they are chasing is built on a framework that is constantly obsolete and updated).
This type of programmer overlooks the most important thing about doing a project:
Demand. If your company's existing projects have been developed and stabilized using Tinkphp, even if you have a preconception about the framework, have you read through the TP source code? Know every pit that TP develops? Help the project team members solve every technical problem and development need?
If you are the technical director, you are about to lead the team to develop a project, you are doing technical research, and the three frameworks of CI, Larael, and TP are hesitant, and you are ready to make technical decisions based on the initial impression that "TP is low", "Larael is very fashionable", and "CI is very comfortable", rather than based on the characteristics of each framework, what project development is suitable for, what project development is not suitable for, suitable for small team development, suitable for large team development, and suitable for later maintenance. Wait a minute.
It was said: "Without investigation, there is no voice".
In the world of programmers, there is no qualification to judge without actual experience.
-
Because it is simple, easy to learn, and there are many bugs in time, there are many pits I have stepped on, and it is a domestic framework
-
Most of the front-line programmers are using TP
-
ThinkPHP has a built-in character truncation function msubstr() as follows: msubstr($str, $start=0, $length, $charset="utf-8, $suffix=true).
str: the string to be truncated.
start=0: the start position, starting from 0 by default.
length: the length of the cut.
charset="utf-8: character encoding, default utf 8$suffix=true: whether to display ellipsis after the truncated character, default true display, false is not displayed.
The call is as follows. Explanation: Truncate the string $, starting from the 5th character, truncate 5, encoded as UTF 8, and do not display the ellipsis.
-
It's just a PHP framework.,It's suitable for users with PHP foundation.,If you do**, it's still pageadmin、Dream weaving these are easy to use.。
-
ThinkPHP is not software.
It is an open-source framework for the PHP language. This framework was developed by Chinese people, so there is a Chinese community forum.
-
The projects that need to be developed are developed with t and inkphp, if you don't understand, you can send me a private message.
-
1。Let's have a PHP runtime environment first.
2.Put the source code in the program directory of this environment.
3. Change the environment variables (configuration files or other names) in the source code to be consistent with your runtime environment.
4 Commissioning and running.
When you output the page, you use the key+1 of the array as the ordinal number. You need to use limit(offset, length) to get the data of the current page, right, you just need to put key+1+offset.
1. Open the settings in the upper right corner of Authorization Management. >>>More
You're talking about ISO9001:2008 certification. The general process is to establish system documents according to standards, run the system, and apply for certification. >>>More
Huawei Certification Exams:
There are two main types of registration process: the first is to book an exam on the official website; The second way is to go to the test center to make an appointment. >>>More
The CE marking process is:
1. Fill in the application form, confirm the product name, model, quantity and other information and submit relevant product information. >>>More