是否有用于 JQUERY 网格控件(JQGRID 或数据表)的免费 PHP 包装器或后端脚本
我希望实现一个带有 PHP 后端的最佳实践 JQUERY 网格控件。我希望它能够支持大型数据集和内联单元格编辑。
我正在努力寻找一个与控件集成并抽象出这些东西的复杂性的 PHP 后端脚本。我希望能够以最少的配置实现基于底层 MYSQL 表的网格。确实,我不可能是唯一一个希望能够指定基本数据库详细信息和表/sql 并拥有一个操作网格的人。
JQGrid 有一个付费的 PHP 脚本后端,您可以使用它,这听起来像我想要的......只是它很昂贵。 http://www.trirand.net/documentation/php/index.htm
还有一种更便宜的方法试图做同样的事情,但它不起作用。 http://azgtech.wordpress.com/2010/08/01/ jqgrid-php-datagrid/
我也研究过 DataTables,但是一旦添加内联编辑功能,开发 PHP 后端就开始成为自己的项目。
我花了很长时间研究这个问题,并研究了各种解决方案。
有人知道有一个功能强大、免费、易于使用且具有完整 PHP 后端脚本的解决方案吗?
我已经包含了付费 JQGrid PHP 控件的一些描述,其中包含我正在寻找的功能类型。
JQGRid PHP This is a brand new product created for PHP developers and teams that radically decreases development time with jqGrid and makes it fun and easy. The product will be offered with commercial licenses that will include fast and accurate technical support, source code and subscription based benefits. Highlight points include: - all functionality jqGrid has is supported - no need for tricky javascript – everything is handled in PHP - the PHP component automatically handles data retrieval, paging, sorting, searching and all CRUD operations (create, read, update, delete). No need for custom code. - you can have a fully functional grid with just a few lines of PHP - export to Excel is supported - database engines supported: MySql, Postgre SQL, Microsoft SQL server
I am looking to implement a best-practice JQUERY grid control, with a PHP backend. I want it to be able to support large datasets, and inline cell editing.
I am struggling to find a PHP backend script which is integrated with the control and abstracts away the complexities of this stuff. I want to be able to implement a grid based on an underlying MYSQL table with a minimum of configuration. Really I can't be the only one who wants to be able to specify basic database details and table/sql and have an operating grid.
JQGrid has a paid PHP script backend you can use which sounds like what I want...only its expensive.
http://www.trirand.net/documentation/php/index.htmThere's also a cheaper thing trying to do the same thing, but it doesn't work.
http://azgtech.wordpress.com/2010/08/01/jqgrid-php-datagrid/I've also looked at DataTables, but once you add the inline-editing capabilities, developing the PHP backend started becoming its own project.
I have spend ages researching this, and mucking about with various solutions.
Does anybody know of a powerful, free, easy to use solution which has a complete PHP backend script?
I've included some of the description of the paid JQGrid PHP control, which contains the kind of functionality I'm looking for.
JQGRid PHP This is a brand new product created for PHP developers and teams that radically decreases development time with jqGrid and makes it fun and easy. The product will be offered with commercial licenses that will include fast and accurate technical support, source code and subscription based benefits. Highlight points include: - all functionality jqGrid has is supported - no need for tricky javascript – everything is handled in PHP - the PHP component automatically handles data retrieval, paging, sorting, searching and all CRUD operations (create, read, update, delete). No need for custom code. - you can have a fully functional grid with just a few lines of PHP - export to Excel is supported - database engines supported: MySql, Postgre SQL, Microsoft SQL server
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
您查看过 phpGrid 吗?它是一个 PHP jqgrid 包装器。只需两行代码即可开始。这是您正在寻找的东西吗?
Have you checked out phpGrid. It's a PHP jqgrid wrapper. It just two lines of code to get started. Is that something you are looking for?
我不久前写了这个小库,作为一个充满酒精的周末项目,它有点混乱,但它将提供您正在寻找的一些默认后端功能。]
这旨在允许开发使用标准模板的网格数据表,下面是一个示例模板。
我已经扩展了 Flexgrid 以适应字段格式化、提交数据和添加字段事件,但我一生都找不到它。如果我这样做,我会发布它。
免责声明: $_POST 在整个 grid.php 中被随意使用。建议更换为更合适的东西。
I wrote this small library a while back as a a booze filled weekend project a while ago, it's a bit messy but it'll provide some of the default back end functionality that you're looking for.]
This is designed to allow the development of Grid data tables using a standard template, Below is an example template.
I've extended Flexgrid to accommodate for field formatting, committing data and adding field events but I can't for the life of me find it. I'll post it if I do.
Disclaimer: $_POST is used recklessly throughout grid.php. It is recommended that it's replaced with something more fitting.
我刚刚找到了一个 github 项目,它似乎非常适合于此: https://github.com/ lampjunkie/php-datatables
它为 Jquery Datatables 插件提供了一个包装器,还处理初始设置和 ajaq 数据提要。它采用面向对象的方法,并且设计看起来非常合乎逻辑。
您还可以在包中找到示例项目。
I've just found a github project which seems to be really great for this: https://github.com/lampjunkie/php-datatables
It provides a wrapper for Jquery Datatables plugin, handles the initial setup and the ajaq data feeds also. It has an object-oriented approach and seems to be very logically designed.
You also can find an example project in the package.