自拍偷在线精品自拍偷,亚洲欧美中文日韩v在线观看不卡

9個(gè)開(kāi)發(fā)人員應(yīng)該知道的PHP庫(kù)

開(kāi)發(fā) 后端
這里講介紹9個(gè)開(kāi)發(fā)人員應(yīng)該知道的PHP庫(kù),有了這樣的積累,大家開(kāi)發(fā)PHP方面就更加得心應(yīng)手了。希望本文能對(duì)大家有所幫助。

9個(gè)開(kāi)發(fā)人員應(yīng)該知道的PHP庫(kù)大多都是國(guó)外的資源,不過(guò)有了這些PHP庫(kù)的支持,大家今后進(jìn)行開(kāi)發(fā)一定能加快速度,不會(huì)進(jìn)行簡(jiǎn)單的重復(fù)勞動(dòng)。

1. ReCAPTCHA

The reCAPTCHA 庫(kù)讓你可以為網(wǎng)站創(chuàng)建高級(jí)的CAPTCHA系統(tǒng),這個(gè)系統(tǒng)其實(shí)是用來(lái)生成驗(yàn)證信息的,甚至包括語(yǔ)音驗(yàn)證,下圖就是個(gè)好例子。

當(dāng)然還有reCAPTCHA 服務(wù)可以使用,其提供易用的免費(fèi)API,值得在你的網(wǎng)站試試。

The reCAPTCHA library allows you to integrate an advanced CAPTCHA system on your website, which helps keep spam bots from posting on your website. The visual CAPTCHA also includes a helpful audio feature.In addition to the reCAPTCHA service, the library also includes an API for the "Mailhide" service which hides emails from spammers.The API is free and easy to implement on your site and also gives back to the community as it translates scanned books.

ReCAPTCHA

下載 ReCAPTCHA獲得 API Key | 文檔

2. Akismet

Akismet 是個(gè)供小站點(diǎn)使用的免費(fèi)服務(wù),用來(lái)修改規(guī)范將加入數(shù)據(jù)庫(kù)的評(píng)論(防止惡意評(píng)論)。這個(gè)庫(kù)一直在改善。

Akismet is a free service that can be used on most small sites - or used on larger sites for a small fee. The library works by comparing comments to a database of existing spam comments provided by other users. The library can then decide to flag the comment for moderation or allow it through. Everyday the library grows and the service improves.

Akismet 

介紹 Akismet

3. Services_JSON

JSON是人類(lèi)能容易理解的信息傳遞格式。不過(guò)如果你并未使用5.2.0以后版本的php(從那以后php有了JSON官方支持),那么就應(yīng)該試試這個(gè)庫(kù)。

JSON is a handy format for transmitting human readable data. Not everyone has made the move to PHP5 which has included JSON support since version 5.2.0. This small library enables you to implement JSON functionality into your own applications if you are not using a recent version of PHP.

JSON 

查看 Services_JSON

4. Smarty

Smarty就是鼎鼎大名的官方模版庫(kù)了。它提供了不少有用的功能。其實(shí)使用php的人都該瞧瞧。

Smarty is a template engine which was formally a sub-project of the PHP project. Smarty provides many powerful features such as loops, variables, and a great caching system. The library has many years under its belt and is nearing its version three release.

Smarty 

下載 Smarty | 觀看文檔

5. pChart

pChart是極其有名的數(shù)據(jù)圖形庫(kù)。它能為數(shù)據(jù)展示提供各種美麗的圖表。其實(shí)使用php的人都一定會(huì)碰到使用它的情況。

In addition to displaying text data in your application, it can also be useful to show data in a more visual format. This can be done with a slew of options like pie charts and bar graphs. pChart is a script that allows you to create charts and graphs from SQL queries or manually provided details. The script is baked by GD to create the images. There is also a main focus on the aesthetics; so it creates some beautiful work.

pChart 

下載 pChart | 查看文檔| View Demos

6. SimplePie

