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 Werner Schuster on Aug 16, 2011
New feature on GitHub: files in repositories can now be edited and committed right in the browser. Before committing, the differences can be previewd.
The feature appears as a button for logged-in GitHub users and comes in two versions: "Edit" and "Fork And Edit this file". Members of a project can edit and commit a file right away. If the user is not associated with the repository, the button becomes "Fork and Edit this file", which forks the project and and then opens the file in the editor.
The editing feature is implemented using the ACE editor, which brings many features like syntax highlighting, line wrapping, etc to the browser. ACE is the editor that powers the Cloud9 IDE among other projects, and replaced the Canvas-based editing component in Mozilla's Bespin/Skywriter project.
ACE was introduced in late 2010, and uses a different rendering approach than the old Bespin/Skywriter which drew its text component using Canvas or other editors like CodeMirror 1 that use the contentEditable attribute that makes DOM elements editable.
ACE draws itself by assembling the currently visible text as an HTML string and setting that as the contents of its DOM element and it does so for every change as well as every scrolling and cursor movement. Sounds inefficient, but as it turns out: these kinds of DOM updates are very fast on modern browsers.
A similar approach has been adopted by CodeMirror 2, the successor to CodeMirror 1. CodeMirror's creator Marijn Haverbeke wrote up a detailed explanation for dropping contentEditable. In addition, a problem that currently plagues contentEditable is that mobile browsers fail to show on-screen keyboards for editable elements, although some like the Eclipse Orion project have experimented with workarounds.
GitHub isn't the first code hoster to implement a feature like this; earlier this year Google Code gained a browser based editor for files in source repositories.
At the moment these editor features come in addition to other Git clients like GitHub's GitHub For Mac application or the JGit-based EGit for Eclipse. The lines between plain Git client and IDE start to blur when it comes to Web-based IDEs like the already mentiond Cloud9 which comes with tight Git integration which allows to point the IDE to a GitHub repository and start working right away. Eclipse's web-based IDE Orion also comes with Git support which is based on JGit/EGit (implemented in Orion's server component), and is steadily improving, as can be seen in the features added to the latest Orion 0.3 milestone.
Introducing SQLFire: a memory-optimized, high performance SQL database
RDBMS to NoSQL: Managing the Transition
Banking Case Study: Scaling with Low Latency using NewSQL
App Server Evolution: REST, Cloud, and DevOps Support in Resin 4
VMware vFabric SQLFire - Test drive the data management system with memory speed, horizontal scalability and a familiar SQL interface
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