CSharp DotNet Development / Items
OpenRasta, or “How to speak REST” - Kyle Baley - The Coding Hillbilly - CodeBetter.Com - Stuff you need to Code Better!
Get Feed- Description
-
Do you twitter? Follow us @CodeBetter
OpenRasta, or “How to speak REST”
The hillbilly is on a new project. Well actually, I’m on two new projects but I’m still working on how to Code Better on the one that involves stored procs in Oracle, a web site project (vs. web application project), a data access layer consisting entirely of static methods, and no unit tests except on the domain objects themselves. Suffice it to say that “maintainability” means very different things to different people.
The other project has led me to investigate REST (or, more accurately, ReST but that’s the last time I’ll call it that because that looks too alt even for my tastes). The bulk of the work for the application is going to be done via JavaScript calls to services. So in my attempt to hammer that screw with ASP.NET MVC, my first reaction was: S#arp Architecture with judicious use of JsonResult.
Luckily, my partner-in-crime is a little more rounded, and politely, but firmly, guided me away from MVC saying, “I ain’t building this app with that whore makin’ the rounds on every blog short of Wil Wheaton’s”, or something to that effect. Instead, he said a RESTful architecture may be more suitable for our goals. So I set about the task of investigating it.
There is enough out there on REST that you can find on your own, starting with the Wikipedia page . But my English teacher always told me to understand something, you should put it in your own words. In keeping with that, REST is, to my thinking, a way of architecting your application based on resources and how they are accessed. Strictly speaking, it is implementation-agnostic but for my purpose, I find it useful to tie it to HTTP because that’s ...
- Original URL
Comments
Report ThisTwine is about discovering, collecting and sharing the content that interests you. Learn More
Stats
- 7 Twines
- 2 Comments
Tags
Source Tags
Community Tags
Who's Interested In This?
-
added to Domain Specific Languages, Microsoft Developer, Model View Controller.NET, ASP.NET Dev, CSharp DotNet Development, , GreekFire, .NET 11 months ago
Public Comments
-
10 months ago
-
10 months ago
Add a Comment- Some HTML is allowed.
- Reply
- Cancel
- Submit
CSharp DotNet Development- Some HTML is allowed.
- Reply
- Cancel
- Submit
CSharp DotNet Development