Again out of the lake, jpage page PHP release

Source: Internet
Author: User

Statement: This article at the same time published in a stroke it community, CSDN, last night, the wind personal website, welcome any website/individual reprint, but please keep the statement information and author information, thank you for your cooperation!

Author: Ying Yinghui (last night Wind)
Version: Jpage v2.0 for PHP
Published: 2008-12-02

______________________________________________________________


In the introduction of the Java,. Net2.0 development language under the Jpage version two after pagination, with a stroke it community, Abcbaby, add to take the real estate network, China Open Source network development needs, as well as the new Oriental PHP01 class grand set sail, to PHP under the jpage paging needs, put on the agenda.

Version history:
October 2007, jpage page php version was born, initially applied to several projects.
November 2007, I and PHP01 students, together on the Jpage first edition of a comprehensive test and improvement.
December 2008, the Birth of Jpage 2.0 PHP.

Jpage v2.0 for PHP

Characteristics:
1, the General data encapsulation.
just include mysql.php, solve all the problems of adding, deleting, changing and checking. Executes the SQL statement, executes the procedure , returns the array results, returns to a row of rows, and, in this column, a row.
To the data holding class, absorbing Microsoft's. NET data layer, combined with the actual development needs, will greatly improve the development efficiency.

2, just a query statement.
Simple use, fast development and optimal query have always been the core ideas of Jpage series paging. Just a statement, that is, to support common queries, mass queries, and at the same time get a variety of pagination style, this is jpage paging.

3, optimize the small amount of inquiry and mass query.
After MYSQL5 2.6 million data test, jpage paging execution quickly. Significantly better than other pages on the web and based on the PHP program layer result set paging. In MySQL, jpage pagination using the limit to pagination, which continues the jpage paging "how much, how much" based on the database level of paging ideas.

4, built-in three kinds of footer style.
To address the different display requirements, the Jpage page has three styles of footer display:
Default style: Suitable for general business needs.
Simple style: Suitable for narrow page display requirements.
Data style: Suitable for mass data display requirements.
In addition to the above three styles, developers can also customize the style in footpage.php.


5, flexible footer style control.
You can define a style sheet file such as: #page a{color:red} to get different display effects.

6, seamless integration with the jwork framework.
As the predecessor of the Jwork Framework, jpage pagination, it is not a battle in the fight. Jwork Framework is the experience set, universal set and efficiency set of software development.


Contrast:

General page/Custom paging problems:

1, the problem of Web site communication.
Some pages on the web, including our own written pagination, often ignores the problem of Web site communication. As we know, pagination URLs are generally:
List.php list.php?page=2,

But when the URL has parameters,
List.php?name=yiboit&id=20
General pagination is: list.php?page=2
Jpage Paging as: list.php?name=yibit&id=20&page=2

2, writing complex, code redundancy, and data layer independent.
General paging, and the data layer independent, and the View (page) too coupled, in the use, development, operational efficiency are debatable.
Jpage paging, has been published in Java,. Net, PHP version three, based on the same idea, after millions project testing, stress testing, no problems have arisen.
Jpage pagination, the pagination as a data layer function, the display layer (pagination style) to the configuration file independent, standing in the "loose coupling" of the height, so that development so convenient.

3, paging based on result set or stored procedure.
There are two main scenarios for paging, one based on the result set, and one based on top N of the data end.

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.