js database field naming conventions code example
Example: js database field naming conventions
Two choices:
> use camelCase everywhere, but keep using snake_case only for
server-generated attributes
> always manually convert to camelCase after you get the data
back from the network, and use camelCase everywhere.
If you have to pick a global convention on both sides,
JavaScript should win - ie, camelCase.