首页| JavaScript| HTML/CSS| Matlab| PHP| Python| Java| C/C++/VC++| C#| ASP| 其他|
购买积分 购买会员 激活码充值

您现在的位置是:虫虫源码 > Java > 一个API web2py CRUD服务客户端

一个API web2py CRUD服务客户端

资 源 简 介

A simple javascript client for web2py apps plugin_clientapi is a multi-purpose client interface for handling web2py services from client frameworks or any javascript client software. It supports remote database queries, full database scheme and form retrieval, submission and validation with Ajax. It takes advantage of web2py data serialization api to perform client-server data comunications in a simple and efficient way. Examples Retrieving and submitting a form without user intervention requires a few lines: w2pClientAPI.onNewForm = function(){ w2pClientAPI.form.vars.runny = "very"; w2pClientAPI.submit();}w2pClientAPI.newForm("db", "cheese"); Retrieving data is also simple w2pClientAPI.query("db", {"first": {"tablename": "cheese", "fieldname": "id"},

相 关 资 源

您 可 能 感 兴 趣 的

同 类 别 推 荐

VIP VIP
  • 开心快活人 2小时前 成为了本站会员

  • 晋财 3小时前 成为了本站会员

  • WYG 1天前 成为了本站会员

  • Shine 1天前 成为了本站会员

  • 柳贻 1天前 成为了本站会员

  • hallelujah_HL 1天前 成为了本站会员

  • 焦昱贺 1天前 成为了本站会员

  • Rubin 1天前 成为了本站会员

  • Li 2天前 成为了本站会员

  • bigfatcat1977 3天前 成为了本站会员

0.151641s