Tuesday, August 25, 2015

Cloud-Native Application Architectures

Coding in a cloud-based enterprise - O'Reilly Radar
Mapping the future of development by designing for distributed architectures.
Figure 2 – bpmPaaS= Business Process Management PaaS. In combination with iPaaS and mPaas the focus on developments in the future relies on models, regulations and processes.



The cloud-native future - O'Reilly Radar
"Moving beyond ad-hoc automation to take advantage of patterns that deliver predictable capabilities."

Windows 10 VS 2015 Project Templates

Visual Studio 2015 comes only with "blank" Windows 10 app template....
No time, or to get more variety of app designs?
Here is one solution, from "community":

Go beyond "Blank App" with these Windows 10 VS 2015 Project Templates | Coding4Fun Blog | Channel 9

"UWP: new VS2015 project templates
  • Blank App, a basic XAML project with a single XAML page. Similar to the standard Blank App template, included in the Windows 10 tools, but without the Application Insights telemetry stuff.
  • SplitView App, a multi-page app project with adaptive split view layout
  • Composition App, a framework-less project for creating apps using the visual layer and Windows.UI.Composition APIs
  • Composition XAML App, a project for both XAML and Windows.UI.Composition APIs
The UWP Templates extension supports Visual Studio 2015 Community Edition and up. The extension is available in the Visual Studio Gallery. The full source code of the extension is available at GitHub."

image

JsonML


"JsonML, the JSON Markup Language is a lightweight markup language used to map between XML(Extensible Markup Language) and JSON (JavaScript Object Notation). It converts an XML document or fragment into a JSON data structure for ease of use within JavaScript environments such as a web browser, allowing manipulation of XML data without the overhead of an XML parser."

JSON:

{"person": {
    "address": {
        "city": "Anytown",
        "postalCode": "98765-4321",
        "state": "CA",
        "street": "12345 Sixth Ave",
        "type": "home"
    },
    "created": "2006-11-11T19:23",
    "firstName": "Robert",
    "lastName": "Smith",
    "modified": "2006-12-31T23:59"
}}



JsonML (Array JSON), to preserve XML's elements order:

["person",
  {"created":"2006-11-11T19:23",
   "modified":"2006-12-31T23:59"},
  ["firstName", "Robert"],
  ["lastName", "Smith"],
  ["address", {"type":"home"},
    ["street", "12345 Sixth Ave"],
    ["city", "Anytown"],
    ["state", "CA"],
    ["postalCode", "98765-4321"]
  ]
]

<!-- XML representation of a person record -->
<person created="2006-11-11T19:23" modified="2006-12-31T23:59">
<firstName>Robert</firstName>
<lastName>Smith</lastName>
<address type="home">
<street>12345 Sixth Ave</street>
<city>Anytown</city>
<state>CA</state>
<postalCode>98765-4321</postalCode>
</address>
</person>