建议的分页程序AJAX PHP [英] Recommendation for a Pagination procedure AJAX PHP

查看:116
本文介绍了建议的分页程序AJAX PHP的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我不知道正确的术语,我试图描述的过程。我甚至不知道哪个平台的技术底层。如果你明白我的描述,请给出的链接网站(S)和或过程的关键字名称。我认为这是由AJAX做,但我不能肯定。我使用PHP作为后端code,我只需要找到一种方法来动态显示效果。请给点建议。我忘了使用这个网站的名字,我的链接历史过期。

I am not sure the correct terminology for the process that I am trying to describe. I don't even know which platform is underlying the technique. If you understand my description, please give the link to the site(s) and or the keyword name of the process. I think it is done by AJAX, but I am not certain. I use php as the backend code, I just need to find a way to dynamically display the results. Please give suggestions. I forgot the name of the sites that use this, and my link history expired.

TIA

说明:

该网页将有一个搜索表单和选项。用户提交之后,在启动搜索,并把结果显示在专用结果区域内。该网页不刷新,只是结果区域内的信息。

The page would have a search form and options. After the user submits, the search is initiated, and the results appear inside the dedicated result area. The page does not refresh, just the info inside the result area.

显示区会显示20(或其他)的结果(行)。接下来将会和previous按钮。如果碰到下一个,下一个组结果就会显示出来。

The display area will show 20 (or whatever) results (lines). There will be next, and previous buttons. If you hit next, the next set of results will display.

我写一个code,产生20个结果为每个显示。有结果的无定数,所以结果可能具有一个启动/第一页,但不具有其最终页

I am writing a code that generates 20 results for each display. There is no set number of results, so the results might have a start/first page, but do not have an end page.

每当用户点击下一步,程序会生成/加载新的成果。它还将存储previous结果,这样,当一个用户点击'$ P $光伏'中,previous结果可以立即想出

Each time the user hits 'next', the program would generate/load new results. It would also store previous results, so that when a user hits 'prev', the previous results can instantly come up.

什么技术/方案的论文?

What techniques/program are theses?

推荐答案

有最近处理分页与code点火器(PHP框架),以下链接可以帮助你和其他人的:

Having recently handled pagination with Code Igniter (php framework), the following links might help you and anyone else out:

http://tympanus.net/jPaginate/

HTTP://$c$cigniter.com/forums/viewthread/93045/

可用性是重要的和AJAX分页介绍了一些需要解决有关分页,下面的文章将给予一定的可用性准则为表显示​​结果的重要问题:

Usability is important and AJAX pagination introduces some important questions that need addressing regarding pagination, the following article will give some usability guidelines for displaying results in a table:

http://thedesignvanguard.com/crud-r-for-read

code点火器原型框架的Ajax分页:

Code Igniter Prototype Framework Ajax Pagination:

HTTP://$c$cigniter.com/wiki/AJAX_Pagination_with_CI_Pagination_Library/

由于我们使用jQuery,我们选择了以下,codeigniter jQuery框架为AJAX分页

Since we're using jQuery, we chose the following, Codeigniter jQuery framework for AJAX pagination

的http:// tohin。字press.com / 2008/08/12 / codeigniter-AJAX-分页/

http://tohin.word$p$pss.com/2008/10/07/$c$cigniter-ajax-pagination-exampleguideline/

这篇关于建议的分页程序AJAX PHP的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