Biny is a high-performance lightweight PHP framework
Follows the MVC pattern for rapid development of modern web applications
Biny code is concise and elegant. The encapsulation of application layer, data layer and template rendering layer is simple and easy to understand, and can be used quickly.
High performance, frame response time within 1ms
Biny is a high performance lightweight PHP framework.
It follows the MVC pattern for rapid development of modern Web applications
Biny code is simple and elegant. The application layer, data layer, and template rendering layer of the package is simple and easy to understand. This makes it quick to pick up.
Biny is high performance. Framework comes default with response time of less than 1ms. Stand-alone QPS easily up to 3000.
Supports cross-database connection tables, conditional compound filtering, query PK cache, etc.
Support RESTful, automatic loading management of classes
Support Form form validation and event triggering mechanism
Support browser-side debugging to quickly locate program problems and performance bottlenecks
It has features such as sql anti-injection and html automatic anti-xss.
Support cross library join table, conditional compound filter, query PK cache, etc.
Supports RESTful, automatic loading management of classes
Supports Form validation and supports event triggering mechanisms
Supports browser side debugging, rapid positioning problems and performance bottlenecks
With SQL anti injection, HTML automatic anti XSS and other characteristics
Wiki URL: http://www.billge.cc
English Wiki URL: http://www.billge.cc?lang=en
GitHub URL: https://github.com/Tencent/Biny
Q: What is the difference between the framework and the traditional PHP framework, and what are its advantages?
A: Biny is a framework with a high degree of freedom. Unlike other frameworks, which require configuring various routes and relying on external components. These are not needed in Biny, and you can quickly use these functions by following a simple rule. At the same time, the framework has integrated an automatic loading mechanism, which makes it very simple to use from a developer's perspective. And it has quite strong security. It completely shields the two major security problems of SQL injection and XSS injection from the framework level, making it very suitable for newcomers.
Q: What is the performance of Biny framework?
A: Test machine: Intel Xeon Processor E5506 (4M Cache, 2.13 GHz, 4.80 GT/s Intel QPI). A common query data page (50% hit cache) QPS can easily reach more than 3000. Compared with Yii, the performance is 2 times that of Yii. above.
Q: I want to use Biny. Is there any relevant documentation?
A: The documents are all at http://www.billge.cc
Q: Does the Biny framework adapt to PHP7?
A: It works perfectly and the performance is increased by more than 2 times.
Q: Is Biny now the final version? Will it continue to be updated?
A: The current version has been used normally in multiple projects and is relatively mature. It will be continuously updated in terms of performance and functionality in the future. At that time, you only need to update and replace the lib library to use the latest framework.
Q: What is the difference between a framework and a traditional PHP framework? What are the advantages?
A: Biny is a framework with high degree of freedom, unlike other frameworks that need to configure various routes, relying on external components. These are unnecessary in Biny and can be quickly used with simple rules. At the same time, the framework has been integrated with the autoload mechanism. From the developer's point of view, the functionality is very simple to use. It defaults to strong security. From the framework level, the applications is completely shielded from SQL injection and XSS injection.
Q: What is the performance of the Biny framework?
A: Testing machine: Intel Xeon Processor E5506 (4M Cache, 2.13 GHz, 4.80 GT/s Intel QPI) A common query data page (50% hit cache), QPS can easily reach more than 3000. This is twice as fast as Yii .
Q: Does the Biny framework work with PHP7?
A: Yes. Performance increases have been seen of over 2x when compared with PHP5.
Q: Is Biny the final version now? Will it continue to be updated?
A: The current version has been used in several projects and is relatively mature. The follow-up will be updated for both performance and functionality, and you'll need to update and replace the Lib library to use the latest framework.
Q: Why does template rendering go wrong?
A: Please turn on short_open_tag in php.ini. Biny's example uses the native abbreviation rendering method in PHP, and the abbreviation configuration in the system configuration needs to be turned on for normal use. Of course, if it is a template page developed by yourself and does not use abbreviation, it is okay even if short_open_tag is not turned on. Abbreviation example:
<?php echo $string;?> => <?=$string?>
Q:Why is the template rendering deranged?
A:Please open short_open_tag in php.ini. In the example of Biny, you use the native abbreviated rendering method in PHP, and you need to open the short configuration in the system configuration for normal use. Of course, if you are developing your own template page, you don't need to abbreviate it, even if you don't open the short_open_tag. Abbreviated example:
<?php echo $string;?> => <?=$string?>