Reputation
641
Top tag
Next privilege 1,000 Rep.
See votes, expandable usercard
Badges
5 10
Newest
 Yearling
Impact
~30k people reached

  • 0 posts edited
  • 0 helpful flags
  • 24 votes cast
Feb
10
awarded  Yearling
Nov
15
awarded  Taxonomist
Feb
10
awarded  Yearling
Feb
10
awarded  Yearling
Jan
28
awarded  Nice Question
Oct
3
awarded  Notable Question
May
23
awarded  Popular Question
Mar
3
comment WCF Data Services (OData) Vs ASP.NET Web API? Hypermedia?
Are there any online examples of how to implement this using Web API?
Mar
1
awarded  Commentator
Mar
1
comment WCF Data Services (OData) Vs ASP.NET Web API? Hypermedia?
Another good description of hypermedia with respect to REST. timelessrepo.com/haters-gonna-hateoas
Mar
1
comment WCF Data Services (OData) Vs ASP.NET Web API? Hypermedia?
Basically, hypermedia in the context of REST mean "lazy load". For example, if your request to a REST service returns an object that has a reference to another object, that references is represented as a link in the XML document as oppose to including the referenced object in it's entirety. If you want info about the referenced object, simply follow the link. dret.net/lectures/ppos-spring11/reading/…
Mar
1
comment WCF Data Services (OData) Vs ASP.NET Web API? Hypermedia?
Good answers for question 1 so far. Anyone have any insight into my second question?
Mar
1
awarded  Student
Mar
1
asked WCF Data Services (OData) Vs ASP.NET Web API? Hypermedia?
Mar
1
awarded  Nice Answer
Feb
29
answered Is continuous creation and deletion of tables a sign of an architectural flaw?
Feb
22
awarded  Nice Answer
Feb
16
comment What other patterns can I use for this singleton?
It sounds like the biggest problem might be that the config file of the first Core created determines everything. You might need multiple configuration files, one for global configuration and one for core specific configuration. This way the Server has what it needs with out relying on any Cores and the Cores can still enrich the Server's configuration as they're loaded since the Server is a singleton.
Feb
16
comment What other patterns can I use for this singleton?
So if the Logger and Parser are not singletons and the Server and Cores each have their own instances with different configurations, what problems does that introduce?
Feb
16
comment What other patterns can I use for this singleton?
OK, so let me try again :-) The Server is a singleton. You instantiate a number of Core objects and each Core object loads a different config file. The Server and Cores all share the same Logger and Parse which are also singletons. You want the Server to use the Logger and Parser with a certain default configuration and you want each Core to add additional configuration to the existing Logger and Parser from its config file when it is created. Am I getting warmer?