PHP programmers should use the 10 components _php tutorial

Source: Internet
Author: User
Open source solutions can be of great help to you, such as:

    • Open source code is done by a lot of people, so it tends to be better than the result of a person's accomplishment.
    • You can get free code updates and upgrades, otherwise you'll need to write these new content yourself.
    • You save development time while improving the quality of your project

As a web developer for so many years, I've compiled a list of PHP components that can be deployed very easily in any project I use often.

Send mail

Each site will need to send a message. PHP's email () function is good, but when we need to send an attachment or use the SMTP protocol to send, there is nothing to do. So in such cases, you should use Phpmailer.

Phpmailer v5.1 Download (Chinese Help and English help file included)

User Management

Another common module is the user Management module. Use this module to enable users to log on, logout and register and other operations. I personally felt that I could not find a good component to complete the task, so I wrote a Php user classmyself. This build can even be used in applications that need to be published publicly, because it can be customized to use different data tables, variable types, and so on.

Get RSS

Have you ever thought of adding a component to your program that gets RSS information? While it's easy to write a component like this ( tutorial ), but more often you need a more comprehensive feature, this time you'll need to use Magpie RSS.

Geo-positioning

Many times you will want to know which countries and regions the visitors from the website are from, andMaxmind gives a solution to this problem. ( tutorial )

Get remote information

Sometimes the function of RSS does not satisfy your need to get remote information, because you want to capture and save the information of the whole page. You will certainly need the Htmlsql class component. You can use the SQL statement to get the page information, is it cool?

Citation notice

In our time, sending and receiving trackbacks is a very important feature of the site. If you use PHP trackback This component can be very easy to do.

Template system

A template system is a component that is used by all sites. The template engine can save you a lot of time and make it easy to change the style and design of your Web pages. Smarty is a very good template system, basically all of the PHP site is using it.

BB Code

BB code used to be a function of the forum, but as more and more websites use this feature to make themselves more friendly, I believe you would like to try this function. But the problem is that the writing of the BB Code component takes a lot of time and experience, and I don't know if you can write it yourself. If you can't, then use Stringparser BBCode class .

PayPal payment System

You may know that PayPal offers a very good set of APIs for websites that want to set up a PayPal payment system on their website. The PayPal IPN Integration Class component allows you to implement this feature in 20 minutes.

Editor controls

For me, using phpmyadmin and the general text Editor can be a good way to modify the content of the site. But for my clients, they need a powerful editor with WYSIWYG, to help them late their work. TinyMCE Control , written in JavaScript, is a component that allows you to save a lot of time.

http://www.bkjia.com/PHPjc/320702.html www.bkjia.com true http://www.bkjia.com/PHPjc/320702.html techarticle Open Source solutions can be of great help to you, for example: Open source code is done by many people, so it is often better than the result of a person's accomplishment. You can get free code ...

  • Contact Us

    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.

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.