SimplePie 讓你輕松提取內(nèi)容(好比RSS feeds)。它能和多種語(yǔ)言交互,也能處理各種格式的feed。

SimplePie allows you to easily pull in syndicated content (like RSS feeds). It's also been integrated with a lot of different platforms and language sets; it should be able to deal almost any feed in a variety of ways.

SimplePie 

下載 SimplePie | 查看文檔為獨(dú)特的RSS Feeds拓展SimplePie 

7. XML-RPC PHP Library

有時(shí)你需要使用XML-RPC技術(shù)去和其他網(wǎng)站交互,那么試試這個(gè)XML-RPC PHP 庫(kù)吧。

Applications sometimes use functionality to "ping" other sites when an action has occurred (known as trackbacks). This is done by using a protocol called XML-RPC. The XML-RPC PHP library also allows you to integrate the functionality into your website.

XML-RPC 

下載 XML-RPC PHP | 查看文檔

8. Amazon S3

Amazon有名的云計(jì)算平臺(tái)叫做“S3”。這里就有Amazon S3 庫(kù) 讓你不用任何附加工具就可以使用云,上傳大量數(shù)據(jù)文件。

Amazon provides a nice service to work in the cloud, called "S3". Nettuts+ even uses it to store the images seen in each article. There is a nice Amazon S3 library that doesn't require any third party tools and allows for large file uploads.

Amazon S3 

下載 Amazon S3 PHP Class

9. PHPMailer

大多數(shù)web應(yīng)用都在使用php的mail()函數(shù)。PHPMailer讓你更加靈活地處理Email的發(fā)出,不但支持任何格式,還可以加入附件并自定義header。

Most applications send out an email in some form, but usually rely on the basic php mail() function. PHPMailer is an existing powerful class that allows you to send different types of emails - from basic text to rich formatted emails. These emails can also include attachments or custom headers.

Sending Mail 

下載 PHPMailer | 查看文檔

原文標(biāo)題:9個(gè)你應(yīng)該知道的PHP庫(kù)

鏈接:http://www.cnblogs.com/biko-zc/archive/2009/09/10/1563964.html

【編輯推薦】

  1. 9月編程語(yǔ)言排行榜:PHP的歷史性突破
  2. 51CTO Web開(kāi)發(fā)專(zhuān)區(qū)
  3. 專(zhuān)題:PHP開(kāi)發(fā)基礎(chǔ)入門(mén)
  4. PHP 5.3.0發(fā)布 新增命名空間等多項(xiàng)特性
  5. PHP命名空間規(guī)則解析及高級(jí)功能

 

責(zé)任編輯:彭凡 來(lái)源: 博客園
相關(guān)推薦

2023-10-26 16:56:24

2023-04-07 16:11:56

前端開(kāi)發(fā)

2017-10-11 13:20:56

Linux命令工程師

2011-07-10 15:18:11

開(kāi)發(fā)

2013-01-28 10:25:46

開(kāi)發(fā)人員設(shè)計(jì)技巧

2024-06-04 14:31:16

2020-01-27 16:28:57

開(kāi)發(fā)命令遠(yuǎn)程服務(wù)器

2024-06-03 10:35:41

2024-10-21 13:15:03

2021-02-05 12:58:18

開(kāi)發(fā)人員CICD

2020-07-23 08:21:25

PHP開(kāi)發(fā)人員MVC

2019-04-24 08:56:34

Java開(kāi)發(fā)人員常犯錯(cuò)誤

2017-02-24 19:10:45

C#開(kāi)發(fā)人員

2022-12-16 08:14:00

2018-04-08 10:08:43

開(kāi)發(fā)人員工具

2009-01-11 10:18:46

腳本語(yǔ)言F#Groovy

2020-10-13 08:41:58

Java開(kāi)發(fā)框架

2013-01-10 10:10:11

Web開(kāi)發(fā)Web工具

2023-02-08 08:32:58

2024-09-06 15:48:13

點(diǎn)贊
收藏

51CTO技術(shù)棧公眾號(hào)