Skip to content
/ Biny Public

Biny is a tiny, high-performance PHP framework for web applications

License

BSD-3-Clause, Unknown licenses found

Licenses found

BSD-3-Clause
LICENSE
Unknown
LICENSE.TXT
Notifications You must be signed in to change notification settings

Tencent/Biny

Repository files navigation

Biny

license Release Version PRs Welcome

Biny là một khoản cao tính năng nhẹ lượng cấp PHP dàn giáo

Tuần hoàn MVC hình thức, dùng cho nhanh chóng khai phá hiện đại Web ứng dụng trình tự

Biny số hiệu ngắn gọn ưu nhã, đối ứng dùng tầng, số liệu tầng, khuôn mẫu nhuộm đẫm tầng phong trang đơn giản dễ hiểu, có thể nhanh chóng thượng thủ sử dụng

Cao tính năng, dàn giáo hưởng ứng thời gian ở 1ms trong vòng

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.

Công năng giới thiệu Function introduction

Duy trì vượt kho liền biểu, điều kiện hợp lại sàng chọn, tuần tra PK hoãn tồn chờ

Duy trì RESTful, loại tự động hoá thêm tái quản lý

Duy trì Form biểu đơn nghiệm chứng, duy trì sự kiện kích phát cơ chế

Duy trì trình duyệt đoan điều chỉnh thử, nhanh chóng định vị trình tự vấn đề cùng tính năng bình cảnh

Có sql phòng rót vào, html tự động phòng xss chờ đặc tính

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

Sử dụng hồ sơ documents

Wiki URL:http:// billge.cc

English Wiki URL:http:// billge.cc?lang=en

GitHub URL:https://github /Tencent/Biny

FAQ

Q: Dàn giáo cùng truyền thống PHP dàn giáo khác nhau ở đâu, có cái gì ưu thế?

A: Biny là cái tự do độ rất cao dàn giáo, không giống mặt khác dàn giáo yêu cầu phối trí các loại lộ từ, ỷ lại phần ngoài lắp ráp. Này đó ở Biny trung đều là không cần, dựa theo một cái đơn giản quy tắc là có thể nhanh chóng sử dụng này đó công năng. Đồng thời dàn giáo đã tổng thể tự động thêm tái cơ chế, từ khai phá giả góc độ xuất phát, ở công năng thượng sử dụng phi thường đơn giản. Hơn nữa có tương đương cường an toàn tính. Từ dàn giáo mặt hoàn toàn che chắn SQL rót vào cùng XSS rót vào hai đại an toàn nan đề, phi thường thích hợp tân nhân sử dụng.

Q: Biny dàn giáo tính năng như thế nào?

A: Thí nghiệm cơ: Intel Xeon Processor E5506 (4M Cache, 2.13 GHz, 4.80 GT/s Intel QPI) Một cái bình thường tuần tra số liệu giao diện ( 50% mệnh trung hoãn tồn ) QPS có thể nhẹ nhàng đạt tới 3000 trở lên, cùng so Yii, tính năng là Yii 2 lần trở lên.

Q: Ta tưởng sử dụng Biny, xin hỏi có tương quan lời thuyết minh đương sao?

A: Hồ sơ đều ởhttp:// billge.ccTrung

Q: Biny dàn giáo thích xứng PHP7 sao?

A: Có thể hoàn mỹ vận hành, tính năng đề cao 2 lần trở lên.

Q: Biny hiện tại là cuối cùng bản sao, còn sẽ tiếp tục đổi mới sao?

A: Trước mắt phiên bản ở nhiều hạng mục trung đã bình thường sử dụng, tương đối thành thục. Kế tiếp sẽ nhằm vào có thể cùng công năng thượng đều sẽ liên tục đổi mới, đến lúc đó chỉ cần đổi mới thay đổi lib kho có thể sử dụng mới nhất dàn giáo.

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.

Thường thấy vấn đề Common Problems

Q: Mẫu nhuộm đẫm xuất hiện thác loạn là vì cái gì

A: Thỉnh ở php.ini trung mở ra short_open_tag. Biny thí dụ mẫu trung sử dụng PHP Trung Nguyên sinh viết chữ giản thể nhuộm đẫm phương pháp, yêu cầu đem hệ thống phối trí trung viết chữ giản thể phối trí mở ra mới có thể bình thường sử dụng. Đương nhiên nếu là chính mình khai phá mẫu giao diện, không cần viết chữ giản thể phương thức nói, liền tính không mở ra short_open_tag cũng là có thể. Viết chữ giản thể thí dụ mẫu:

<?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?>