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 Jenni Konrad on Dec 02, 2011
The ADO.NET Team has announced the release of Code First Migrations Beta 1 for Entity Framework (EF). The package is available from NuGet, under the name EntityFramework.Migrations.
The Code First approach to application development means that the object model is created in code, and then the database structure is generated from that model. It's similar to Model First development, which uses the EF Designer in Visual Studio to create the data model. (For a demonstration of Code First development in action, visit the ADO.NET Team's EF 4.2 Code First Walkthrough.)
Code First Migrations is a tool that incrementally updates the existing data structure based on changes in code. This can happen automatically or manually (Microsoft is conveniently referring to these as "with-magic" and "no magic" migrations), depending on the kind of updates that are being made to the model. The types of changes that can happen automatically are:
In any of these instances, running the command Update-Database will automatically apply changes to the data structure.
For all other updates, Code First Migrations uses the Add-Migration command to create a script of database changes. These migrations are all saved and time-stamped, to make it possible to roll back to previous versions of the data structure. In addition to structural changes to the database, migrations can include SQL commands for manipulating data. To commit a migration, it's just a matter of running Update-Database again. In order to copy one database to another, Code First Migrations can create a SQL script using Update-Database as well:
Update-Database –TargetDatabase:"NewDatabase" –Script
For more information, the ADO.Net team has walkthroughs of both the "no-magic" and "with-magic" methods of using Code First Migrations.
Microsoft states that this beta only includes the Visual Studio implementation of Code First Migrations, but that they plan to introduce command line and MSDeploy versions as well.
Banking Case Study: Scaling with Low Latency using NewSQL
Tutorial: Integrating SQLFire with tc Server and Spring Data
Introducing SQLFire: a memory-optimized, high performance SQL database
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.
No comments
Watch Thread Reply