PDOCrud

1
官网:http://pdocrud.com/

2
在线Demo:http://pdocrud.com/demo/pages/index.php

3
Almost in each web application, we need to write many lines of codes to perform insert, update, delete and read database tables operations. PDOCrud script does this work by just writing 2-3 lines of code. This offers add, edit, update and delete basic operation along with several other operation, like pagination, records per page, search etc. Apart from these, you can customize the table and form data in many ways as per requirement by writing simple line of codes. Many javascript plugins are also added that help to perform many other tasks also. Script has many features to ease the development process. You can build simple web application and backend cms using the script easily. You don’t need to write data submission code (Insert/Update/Delete/Export), script handles does that part also. By default, script also put validations as per the field type and manages the data submission using ajax.
译:
几乎在每一个web应用程序中,我们需要写有关IUDR数据库表的很多代码。有了PDOCrud,这些工作只要几行代码就可以了。

4
心得体会:
4.1在手机上测试,表单提交还兼容
4.2PDOCrud -Form Examples(官方提供了很多表单示例)
4.3下面是一些感受
demo1:用两行代码画出数据的处理界面:

$pdocrud = new PDOCrud();//create object of PDOCrud Class
echo $pdocrud->dbTable("employee")->render(); // call render function on database table

在这里插入图片描述
demo2:Edit Single Cell Excel like editing of table cell on click (Added in version 3.7)
双击某单元格,可以像xls那样修改数据。
在这里插入图片描述
demo3
在线demo
表单元素常有:单项选择(例如性别);多项选择(例如爱好);下接列表(例如性别);在列表中选多项(例如爱好);富文本(例如简介);

$pdocrud->fieldTypes("hobbies", "checkbox");//change hobbies to checkbox button
$pdocrud->fieldDataBinding("hobbies", array("Dance","Art","Games"), "", "","array");//add data for checkbox button

爱好
demo4
皮肤(貌似没几种?)

$pdocrud = new PDOCrud();
//You can apply different theme css simply by adding css in the skins folder. By default,
//five css (default, dark, fair,green and advanced) are present. By default, default.css is applied.
$pdocrud->setSkin("green");
echo $pdocrud->dbTable("orders")->render();
// You need to set template name and sking name 'pure' in settings page
// It can be done directly in config page also      
$pdocrud = new PDOCrud(false, "pure", "pure");// or you can set template name and skin name as pure in constructor.
echo $pdocrud->dbTable("orders")->render();

在这里插入图片描述

demo5
查询(分类)功能(过滤显示需要的数据)还不错。
在线demo
在这里插入图片描述
demo6
Auto Suggestion (自动从库中检出)
Auto suggestion in search box (Added in v 3.6)
You can add auto suggestion in search box that allows you to type the text and based on text, records will be shown as suggestion. You can enable/disable auto suggestion in config file. Please note that auto suggestion works with specific column not for “All” option in column dropdown of search box. You need to type atleast 2 character to view auto suggestion search result.
在这里插入图片描述
demo7
在线demo
显示数据时,各种格式设置
在这里插入图片描述
demo8
在线demo
表单插入;表单编辑;

demo9
图像上传等处理,在线demo

demo10
某一行数据显示,格式化。在线demo

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值