{"_id":"563a30e3a19edf0d009722e6","githubsync":"","user":"5600910981a9670d006d144f","project":"56000f0d8c0c9d0d00dcad21","version":{"_id":"56000f0e8c0c9d0d00dcad24","project":"56000f0d8c0c9d0d00dcad21","__v":13,"createdAt":"2015-09-21T14:07:10.176Z","releaseDate":"2015-09-21T14:07:10.176Z","categories":["56000f0e8c0c9d0d00dcad25","56008f2497f69f1700f21a36","560091601503430d007cc936","560e0d8054af2b0d005bbe92","560e3ce7ad6b200d00ff471c","560e3cf2c4e4ae0d00b42ed1","561c81d0e822e12b00e1fe00","561c81e9e822e12b00e1fe01","561c823d20b4a92b007d5147","56257f8951bf1c0d001f660a","562d5f165bd25e0d0054dbd4","562d68d5d38b650d0044472a","56421aebb0dc090d00f88438"],"is_deprecated":false,"is_hidden":false,"is_beta":false,"is_stable":true,"codename":"","version_clean":"1.0.0","version":"1.0"},"__v":8,"category":{"_id":"562d68d5d38b650d0044472a","project":"56000f0d8c0c9d0d00dcad21","__v":5,"version":"56000f0e8c0c9d0d00dcad24","pages":["562d904026a0a10d00ad6c30","56398e44a19edf0d009721a7","5639e5bad25e8919005f3e6a","563a30e3a19edf0d009722e6","563bf349d8f2d20d00448b39"],"sync":{"url":"","isSync":false},"reference":false,"createdAt":"2015-10-25T23:42:13.718Z","from_sync":false,"order":1,"slug":"getting-started","title":"Getting Started"},"updates":[],"next":{"pages":[],"description":""},"createdAt":"2015-11-04T16:22:59.390Z","link_external":false,"link_url":"","sync_unique":"","hidden":false,"api":{"results":{"codes":[]},"settings":"","auth":"required","params":[],"url":""},"isReference":false,"order":5,"body":"Contains the business logic for the solution space of a discrete sub-domain. It has no dependencies, as this is a self-contained pure logic component, integrating only through events. Commands are sent in on the server-side command bus, events are published and subscribed to elsewhere.\n[block:callout]\n{\n  \"type\": \"warning\",\n  \"title\": \"Proposed\"\n}\n[/block]\n\n[block:code]\n{\n  \"codes\": [\n    {\n      \"code\": \"//var MyBoundedContext = Space.BoundedContext.define('MyBoundedContext', {\\n       \\n  // Configuration: {},\\n\\n  // Routers: [],\\n  \\n  // Integrations: [],\\n\\n//});  \",\n      \"language\": \"javascript\"\n    }\n  ]\n}\n[/block]","excerpt":"extends Space.Module","slug":"bounded-context","type":"basic","title":"Bounded Context"}

Bounded Context

extends Space.Module

Contains the business logic for the solution space of a discrete sub-domain. It has no dependencies, as this is a self-contained pure logic component, integrating only through events. Commands are sent in on the server-side command bus, events are published and subscribed to elsewhere. [block:callout] { "type": "warning", "title": "Proposed" } [/block] [block:code] { "codes": [ { "code": "//var MyBoundedContext = Space.BoundedContext.define('MyBoundedContext', {\n \n // Configuration: {},\n\n // Routers: [],\n \n // Integrations: [],\n\n//}); ", "language": "javascript" } ] } [/block]