Click here to Skip to main content
15,887,477 members
Home / Discussions / Web Development
   

Web Development

 
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 
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 
I think you're misinterpreting the meaning of a REST service. The primary key is that the server itself should be stateless; each transaction must be atomic, having nothing to do with the ones before it, and no bearing on operations that occur after it. It is not just a service endpoint for a database, it is a methodology that pushes state management to the client.

Ultimately REST is more about how data is transferred than it is about what that data is.

So:
1. Bandwidth is bandwidth, but the average entity will not eat very much. It's perfectly fine to send a whole entity down the pipe if you need to. Be mindful that sensitive properties are not sent (tag with JsonIgnore if using JSON.NET eg. Newtonsoft, etc). That's not the case for arrays of entities, page those as appropriate on the server side.
  1. ViewModels are your very best friend. Well, they're mine, anyway.
  2. Completely immaterial. As long as the transaction can be done in an atomic manner you can do what you're most comfortable with. That said, ViewModels are my very best friend, as previously mentioned.
There is a pretty solid primer on IBM:
http://www.ibm.com/developerworks/library/ws-restful/[^]
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 
QuestionASP 1.0 and SQL Server 6.5, circa 1996 Pin
Daniel Miller20-Oct-15 7:47
professionalDaniel Miller20-Oct-15 7:47 

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.