| |
|
 |
zeroCode now provides you a storage
and retrieval mechanism at the server level. It provides you the benefit
of writing business logic at the server level. This has now been done
by the incorporation of storage bindings for non-key nodes. For a
non-key attribute, you can now specify that its value, when stored,
should be the same as that of some other node, or that its value is
an expression involving other nodes or session variables. |
| |
|
| |
For e.g., consider that you have
three tables - Order Header, Order Details and Inventory and Quantity
is a non-key attribute in these tables. Supposing a transaction involves
a quantity of 10 items being ordered for. The inventory table must
be updated to show "Quantity" less by 10 and the same updation should
correspond in the Order details by showing "Quantity" up by 10. Normally
such updations would call for a javascript program to be written at
the client side to do this mathematical calculation and effect the
updations. It is possible for any other person to obtain the source
code for such logic by doing a right click. With zeroCode, however,
you can write a program to store the value of such non-key attributes
at the sever level. ZeroCode obviates the need for a javascript program
in such cases. You can instead write and preserve your business logic
at the server level. |
| |
|
|