jquery - design of json <-> server for large complex objects -


i have html/kendoui/jquery front end has several places user enters in large amounts of form data - think 50+ fields. have rest endpoints expecting json objects pseduocode:

patient {  firstname:"", lastname:"", birthdate:"", address: {      street1: ""      street2: ""      city:""      state:""      zip:""     } user: {    username: "",    password:"",    userrole: {     id:""     description:"" } contacts {    contact {      id: "",      type:"",      number:""     } } } 

i can take java objects , return them way, struggling on how convert form values such complex json structure. kendoui doesn't appear support this, , many parameters don't want manually send them manually assemble them.

how large datasets handled in json this? expectation send/receive complex json wrong?

what relationships between address, user , main record? if it's 1 one should able bind kendo grid structure. you'd need bind sub object fields parent part of name (e.g. address.street1).

that said having 50 columns on 1 grid won't user friendly interface. have considered adding buttons on grid address, user, contacts etc. launch pop window data can entered?


Comments

Popular posts from this blog

html - Sizing a high-res image (~8MB) to display entirely in a small div (circular, diameter 100px) -

java - IntelliJ - No such instance method -

identifier - Is it possible for an html5 document to have two ids? -