Home > Backend Development > PHP Tutorial > Summary of PHP class libraries commonly used in PHP programming_PHP tutorial

Summary of PHP class libraries commonly used in PHP programming_PHP tutorial

WBOY
Release: 2016-07-20 10:57:31
Original
1161 people have browsed it

The following are some PHP class libraries that are frequently used in PHPprogramming

1. Chart library

The following class libraries allow you to easily create complex charts and pictures. Of course, they require support from the GD library.

1. pChart

A library that can create statistical charts.

2. Libchart

This is also a simple statistical gallery.

3. JpGraph

An object-oriented image creation class.

4. Open Flash Chart

This is a statistical chart based on Flash.

2. RSS parsing

1. MagpieRSS

The open source PHP version of the RSS parser is said to be powerful and has not been verify.

2. SimplePie

This is a very fast and easy-to-use RSS and Atom parsing library.

3. Thumbnail generation

1. phpThumb

is very powerful. It’s up to you to experience how powerful it is.

4. Payment

1. PHP Payment Library

Supports Paypal, Authorize.net and 2Checkout (2CO)

5. OpenID

PHP-OpenID

A PHP library that supports OpenID. OpenID is a solution that helps you log into different websites using the same username and password. If you are not familiar with OpenID, you can take a look here: http://openid.net.cn/

6. Data is abstract/object relational mapping ORM

  • ADOdb - database abstraction
  • Doctrine - Object relational mapper (ORM), requires PHP 5.2.3+ version, a very powerful database abstraction layer (DBAL).
  • Propel - Object-relational mapping framework - PHP5
  • Outlet - is also a tool for object-relational mapping.

Note: Object Relational Mapping (ORM) is a technology designed to solve the mismatch between object-oriented and relational databases. Simply put, ORM automatically persists objects in a program into a relational database by using metadata that describes the mapping between objects and databases. Essentially, it converts data from one form to another. This also implies additional execution overhead; however, if the ORM is implemented as a middleware, there are many opportunities for optimizations that do not exist in a hand-written persistence layer. More importantly, the metadata used to control transformations needs to be provided and managed; but again, these costs are less than maintaining a handwritten solution; and even ODMG-compliant object databases still require class-level metadata.

7. PDF Generator

FPDF

This is a pure PHP library that allows you to generate PDF.

8. Excel related

  • php-excel – This is a very simple Excel file generation class.
  • PHP Excel Reader – can parse and read data in XLS files.

9. E-Mail related

  • Swift Mailer – a free super multifunctional PHP email library.
  • PHPMailer – a super powerful email sending class.

10. Unit Testing

If you are using a test-driven approach to develop your program, the following class libraries and frameworks will definitely help you. development.

SimpleTest - A PHP unit testing and web page testing framework.

PHPUnit – From the xUnit family, it provides a framework that allows you to easily carry out unit test case development. And its test results can be analyzed very easily.


www.bkjia.comtruehttp: //www.bkjia.com/PHPjc/445758.htmlTechArticleThe following are some PHP class libraries that are often used in PHP programming 1. Classes under the chart library The library allows you to easily create complex charts and images. Of course, they require the GD library...
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template