Click here to Skip to main content
15,893,190 members
Home / Discussions / Web Development
   

Web Development

 
AnswerRe: how do you guys practice your front end dev skills? PinPopular
Richard MacCutchan6-Nov-15 3:58
mveRichard MacCutchan6-Nov-15 3:58 
AnswerRe: how do you guys practice your front end dev skills? Pin
Casey Carnnia19-Nov-15 13:21
Casey Carnnia19-Nov-15 13:21 
GeneralRe: how do you guys practice your front end dev skills? Pin
Richard MacCutchan19-Nov-15 23:01
mveRichard MacCutchan19-Nov-15 23:01 
AnswerRe: how do you guys practice your front end dev skills? Pin
F-ES Sitecore11-Nov-15 2:43
professionalF-ES Sitecore11-Nov-15 2:43 
AnswerRe: how do you guys practice your front end dev skills? Pin
W Balboos, GHB25-Nov-15 1:55
W Balboos, GHB25-Nov-15 1:55 
QuestionLooking for a solution for combine WebService and jQuery (web app) Pin
goldsoft30-Oct-15 23:29
goldsoft30-Oct-15 23:29 
AnswerRe: Looking for a solution for combine WebService and jQuery (web app) Pin
Richard Deeming2-Nov-15 1:59
mveRichard Deeming2-Nov-15 1:59 
Question[REST Service] Return full entity or just the needed values - Best practice? Pin
Udayakiran Kallavi29-Oct-15 7:08
Udayakiran Kallavi29-Oct-15 7:08 
I am not sure this is the correct forum, so please excuse me if I am posting in the wrong forum.

I am trying to understand the best practices in building SOA applications. Unfortunately some of are not so black or white and need experience to figure out the right approach. Here are some of them:

1) Let's say I am building a REST service for extracting data from various tables. Is it considered best practice to return the whole entity or just the necessary values? The target might be multiple platforms (web, windows and mobile apps).

2) Also, is it RESTful to join entities from multiple tables and return it as a single entity?

3) When joining entity types, should only the necessary values be returned or is it better to form a compound type composed of the basic types?

Example: Consider a REST service that return's an employee's address. The address is composed of the types Apartment, Street, City and Zip Code. Each type has properties (eg: Street has starting and ending lat-lon). In the client only the address <apt number> <street name> <city code> <zip code> is required. How should the return type of a REEST service call be structured?

(It would also help if anyone can provide the recommended URL syntax for this as well. Should there be a specific call like "GetEmployeeAddress" or something like ' <service URL>/Employee/<emp ID>/Address' ?)

I would be very grateful for suggestions for reading materials in this topic.

Thanks in advance. Smile | :)
AnswerRe: [REST Service] Return full entity or just the needed values - Best practice? Pin
Nathan Minier30-Oct-15 6:36
professionalNathan Minier30-Oct-15 6:36 
GeneralRe: [REST Service] Return full entity or just the needed values - Best practice? Pin
Udayakiran Kallavi1-Nov-15 5:08
Udayakiran Kallavi1-Nov-15 5:08 
QuestionWhy RAM increase? Pin
Member 1161266227-Oct-15 21:42
Member 1161266227-Oct-15 21:42 
QuestionWhy positioning is not working? Pin
Jassim Rahma24-Oct-15 0:45
Jassim Rahma24-Oct-15 0:45 
AnswerRe: Why positioning is not working? Pin
Shmuel Zang24-Oct-15 20:39
Shmuel Zang24-Oct-15 20:39 
AnswerRe: Why positioning is not working? Pin
Coing_Addict27-Oct-15 6:10
Coing_Addict27-Oct-15 6:10 
Questionadd this type of Spinner Pin
Jassim Rahma23-Oct-15 9:59
Jassim Rahma23-Oct-15 9:59 
AnswerRe: add this type of Spinner Pin
Debojyoti Saha27-Oct-15 3:05
professionalDebojyoti Saha27-Oct-15 3:05 
QuestionGenerate Temporary URL for a file Pin
Jassim Rahma23-Oct-15 7:01
Jassim Rahma23-Oct-15 7:01 
AnswerRe: Generate Temporary URL for a file Pin
Debojyoti Saha27-Oct-15 2:38
professionalDebojyoti Saha27-Oct-15 2:38 
QuestionHide download URL in PHP Pin
Jassim Rahma21-Oct-15 13:22
Jassim Rahma21-Oct-15 13:22 
AnswerRe: Hide download URL in PHP Pin
F-ES Sitecore21-Oct-15 23:29
professionalF-ES Sitecore21-Oct-15 23:29 
AnswerRe: Hide download URL in PHP Pin
Coing_Addict27-Oct-15 6:18
Coing_Addict27-Oct-15 6:18 
AnswerRe: Hide download URL in PHP Pin
Mona sinha11-Nov-15 18:35
professionalMona sinha11-Nov-15 18:35 
QuestionBLOB or URL for PDFs? Pin
Jassim Rahma21-Oct-15 5:08
Jassim Rahma21-Oct-15 5:08 
AnswerRe: BLOB or URL for PDFs? Pin
W Balboos, GHB22-Oct-15 1:52
W Balboos, GHB22-Oct-15 1:52 
AnswerRe: BLOB or URL for PDFs? Pin
Varun Sriram4-Nov-15 2:36
professionalVarun Sriram4-Nov-15 2:36 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.