Anclient.js Reference

Documents Home

Anclient Versions

Language Runtime Details
Java
JDK 1.8
Android
Javascript
EasyUI
VueJs
C#
.net framework

Anclient.js Reference

Anclient.js including a low level core API and 2 CRUD pattern implementations that can work (in ther future?) by itself depending on the low level API. The 2 implementaions are based on EasyUI and VueJs respectly.

AnClient.js Core

For API doc, see jclient.js jsdoc

Options (version 1.0, deprecated in v1.1)

Details
Options
In anclient.js, there are some options can be accessed via API to control it's behaviour:
  1. Protocol.opts(): statically setting JMessage.opts
  2. EzModal.save(..., opts): save with / without empty value of form's input.
EzModal.save(..., opts):
opts.withEmpty
Ignoring Empty String
default: false
false: no empty value will be serialized.
true: if the html input's value is empty (''), will also been serialized and genertating value for sql setting value like:
update table set tbl.col = ''
Protocol.opts(options)
JMessage.opts

Global Client Options

  1. options.noNull
    TODO ...
  2. options.noBoolean
    Ask server don't send back true or false value, but '1' and '0'