Cloud Foundry: Design and Architecture
Derek Collison discusses the goals, the design premises and patterns employed in creating the architecture of Cloud Foundry, VMware’s open source PaaS, unveiling internal architectural details.
The content has been bookmarked!
There was an error bookmarking this content! Please retry.
Posted by Jonathan Allen on Jun 09, 2011
Jon Galloway is researching dynamic ASP.NET MVC 3 models using Mono’s Compiler as a Service. Meanwhile Karsten Januszewski is looking into deserialized JSON in lieu of statically typed models.
Dynamic Models using Mono’s Compiler as a Service
Since we are still two versions away from having compiler-as-a-service support from Microsoft, Jon Galloway’s research started with the recently updated Mono Compiler Service. Mono’s compiler is currently under active development as they lay the foundation for adopting C# 5’s asynchronous language constructs.
The fundamental class here is Mono.CSharp.Evaluator. Calling the Run method on this class will compile whatever string has been passed in. The Evaluate method, which also accepts a string, will process and return whatever expression is given to it. In this sense it is very much like the experience you would get from the Dynamic Language Runtime or the venerable VBScript hosting APIs.
JsonObjects as Models
Karsten Januszewski’s research has taken a decidedly different tact. He starts with JSON-formatted strings that were exposed from the service tier using WCF JSON classes. These are parsed into a JsonObject which acts as the model. The downside here is that there is no place to hang business logic; the model is pure data.
While working on this Karsten ran into an unfortunately common problem for MVC users and an elegant solution. Simply put, the anonymous types that LINQ normally generates are incompatible with the RuntimeBinder used by MVC. This can be generalized to “anonymous types are incompatible with dynamic types”. Fortunately a solution is provided. Simple create new JsonObject’s instead of anonymous types in the LINQ expression.
Visual Studio vNext: ALM features for Agile Planning, Team Collaboration
Automating Error Reporting for .NET Applications
RDBMS to NoSQL: Managing the Transition
Troubleshoot Java/.NET performance while getting full visibility in production
Wow. If LINQ has had a negative effect on programmers, then this article demonstrates it.
Trying to shove everything into LINQ does not solve real application design problems, especially problems where the types cannot be compiled prior to deployment and must be reified dynamically in response to user input (a WCF request is a good example of how there can be infinitely many possible types).
As for Karsten's, actually his root problem is not that there is no place to hang business logic. Rather, it is that he is not actually doing anything "dynamic". The number of types he wants to model is finite. He just wants to build a way to define objects in terms of web services. Visual Studio has had this feature forever. It is called WSDL.
Derek Collison discusses the goals, the design premises and patterns employed in creating the architecture of Cloud Foundry, VMware’s open source PaaS, unveiling internal architectural details.
Andrew Watson talks about the work of the OMG, where CORBA is alive and well (hint: in your car), UML and UML Profiles vs. custom Modeling languages, DDS and other middleware, and much more.
Sohil Shah discusses creating iPhone and Android enterprise mobile applications based on cloud services using the open source platform OpenMobster.
Paul Sanford presents the transformations supported by data throughout its life cycle, and how that can be better done with Splunk, an engine for monitoring and analyzing machine-generated data.
A common “best practice” for unit tests is to only write a one assertion in each test. I intend to question this advice by showing that multiple assertions per test are both necessary and beneficial.
John Rauser presents the architectural and technological evolution of Amazon retail websites starting with 1994 and ending with adopting Amazon Web Services.
Michael Stal discusses system architecture quality, how to avoid architectural erosion, how to deal with refactoring, and design principles for architecture evolution.
Every developer has had to integrate with another system, API or component. Tis article provides strategies to handle the change and for he separating system boundaries.
1 comment
Watch Thread Reply