used PHP framework in the world, and it's really hot for me to look at GitHub. But it seems to be very cold at home.
Other: Yii? Cakephp? Zend Framework? ......
Ask for advice.
——————
August 10: According to everyone's answer, decided to study laravel. Thank you for your answer.
To choose the PHP framework, you have to look at the FIG: http://www.php-fig.org/
FIG is the abbreviation of the Framework Interoperability Group (framework Interoperability Group), which was founded in 2009 by
Problem: Because I migrate an existing program to the slim framework, withRedirect has been implemented for the previous dynamic address. the code is as follows: {code ...} while many asynchronous requests are post, and after 301 to the new address, the post data is directly lost. I remember that redirection can carry...
Problem: Because I migrate an existing program to the slim framework, we have done with
development. There are four sets of specifications:
PSR-0 (Autoloading Standard) Automatic Loading Standard
PSR-1 (Basic Coding Standard) Basic Coding Standard
PSR-2 (Coding Style Guide) Coding Style wizard
PSR-3 (Logger Interface) log Interface
I used ci and zend all the time, but as @ shamiao said, I am also b
Collect and sort some common PHP class libraries. collect and sort out some common PHP class libraries, resources, and skills so that you can quickly find what you need at work...
The content in this list includes awesome-php translation, developer weekly and personal accumulation.
A list of front-end components recommended by awesome-frontend
Learning Resources
PHP-related communities, blogs, websites, articles, books, videos, and other resources with reference value
PHP websit
implemented by C extension
Other frameworksOther web development frameworks
Symfony cmf-Create a custom CMS Content management framework
KNP rad bundle-symfony 2 Fast Application (RAD) Pack
Framework ComponentsStandalone components from the Web development framework
Symfony2 Components-symfony2 Components
Zend Framework 2 COMPONENTS-ZF2 components
Aura components-php5.4 Component Pack
Hoa project-another PHP component package
Miniature frameMini-
Other frameworksOther web development frameworks
Symfony cmf-Create a custom CMS Content management framework
KNP rad bundle-symfony 2 Fast Application (RAD) Pack
Framework ComponentsStandalone components from the Web development framework
Symfony2 Components-symfony2 Components
Zend Framework 2 COMPONENTS-ZF2 components
Aura components-php5.4 Component Pack
Hoa project-another PHP component package
Miniature frameMini-frames and routing
silex
Zend Framework 2-Another framework made up of independent components
Laravel 4-Another PHP framework
Aura php-stand-alone component frame
yii2-another PHP framework
nette-Another framework made up of individual components
PPI Framework 2-an interoperability framework
phalcon-framework implemented by C extension
Other frameworksOther web development frameworks
Symfony cmf-Create a custom CMS Content management framework
KNP rad bundle-symfony 2 Fast
Patching the software is equivalent to giving people a vaccination, which is critical to the stable operation of the system. This paper introduces the classification, installation and management of Oracle database patches in detail and systematically.
The software patches that vendors provide to users are in the form of compiled library functions, so installing software patches actually copies these library functions to the appropriate directory and joins them when needed. Software companies typ
package
Hoa Project: Another PHP component package
Micro-framework-micro-Framework and routing
Silex: miniature framework based on Symphony2 components
Slim: another simple micro-frame
Bullet PHP: a micro-framework for building REST APIs
Fast Route: quick Route selection Library
Pux: another fast route selection Library
Additional components of the micro-framework-other related micro-frameworks and routes
Silex Skeleton: Project framework for Silex
S
invoke, still able to successfully create the OrderManager class. In fact, classmap through the establishment of class-to-file correspondence, when the program needs OrderManager class, Compoer automatic loading class by looking for the OrderManager class is located in the file, and then change the file include. Therefore, this leads to a problem, that is, every addition of a new class, it is necessary to run a composer Dump-autoload to create the class to the file to the corresponding relation
of class-to-file correspondence, when the program needs OrderManager class, Compoer automatic loading class by looking for the OrderManager class is located in the file, and then change the file include. Therefore, this leads to a problem, that is, every addition of a new class, it is necessary to run a composer Dump-autoload to create the class to the file to the corresponding relationship, although the files method is a little better, but still very not pleasant ah! So,
FIG-PHPPSR specification series 4-automatic loading 1. PSR-4 specification: automatic loading
Although it was pointed out in [PSR-4-Meta] that the PSR-4 was a supplement to the PSR-0 specification rather than a replacement, but it had been written in [PSR-0] that
Good practice, this time mainly selected some development http://www.php.cn/"target=" _blank ">php application should be used on the good practice of detailed records, especially in good practice part of the password and flow two points. The code style, (my personal) common or common practice is simple to take.
II. Standards If you know Php-fig and PSR, you can skip this part.
The number of PHP components and frameworks is a lot, and the problem is t
definition __autoload () function, the function is very simple, is to register the directory (set by Set_include_path) to find the same name as the $classname. php/.inc file. Of course, you can also specify a specific type of file by registering the extension (spl_autoload_extionsions).and Spl_autoload_register () is the autoload call stack we mentioned above, we can register many of our own _autoload () functions with this function, and when PHP cannot find the class name, PHP calls the stack.
FIG-PHPPSR specification series 1-basic code specification 1. Introduction to FIG-PHP and PSR
The FIG-PHP has developed a series of PHP Development specifications, called the PSR, which is short for the Framework Interoperability Group, which is short for PHP Standard Recommendation. The FIG-PHP working group initially originated from the project representative's discussion of the commonalities between the
autoloader and then automatically loads the package based on its own autoload configuration. (If you do not know much about the content of autoload, read one of my previous articles.) let's take a look at how Composer works.
For the automatic loading of third-party packages, Composer provides support in four ways: automatic loading of PSR-0 and PSR-4 (one of my articles has also introduced them ), generate
Profiler-silex Web Debugging toolbarStack–silex/symfony Stackable Middleware LibrarySlim Skeleton-slim ArchitectureSlim View-slim Collection of custom viewsSlim Middleware-slim Custom Middleware CollectionTemplateLibraries and tools for templating and lexical analysisTwig-A comprehensive template languageTwig Cache Extension-a template fragment buffer for TwigMu
('/path/to/log/log_name.log', Logger: WARNING )); // add records to the log $ log-> addWarning ('foo'); $ log-> addError ('bar ');
In this process, what does Composer do? It generates an autoloader and then automatically loads the package based on its own autoload configuration. (If you do not know much about the content of autoload, read one of my previous articles.) Let's see how Composer works.
For the automatic loading of third-party packages, Composer provides support in four ways: automat
don't know anything about this part of AutoLoad, you can read one of my previous articlesNext, let's see how composer is doing it.
For the automatic loading of third-party packages, composer provides four ways of support, namely PSR-0 and PSR-4 automatic loading (I've also introduced them in an article), generating Class-map, and the way directly containing files.
PSR
automatically loads the package based on its own autoload configuration. (If you do not know much about the content of autoload, read one of my previous articles.) Let's see how Composer works.
For the automatic loading of third-party packages, Composer provides support in four ways: automatic loading of PSR-0 and PSR-4 (one of my articles has also introduced them ), generate class-map and directly include
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.