[{"data":1,"prerenderedAt":8563},["ShallowReactive",2],{"footer-blog-posts":3,"blog-/blog/zero-trust-architecture-guide":3626,"blog-related-/blog/zero-trust-architecture-guide":4660},[4,2422],{"id":5,"title":6,"author":7,"body":10,"category":2406,"coverImage":2407,"date":2408,"description":2409,"extension":2410,"featured":2411,"meta":2412,"navigation":365,"path":2413,"readingTime":2414,"seo":2415,"stem":2416,"tags":2417,"__hash__":2421},"blog/blog/api-first-approach-guide.md","The API-First Approach: Why Leading Companies Build APIs Before Interfaces",{"name":8,"role":9},"Sahan De Silva","Lead Cloud Architect",{"type":11,"value":12,"toc":2373},"minimark",[13,18,27,30,36,40,43,46,68,71,75,78,83,89,95,99,104,109,113,118,123,212,216,219,223,226,235,239,242,246,254,262,266,269,273,276,280,283,1086,1089,1093,1096,1158,1161,1172,1176,1179,1667,1670,1674,1677,1689,1698,1707,1710,1725,1729,1732,1927,1930,1950,1955,1959,1962,1966,2010,2018,2022,2025,2029,2032,2036,2051,2055,2058,2169,2172,2176,2184,2188,2195,2303,2306,2310,2313,2345,2348,2356,2359,2369],[14,15,17],"h2",{"id":16},"apis-are-products-not-plumbing","APIs Are Products, Not Plumbing",[19,20,21,22,26],"p",{},"The most successful software companies in the world — Stripe, Twilio, Shopify — share a common trait: they treat their APIs as first-class products. The ",[23,24,25],"strong",{},"API-first approach"," means designing the API contract before writing any implementation code, ensuring that every system, team, and future integration builds on a stable, well-documented foundation. This methodology is no longer a luxury for platform companies. It is essential for any business building interconnected digital systems that need to scale.",[19,28,29],{},"If you have ever struggled with a mobile app that does not match the web experience, a third-party integration that breaks after every release, or frontend and backend teams blocking each other's progress, API-first development solves these problems by design.",[31,32,33],"blockquote",{},[19,34,35],{},"The best time to adopt API-first was at the start of your project. The second-best time is now, before your next breaking change costs you a customer.",[14,37,39],{"id":38},"what-is-api-first-development","What Is API-First Development?",[19,41,42],{},"API-first development is a methodology where the API specification is designed, reviewed, and agreed upon before any implementation work begins. The API contract becomes the single source of truth that all teams — frontend, backend, mobile, QA, and external partners — build against.",[19,44,45],{},"This inverts the traditional approach where APIs are an afterthought, bolted onto existing backend code and shaped by database schemas rather than consumer needs. In an API-first workflow:",[47,48,49,53,56,59,62,65],"ol",{},[50,51,52],"li",{},"Stakeholders agree on the API contract (what data goes in, what comes out, what errors are possible)",[50,54,55],{},"The contract is documented in a machine-readable specification (OpenAPI, GraphQL SDL)",[50,57,58],{},"Mock servers are generated from the specification, enabling parallel development",[50,60,61],{},"Frontend, mobile, and backend teams build simultaneously against the contract",[50,63,64],{},"Contract tests verify that implementations match the specification",[50,66,67],{},"The API is versioned and maintained as a product, with its own lifecycle",[19,69,70],{},"This approach fundamentally changes how teams collaborate, how quickly features ship, and how reliably systems integrate.",[14,72,74],{"id":73},"api-first-vs-code-first-what-changes","API-First vs Code-First: What Changes",[19,76,77],{},"The differences between API-first and code-first development are practical, not just philosophical. Here is how each phase of development changes.",[79,80,82],"h3",{"id":81},"design-phase","Design Phase",[19,84,85,88],{},[23,86,87],{},"Code-first",": A backend developer builds an endpoint, documents it in a wiki or Swagger annotation, and shares it with the frontend team. The frontend team discovers edge cases, requests changes, and both teams iterate — often through a slow cycle of PRs, Slack messages, and meetings.",[19,90,91,94],{},[23,92,93],{},"API-first",": Stakeholders (product, frontend, backend, mobile) review the API specification together before any code is written. Disagreements about data shapes, naming conventions, and error handling are resolved in a document, not in pull requests. Mock servers let everyone validate the design against real use cases.",[79,96,98],{"id":97},"development-phase","Development Phase",[19,100,101,103],{},[23,102,87],{},": Frontend teams wait for backend endpoints to be ready. This creates sequential dependencies and idle time. When the backend delivers an endpoint, its shape often does not match frontend expectations, triggering rework.",[19,105,106,108],{},[23,107,93],{},": Frontend and backend teams work in parallel from day one. The frontend builds against mock servers generated from the specification. The backend implements against the same specification. When both sides are done, integration is a formality because the contract was agreed upon upfront.",[79,110,112],{"id":111},"testing-phase","Testing Phase",[19,114,115,117],{},[23,116,87],{},": Integration tests are written after both sides are built, discovering contract mismatches late in the cycle.",[19,119,120,122],{},[23,121,93],{},": Contract tests run continuously, verifying that implementations conform to the specification. Consumer-driven contract testing ensures that API changes do not break existing consumers.",[124,125,126,142],"table",{},[127,128,129],"thead",{},[130,131,132,136,139],"tr",{},[133,134,135],"th",{},"Aspect",[133,137,138],{},"Code-First",[133,140,141],{},"API-First",[143,144,145,157,168,179,190,201],"tbody",{},[130,146,147,151,154],{},[148,149,150],"td",{},"Design input",[148,152,153],{},"Backend developer",[148,155,156],{},"Cross-functional stakeholders",[130,158,159,162,165],{},[148,160,161],{},"Specification",[148,163,164],{},"Generated from code (afterthought)",[148,166,167],{},"Written first (source of truth)",[130,169,170,173,176],{},[148,171,172],{},"Parallel development",[148,174,175],{},"Limited (sequential dependencies)",[148,177,178],{},"Full (mock servers from day one)",[130,180,181,184,187],{},[148,182,183],{},"Contract validation",[148,185,186],{},"Manual / late integration testing",[148,188,189],{},"Automated contract testing",[130,191,192,195,198],{},[148,193,194],{},"Documentation",[148,196,197],{},"Often stale",[148,199,200],{},"Always current (generated from spec)",[130,202,203,206,209],{},[148,204,205],{},"Breaking change risk",[148,207,208],{},"High (discovered in production)",[148,210,211],{},"Low (caught in CI)",[14,213,215],{"id":214},"the-business-case-for-api-first","The Business Case for API-First",[19,217,218],{},"API-first development is not just an engineering preference. It delivers measurable business value across multiple dimensions.",[79,220,222],{"id":221},"faster-parallel-development","Faster Parallel Development",[19,224,225],{},"When frontend and backend teams can work simultaneously, feature delivery accelerates by 30-50%. There is no \"waiting for the API\" phase. Mobile developers are not blocked by web developers. External partners can start integration work before your internal implementation is complete.",[19,227,228,229,234],{},"For businesses working with an ",[230,231,233],"a",{"href":232},"/solutions/api-integrations","integration engineering partner",", this parallel development capability is transformative. It compresses timelines and reduces the coordination overhead that slows most projects.",[79,236,238],{"id":237},"better-partner-and-third-party-integrations","Better Partner and Third-Party Integrations",[19,240,241],{},"If your business relies on third-party integrations — payment processors, shipping providers, CRM systems, marketing platforms — a well-designed API layer makes these integrations predictable and maintainable. Partners build against your documented API, not against the quirks of your internal implementation.",[79,243,245],{"id":244},"future-proofing-your-technology-stack","Future-Proofing Your Technology Stack",[19,247,248,249,253],{},"A well-designed API layer decouples your business logic from any specific frontend or consumer. Today, your API serves a web application. Tomorrow, it serves a mobile app, an AI agent like ",[230,250,252],{"href":251},"/solutions/connekz-integration","Connekz",", an IoT device, or a partner's platform — all without changing the backend.",[19,255,256,257,261],{},"This flexibility is particularly valuable for businesses planning ",[230,258,260],{"href":259},"/solutions/mobile-apps","mobile application development",". When the API is designed independently of the web frontend, the mobile app gets the same first-class data access without workarounds or BFF (Backend for Frontend) layers.",[79,263,265],{"id":264},"reduced-rework-and-miscommunication","Reduced Rework and Miscommunication",[19,267,268],{},"The most expensive bugs are specification bugs — building the wrong thing. API-first development forces specification alignment before code is written. The cost of changing a YAML file is trivially small compared to refactoring implemented code across multiple teams and codebases.",[14,270,272],{"id":271},"implementation-patterns","Implementation Patterns",[19,274,275],{},"Moving from theory to practice requires specific tools, patterns, and workflows. Here is how to implement API-first development in your organisation.",[79,277,279],{"id":278},"openapi-specification-design","OpenAPI Specification Design",[19,281,282],{},"The OpenAPI Specification (formerly Swagger) is the industry standard for describing REST APIs. Your API specification should be the first artifact created for any new feature or service.",[284,285,290],"pre",{"className":286,"code":287,"language":288,"meta":289,"style":289},"language-yaml shiki shiki-themes github-light github-dark","# openapi.yaml — Example specification for a booking API\nopenapi: 3.1.0\ninfo:\n  title: Booking API\n  version: 2.0.0\n  description: API for managing customer bookings and appointments\n\npaths:\n  /bookings:\n    post:\n      operationId: createBooking\n      summary: Create a new booking\n      tags:\n        - Bookings\n      requestBody:\n        required: true\n        content:\n          application/json:\n            schema:\n              $ref: '#/components/schemas/CreateBookingRequest'\n      responses:\n        '201':\n          description: Booking created successfully\n          content:\n            application/json:\n              schema:\n                $ref: '#/components/schemas/BookingResponse'\n        '409':\n          description: Time slot no longer available\n          content:\n            application/json:\n              schema:\n                $ref: '#/components/schemas/ErrorResponse'\n        '422':\n          description: Validation error\n          content:\n            application/json:\n              schema:\n                $ref: '#/components/schemas/ValidationErrorResponse'\n\ncomponents:\n  schemas:\n    CreateBookingRequest:\n      type: object\n      required:\n        - serviceType\n        - dateTime\n        - customerName\n        - customerEmail\n      properties:\n        serviceType:\n          type: string\n          enum:\n            - consultation\n            - follow-up\n            - treatment\n        dateTime:\n          type: string\n          format: date-time\n          description: ISO 8601 date-time for the appointment\n        customerName:\n          type: string\n          minLength: 2\n          maxLength: 100\n        customerEmail:\n          type: string\n          format: email\n        notes:\n          type: string\n          maxLength: 500\n\n    BookingResponse:\n      type: object\n      properties:\n        id:\n          type: string\n          format: uuid\n        status:\n          type: string\n          enum:\n            - confirmed\n            - pending\n            - cancelled\n        serviceType:\n          type: string\n        dateTime:\n          type: string\n          format: date-time\n        createdAt:\n          type: string\n          format: date-time\n","yaml","",[291,292,293,302,317,326,338,349,360,367,375,383,391,402,413,421,430,438,449,457,465,473,484,492,500,511,519,527,535,546,554,564,571,578,585,595,603,613,620,627,634,644,649,657,665,673,684,692,700,708,716,724,732,740,751,759,768,776,784,792,801,812,822,830,839,850,861,869,878,888,896,905,915,920,928,937,944,952,961,971,979,988,995,1003,1011,1019,1026,1035,1042,1051,1060,1068,1077],"code",{"__ignoreMap":289},[294,295,298],"span",{"class":296,"line":297},"line",1,[294,299,301],{"class":300},"sJ8bj","# openapi.yaml — Example specification for a booking API\n",[294,303,305,309,313],{"class":296,"line":304},2,[294,306,308],{"class":307},"s9eBZ","openapi",[294,310,312],{"class":311},"sVt8B",": ",[294,314,316],{"class":315},"sj4cs","3.1.0\n",[294,318,320,323],{"class":296,"line":319},3,[294,321,322],{"class":307},"info",[294,324,325],{"class":311},":\n",[294,327,329,332,334],{"class":296,"line":328},4,[294,330,331],{"class":307},"  title",[294,333,312],{"class":311},[294,335,337],{"class":336},"sZZnC","Booking API\n",[294,339,341,344,346],{"class":296,"line":340},5,[294,342,343],{"class":307},"  version",[294,345,312],{"class":311},[294,347,348],{"class":315},"2.0.0\n",[294,350,352,355,357],{"class":296,"line":351},6,[294,353,354],{"class":307},"  description",[294,356,312],{"class":311},[294,358,359],{"class":336},"API for managing customer bookings and appointments\n",[294,361,363],{"class":296,"line":362},7,[294,364,366],{"emptyLinePlaceholder":365},true,"\n",[294,368,370,373],{"class":296,"line":369},8,[294,371,372],{"class":307},"paths",[294,374,325],{"class":311},[294,376,378,381],{"class":296,"line":377},9,[294,379,380],{"class":307},"  /bookings",[294,382,325],{"class":311},[294,384,386,389],{"class":296,"line":385},10,[294,387,388],{"class":307},"    post",[294,390,325],{"class":311},[294,392,394,397,399],{"class":296,"line":393},11,[294,395,396],{"class":307},"      operationId",[294,398,312],{"class":311},[294,400,401],{"class":336},"createBooking\n",[294,403,405,408,410],{"class":296,"line":404},12,[294,406,407],{"class":307},"      summary",[294,409,312],{"class":311},[294,411,412],{"class":336},"Create a new booking\n",[294,414,416,419],{"class":296,"line":415},13,[294,417,418],{"class":307},"      tags",[294,420,325],{"class":311},[294,422,424,427],{"class":296,"line":423},14,[294,425,426],{"class":311},"        - ",[294,428,429],{"class":336},"Bookings\n",[294,431,433,436],{"class":296,"line":432},15,[294,434,435],{"class":307},"      requestBody",[294,437,325],{"class":311},[294,439,441,444,446],{"class":296,"line":440},16,[294,442,443],{"class":307},"        required",[294,445,312],{"class":311},[294,447,448],{"class":315},"true\n",[294,450,452,455],{"class":296,"line":451},17,[294,453,454],{"class":307},"        content",[294,456,325],{"class":311},[294,458,460,463],{"class":296,"line":459},18,[294,461,462],{"class":307},"          application/json",[294,464,325],{"class":311},[294,466,468,471],{"class":296,"line":467},19,[294,469,470],{"class":307},"            schema",[294,472,325],{"class":311},[294,474,476,479,481],{"class":296,"line":475},20,[294,477,478],{"class":307},"              $ref",[294,480,312],{"class":311},[294,482,483],{"class":336},"'#/components/schemas/CreateBookingRequest'\n",[294,485,487,490],{"class":296,"line":486},21,[294,488,489],{"class":307},"      responses",[294,491,325],{"class":311},[294,493,495,498],{"class":296,"line":494},22,[294,496,497],{"class":336},"        '201'",[294,499,325],{"class":311},[294,501,503,506,508],{"class":296,"line":502},23,[294,504,505],{"class":307},"          description",[294,507,312],{"class":311},[294,509,510],{"class":336},"Booking created successfully\n",[294,512,514,517],{"class":296,"line":513},24,[294,515,516],{"class":307},"          content",[294,518,325],{"class":311},[294,520,522,525],{"class":296,"line":521},25,[294,523,524],{"class":307},"            application/json",[294,526,325],{"class":311},[294,528,530,533],{"class":296,"line":529},26,[294,531,532],{"class":307},"              schema",[294,534,325],{"class":311},[294,536,538,541,543],{"class":296,"line":537},27,[294,539,540],{"class":307},"                $ref",[294,542,312],{"class":311},[294,544,545],{"class":336},"'#/components/schemas/BookingResponse'\n",[294,547,549,552],{"class":296,"line":548},28,[294,550,551],{"class":336},"        '409'",[294,553,325],{"class":311},[294,555,557,559,561],{"class":296,"line":556},29,[294,558,505],{"class":307},[294,560,312],{"class":311},[294,562,563],{"class":336},"Time slot no longer available\n",[294,565,567,569],{"class":296,"line":566},30,[294,568,516],{"class":307},[294,570,325],{"class":311},[294,572,574,576],{"class":296,"line":573},31,[294,575,524],{"class":307},[294,577,325],{"class":311},[294,579,581,583],{"class":296,"line":580},32,[294,582,532],{"class":307},[294,584,325],{"class":311},[294,586,588,590,592],{"class":296,"line":587},33,[294,589,540],{"class":307},[294,591,312],{"class":311},[294,593,594],{"class":336},"'#/components/schemas/ErrorResponse'\n",[294,596,598,601],{"class":296,"line":597},34,[294,599,600],{"class":336},"        '422'",[294,602,325],{"class":311},[294,604,606,608,610],{"class":296,"line":605},35,[294,607,505],{"class":307},[294,609,312],{"class":311},[294,611,612],{"class":336},"Validation error\n",[294,614,616,618],{"class":296,"line":615},36,[294,617,516],{"class":307},[294,619,325],{"class":311},[294,621,623,625],{"class":296,"line":622},37,[294,624,524],{"class":307},[294,626,325],{"class":311},[294,628,630,632],{"class":296,"line":629},38,[294,631,532],{"class":307},[294,633,325],{"class":311},[294,635,637,639,641],{"class":296,"line":636},39,[294,638,540],{"class":307},[294,640,312],{"class":311},[294,642,643],{"class":336},"'#/components/schemas/ValidationErrorResponse'\n",[294,645,647],{"class":296,"line":646},40,[294,648,366],{"emptyLinePlaceholder":365},[294,650,652,655],{"class":296,"line":651},41,[294,653,654],{"class":307},"components",[294,656,325],{"class":311},[294,658,660,663],{"class":296,"line":659},42,[294,661,662],{"class":307},"  schemas",[294,664,325],{"class":311},[294,666,668,671],{"class":296,"line":667},43,[294,669,670],{"class":307},"    CreateBookingRequest",[294,672,325],{"class":311},[294,674,676,679,681],{"class":296,"line":675},44,[294,677,678],{"class":307},"      type",[294,680,312],{"class":311},[294,682,683],{"class":336},"object\n",[294,685,687,690],{"class":296,"line":686},45,[294,688,689],{"class":307},"      required",[294,691,325],{"class":311},[294,693,695,697],{"class":296,"line":694},46,[294,696,426],{"class":311},[294,698,699],{"class":336},"serviceType\n",[294,701,703,705],{"class":296,"line":702},47,[294,704,426],{"class":311},[294,706,707],{"class":336},"dateTime\n",[294,709,711,713],{"class":296,"line":710},48,[294,712,426],{"class":311},[294,714,715],{"class":336},"customerName\n",[294,717,719,721],{"class":296,"line":718},49,[294,720,426],{"class":311},[294,722,723],{"class":336},"customerEmail\n",[294,725,727,730],{"class":296,"line":726},50,[294,728,729],{"class":307},"      properties",[294,731,325],{"class":311},[294,733,735,738],{"class":296,"line":734},51,[294,736,737],{"class":307},"        serviceType",[294,739,325],{"class":311},[294,741,743,746,748],{"class":296,"line":742},52,[294,744,745],{"class":307},"          type",[294,747,312],{"class":311},[294,749,750],{"class":336},"string\n",[294,752,754,757],{"class":296,"line":753},53,[294,755,756],{"class":307},"          enum",[294,758,325],{"class":311},[294,760,762,765],{"class":296,"line":761},54,[294,763,764],{"class":311},"            - ",[294,766,767],{"class":336},"consultation\n",[294,769,771,773],{"class":296,"line":770},55,[294,772,764],{"class":311},[294,774,775],{"class":336},"follow-up\n",[294,777,779,781],{"class":296,"line":778},56,[294,780,764],{"class":311},[294,782,783],{"class":336},"treatment\n",[294,785,787,790],{"class":296,"line":786},57,[294,788,789],{"class":307},"        dateTime",[294,791,325],{"class":311},[294,793,795,797,799],{"class":296,"line":794},58,[294,796,745],{"class":307},[294,798,312],{"class":311},[294,800,750],{"class":336},[294,802,804,807,809],{"class":296,"line":803},59,[294,805,806],{"class":307},"          format",[294,808,312],{"class":311},[294,810,811],{"class":336},"date-time\n",[294,813,815,817,819],{"class":296,"line":814},60,[294,816,505],{"class":307},[294,818,312],{"class":311},[294,820,821],{"class":336},"ISO 8601 date-time for the appointment\n",[294,823,825,828],{"class":296,"line":824},61,[294,826,827],{"class":307},"        customerName",[294,829,325],{"class":311},[294,831,833,835,837],{"class":296,"line":832},62,[294,834,745],{"class":307},[294,836,312],{"class":311},[294,838,750],{"class":336},[294,840,842,845,847],{"class":296,"line":841},63,[294,843,844],{"class":307},"          minLength",[294,846,312],{"class":311},[294,848,849],{"class":315},"2\n",[294,851,853,856,858],{"class":296,"line":852},64,[294,854,855],{"class":307},"          maxLength",[294,857,312],{"class":311},[294,859,860],{"class":315},"100\n",[294,862,864,867],{"class":296,"line":863},65,[294,865,866],{"class":307},"        customerEmail",[294,868,325],{"class":311},[294,870,872,874,876],{"class":296,"line":871},66,[294,873,745],{"class":307},[294,875,312],{"class":311},[294,877,750],{"class":336},[294,879,881,883,885],{"class":296,"line":880},67,[294,882,806],{"class":307},[294,884,312],{"class":311},[294,886,887],{"class":336},"email\n",[294,889,891,894],{"class":296,"line":890},68,[294,892,893],{"class":307},"        notes",[294,895,325],{"class":311},[294,897,899,901,903],{"class":296,"line":898},69,[294,900,745],{"class":307},[294,902,312],{"class":311},[294,904,750],{"class":336},[294,906,908,910,912],{"class":296,"line":907},70,[294,909,855],{"class":307},[294,911,312],{"class":311},[294,913,914],{"class":315},"500\n",[294,916,918],{"class":296,"line":917},71,[294,919,366],{"emptyLinePlaceholder":365},[294,921,923,926],{"class":296,"line":922},72,[294,924,925],{"class":307},"    BookingResponse",[294,927,325],{"class":311},[294,929,931,933,935],{"class":296,"line":930},73,[294,932,678],{"class":307},[294,934,312],{"class":311},[294,936,683],{"class":336},[294,938,940,942],{"class":296,"line":939},74,[294,941,729],{"class":307},[294,943,325],{"class":311},[294,945,947,950],{"class":296,"line":946},75,[294,948,949],{"class":307},"        id",[294,951,325],{"class":311},[294,953,955,957,959],{"class":296,"line":954},76,[294,956,745],{"class":307},[294,958,312],{"class":311},[294,960,750],{"class":336},[294,962,964,966,968],{"class":296,"line":963},77,[294,965,806],{"class":307},[294,967,312],{"class":311},[294,969,970],{"class":336},"uuid\n",[294,972,974,977],{"class":296,"line":973},78,[294,975,976],{"class":307},"        status",[294,978,325],{"class":311},[294,980,982,984,986],{"class":296,"line":981},79,[294,983,745],{"class":307},[294,985,312],{"class":311},[294,987,750],{"class":336},[294,989,991,993],{"class":296,"line":990},80,[294,992,756],{"class":307},[294,994,325],{"class":311},[294,996,998,1000],{"class":296,"line":997},81,[294,999,764],{"class":311},[294,1001,1002],{"class":336},"confirmed\n",[294,1004,1006,1008],{"class":296,"line":1005},82,[294,1007,764],{"class":311},[294,1009,1010],{"class":336},"pending\n",[294,1012,1014,1016],{"class":296,"line":1013},83,[294,1015,764],{"class":311},[294,1017,1018],{"class":336},"cancelled\n",[294,1020,1022,1024],{"class":296,"line":1021},84,[294,1023,737],{"class":307},[294,1025,325],{"class":311},[294,1027,1029,1031,1033],{"class":296,"line":1028},85,[294,1030,745],{"class":307},[294,1032,312],{"class":311},[294,1034,750],{"class":336},[294,1036,1038,1040],{"class":296,"line":1037},86,[294,1039,789],{"class":307},[294,1041,325],{"class":311},[294,1043,1045,1047,1049],{"class":296,"line":1044},87,[294,1046,745],{"class":307},[294,1048,312],{"class":311},[294,1050,750],{"class":336},[294,1052,1054,1056,1058],{"class":296,"line":1053},88,[294,1055,806],{"class":307},[294,1057,312],{"class":311},[294,1059,811],{"class":336},[294,1061,1063,1066],{"class":296,"line":1062},89,[294,1064,1065],{"class":307},"        createdAt",[294,1067,325],{"class":311},[294,1069,1071,1073,1075],{"class":296,"line":1070},90,[294,1072,745],{"class":307},[294,1074,312],{"class":311},[294,1076,750],{"class":336},[294,1078,1080,1082,1084],{"class":296,"line":1079},91,[294,1081,806],{"class":307},[294,1083,312],{"class":311},[294,1085,811],{"class":336},[19,1087,1088],{},"This specification is machine-readable. From it, you can generate mock servers, client SDKs, validation middleware, and interactive documentation — all automatically.",[79,1090,1092],{"id":1091},"mock-first-development","Mock-First Development",[19,1094,1095],{},"Once the specification is written, generate mock servers so that consumer teams can start building immediately.",[284,1097,1101],{"className":1098,"code":1099,"language":1100,"meta":289,"style":289},"language-bash shiki shiki-themes github-light github-dark","# Generate a mock server from your OpenAPI spec using Prism\nnpx @stoplight/prism-cli mock openapi.yaml --port 4010\n\n# Or use MSW (Mock Service Worker) for frontend testing\n# msw generates handlers from OpenAPI specs\nnpx msw-auto-mock openapi.yaml --output ./src/mocks/handlers.ts\n","bash",[291,1102,1103,1108,1129,1133,1138,1143],{"__ignoreMap":289},[294,1104,1105],{"class":296,"line":297},[294,1106,1107],{"class":300},"# Generate a mock server from your OpenAPI spec using Prism\n",[294,1109,1110,1114,1117,1120,1123,1126],{"class":296,"line":304},[294,1111,1113],{"class":1112},"sScJk","npx",[294,1115,1116],{"class":336}," @stoplight/prism-cli",[294,1118,1119],{"class":336}," mock",[294,1121,1122],{"class":336}," openapi.yaml",[294,1124,1125],{"class":315}," --port",[294,1127,1128],{"class":315}," 4010\n",[294,1130,1131],{"class":296,"line":319},[294,1132,366],{"emptyLinePlaceholder":365},[294,1134,1135],{"class":296,"line":328},[294,1136,1137],{"class":300},"# Or use MSW (Mock Service Worker) for frontend testing\n",[294,1139,1140],{"class":296,"line":340},[294,1141,1142],{"class":300},"# msw generates handlers from OpenAPI specs\n",[294,1144,1145,1147,1150,1152,1155],{"class":296,"line":351},[294,1146,1113],{"class":1112},[294,1148,1149],{"class":336}," msw-auto-mock",[294,1151,1122],{"class":336},[294,1153,1154],{"class":315}," --output",[294,1156,1157],{"class":336}," ./src/mocks/handlers.ts\n",[19,1159,1160],{},"Mock servers return realistic responses based on the schemas in your specification. Frontend developers build against these mocks, confident that the real API will return data in the same shape.",[1162,1163,1165],"callout",{"type":1164},"tip",[19,1166,1167,1168,1171],{},"Invest time in adding ",[291,1169,1170],{},"example"," values to your OpenAPI schemas. Mocks generated from well-annotated specifications are realistic enough that frontend teams can complete full feature development without ever touching the real backend.",[79,1173,1175],{"id":1174},"contract-testing-with-pact","Contract Testing with Pact",[19,1177,1178],{},"Contract testing verifies that API producers and consumers agree on the interface. Pact is the most widely adopted tool for consumer-driven contract testing.",[284,1180,1184],{"className":1181,"code":1182,"language":1183,"meta":289,"style":289},"language-typescript shiki shiki-themes github-light github-dark","// Consumer-side contract test (frontend/mobile team writes this)\nimport { PactV4 } from '@pact-foundation/pact';\n\nconst provider = new PactV4({\n  consumer: 'BookingWebApp',\n  provider: 'BookingAPI',\n});\n\ndescribe('Booking API Contract', () => {\n  it('creates a booking successfully', async () => {\n    await provider\n      .addInteraction()\n      .given('available time slot exists')\n      .uponReceiving('a request to create a booking')\n      .withRequest('POST', '/bookings', (builder) => {\n        builder\n          .headers({ 'Content-Type': 'application/json' })\n          .jsonBody({\n            serviceType: 'consultation',\n            dateTime: '2026-02-17T14:30:00Z',\n            customerName: 'Sarah Chen',\n            customerEmail: 'sarah@example.com',\n          });\n      })\n      .willRespondWith(201, (builder) => {\n        builder.jsonBody({\n          id: provider.like('f47ac10b-58cc-4372-a567-0e02b2c3d479'),\n          status: 'confirmed',\n          serviceType: 'consultation',\n          dateTime: '2026-02-17T14:30:00Z',\n        });\n      })\n      .executeTest(async (mockServer) => {\n        const response = await createBooking(mockServer.url, {\n          serviceType: 'consultation',\n          dateTime: '2026-02-17T14:30:00Z',\n          customerName: 'Sarah Chen',\n          customerEmail: 'sarah@example.com',\n        });\n        expect(response.status).toBe('confirmed');\n      });\n  });\n});\n","typescript",[291,1185,1186,1191,1209,1213,1233,1244,1254,1259,1263,1283,1306,1314,1325,1340,1354,1385,1390,1412,1421,1431,1441,1451,1461,1466,1471,1493,1502,1518,1528,1537,1546,1551,1555,1578,1597,1605,1613,1622,1631,1635,1653,1658,1663],{"__ignoreMap":289},[294,1187,1188],{"class":296,"line":297},[294,1189,1190],{"class":300},"// Consumer-side contract test (frontend/mobile team writes this)\n",[294,1192,1193,1197,1200,1203,1206],{"class":296,"line":304},[294,1194,1196],{"class":1195},"szBVR","import",[294,1198,1199],{"class":311}," { PactV4 } ",[294,1201,1202],{"class":1195},"from",[294,1204,1205],{"class":336}," '@pact-foundation/pact'",[294,1207,1208],{"class":311},";\n",[294,1210,1211],{"class":296,"line":319},[294,1212,366],{"emptyLinePlaceholder":365},[294,1214,1215,1218,1221,1224,1227,1230],{"class":296,"line":328},[294,1216,1217],{"class":1195},"const",[294,1219,1220],{"class":315}," provider",[294,1222,1223],{"class":1195}," =",[294,1225,1226],{"class":1195}," new",[294,1228,1229],{"class":1112}," PactV4",[294,1231,1232],{"class":311},"({\n",[294,1234,1235,1238,1241],{"class":296,"line":340},[294,1236,1237],{"class":311},"  consumer: ",[294,1239,1240],{"class":336},"'BookingWebApp'",[294,1242,1243],{"class":311},",\n",[294,1245,1246,1249,1252],{"class":296,"line":351},[294,1247,1248],{"class":311},"  provider: ",[294,1250,1251],{"class":336},"'BookingAPI'",[294,1253,1243],{"class":311},[294,1255,1256],{"class":296,"line":362},[294,1257,1258],{"class":311},"});\n",[294,1260,1261],{"class":296,"line":369},[294,1262,366],{"emptyLinePlaceholder":365},[294,1264,1265,1268,1271,1274,1277,1280],{"class":296,"line":377},[294,1266,1267],{"class":1112},"describe",[294,1269,1270],{"class":311},"(",[294,1272,1273],{"class":336},"'Booking API Contract'",[294,1275,1276],{"class":311},", () ",[294,1278,1279],{"class":1195},"=>",[294,1281,1282],{"class":311}," {\n",[294,1284,1285,1288,1290,1293,1296,1299,1302,1304],{"class":296,"line":385},[294,1286,1287],{"class":1112},"  it",[294,1289,1270],{"class":311},[294,1291,1292],{"class":336},"'creates a booking successfully'",[294,1294,1295],{"class":311},", ",[294,1297,1298],{"class":1195},"async",[294,1300,1301],{"class":311}," () ",[294,1303,1279],{"class":1195},[294,1305,1282],{"class":311},[294,1307,1308,1311],{"class":296,"line":393},[294,1309,1310],{"class":1195},"    await",[294,1312,1313],{"class":311}," provider\n",[294,1315,1316,1319,1322],{"class":296,"line":404},[294,1317,1318],{"class":311},"      .",[294,1320,1321],{"class":1112},"addInteraction",[294,1323,1324],{"class":311},"()\n",[294,1326,1327,1329,1332,1334,1337],{"class":296,"line":415},[294,1328,1318],{"class":311},[294,1330,1331],{"class":1112},"given",[294,1333,1270],{"class":311},[294,1335,1336],{"class":336},"'available time slot exists'",[294,1338,1339],{"class":311},")\n",[294,1341,1342,1344,1347,1349,1352],{"class":296,"line":423},[294,1343,1318],{"class":311},[294,1345,1346],{"class":1112},"uponReceiving",[294,1348,1270],{"class":311},[294,1350,1351],{"class":336},"'a request to create a booking'",[294,1353,1339],{"class":311},[294,1355,1356,1358,1361,1363,1366,1368,1371,1374,1378,1381,1383],{"class":296,"line":432},[294,1357,1318],{"class":311},[294,1359,1360],{"class":1112},"withRequest",[294,1362,1270],{"class":311},[294,1364,1365],{"class":336},"'POST'",[294,1367,1295],{"class":311},[294,1369,1370],{"class":336},"'/bookings'",[294,1372,1373],{"class":311},", (",[294,1375,1377],{"class":1376},"s4XuR","builder",[294,1379,1380],{"class":311},") ",[294,1382,1279],{"class":1195},[294,1384,1282],{"class":311},[294,1386,1387],{"class":296,"line":440},[294,1388,1389],{"class":311},"        builder\n",[294,1391,1392,1395,1398,1401,1404,1406,1409],{"class":296,"line":451},[294,1393,1394],{"class":311},"          .",[294,1396,1397],{"class":1112},"headers",[294,1399,1400],{"class":311},"({ ",[294,1402,1403],{"class":336},"'Content-Type'",[294,1405,312],{"class":311},[294,1407,1408],{"class":336},"'application/json'",[294,1410,1411],{"class":311}," })\n",[294,1413,1414,1416,1419],{"class":296,"line":459},[294,1415,1394],{"class":311},[294,1417,1418],{"class":1112},"jsonBody",[294,1420,1232],{"class":311},[294,1422,1423,1426,1429],{"class":296,"line":467},[294,1424,1425],{"class":311},"            serviceType: ",[294,1427,1428],{"class":336},"'consultation'",[294,1430,1243],{"class":311},[294,1432,1433,1436,1439],{"class":296,"line":475},[294,1434,1435],{"class":311},"            dateTime: ",[294,1437,1438],{"class":336},"'2026-02-17T14:30:00Z'",[294,1440,1243],{"class":311},[294,1442,1443,1446,1449],{"class":296,"line":486},[294,1444,1445],{"class":311},"            customerName: ",[294,1447,1448],{"class":336},"'Sarah Chen'",[294,1450,1243],{"class":311},[294,1452,1453,1456,1459],{"class":296,"line":494},[294,1454,1455],{"class":311},"            customerEmail: ",[294,1457,1458],{"class":336},"'sarah@example.com'",[294,1460,1243],{"class":311},[294,1462,1463],{"class":296,"line":502},[294,1464,1465],{"class":311},"          });\n",[294,1467,1468],{"class":296,"line":513},[294,1469,1470],{"class":311},"      })\n",[294,1472,1473,1475,1478,1480,1483,1485,1487,1489,1491],{"class":296,"line":521},[294,1474,1318],{"class":311},[294,1476,1477],{"class":1112},"willRespondWith",[294,1479,1270],{"class":311},[294,1481,1482],{"class":315},"201",[294,1484,1373],{"class":311},[294,1486,1377],{"class":1376},[294,1488,1380],{"class":311},[294,1490,1279],{"class":1195},[294,1492,1282],{"class":311},[294,1494,1495,1498,1500],{"class":296,"line":529},[294,1496,1497],{"class":311},"        builder.",[294,1499,1418],{"class":1112},[294,1501,1232],{"class":311},[294,1503,1504,1507,1510,1512,1515],{"class":296,"line":537},[294,1505,1506],{"class":311},"          id: provider.",[294,1508,1509],{"class":1112},"like",[294,1511,1270],{"class":311},[294,1513,1514],{"class":336},"'f47ac10b-58cc-4372-a567-0e02b2c3d479'",[294,1516,1517],{"class":311},"),\n",[294,1519,1520,1523,1526],{"class":296,"line":548},[294,1521,1522],{"class":311},"          status: ",[294,1524,1525],{"class":336},"'confirmed'",[294,1527,1243],{"class":311},[294,1529,1530,1533,1535],{"class":296,"line":556},[294,1531,1532],{"class":311},"          serviceType: ",[294,1534,1428],{"class":336},[294,1536,1243],{"class":311},[294,1538,1539,1542,1544],{"class":296,"line":566},[294,1540,1541],{"class":311},"          dateTime: ",[294,1543,1438],{"class":336},[294,1545,1243],{"class":311},[294,1547,1548],{"class":296,"line":573},[294,1549,1550],{"class":311},"        });\n",[294,1552,1553],{"class":296,"line":580},[294,1554,1470],{"class":311},[294,1556,1557,1559,1562,1564,1566,1569,1572,1574,1576],{"class":296,"line":587},[294,1558,1318],{"class":311},[294,1560,1561],{"class":1112},"executeTest",[294,1563,1270],{"class":311},[294,1565,1298],{"class":1195},[294,1567,1568],{"class":311}," (",[294,1570,1571],{"class":1376},"mockServer",[294,1573,1380],{"class":311},[294,1575,1279],{"class":1195},[294,1577,1282],{"class":311},[294,1579,1580,1583,1586,1588,1591,1594],{"class":296,"line":597},[294,1581,1582],{"class":1195},"        const",[294,1584,1585],{"class":315}," response",[294,1587,1223],{"class":1195},[294,1589,1590],{"class":1195}," await",[294,1592,1593],{"class":1112}," createBooking",[294,1595,1596],{"class":311},"(mockServer.url, {\n",[294,1598,1599,1601,1603],{"class":296,"line":605},[294,1600,1532],{"class":311},[294,1602,1428],{"class":336},[294,1604,1243],{"class":311},[294,1606,1607,1609,1611],{"class":296,"line":615},[294,1608,1541],{"class":311},[294,1610,1438],{"class":336},[294,1612,1243],{"class":311},[294,1614,1615,1618,1620],{"class":296,"line":622},[294,1616,1617],{"class":311},"          customerName: ",[294,1619,1448],{"class":336},[294,1621,1243],{"class":311},[294,1623,1624,1627,1629],{"class":296,"line":629},[294,1625,1626],{"class":311},"          customerEmail: ",[294,1628,1458],{"class":336},[294,1630,1243],{"class":311},[294,1632,1633],{"class":296,"line":636},[294,1634,1550],{"class":311},[294,1636,1637,1640,1643,1646,1648,1650],{"class":296,"line":646},[294,1638,1639],{"class":1112},"        expect",[294,1641,1642],{"class":311},"(response.status).",[294,1644,1645],{"class":1112},"toBe",[294,1647,1270],{"class":311},[294,1649,1525],{"class":336},[294,1651,1652],{"class":311},");\n",[294,1654,1655],{"class":296,"line":651},[294,1656,1657],{"class":311},"      });\n",[294,1659,1660],{"class":296,"line":659},[294,1661,1662],{"class":311},"  });\n",[294,1664,1665],{"class":296,"line":667},[294,1666,1258],{"class":311},[19,1668,1669],{},"The consumer team writes these contract tests. The provider team runs them in their CI pipeline. If a backend change would break a consumer's expectations, the build fails before the change reaches production.",[79,1671,1673],{"id":1672},"api-versioning-strategies","API Versioning Strategies",[19,1675,1676],{},"APIs evolve. Versioning ensures that existing consumers continue to work while new consumers benefit from improvements. There are three common strategies:",[19,1678,1679,1568,1682,1295,1685,1688],{},[23,1680,1681],{},"URL path versioning",[291,1683,1684],{},"/v1/bookings",[291,1686,1687],{},"/v2/bookings","): The simplest and most explicit approach. Easy to route, easy to understand, easy to deprecate. This is what we recommend for most REST APIs.",[19,1690,1691,1568,1694,1697],{},[23,1692,1693],{},"Header versioning",[291,1695,1696],{},"Accept: application/vnd.api.v2+json","): Keeps URLs clean but is harder to discover and test. Better suited for APIs with sophisticated consumers.",[19,1699,1700,1568,1703,1706],{},[23,1701,1702],{},"Query parameter versioning",[291,1704,1705],{},"/bookings?version=2","): Rarely recommended. It conflates versioning with filtering and creates confusing cache behaviour.",[19,1708,1709],{},"Regardless of strategy, follow these rules:",[1711,1712,1713,1716,1719,1722],"ul",{},[50,1714,1715],{},"Never break an existing version without a deprecation period",[50,1717,1718],{},"Version the entire API, not individual endpoints",[50,1720,1721],{},"Provide migration guides for every major version bump",[50,1723,1724],{},"Monitor usage of deprecated versions and communicate sunset timelines",[79,1726,1728],{"id":1727},"rate-limiting-and-security","Rate Limiting and Security",[19,1730,1731],{},"Every production API needs rate limiting and authentication. These are not optional — they are requirements.",[284,1733,1735],{"className":1181,"code":1734,"language":1183,"meta":289,"style":289},"// Rate limiting middleware example (Express/H3)\nimport { createRateLimiter } from './middleware/rate-limiter';\n\nconst apiRateLimiter = createRateLimiter({\n  windowMs: 60 * 1000, // 1 minute\n  maxRequests: 100,     // 100 requests per window\n  keyGenerator: (req) => req.headers['x-api-key'] || req.ip,\n  onLimitReached: (req, res) => {\n    res.status(429).json({\n      error: 'rate_limit_exceeded',\n      message: 'Too many requests. Please retry after the window resets.',\n      retryAfter: res.getHeader('Retry-After'),\n    });\n  },\n});\n",[291,1736,1737,1742,1756,1760,1774,1793,1807,1837,1857,1878,1888,1898,1913,1918,1923],{"__ignoreMap":289},[294,1738,1739],{"class":296,"line":297},[294,1740,1741],{"class":300},"// Rate limiting middleware example (Express/H3)\n",[294,1743,1744,1746,1749,1751,1754],{"class":296,"line":304},[294,1745,1196],{"class":1195},[294,1747,1748],{"class":311}," { createRateLimiter } ",[294,1750,1202],{"class":1195},[294,1752,1753],{"class":336}," './middleware/rate-limiter'",[294,1755,1208],{"class":311},[294,1757,1758],{"class":296,"line":319},[294,1759,366],{"emptyLinePlaceholder":365},[294,1761,1762,1764,1767,1769,1772],{"class":296,"line":328},[294,1763,1217],{"class":1195},[294,1765,1766],{"class":315}," apiRateLimiter",[294,1768,1223],{"class":1195},[294,1770,1771],{"class":1112}," createRateLimiter",[294,1773,1232],{"class":311},[294,1775,1776,1779,1782,1785,1788,1790],{"class":296,"line":340},[294,1777,1778],{"class":311},"  windowMs: ",[294,1780,1781],{"class":315},"60",[294,1783,1784],{"class":1195}," *",[294,1786,1787],{"class":315}," 1000",[294,1789,1295],{"class":311},[294,1791,1792],{"class":300},"// 1 minute\n",[294,1794,1795,1798,1801,1804],{"class":296,"line":351},[294,1796,1797],{"class":311},"  maxRequests: ",[294,1799,1800],{"class":315},"100",[294,1802,1803],{"class":311},",     ",[294,1805,1806],{"class":300},"// 100 requests per window\n",[294,1808,1809,1812,1815,1818,1820,1822,1825,1828,1831,1834],{"class":296,"line":362},[294,1810,1811],{"class":1112},"  keyGenerator",[294,1813,1814],{"class":311},": (",[294,1816,1817],{"class":1376},"req",[294,1819,1380],{"class":311},[294,1821,1279],{"class":1195},[294,1823,1824],{"class":311}," req.headers[",[294,1826,1827],{"class":336},"'x-api-key'",[294,1829,1830],{"class":311},"] ",[294,1832,1833],{"class":1195},"||",[294,1835,1836],{"class":311}," req.ip,\n",[294,1838,1839,1842,1844,1846,1848,1851,1853,1855],{"class":296,"line":369},[294,1840,1841],{"class":1112},"  onLimitReached",[294,1843,1814],{"class":311},[294,1845,1817],{"class":1376},[294,1847,1295],{"class":311},[294,1849,1850],{"class":1376},"res",[294,1852,1380],{"class":311},[294,1854,1279],{"class":1195},[294,1856,1282],{"class":311},[294,1858,1859,1862,1865,1867,1870,1873,1876],{"class":296,"line":377},[294,1860,1861],{"class":311},"    res.",[294,1863,1864],{"class":1112},"status",[294,1866,1270],{"class":311},[294,1868,1869],{"class":315},"429",[294,1871,1872],{"class":311},").",[294,1874,1875],{"class":1112},"json",[294,1877,1232],{"class":311},[294,1879,1880,1883,1886],{"class":296,"line":385},[294,1881,1882],{"class":311},"      error: ",[294,1884,1885],{"class":336},"'rate_limit_exceeded'",[294,1887,1243],{"class":311},[294,1889,1890,1893,1896],{"class":296,"line":393},[294,1891,1892],{"class":311},"      message: ",[294,1894,1895],{"class":336},"'Too many requests. Please retry after the window resets.'",[294,1897,1243],{"class":311},[294,1899,1900,1903,1906,1908,1911],{"class":296,"line":404},[294,1901,1902],{"class":311},"      retryAfter: res.",[294,1904,1905],{"class":1112},"getHeader",[294,1907,1270],{"class":311},[294,1909,1910],{"class":336},"'Retry-After'",[294,1912,1517],{"class":311},[294,1914,1915],{"class":296,"line":415},[294,1916,1917],{"class":311},"    });\n",[294,1919,1920],{"class":296,"line":423},[294,1921,1922],{"class":311},"  },\n",[294,1924,1925],{"class":296,"line":432},[294,1926,1258],{"class":311},[19,1928,1929],{},"For authentication, the choice between API keys, OAuth 2.0, and JWT depends on your consumer types:",[1711,1931,1932,1938,1944],{},[50,1933,1934,1937],{},[23,1935,1936],{},"API keys",": Simple, suitable for server-to-server communication where the consumer is trusted.",[50,1939,1940,1943],{},[23,1941,1942],{},"OAuth 2.0",": Required when third-party applications need delegated access to user data. The authorization code flow with PKCE is the current standard for mobile and web applications.",[50,1945,1946,1949],{},[23,1947,1948],{},"JWT (JSON Web Tokens)",": Efficient for stateless authentication in microservice architectures. Short-lived access tokens with refresh token rotation provide security without constant database lookups.",[1162,1951,1952],{"type":322},[19,1953,1954],{},"API security is not just authentication. It includes input validation, output encoding, CORS configuration, request size limits, and protection against common attacks (injection, BOLA, mass assignment). The OWASP API Security Top 10 is required reading for any team building production APIs.",[14,1956,1958],{"id":1957},"api-documentation-as-a-product","API Documentation as a Product",[19,1960,1961],{},"An API without good documentation is an API nobody will use. Treat your documentation as a product with its own quality standards, user experience, and maintenance schedule.",[79,1963,1965],{"id":1964},"what-great-api-documentation-includes","What Great API Documentation Includes",[1711,1967,1968,1974,1980,1986,1992,1998,2004],{},[50,1969,1970,1973],{},[23,1971,1972],{},"Getting started guide",": A developer should be able to make their first successful API call within 5 minutes of reading your documentation.",[50,1975,1976,1979],{},[23,1977,1978],{},"Authentication guide",": Clear instructions for obtaining and using credentials, with copy-paste examples.",[50,1981,1982,1985],{},[23,1983,1984],{},"Interactive reference",": Every endpoint documented with try-it-out functionality. Tools like Stoplight, Redocly, and Scalar generate these from OpenAPI specifications.",[50,1987,1988,1991],{},[23,1989,1990],{},"Code examples",": In every language your consumers use. At minimum: JavaScript, Python, and cURL.",[50,1993,1994,1997],{},[23,1995,1996],{},"Error reference",": Every possible error code documented with the cause and the recommended resolution.",[50,1999,2000,2003],{},[23,2001,2002],{},"Changelog",": What changed in each version, with migration instructions for breaking changes.",[50,2005,2006,2009],{},[23,2007,2008],{},"SDKs and client libraries",": Auto-generated from your OpenAPI specification and published to npm, PyPI, and other package registries.",[19,2011,2012,2013,2017],{},"For businesses building ",[230,2014,2016],{"href":2015},"/solutions/cloud-native","cloud-native platforms",", a developer portal with interactive API documentation is not a nice-to-have — it is a competitive advantage. Partners and developers choose platforms that are easy to integrate with.",[14,2019,2021],{"id":2020},"common-mistakes-to-avoid","Common Mistakes to Avoid",[19,2023,2024],{},"After designing and reviewing dozens of APIs, we see the same mistakes repeatedly. Here are the most damaging ones.",[79,2026,2028],{"id":2027},"designing-apis-around-database-schemas","Designing APIs Around Database Schemas",[19,2030,2031],{},"Your API should model your business domain, not your database tables. If your API response mirrors a database JOIN with nested foreign keys and auto-increment IDs, you have coupled your public interface to your internal implementation. Every database migration becomes a potential breaking API change.",[79,2033,2035],{"id":2034},"inconsistent-naming-conventions","Inconsistent Naming Conventions",[19,2037,2038,2039,2042,2043,2046,2047,2050],{},"Pick a convention and enforce it everywhere. If you use ",[291,2040,2041],{},"camelCase"," for property names, use it consistently across every endpoint. If you use plural nouns for collection resources (",[291,2044,2045],{},"/bookings",", not ",[291,2048,2049],{},"/booking","), do not suddenly switch to singular elsewhere. Inconsistency forces consumers to guess, which means bugs.",[79,2052,2054],{"id":2053},"missing-pagination","Missing Pagination",[19,2056,2057],{},"Any endpoint that returns a list will eventually return a list too large to process in a single response. Design pagination into your list endpoints from day one — even if your current dataset is small.",[284,2059,2061],{"className":1181,"code":2060,"language":1183,"meta":289,"style":289},"// Cursor-based pagination response\ninterface PaginatedResponse\u003CT> {\n  data: T[];\n  pagination: {\n    cursor: string | null;\n    hasMore: boolean;\n    totalCount: number;\n  };\n}\n\n// Usage: GET /bookings?cursor=abc123&limit=25\n",[291,2062,2063,2068,2085,2099,2108,2126,2138,2150,2155,2160,2164],{"__ignoreMap":289},[294,2064,2065],{"class":296,"line":297},[294,2066,2067],{"class":300},"// Cursor-based pagination response\n",[294,2069,2070,2073,2076,2079,2082],{"class":296,"line":304},[294,2071,2072],{"class":1195},"interface",[294,2074,2075],{"class":1112}," PaginatedResponse",[294,2077,2078],{"class":311},"\u003C",[294,2080,2081],{"class":1112},"T",[294,2083,2084],{"class":311},"> {\n",[294,2086,2087,2090,2093,2096],{"class":296,"line":319},[294,2088,2089],{"class":1376},"  data",[294,2091,2092],{"class":1195},":",[294,2094,2095],{"class":1112}," T",[294,2097,2098],{"class":311},"[];\n",[294,2100,2101,2104,2106],{"class":296,"line":328},[294,2102,2103],{"class":1376},"  pagination",[294,2105,2092],{"class":1195},[294,2107,1282],{"class":311},[294,2109,2110,2113,2115,2118,2121,2124],{"class":296,"line":340},[294,2111,2112],{"class":1376},"    cursor",[294,2114,2092],{"class":1195},[294,2116,2117],{"class":315}," string",[294,2119,2120],{"class":1195}," |",[294,2122,2123],{"class":315}," null",[294,2125,1208],{"class":311},[294,2127,2128,2131,2133,2136],{"class":296,"line":351},[294,2129,2130],{"class":1376},"    hasMore",[294,2132,2092],{"class":1195},[294,2134,2135],{"class":315}," boolean",[294,2137,1208],{"class":311},[294,2139,2140,2143,2145,2148],{"class":296,"line":362},[294,2141,2142],{"class":1376},"    totalCount",[294,2144,2092],{"class":1195},[294,2146,2147],{"class":315}," number",[294,2149,1208],{"class":311},[294,2151,2152],{"class":296,"line":369},[294,2153,2154],{"class":311},"  };\n",[294,2156,2157],{"class":296,"line":377},[294,2158,2159],{"class":311},"}\n",[294,2161,2162],{"class":296,"line":385},[294,2163,366],{"emptyLinePlaceholder":365},[294,2165,2166],{"class":296,"line":393},[294,2167,2168],{"class":300},"// Usage: GET /bookings?cursor=abc123&limit=25\n",[19,2170,2171],{},"Cursor-based pagination is preferred over offset-based for production APIs. It handles insertions and deletions gracefully and performs better on large datasets.",[79,2173,2175],{"id":2174},"breaking-changes-without-versioning","Breaking Changes Without Versioning",[19,2177,2178,2179,2183],{},"Adding a new optional field to a response is not a breaking change. Removing a field, changing a field's type, or altering error response formats ",[2180,2181,2182],"em",{},"are"," breaking changes. If you do not version your API, every breaking change becomes an incident for every consumer simultaneously.",[79,2185,2187],{"id":2186},"ignoring-error-design","Ignoring Error Design",[19,2189,2190,2191,2194],{},"Generic ",[291,2192,2193],{},"500 Internal Server Error"," responses are not acceptable. Every error should include a machine-readable error code, a human-readable message, and enough context for the consumer to take corrective action.",[284,2196,2199],{"className":2197,"code":2198,"language":1875,"meta":289,"style":289},"language-json shiki shiki-themes github-light github-dark","{\n  \"error\": {\n    \"code\": \"BOOKING_SLOT_UNAVAILABLE\",\n    \"message\": \"The requested time slot is no longer available.\",\n    \"details\": {\n      \"requestedDateTime\": \"2026-02-17T14:30:00Z\",\n      \"nextAvailableSlots\": [\n        \"2026-02-17T15:00:00Z\",\n        \"2026-02-17T16:30:00Z\",\n        \"2026-02-18T09:00:00Z\"\n      ]\n    }\n  }\n}\n",[291,2200,2201,2206,2214,2226,2238,2245,2257,2265,2272,2279,2284,2289,2294,2299],{"__ignoreMap":289},[294,2202,2203],{"class":296,"line":297},[294,2204,2205],{"class":311},"{\n",[294,2207,2208,2211],{"class":296,"line":304},[294,2209,2210],{"class":315},"  \"error\"",[294,2212,2213],{"class":311},": {\n",[294,2215,2216,2219,2221,2224],{"class":296,"line":319},[294,2217,2218],{"class":315},"    \"code\"",[294,2220,312],{"class":311},[294,2222,2223],{"class":336},"\"BOOKING_SLOT_UNAVAILABLE\"",[294,2225,1243],{"class":311},[294,2227,2228,2231,2233,2236],{"class":296,"line":328},[294,2229,2230],{"class":315},"    \"message\"",[294,2232,312],{"class":311},[294,2234,2235],{"class":336},"\"The requested time slot is no longer available.\"",[294,2237,1243],{"class":311},[294,2239,2240,2243],{"class":296,"line":340},[294,2241,2242],{"class":315},"    \"details\"",[294,2244,2213],{"class":311},[294,2246,2247,2250,2252,2255],{"class":296,"line":351},[294,2248,2249],{"class":315},"      \"requestedDateTime\"",[294,2251,312],{"class":311},[294,2253,2254],{"class":336},"\"2026-02-17T14:30:00Z\"",[294,2256,1243],{"class":311},[294,2258,2259,2262],{"class":296,"line":362},[294,2260,2261],{"class":315},"      \"nextAvailableSlots\"",[294,2263,2264],{"class":311},": [\n",[294,2266,2267,2270],{"class":296,"line":369},[294,2268,2269],{"class":336},"        \"2026-02-17T15:00:00Z\"",[294,2271,1243],{"class":311},[294,2273,2274,2277],{"class":296,"line":377},[294,2275,2276],{"class":336},"        \"2026-02-17T16:30:00Z\"",[294,2278,1243],{"class":311},[294,2280,2281],{"class":296,"line":385},[294,2282,2283],{"class":336},"        \"2026-02-18T09:00:00Z\"\n",[294,2285,2286],{"class":296,"line":393},[294,2287,2288],{"class":311},"      ]\n",[294,2290,2291],{"class":296,"line":404},[294,2292,2293],{"class":311},"    }\n",[294,2295,2296],{"class":296,"line":415},[294,2297,2298],{"class":311},"  }\n",[294,2300,2301],{"class":296,"line":423},[294,2302,2159],{"class":311},[19,2304,2305],{},"This error response tells the consumer exactly what went wrong and what to do next. It transforms an error from a dead end into a continuation of the user flow.",[14,2307,2309],{"id":2308},"getting-started-with-api-first","Getting Started with API-First",[19,2311,2312],{},"If your organisation currently follows a code-first approach, transitioning to API-first does not require a big-bang migration. Start with your next new service or feature:",[47,2314,2315,2321,2327,2333,2339],{},[50,2316,2317,2320],{},[23,2318,2319],{},"Write the OpenAPI specification first."," Before any implementation code. Share it with all stakeholders for review.",[50,2322,2323,2326],{},[23,2324,2325],{},"Generate mock servers."," Let frontend and mobile teams start building immediately.",[50,2328,2329,2332],{},[23,2330,2331],{},"Implement the backend against the specification."," The spec is the acceptance criteria.",[50,2334,2335,2338],{},[23,2336,2337],{},"Add contract tests to your CI pipeline."," Catch specification drift automatically.",[50,2340,2341,2344],{},[23,2342,2343],{},"Publish interactive documentation."," Make it easy for everyone to understand and use the API.",[19,2346,2347],{},"Once your team experiences the speed and reliability of API-first development on one project, the approach tends to spread organically. Teams that have worked this way rarely want to go back.",[19,2349,2350,2351,2355],{},"For organisations with existing APIs that need restructuring, a ",[230,2352,2354],{"href":2353},"/solutions/web-development","web development engagement"," can help you introduce API-first practices incrementally — redesigning your most critical APIs first and building the tooling and workflows that make the approach sustainable.",[2357,2358],"hr",{},[19,2360,2361],{},[2180,2362,2363,2364,2368],{},"Need to design or rebuild your API layer? ",[230,2365,2367],{"href":2366},"/contact","Talk to our integration engineering team"," about building APIs that scale with your business.",[2370,2371,2372],"style",{},"html pre.shiki code .sJ8bj, html code.shiki .sJ8bj{--shiki-default:#6A737D;--shiki-dark:#6A737D}html pre.shiki code .sScJk, html code.shiki .sScJk{--shiki-default:#6F42C1;--shiki-dark:#B392F0}html pre.shiki code .sZZnC, html code.shiki .sZZnC{--shiki-default:#032F62;--shiki-dark:#9ECBFF}html pre.shiki code .sj4cs, html code.shiki .sj4cs{--shiki-default:#005CC5;--shiki-dark:#79B8FF}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html pre.shiki code .szBVR, html code.shiki .szBVR{--shiki-default:#D73A49;--shiki-dark:#F97583}html pre.shiki code .sVt8B, html code.shiki .sVt8B{--shiki-default:#24292E;--shiki-dark:#E1E4E8}html pre.shiki code .s4XuR, html code.shiki .s4XuR{--shiki-default:#E36209;--shiki-dark:#FFAB70}html pre.shiki code .s9eBZ, html code.shiki .s9eBZ{--shiki-default:#22863A;--shiki-dark:#85E89D}",{"title":289,"searchDepth":304,"depth":304,"links":2374},[2375,2376,2377,2382,2388,2395,2398,2405],{"id":16,"depth":304,"text":17},{"id":38,"depth":304,"text":39},{"id":73,"depth":304,"text":74,"children":2378},[2379,2380,2381],{"id":81,"depth":319,"text":82},{"id":97,"depth":319,"text":98},{"id":111,"depth":319,"text":112},{"id":214,"depth":304,"text":215,"children":2383},[2384,2385,2386,2387],{"id":221,"depth":319,"text":222},{"id":237,"depth":319,"text":238},{"id":244,"depth":319,"text":245},{"id":264,"depth":319,"text":265},{"id":271,"depth":304,"text":272,"children":2389},[2390,2391,2392,2393,2394],{"id":278,"depth":319,"text":279},{"id":1091,"depth":319,"text":1092},{"id":1174,"depth":319,"text":1175},{"id":1672,"depth":319,"text":1673},{"id":1727,"depth":319,"text":1728},{"id":1957,"depth":304,"text":1958,"children":2396},[2397],{"id":1964,"depth":319,"text":1965},{"id":2020,"depth":304,"text":2021,"children":2399},[2400,2401,2402,2403,2404],{"id":2027,"depth":319,"text":2028},{"id":2034,"depth":319,"text":2035},{"id":2053,"depth":319,"text":2054},{"id":2174,"depth":319,"text":2175},{"id":2186,"depth":319,"text":2187},{"id":2308,"depth":304,"text":2309},"Engineering",null,"2026-02-10","API-first development is reshaping how companies build software. Learn the principles, benefits, and implementation patterns behind this modern approach.","md",false,{},"/blog/api-first-approach-guide","9 min read",{"title":6,"description":2409},"blog/api-first-approach-guide",[2418,141,2419,2420],"API Development","Microservices","Integration","-bqCOEq9ROQy5sCtOFK8kGYzyEJA6yDyJnG38FiWNH4",{"id":2423,"title":2424,"author":2425,"body":2428,"category":3613,"coverImage":2407,"date":3614,"description":3615,"extension":2410,"featured":365,"meta":3616,"navigation":365,"path":3617,"readingTime":3618,"seo":3619,"stem":3620,"tags":3621,"__hash__":3625},"blog/blog/building-connekz-ai-agent.md","Inside Connekz: How We Built an AI Agent That Books, Sells, and Supports",{"name":2426,"role":2427},"Amaya Perera","Head of AI & Machine Learning",{"type":11,"value":2429,"toc":3587},[2430,2434,2440,2443,2448,2452,2455,2459,2462,2466,2469,2473,2476,2479,2483,2486,2489,2515,2837,2842,2846,2849,2852,2856,2859,2863,2866,3177,3181,3184,3187,3252,3255,3260,3264,3267,3271,3274,3278,3285,3289,3292,3296,3299,3325,3329,3332,3335,3355,3358,3362,3365,3368,3382,3385,3389,3392,3424,3427,3431,3434,3517,3524,3533,3537,3540,3570,3573,3575,3584],[14,2431,2433],{"id":2432},"why-we-built-connekz","Why We Built Connekz",[19,2435,2436,2437,2439],{},"Most businesses cannot afford a 24/7 sales and support team, yet their customers expect instant, intelligent responses at any hour. ",[23,2438,252],{}," is the AI agent platform we built to bridge that gap — a system that does not just answer questions, but takes real-world actions: booking appointments, checking availability, processing orders, and updating CRM records, all through natural conversation.",[19,2441,2442],{},"This is the story of how we designed, built, and scaled Connekz from an internal prototype to a production platform serving businesses across New Zealand and beyond. We will cover the architecture decisions, the hard engineering problems, and the lessons we learned shipping AI agents into high-stakes customer-facing environments.",[31,2444,2445],{},[19,2446,2447],{},"Building an AI chatbot is easy. Building an AI agent that businesses trust with their customers and revenue is a fundamentally different problem.",[14,2449,2451],{"id":2450},"the-problem-we-set-out-to-solve","The Problem We Set Out to Solve",[19,2453,2454],{},"Before building Connekz, we spent months interviewing business owners across industries — healthcare clinics, trade services, hospitality, professional services. Three problems appeared consistently.",[79,2456,2458],{"id":2457},"lost-leads-outside-business-hours","Lost leads outside business hours",[19,2460,2461],{},"A physiotherapy clinic we worked with tracked their missed calls. Forty-two percent of new patient enquiries came outside business hours. Every one of those was a potential booking lost to a competitor who answered the phone. Multiplied across hundreds of businesses, the scale of lost revenue was staggering.",[79,2463,2465],{"id":2464},"overwhelmed-support-teams","Overwhelmed support teams",[19,2467,2468],{},"A mid-sized e-commerce company had three customer support staff handling 200+ daily enquiries. Seventy percent of those enquiries were repetitive — order status checks, return policy questions, product availability. The team spent most of their day answering the same questions, leaving complex issues waiting in queue.",[79,2470,2472],{"id":2471},"inconsistent-customer-experiences","Inconsistent customer experiences",[19,2474,2475],{},"When a business operates across multiple channels — phone, email, website chat, social media — customers receive different levels of service depending on which channel they use and which team member responds. Tone, accuracy, and response time vary wildly. There is no single source of truth for how the business should communicate.",[19,2477,2478],{},"Connekz was designed to solve all three problems simultaneously. Not by replacing human teams, but by handling the predictable, repetitive interactions so that human staff can focus on the complex, high-value conversations where they make the biggest difference.",[79,2480,2482],{"id":2481},"rag-pipeline-for-business-specific-knowledge","RAG Pipeline for Business-Specific Knowledge",[19,2484,2485],{},"Every business that deploys Connekz has unique products, services, policies, and terminology. We use Retrieval-Augmented Generation (RAG) to ground the AI agent in business-specific knowledge without fine-tuning a model for each customer.",[19,2487,2488],{},"The RAG pipeline works as follows:",[47,2490,2491,2497,2503,2509],{},[50,2492,2493,2496],{},[23,2494,2495],{},"Ingestion",": Business documents — product catalogues, service descriptions, FAQs, policies, pricing — are processed, chunked, and embedded into a vector database.",[50,2498,2499,2502],{},[23,2500,2501],{},"Retrieval",": When a customer asks a question, the system retrieves the most relevant document chunks based on semantic similarity.",[50,2504,2505,2508],{},[23,2506,2507],{},"Augmented generation",": Retrieved context is injected into the model's prompt alongside the conversation history, grounding the response in verified business information.",[50,2510,2511,2514],{},[23,2512,2513],{},"Citation tracking",": Every factual claim in a response is linked back to its source document, enabling audit trails and accuracy verification.",[284,2516,2518],{"className":1181,"code":2517,"language":1183,"meta":289,"style":289},"// Simplified RAG retrieval pipeline\ninterface RetrievedChunk {\n  content: string;\n  source: string;\n  relevanceScore: number;\n  metadata: Record\u003Cstring, unknown>;\n}\n\nasync function retrieveContext(\n  query: string,\n  businessId: string,\n  topK: number = 5,\n): Promise\u003CRetrievedChunk[]> {\n  const embedding = await embedQuery(query);\n\n  const results = await vectorDb.search({\n    collection: `business_${businessId}`,\n    vector: embedding,\n    topK,\n    filter: { active: true },\n  });\n\n  return results\n    .filter((r) => r.relevanceScore > 0.75)\n    .map((r) => ({\n      content: r.payload.content,\n      source: r.payload.source,\n      relevanceScore: r.score,\n      metadata: r.payload.metadata,\n    }));\n}\n",[291,2519,2520,2525,2534,2545,2556,2567,2590,2594,2598,2611,2622,2633,2649,2667,2685,2689,2708,2724,2729,2734,2745,2749,2753,2761,2790,2808,2813,2818,2823,2828,2833],{"__ignoreMap":289},[294,2521,2522],{"class":296,"line":297},[294,2523,2524],{"class":300},"// Simplified RAG retrieval pipeline\n",[294,2526,2527,2529,2532],{"class":296,"line":304},[294,2528,2072],{"class":1195},[294,2530,2531],{"class":1112}," RetrievedChunk",[294,2533,1282],{"class":311},[294,2535,2536,2539,2541,2543],{"class":296,"line":319},[294,2537,2538],{"class":1376},"  content",[294,2540,2092],{"class":1195},[294,2542,2117],{"class":315},[294,2544,1208],{"class":311},[294,2546,2547,2550,2552,2554],{"class":296,"line":328},[294,2548,2549],{"class":1376},"  source",[294,2551,2092],{"class":1195},[294,2553,2117],{"class":315},[294,2555,1208],{"class":311},[294,2557,2558,2561,2563,2565],{"class":296,"line":340},[294,2559,2560],{"class":1376},"  relevanceScore",[294,2562,2092],{"class":1195},[294,2564,2147],{"class":315},[294,2566,1208],{"class":311},[294,2568,2569,2572,2574,2577,2579,2582,2584,2587],{"class":296,"line":351},[294,2570,2571],{"class":1376},"  metadata",[294,2573,2092],{"class":1195},[294,2575,2576],{"class":1112}," Record",[294,2578,2078],{"class":311},[294,2580,2581],{"class":315},"string",[294,2583,1295],{"class":311},[294,2585,2586],{"class":315},"unknown",[294,2588,2589],{"class":311},">;\n",[294,2591,2592],{"class":296,"line":362},[294,2593,2159],{"class":311},[294,2595,2596],{"class":296,"line":369},[294,2597,366],{"emptyLinePlaceholder":365},[294,2599,2600,2602,2605,2608],{"class":296,"line":377},[294,2601,1298],{"class":1195},[294,2603,2604],{"class":1195}," function",[294,2606,2607],{"class":1112}," retrieveContext",[294,2609,2610],{"class":311},"(\n",[294,2612,2613,2616,2618,2620],{"class":296,"line":385},[294,2614,2615],{"class":1376},"  query",[294,2617,2092],{"class":1195},[294,2619,2117],{"class":315},[294,2621,1243],{"class":311},[294,2623,2624,2627,2629,2631],{"class":296,"line":393},[294,2625,2626],{"class":1376},"  businessId",[294,2628,2092],{"class":1195},[294,2630,2117],{"class":315},[294,2632,1243],{"class":311},[294,2634,2635,2638,2640,2642,2644,2647],{"class":296,"line":404},[294,2636,2637],{"class":1376},"  topK",[294,2639,2092],{"class":1195},[294,2641,2147],{"class":315},[294,2643,1223],{"class":1195},[294,2645,2646],{"class":315}," 5",[294,2648,1243],{"class":311},[294,2650,2651,2654,2656,2659,2661,2664],{"class":296,"line":415},[294,2652,2653],{"class":311},")",[294,2655,2092],{"class":1195},[294,2657,2658],{"class":1112}," Promise",[294,2660,2078],{"class":311},[294,2662,2663],{"class":1112},"RetrievedChunk",[294,2665,2666],{"class":311},"[]> {\n",[294,2668,2669,2672,2675,2677,2679,2682],{"class":296,"line":423},[294,2670,2671],{"class":1195},"  const",[294,2673,2674],{"class":315}," embedding",[294,2676,1223],{"class":1195},[294,2678,1590],{"class":1195},[294,2680,2681],{"class":1112}," embedQuery",[294,2683,2684],{"class":311},"(query);\n",[294,2686,2687],{"class":296,"line":432},[294,2688,366],{"emptyLinePlaceholder":365},[294,2690,2691,2693,2696,2698,2700,2703,2706],{"class":296,"line":440},[294,2692,2671],{"class":1195},[294,2694,2695],{"class":315}," results",[294,2697,1223],{"class":1195},[294,2699,1590],{"class":1195},[294,2701,2702],{"class":311}," vectorDb.",[294,2704,2705],{"class":1112},"search",[294,2707,1232],{"class":311},[294,2709,2710,2713,2716,2719,2722],{"class":296,"line":451},[294,2711,2712],{"class":311},"    collection: ",[294,2714,2715],{"class":336},"`business_${",[294,2717,2718],{"class":311},"businessId",[294,2720,2721],{"class":336},"}`",[294,2723,1243],{"class":311},[294,2725,2726],{"class":296,"line":459},[294,2727,2728],{"class":311},"    vector: embedding,\n",[294,2730,2731],{"class":296,"line":467},[294,2732,2733],{"class":311},"    topK,\n",[294,2735,2736,2739,2742],{"class":296,"line":475},[294,2737,2738],{"class":311},"    filter: { active: ",[294,2740,2741],{"class":315},"true",[294,2743,2744],{"class":311}," },\n",[294,2746,2747],{"class":296,"line":486},[294,2748,1662],{"class":311},[294,2750,2751],{"class":296,"line":494},[294,2752,366],{"emptyLinePlaceholder":365},[294,2754,2755,2758],{"class":296,"line":502},[294,2756,2757],{"class":1195},"  return",[294,2759,2760],{"class":311}," results\n",[294,2762,2763,2766,2769,2772,2775,2777,2779,2782,2785,2788],{"class":296,"line":513},[294,2764,2765],{"class":311},"    .",[294,2767,2768],{"class":1112},"filter",[294,2770,2771],{"class":311},"((",[294,2773,2774],{"class":1376},"r",[294,2776,1380],{"class":311},[294,2778,1279],{"class":1195},[294,2780,2781],{"class":311}," r.relevanceScore ",[294,2783,2784],{"class":1195},">",[294,2786,2787],{"class":315}," 0.75",[294,2789,1339],{"class":311},[294,2791,2792,2794,2797,2799,2801,2803,2805],{"class":296,"line":521},[294,2793,2765],{"class":311},[294,2795,2796],{"class":1112},"map",[294,2798,2771],{"class":311},[294,2800,2774],{"class":1376},[294,2802,1380],{"class":311},[294,2804,1279],{"class":1195},[294,2806,2807],{"class":311}," ({\n",[294,2809,2810],{"class":296,"line":529},[294,2811,2812],{"class":311},"      content: r.payload.content,\n",[294,2814,2815],{"class":296,"line":537},[294,2816,2817],{"class":311},"      source: r.payload.source,\n",[294,2819,2820],{"class":296,"line":548},[294,2821,2822],{"class":311},"      relevanceScore: r.score,\n",[294,2824,2825],{"class":296,"line":556},[294,2826,2827],{"class":311},"      metadata: r.payload.metadata,\n",[294,2829,2830],{"class":296,"line":566},[294,2831,2832],{"class":311},"    }));\n",[294,2834,2835],{"class":296,"line":573},[294,2836,2159],{"class":311},[1162,2838,2839],{"type":322},[19,2840,2841],{},"RAG is not a magic bullet. The quality of retrieved context depends entirely on the quality of the source documents. We invest significant effort in helping clients structure and clean their knowledge base before deployment.",[79,2843,2845],{"id":2844},"voice-and-text-modes","Voice and Text Modes",[19,2847,2848],{},"Connekz operates in both text and voice modes. Text mode powers web chat widgets, WhatsApp integrations, and SMS interactions. Voice mode handles phone calls through real-time speech-to-text, agent processing, and text-to-speech.",[19,2850,2851],{},"Voice introduces additional engineering challenges: turn-taking (knowing when the caller has finished speaking), barge-in handling (the caller interrupts the agent mid-response), and latency requirements (voice conversations feel unnatural if response time exceeds 1.5 seconds).",[14,2853,2855],{"id":2854},"the-tool-calling-system-how-connekz-takes-action","The Tool-Calling System: How Connekz Takes Action",[19,2857,2858],{},"The defining feature that separates Connekz from a standard chatbot is its ability to take real-world actions. When a customer says \"I'd like to book an appointment for next Tuesday,\" Connekz does not just acknowledge the request — it checks the calendar, finds available slots, and creates the booking.",[79,2860,2862],{"id":2861},"how-tool-calling-works","How Tool Calling Works",[19,2864,2865],{},"The AI model is provided with a set of function definitions describing the actions it can take. Each function definition includes a name, description, and a parameter schema. When the model determines that an action is needed, it generates a structured tool call rather than a text response.",[284,2867,2869],{"className":1181,"code":2868,"language":1183,"meta":289,"style":289},"// Tool definition for appointment booking\nconst bookAppointmentTool = {\n  name: 'book_appointment',\n  description:\n    'Books an appointment for a customer. Use this when the customer wants to schedule a visit, consultation, or service.',\n  parameters: {\n    type: 'object',\n    properties: {\n      service_type: {\n        type: 'string',\n        description: 'The type of service requested',\n        enum: ['consultation', 'follow-up', 'initial-assessment', 'treatment'],\n      },\n      preferred_date: {\n        type: 'string',\n        format: 'date',\n        description: 'The customer preferred date (ISO 8601)',\n      },\n      preferred_time_range: {\n        type: 'string',\n        enum: ['morning', 'afternoon', 'evening'],\n        description: 'Preferred time of day',\n      },\n      customer_name: {\n        type: 'string',\n        description: 'Full name of the customer',\n      },\n      customer_phone: {\n        type: 'string',\n        description: 'Contact phone number',\n      },\n      notes: {\n        type: 'string',\n        description: 'Any additional notes or requirements',\n      },\n    },\n    required: ['service_type', 'preferred_date', 'customer_name'],\n  },\n};\n",[291,2870,2871,2876,2887,2897,2902,2909,2914,2924,2929,2934,2944,2954,2979,2984,2989,2997,3007,3016,3020,3025,3033,3052,3061,3065,3070,3078,3087,3091,3096,3104,3113,3117,3122,3130,3139,3143,3148,3168,3172],{"__ignoreMap":289},[294,2872,2873],{"class":296,"line":297},[294,2874,2875],{"class":300},"// Tool definition for appointment booking\n",[294,2877,2878,2880,2883,2885],{"class":296,"line":304},[294,2879,1217],{"class":1195},[294,2881,2882],{"class":315}," bookAppointmentTool",[294,2884,1223],{"class":1195},[294,2886,1282],{"class":311},[294,2888,2889,2892,2895],{"class":296,"line":319},[294,2890,2891],{"class":311},"  name: ",[294,2893,2894],{"class":336},"'book_appointment'",[294,2896,1243],{"class":311},[294,2898,2899],{"class":296,"line":328},[294,2900,2901],{"class":311},"  description:\n",[294,2903,2904,2907],{"class":296,"line":340},[294,2905,2906],{"class":336},"    'Books an appointment for a customer. Use this when the customer wants to schedule a visit, consultation, or service.'",[294,2908,1243],{"class":311},[294,2910,2911],{"class":296,"line":351},[294,2912,2913],{"class":311},"  parameters: {\n",[294,2915,2916,2919,2922],{"class":296,"line":362},[294,2917,2918],{"class":311},"    type: ",[294,2920,2921],{"class":336},"'object'",[294,2923,1243],{"class":311},[294,2925,2926],{"class":296,"line":369},[294,2927,2928],{"class":311},"    properties: {\n",[294,2930,2931],{"class":296,"line":377},[294,2932,2933],{"class":311},"      service_type: {\n",[294,2935,2936,2939,2942],{"class":296,"line":385},[294,2937,2938],{"class":311},"        type: ",[294,2940,2941],{"class":336},"'string'",[294,2943,1243],{"class":311},[294,2945,2946,2949,2952],{"class":296,"line":393},[294,2947,2948],{"class":311},"        description: ",[294,2950,2951],{"class":336},"'The type of service requested'",[294,2953,1243],{"class":311},[294,2955,2956,2959,2961,2963,2966,2968,2971,2973,2976],{"class":296,"line":404},[294,2957,2958],{"class":311},"        enum: [",[294,2960,1428],{"class":336},[294,2962,1295],{"class":311},[294,2964,2965],{"class":336},"'follow-up'",[294,2967,1295],{"class":311},[294,2969,2970],{"class":336},"'initial-assessment'",[294,2972,1295],{"class":311},[294,2974,2975],{"class":336},"'treatment'",[294,2977,2978],{"class":311},"],\n",[294,2980,2981],{"class":296,"line":415},[294,2982,2983],{"class":311},"      },\n",[294,2985,2986],{"class":296,"line":423},[294,2987,2988],{"class":311},"      preferred_date: {\n",[294,2990,2991,2993,2995],{"class":296,"line":432},[294,2992,2938],{"class":311},[294,2994,2941],{"class":336},[294,2996,1243],{"class":311},[294,2998,2999,3002,3005],{"class":296,"line":440},[294,3000,3001],{"class":311},"        format: ",[294,3003,3004],{"class":336},"'date'",[294,3006,1243],{"class":311},[294,3008,3009,3011,3014],{"class":296,"line":451},[294,3010,2948],{"class":311},[294,3012,3013],{"class":336},"'The customer preferred date (ISO 8601)'",[294,3015,1243],{"class":311},[294,3017,3018],{"class":296,"line":459},[294,3019,2983],{"class":311},[294,3021,3022],{"class":296,"line":467},[294,3023,3024],{"class":311},"      preferred_time_range: {\n",[294,3026,3027,3029,3031],{"class":296,"line":475},[294,3028,2938],{"class":311},[294,3030,2941],{"class":336},[294,3032,1243],{"class":311},[294,3034,3035,3037,3040,3042,3045,3047,3050],{"class":296,"line":486},[294,3036,2958],{"class":311},[294,3038,3039],{"class":336},"'morning'",[294,3041,1295],{"class":311},[294,3043,3044],{"class":336},"'afternoon'",[294,3046,1295],{"class":311},[294,3048,3049],{"class":336},"'evening'",[294,3051,2978],{"class":311},[294,3053,3054,3056,3059],{"class":296,"line":494},[294,3055,2948],{"class":311},[294,3057,3058],{"class":336},"'Preferred time of day'",[294,3060,1243],{"class":311},[294,3062,3063],{"class":296,"line":502},[294,3064,2983],{"class":311},[294,3066,3067],{"class":296,"line":513},[294,3068,3069],{"class":311},"      customer_name: {\n",[294,3071,3072,3074,3076],{"class":296,"line":521},[294,3073,2938],{"class":311},[294,3075,2941],{"class":336},[294,3077,1243],{"class":311},[294,3079,3080,3082,3085],{"class":296,"line":529},[294,3081,2948],{"class":311},[294,3083,3084],{"class":336},"'Full name of the customer'",[294,3086,1243],{"class":311},[294,3088,3089],{"class":296,"line":537},[294,3090,2983],{"class":311},[294,3092,3093],{"class":296,"line":548},[294,3094,3095],{"class":311},"      customer_phone: {\n",[294,3097,3098,3100,3102],{"class":296,"line":556},[294,3099,2938],{"class":311},[294,3101,2941],{"class":336},[294,3103,1243],{"class":311},[294,3105,3106,3108,3111],{"class":296,"line":566},[294,3107,2948],{"class":311},[294,3109,3110],{"class":336},"'Contact phone number'",[294,3112,1243],{"class":311},[294,3114,3115],{"class":296,"line":573},[294,3116,2983],{"class":311},[294,3118,3119],{"class":296,"line":580},[294,3120,3121],{"class":311},"      notes: {\n",[294,3123,3124,3126,3128],{"class":296,"line":587},[294,3125,2938],{"class":311},[294,3127,2941],{"class":336},[294,3129,1243],{"class":311},[294,3131,3132,3134,3137],{"class":296,"line":597},[294,3133,2948],{"class":311},[294,3135,3136],{"class":336},"'Any additional notes or requirements'",[294,3138,1243],{"class":311},[294,3140,3141],{"class":296,"line":605},[294,3142,2983],{"class":311},[294,3144,3145],{"class":296,"line":615},[294,3146,3147],{"class":311},"    },\n",[294,3149,3150,3153,3156,3158,3161,3163,3166],{"class":296,"line":622},[294,3151,3152],{"class":311},"    required: [",[294,3154,3155],{"class":336},"'service_type'",[294,3157,1295],{"class":311},[294,3159,3160],{"class":336},"'preferred_date'",[294,3162,1295],{"class":311},[294,3164,3165],{"class":336},"'customer_name'",[294,3167,2978],{"class":311},[294,3169,3170],{"class":296,"line":629},[294,3171,1922],{"class":311},[294,3173,3174],{"class":296,"line":636},[294,3175,3176],{"class":311},"};\n",[79,3178,3180],{"id":3179},"safety-guardrails-and-confirmation-flows","Safety Guardrails and Confirmation Flows",[19,3182,3183],{},"Tool calls that modify data or create commitments always pass through a confirmation flow. The agent presents the proposed action to the customer and waits for explicit confirmation before executing.",[19,3185,3186],{},"For example, a booking flow looks like this:",[47,3188,3189,3195,3204,3210,3215,3220,3225,3230,3235,3240,3247],{},[50,3190,3191,3194],{},[23,3192,3193],{},"Customer",": \"I'd like to book a consultation for next Tuesday afternoon.\"",[50,3196,3197,3200,3201],{},[23,3198,3199],{},"Agent"," (internal): Calls ",[291,3202,3203],{},"check_availability({ date: '2026-02-17', time_range: 'afternoon' })",[50,3205,3206,3209],{},[23,3207,3208],{},"System",": Returns available slots: 1:00 PM, 2:30 PM, 4:00 PM",[50,3211,3212,3214],{},[23,3213,3199],{},": \"I have three afternoon slots available on Tuesday the 17th: 1:00 PM, 2:30 PM, and 4:00 PM. Which works best for you?\"",[50,3216,3217,3219],{},[23,3218,3193],{},": \"2:30 works.\"",[50,3221,3222,3224],{},[23,3223,3199],{},": \"I'll book you in for a consultation at 2:30 PM on Tuesday 17 February. Could I get your full name and a contact number?\"",[50,3226,3227,3229],{},[23,3228,3193],{},": \"Sarah Chen, 021 555 0123.\"",[50,3231,3232,3234],{},[23,3233,3199],{},": \"To confirm: a consultation for Sarah Chen at 2:30 PM on Tuesday 17 February. I'll send a confirmation to 021 555 0123. Shall I go ahead?\"",[50,3236,3237,3239],{},[23,3238,3193],{},": \"Yes please.\"",[50,3241,3242,3200,3244],{},[23,3243,3199],{},[291,3245,3246],{},"book_appointment({ service_type: 'consultation', preferred_date: '2026-02-17', preferred_time_range: 'afternoon', customer_name: 'Sarah Chen', customer_phone: '021 555 0123' })",[50,3248,3249,3251],{},[23,3250,3199],{},": \"You're all booked in. You'll receive a confirmation text shortly. Is there anything else I can help with?\"",[19,3253,3254],{},"The confirmation step is non-negotiable. The agent never creates a booking, processes a payment, or modifies a record without explicit customer approval.",[1162,3256,3257],{"type":1164},[19,3258,3259],{},"Designing confirmation flows is as important as designing the AI model itself. A single incorrect booking damages trust far more than a slow response time. We err heavily on the side of confirming before acting.",[14,3261,3263],{"id":3262},"multi-platform-deployment","Multi-Platform Deployment",[19,3265,3266],{},"Connekz deploys wherever your customers are. Each deployment mode is optimised for its platform while sharing the same core intelligence.",[79,3268,3270],{"id":3269},"web-widget","Web Widget",[19,3272,3273],{},"A lightweight JavaScript widget that embeds in any website. It loads asynchronously (under 30KB initial payload), supports custom theming to match your brand, and works across all modern browsers. The widget communicates with the Connekz backend via WebSocket for real-time conversation.",[79,3275,3277],{"id":3276},"inline-chat","Inline Chat",[19,3279,3280,3281,3284],{},"For businesses that want the AI agent integrated directly into their ",[230,3282,3283],{"href":2353},"website pages"," rather than as a floating widget. The inline mode renders within a designated container element and can be styled to look like a native part of the page.",[14,3286,3288],{"id":3287},"what-we-learned-building-production-ai-agents","What We Learned Building Production AI Agents",[19,3290,3291],{},"Shipping AI agents into production customer-facing environments taught us lessons that no research paper or demo could.",[79,3293,3295],{"id":3294},"hallucination-mitigation-is-an-engineering-problem","Hallucination Mitigation Is an Engineering Problem",[19,3297,3298],{},"LLMs hallucinate. This is a fundamental characteristic, not a bug to be patched. Our mitigation strategy is multi-layered:",[1711,3300,3301,3307,3313,3319],{},[50,3302,3303,3306],{},[23,3304,3305],{},"Constrain the knowledge domain",": The agent only answers questions about topics covered in the RAG knowledge base. For everything else, it responds honestly: \"I don't have information about that. Let me connect you with a team member who can help.\"",[50,3308,3309,3312],{},[23,3310,3311],{},"Fact-check against structured data",": When the agent states a price, availability, or policy, the system cross-references against structured data sources (not just the RAG corpus) before presenting the information.",[50,3314,3315,3318],{},[23,3316,3317],{},"Confidence scoring",": Every response includes an internal confidence score. Below a configurable threshold, the agent flags uncertainty to the customer or escalates to a human.",[50,3320,3321,3324],{},[23,3322,3323],{},"Post-response validation",": A lightweight validation model reviews each response before it is sent, checking for contradictions with known facts and flagging potential hallucinations.",[79,3326,3328],{"id":3327},"graceful-handoff-to-humans-is-not-optional","Graceful Handoff to Humans Is Not Optional",[19,3330,3331],{},"No AI agent can handle every situation. The quality of your handoff process determines whether a complex interaction becomes a satisfied customer or a lost one.",[19,3333,3334],{},"Connekz implements three types of handoff:",[47,3336,3337,3343,3349],{},[50,3338,3339,3342],{},[23,3340,3341],{},"Proactive handoff",": The agent detects it cannot resolve the issue (low confidence, out-of-scope request, detected frustration) and initiates transfer.",[50,3344,3345,3348],{},[23,3346,3347],{},"Customer-requested handoff",": The customer explicitly asks to speak with a person. This is honoured immediately, no friction, no attempts to retain the conversation.",[50,3350,3351,3354],{},[23,3352,3353],{},"Escalation handoff",": A human supervisor monitoring the conversation intervenes and takes over.",[19,3356,3357],{},"In all cases, the full conversation history and context are passed to the human agent. The customer never has to repeat themselves.",[79,3359,3361],{"id":3360},"latency-matters-more-than-you-think","Latency Matters More Than You Think",[19,3363,3364],{},"In conversational AI, perceived intelligence is heavily influenced by response speed. A technically superior response delivered in 5 seconds feels worse than a good response delivered in 800ms. Users begin to disengage after 2 seconds of silence.",[19,3366,3367],{},"We optimise for latency at every layer:",[1711,3369,3370,3373,3376,3379],{},[50,3371,3372],{},"Intent classification completes in under 50ms",[50,3374,3375],{},"RAG retrieval runs in parallel with conversation context assembly",[50,3377,3378],{},"Response streaming begins before the full response is generated",[50,3380,3381],{},"Tool calls execute asynchronously where possible",[19,3383,3384],{},"Our p95 response latency for text interactions is under 1.2 seconds. For voice, we target under 1.5 seconds from end-of-speech detection to start-of-response playback.",[79,3386,3388],{"id":3387},"monitoring-and-continuous-improvement","Monitoring and Continuous Improvement",[19,3390,3391],{},"Deploying an AI agent is not a launch-and-forget operation. We monitor every conversation across multiple dimensions:",[1711,3393,3394,3400,3406,3412,3418],{},[50,3395,3396,3399],{},[23,3397,3398],{},"Resolution rate",": What percentage of conversations reach a successful outcome without human handoff?",[50,3401,3402,3405],{},[23,3403,3404],{},"Accuracy rate",": Human evaluators review volenteraly provided sampled conversations for factual accuracy and appropriateness.",[50,3407,3408,3411],{},[23,3409,3410],{},"Customer satisfaction",": Post-conversation ratings and sentiment analysis.",[50,3413,3414,3417],{},[23,3415,3416],{},"Tool call success rate",": What percentage of bookings, updates, and actions complete successfully?",[50,3419,3420,3423],{},[23,3421,3422],{},"Escalation patterns",": Which topics or scenarios consistently require human handoff? These inform knowledge base improvements and model updates.",[19,3425,3426],{},"We feed these metrics back into a continuous improvement loop. Every week, the lowest-performing conversation patterns are reviewed, and the knowledge base, prompts, and guardrails are updated accordingly.",[14,3428,3430],{"id":3429},"results-our-clients-see","Results Our Clients See",[19,3432,3433],{},"The impact of deploying Connekz varies by industry and use case, but the patterns are consistent.",[124,3435,3436,3449],{},[127,3437,3438],{},[130,3439,3440,3443,3446],{},[133,3441,3442],{},"Metric",[133,3444,3445],{},"Typical Before",[133,3447,3448],{},"Typical After",[143,3450,3451,3462,3473,3484,3495,3506],{},[130,3452,3453,3456,3459],{},[148,3454,3455],{},"After-hours response rate",[148,3457,3458],{},"0% (voicemail/email only)",[148,3460,3461],{},"95%+ instant response",[130,3463,3464,3467,3470],{},[148,3465,3466],{},"Average first response time",[148,3468,3469],{},"4-8 hours",[148,3471,3472],{},"Under 2 seconds",[130,3474,3475,3478,3481],{},[148,3476,3477],{},"Routine enquiry handling",[148,3479,3480],{},"100% human",[148,3482,3483],{},"70-80% automated",[130,3485,3486,3489,3492],{},[148,3487,3488],{},"Booking conversion (after-hours)",[148,3490,3491],{},"Near zero",[148,3493,3494],{},"35-50% of enquiries",[130,3496,3497,3500,3503],{},[148,3498,3499],{},"Support cost per interaction",[148,3501,3502],{},"$8-15",[148,3504,3505],{},"$0.50-2.00",[130,3507,3508,3511,3514],{},[148,3509,3510],{},"Customer satisfaction score",[148,3512,3513],{},"3.8/5.0",[148,3515,3516],{},"4.3/5.0",[19,3518,3519,3520,3523],{},"These numbers represent real outcomes from ",[230,3521,3522],{"href":251},"Connekz deployments"," across healthcare, professional services, and hospitality businesses.",[1162,3525,3526],{"type":322},[19,3527,3528,3529,3532],{},"The most surprising result: customer satisfaction scores typically ",[2180,3530,3531],{},"increase"," after AI agent deployment. Customers prefer an instant, accurate response from an AI over a delayed or inconsistent response from an overwhelmed human team.",[14,3534,3536],{"id":3535},"the-road-ahead","The Road Ahead",[19,3538,3539],{},"Connekz is not a finished product. It is a platform that evolves with advances in AI capabilities and our clients' needs. Our current development priorities include:",[1711,3541,3542,3548,3554,3564],{},[50,3543,3544,3547],{},[23,3545,3546],{},"Multi-agent orchestration",": Complex business processes that require coordination between specialised agents (a booking agent, a billing agent, a technical support agent) working together on a single customer interaction.",[50,3549,3550,3553],{},[23,3551,3552],{},"Proactive outreach",": Connekz initiating conversations based on triggers — appointment reminders, follow-up after service, re-engagement of lapsed customers.",[50,3555,3556,3563],{},[23,3557,3558,3559],{},"Deeper ",[230,3560,3562],{"href":3561},"/solutions/ai-solutions","AI integration",": Connecting Connekz to internal business intelligence, allowing the agent to make data-informed recommendations (e.g., suggesting the most popular service for a new customer based on similar customer patterns).",[50,3565,3566,3569],{},[23,3567,3568],{},"Industry-specific models",": Fine-tuned models for healthcare, legal, and financial services that understand domain-specific terminology, compliance requirements, and interaction patterns.",[19,3571,3572],{},"The gap between what customers expect and what most businesses can deliver is growing. AI agents are not a futuristic concept — they are a practical, deployable solution to a problem that every business faces today.",[2357,3574],{},[19,3576,3577],{},[2180,3578,3579,3580,3583],{},"Ready to deploy Connekz for your business? ",[230,3581,3582],{"href":2366},"Start a conversation with our team"," and see what intelligent automation can do for your customer experience.",[2370,3585,3586],{},"html pre.shiki code .sJ8bj, html code.shiki .sJ8bj{--shiki-default:#6A737D;--shiki-dark:#6A737D}html pre.shiki code .szBVR, html code.shiki .szBVR{--shiki-default:#D73A49;--shiki-dark:#F97583}html pre.shiki code .sScJk, html code.shiki .sScJk{--shiki-default:#6F42C1;--shiki-dark:#B392F0}html pre.shiki code .sVt8B, html code.shiki .sVt8B{--shiki-default:#24292E;--shiki-dark:#E1E4E8}html pre.shiki code .s4XuR, html code.shiki .s4XuR{--shiki-default:#E36209;--shiki-dark:#FFAB70}html pre.shiki code .sj4cs, html code.shiki .sj4cs{--shiki-default:#005CC5;--shiki-dark:#79B8FF}html pre.shiki code .sZZnC, html code.shiki .sZZnC{--shiki-default:#032F62;--shiki-dark:#9ECBFF}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}",{"title":289,"searchDepth":304,"depth":304,"links":3588},[3589,3590,3597,3601,3605,3611,3612],{"id":2432,"depth":304,"text":2433},{"id":2450,"depth":304,"text":2451,"children":3591},[3592,3593,3594,3595,3596],{"id":2457,"depth":319,"text":2458},{"id":2464,"depth":319,"text":2465},{"id":2471,"depth":319,"text":2472},{"id":2481,"depth":319,"text":2482},{"id":2844,"depth":319,"text":2845},{"id":2854,"depth":304,"text":2855,"children":3598},[3599,3600],{"id":2861,"depth":319,"text":2862},{"id":3179,"depth":319,"text":3180},{"id":3262,"depth":304,"text":3263,"children":3602},[3603,3604],{"id":3269,"depth":319,"text":3270},{"id":3276,"depth":319,"text":3277},{"id":3287,"depth":304,"text":3288,"children":3606},[3607,3608,3609,3610],{"id":3294,"depth":319,"text":3295},{"id":3327,"depth":319,"text":3328},{"id":3360,"depth":319,"text":3361},{"id":3387,"depth":319,"text":3388},{"id":3429,"depth":304,"text":3430},{"id":3535,"depth":304,"text":3536},"AI","2026-02-07","A behind-the-scenes look at building Connekz — the AI agent platform powering customer interactions for businesses across New Zealand and beyond.",{},"/blog/building-connekz-ai-agent","11 min read",{"title":2424,"description":3615},"blog/building-connekz-ai-agent",[252,3622,3623,3624],"AI Agents","Natural Language Processing","Product Engineering","3dweb7U44CHsXPjufugyInw62GeJ0CMrWfns7Q78EI8",{"id":3627,"title":3628,"author":3629,"body":3630,"category":2406,"coverImage":2407,"date":4647,"description":4648,"extension":2410,"featured":2411,"meta":4649,"navigation":365,"path":4650,"readingTime":4651,"seo":4652,"stem":4653,"tags":4654,"__hash__":4659},"blog/blog/zero-trust-architecture-guide.md","Zero Trust Architecture: A Practical Guide for Business Leaders",{"name":8,"role":9},{"type":11,"value":3631,"toc":4607},[3632,3636,3639,3642,3645,3650,3658,3662,3665,3668,3671,3675,3695,3699,3702,3706,3709,3712,3716,3719,3722,3726,3729,3736,3740,3743,4120,4127,4131,4134,4137,4141,4144,4148,4151,4155,4158,4162,4165,4170,4174,4177,4181,4184,4189,4203,4275,4279,4282,4286,4300,4304,4307,4311,4325,4329,4332,4336,4350,4355,4359,4362,4366,4383,4387,4390,4394,4397,4401,4404,4408,4415,4419,4422,4426,4429,4433,4436,4440,4443,4447,4450,4454,4457,4508,4513,4517,4520,4526,4532,4538,4544,4548,4551,4557,4563,4569,4572,4576,4583,4594,4604],[14,3633,3635],{"id":3634},"perimeter-security-is-dead-what-comes-next","Perimeter Security Is Dead — What Comes Next?",[19,3637,3638],{},"Zero trust architecture has become the defining security model for modern enterprises, and for good reason. The traditional approach of building a strong perimeter and trusting everything inside it was designed for an era when employees worked in offices, applications ran on local servers, and data stayed within four walls. That era is over.",[19,3640,3641],{},"Remote work, cloud-native applications, API-driven microservices, and third-party integrations have dissolved the traditional network boundary. Your employees connect from coffee shops. Your data lives across three cloud providers. Your partners access your systems via APIs that traverse the open internet. In this reality, the question is not whether your perimeter will be breached — it is when.",[19,3643,3644],{},"According to IBM's 2025 Cost of a Data Breach Report, the average breach costs $4.88 million and takes 277 days to identify and contain. Organisations that had adopted zero trust principles reduced that cost by an average of $1.76 million. The numbers are clear: the old model is not just outdated — it is expensive.",[31,3646,3647],{},[19,3648,3649],{},"The fundamental shift in zero trust thinking is this: stop trying to build a bigger wall. Instead, assume the attacker is already inside and design every system interaction accordingly.",[19,3651,3652,3653,3657],{},"If you are a business leader evaluating your organisation's ",[230,3654,3656],{"href":3655},"/solutions/security","security posture",", this guide will walk you through what zero trust actually means, why it matters, and how to implement it without paralysing your operations.",[14,3659,3661],{"id":3660},"what-is-zero-trust","What Is Zero Trust?",[19,3663,3664],{},"Zero trust is a security model built on one principle: never trust, always verify. Every user, device, application, and network flow must be authenticated, authorised, and continuously validated before being granted access to any resource — regardless of whether the request originates inside or outside the corporate network.",[19,3666,3667],{},"This is a deliberate departure from the \"castle and moat\" approach. In a traditional architecture, once a user passes through the firewall, they are broadly trusted. In a zero trust architecture, trust is never implicit. Every request is evaluated in context: Who is making the request? What device are they using? Is the device compliant? What resource are they accessing? Is this behaviour normal for this user?",[19,3669,3670],{},"The term was coined by Forrester Research analyst John Kindervag in 2010, but the model gained mainstream adoption after Google published its BeyondCorp framework in 2014, demonstrating that even one of the world's largest technology companies could operate without a traditional VPN-based perimeter.",[79,3672,3674],{"id":3673},"core-tenets-of-zero-trust","Core Tenets of Zero Trust",[1711,3676,3677,3683,3689],{},[50,3678,3679,3682],{},[23,3680,3681],{},"Verify explicitly",": Always authenticate and authorise based on all available data points, including user identity, location, device health, service or workload, data classification, and anomalies.",[50,3684,3685,3688],{},[23,3686,3687],{},"Use least-privilege access",": Limit user access with just-in-time and just-enough-access (JIT/JEA), risk-based adaptive policies, and data protection.",[50,3690,3691,3694],{},[23,3692,3693],{},"Assume breach",": Minimise blast radius and segment access. Verify end-to-end encryption. Use analytics to get visibility, drive threat detection, and improve defences.",[14,3696,3698],{"id":3697},"the-5-pillars-of-zero-trust","The 5 Pillars of Zero Trust",[19,3700,3701],{},"A comprehensive zero trust architecture addresses five interconnected pillars. Weakness in any one of them creates a gap that attackers can exploit. Understanding these pillars is the first step toward building a coherent implementation strategy.",[79,3703,3705],{"id":3704},"_1-identity","1. Identity",[19,3707,3708],{},"Identity is the foundation of zero trust. Every access decision starts with verifying who is making the request. This means strong authentication (multi-factor at minimum), single sign-on for consistent policy enforcement, and continuous validation throughout a session — not just at login.",[19,3710,3711],{},"Modern identity platforms evaluate risk signals in real time. If a user authenticates from London at 9:00 AM and then appears to log in from Singapore at 9:15 AM, the system should challenge or block that second request automatically.",[79,3713,3715],{"id":3714},"_2-devices","2. Devices",[19,3717,3718],{},"A verified user on a compromised device is still a threat. Device trust means assessing the security posture of every endpoint before granting access. Is the operating system patched? Is disk encryption enabled? Is endpoint detection and response (EDR) software running? Is the device managed or personal?",[19,3720,3721],{},"Device posture assessment should be continuous, not a one-time check. A laptop that was compliant this morning may have had its antivirus disabled by malware this afternoon.",[79,3723,3725],{"id":3724},"_3-network","3. Network",[19,3727,3728],{},"Traditional network security assumes that internal traffic is safe. Zero trust rejects this assumption entirely. Micro-segmentation divides the network into isolated zones, ensuring that even if an attacker gains access to one segment, they cannot move laterally to others.",[19,3730,3731,3732,3735],{},"Network policies should be defined by workload identity, not IP address. In a ",[230,3733,3734],{"href":2015},"cloud-native environment",", IP addresses are ephemeral — a security policy tied to an IP is fragile by design.",[79,3737,3739],{"id":3738},"_4-applications","4. Applications",[19,3741,3742],{},"Applications are where business logic lives, and they are a prime target. Zero trust at the application layer means securing APIs with proper authentication and rate limiting, implementing web application firewalls (WAFs), managing secrets securely, and ensuring that application-to-application communication is mutually authenticated.",[284,3744,3746],{"className":1181,"code":3745,"language":1183,"meta":289,"style":289},"// Example: API middleware enforcing zero trust principles\nimport { defineEventHandler, createError, getHeader } from 'h3';\nimport { verifyToken, checkDevicePosture, evaluateRiskScore } from './security';\n\nexport default defineEventHandler(async (event) => {\n  const token = getHeader(event, 'Authorization')?.replace('Bearer ', '');\n\n  if (!token) {\n    throw createError({ statusCode: 401, message: 'Authentication required' });\n  }\n\n  // Verify identity\n  const identity = await verifyToken(token);\n\n  // Verify device posture\n  const deviceId = getHeader(event, 'X-Device-ID');\n  const deviceTrusted = await checkDevicePosture(deviceId);\n\n  if (!deviceTrusted) {\n    throw createError({ statusCode: 403, message: 'Device does not meet security requirements' });\n  }\n\n  // Evaluate contextual risk\n  const riskScore = await evaluateRiskScore({\n    userId: identity.sub,\n    ip: event.node.req.socket.remoteAddress,\n    userAgent: getHeader(event, 'User-Agent'),\n    resource: event.path,\n  });\n\n  if (riskScore > 0.8) {\n    throw createError({ statusCode: 403, message: 'Access denied due to elevated risk' });\n  }\n\n  // Attach identity to event context for downstream handlers\n  event.context.identity = identity;\n});\n",[291,3747,3748,3753,3767,3781,3785,3811,3847,3851,3864,3887,3891,3895,3900,3917,3921,3926,3944,3961,3965,3976,3994,3998,4002,4007,4023,4028,4033,4047,4052,4056,4060,4075,4092,4096,4100,4105,4116],{"__ignoreMap":289},[294,3749,3750],{"class":296,"line":297},[294,3751,3752],{"class":300},"// Example: API middleware enforcing zero trust principles\n",[294,3754,3755,3757,3760,3762,3765],{"class":296,"line":304},[294,3756,1196],{"class":1195},[294,3758,3759],{"class":311}," { defineEventHandler, createError, getHeader } ",[294,3761,1202],{"class":1195},[294,3763,3764],{"class":336}," 'h3'",[294,3766,1208],{"class":311},[294,3768,3769,3771,3774,3776,3779],{"class":296,"line":319},[294,3770,1196],{"class":1195},[294,3772,3773],{"class":311}," { verifyToken, checkDevicePosture, evaluateRiskScore } ",[294,3775,1202],{"class":1195},[294,3777,3778],{"class":336}," './security'",[294,3780,1208],{"class":311},[294,3782,3783],{"class":296,"line":328},[294,3784,366],{"emptyLinePlaceholder":365},[294,3786,3787,3790,3793,3796,3798,3800,3802,3805,3807,3809],{"class":296,"line":340},[294,3788,3789],{"class":1195},"export",[294,3791,3792],{"class":1195}," default",[294,3794,3795],{"class":1112}," defineEventHandler",[294,3797,1270],{"class":311},[294,3799,1298],{"class":1195},[294,3801,1568],{"class":311},[294,3803,3804],{"class":1376},"event",[294,3806,1380],{"class":311},[294,3808,1279],{"class":1195},[294,3810,1282],{"class":311},[294,3812,3813,3815,3818,3820,3823,3826,3829,3832,3835,3837,3840,3842,3845],{"class":296,"line":351},[294,3814,2671],{"class":1195},[294,3816,3817],{"class":315}," token",[294,3819,1223],{"class":1195},[294,3821,3822],{"class":1112}," getHeader",[294,3824,3825],{"class":311},"(event, ",[294,3827,3828],{"class":336},"'Authorization'",[294,3830,3831],{"class":311},")?.",[294,3833,3834],{"class":1112},"replace",[294,3836,1270],{"class":311},[294,3838,3839],{"class":336},"'Bearer '",[294,3841,1295],{"class":311},[294,3843,3844],{"class":336},"''",[294,3846,1652],{"class":311},[294,3848,3849],{"class":296,"line":362},[294,3850,366],{"emptyLinePlaceholder":365},[294,3852,3853,3856,3858,3861],{"class":296,"line":369},[294,3854,3855],{"class":1195},"  if",[294,3857,1568],{"class":311},[294,3859,3860],{"class":1195},"!",[294,3862,3863],{"class":311},"token) {\n",[294,3865,3866,3869,3872,3875,3878,3881,3884],{"class":296,"line":377},[294,3867,3868],{"class":1195},"    throw",[294,3870,3871],{"class":1112}," createError",[294,3873,3874],{"class":311},"({ statusCode: ",[294,3876,3877],{"class":315},"401",[294,3879,3880],{"class":311},", message: ",[294,3882,3883],{"class":336},"'Authentication required'",[294,3885,3886],{"class":311}," });\n",[294,3888,3889],{"class":296,"line":385},[294,3890,2298],{"class":311},[294,3892,3893],{"class":296,"line":393},[294,3894,366],{"emptyLinePlaceholder":365},[294,3896,3897],{"class":296,"line":404},[294,3898,3899],{"class":300},"  // Verify identity\n",[294,3901,3902,3904,3907,3909,3911,3914],{"class":296,"line":415},[294,3903,2671],{"class":1195},[294,3905,3906],{"class":315}," identity",[294,3908,1223],{"class":1195},[294,3910,1590],{"class":1195},[294,3912,3913],{"class":1112}," verifyToken",[294,3915,3916],{"class":311},"(token);\n",[294,3918,3919],{"class":296,"line":423},[294,3920,366],{"emptyLinePlaceholder":365},[294,3922,3923],{"class":296,"line":432},[294,3924,3925],{"class":300},"  // Verify device posture\n",[294,3927,3928,3930,3933,3935,3937,3939,3942],{"class":296,"line":440},[294,3929,2671],{"class":1195},[294,3931,3932],{"class":315}," deviceId",[294,3934,1223],{"class":1195},[294,3936,3822],{"class":1112},[294,3938,3825],{"class":311},[294,3940,3941],{"class":336},"'X-Device-ID'",[294,3943,1652],{"class":311},[294,3945,3946,3948,3951,3953,3955,3958],{"class":296,"line":451},[294,3947,2671],{"class":1195},[294,3949,3950],{"class":315}," deviceTrusted",[294,3952,1223],{"class":1195},[294,3954,1590],{"class":1195},[294,3956,3957],{"class":1112}," checkDevicePosture",[294,3959,3960],{"class":311},"(deviceId);\n",[294,3962,3963],{"class":296,"line":459},[294,3964,366],{"emptyLinePlaceholder":365},[294,3966,3967,3969,3971,3973],{"class":296,"line":467},[294,3968,3855],{"class":1195},[294,3970,1568],{"class":311},[294,3972,3860],{"class":1195},[294,3974,3975],{"class":311},"deviceTrusted) {\n",[294,3977,3978,3980,3982,3984,3987,3989,3992],{"class":296,"line":475},[294,3979,3868],{"class":1195},[294,3981,3871],{"class":1112},[294,3983,3874],{"class":311},[294,3985,3986],{"class":315},"403",[294,3988,3880],{"class":311},[294,3990,3991],{"class":336},"'Device does not meet security requirements'",[294,3993,3886],{"class":311},[294,3995,3996],{"class":296,"line":486},[294,3997,2298],{"class":311},[294,3999,4000],{"class":296,"line":494},[294,4001,366],{"emptyLinePlaceholder":365},[294,4003,4004],{"class":296,"line":502},[294,4005,4006],{"class":300},"  // Evaluate contextual risk\n",[294,4008,4009,4011,4014,4016,4018,4021],{"class":296,"line":513},[294,4010,2671],{"class":1195},[294,4012,4013],{"class":315}," riskScore",[294,4015,1223],{"class":1195},[294,4017,1590],{"class":1195},[294,4019,4020],{"class":1112}," evaluateRiskScore",[294,4022,1232],{"class":311},[294,4024,4025],{"class":296,"line":521},[294,4026,4027],{"class":311},"    userId: identity.sub,\n",[294,4029,4030],{"class":296,"line":529},[294,4031,4032],{"class":311},"    ip: event.node.req.socket.remoteAddress,\n",[294,4034,4035,4038,4040,4042,4045],{"class":296,"line":537},[294,4036,4037],{"class":311},"    userAgent: ",[294,4039,1905],{"class":1112},[294,4041,3825],{"class":311},[294,4043,4044],{"class":336},"'User-Agent'",[294,4046,1517],{"class":311},[294,4048,4049],{"class":296,"line":548},[294,4050,4051],{"class":311},"    resource: event.path,\n",[294,4053,4054],{"class":296,"line":556},[294,4055,1662],{"class":311},[294,4057,4058],{"class":296,"line":566},[294,4059,366],{"emptyLinePlaceholder":365},[294,4061,4062,4064,4067,4069,4072],{"class":296,"line":573},[294,4063,3855],{"class":1195},[294,4065,4066],{"class":311}," (riskScore ",[294,4068,2784],{"class":1195},[294,4070,4071],{"class":315}," 0.8",[294,4073,4074],{"class":311},") {\n",[294,4076,4077,4079,4081,4083,4085,4087,4090],{"class":296,"line":580},[294,4078,3868],{"class":1195},[294,4080,3871],{"class":1112},[294,4082,3874],{"class":311},[294,4084,3986],{"class":315},[294,4086,3880],{"class":311},[294,4088,4089],{"class":336},"'Access denied due to elevated risk'",[294,4091,3886],{"class":311},[294,4093,4094],{"class":296,"line":587},[294,4095,2298],{"class":311},[294,4097,4098],{"class":296,"line":597},[294,4099,366],{"emptyLinePlaceholder":365},[294,4101,4102],{"class":296,"line":605},[294,4103,4104],{"class":300},"  // Attach identity to event context for downstream handlers\n",[294,4106,4107,4110,4113],{"class":296,"line":615},[294,4108,4109],{"class":311},"  event.context.identity ",[294,4111,4112],{"class":1195},"=",[294,4114,4115],{"class":311}," identity;\n",[294,4117,4118],{"class":296,"line":622},[294,4119,1258],{"class":311},[19,4121,4122,4123,4126],{},"Every ",[230,4124,4125],{"href":232},"API integration"," should enforce authentication, authorisation, input validation, and rate limiting as non-negotiable baseline controls.",[79,4128,4130],{"id":4129},"_5-data","5. Data",[19,4132,4133],{},"Data is ultimately what attackers are after. Zero trust data protection means classifying data by sensitivity, encrypting it at rest and in transit, applying access controls based on classification, and monitoring access patterns for anomalies.",[19,4135,4136],{},"Data loss prevention (DLP) policies should be automated and enforceable. If a user who normally accesses 50 records per day suddenly downloads 50,000, the system should flag and potentially block that action in real time.",[14,4138,4140],{"id":4139},"why-businesses-need-zero-trust-now","Why Businesses Need Zero Trust Now",[19,4142,4143],{},"The urgency for zero trust adoption is driven by three converging forces that are not slowing down. Understanding these forces helps justify the investment to stakeholders who may view security as a cost centre rather than a business enabler.",[79,4145,4147],{"id":4146},"the-breach-landscape-is-getting-worse","The Breach Landscape Is Getting Worse",[19,4149,4150],{},"Ransomware attacks increased by 68% in 2025. Supply chain attacks — where attackers compromise a vendor to reach their true target — have become a preferred tactic for sophisticated threat actors. The attack surface is expanding faster than most security teams can monitor.",[79,4152,4154],{"id":4153},"compliance-pressure-is-increasing","Compliance Pressure Is Increasing",[19,4156,4157],{},"Regulatory frameworks are increasingly requiring zero trust principles, even if they do not use the term explicitly. SOC 2 Type II, ISO 27001, GDPR, and industry-specific regulations like PCI DSS and HIPAA all demand controls that align naturally with zero trust: least-privilege access, encryption, audit logging, and continuous monitoring.",[79,4159,4161],{"id":4160},"cloud-adoption-has-changed-the-game","Cloud Adoption Has Changed the Game",[19,4163,4164],{},"When your infrastructure spans AWS, Azure, and Google Cloud, and your employees access SaaS applications directly from personal devices, the concept of a \"network perimeter\" becomes meaningless. Cloud-native architectures require cloud-native security models, and zero trust is the most mature framework available.",[1162,4166,4167],{"type":322},[19,4168,4169],{},"According to Gartner, by 2026, 60% of enterprises will have adopted zero trust as a starting point for security — up from fewer than 10% in 2021. If you have not started, you are falling behind.",[14,4171,4173],{"id":4172},"implementation-roadmap-a-phased-approach","Implementation Roadmap: A Phased Approach",[19,4175,4176],{},"The biggest mistake organisations make with zero trust is treating it as a product you can buy and install. Zero trust is a strategy, and it requires a phased, pragmatic rollout. Attempting to transform everything at once is a reliable path to failure.",[79,4178,4180],{"id":4179},"phase-1-identity-and-access-management","Phase 1: Identity and Access Management",[19,4182,4183],{},"Start here because identity is the control plane for everything else. If you cannot verify who is accessing your systems, no other security control will be effective.",[19,4185,4186],{},[23,4187,4188],{},"Key actions:",[1711,4190,4191,4194,4197,4200],{},[50,4192,4193],{},"Deploy multi-factor authentication (MFA) across all users — not just administrators. SMS-based MFA is better than nothing, but hardware keys or authenticator apps are significantly more resistant to phishing.",[50,4195,4196],{},"Implement single sign-on (SSO) to centralise authentication and make policy enforcement consistent.",[50,4198,4199],{},"Adopt the principle of least privilege: users should have access only to the resources they need for their current role, and that access should be reviewed regularly.",[50,4201,4202],{},"Implement just-in-time (JIT) access for privileged operations. Instead of granting permanent admin access, provide time-limited elevated permissions when needed.",[284,4204,4206],{"className":1098,"code":4205,"language":1100,"meta":289,"style":289},"# Example: AWS CLI command to create a role with time-limited session\naws sts assume-role \\\n  --role-arn arn:aws:iam::123456789012:role/AdminAccess \\\n  --role-session-name \"jit-admin-session\" \\\n  --duration-seconds 3600 \\\n  --serial-number arn:aws:iam::123456789012:mfa/user \\\n  --token-code 123456\n",[291,4207,4208,4213,4227,4237,4247,4257,4267],{"__ignoreMap":289},[294,4209,4210],{"class":296,"line":297},[294,4211,4212],{"class":300},"# Example: AWS CLI command to create a role with time-limited session\n",[294,4214,4215,4218,4221,4224],{"class":296,"line":304},[294,4216,4217],{"class":1112},"aws",[294,4219,4220],{"class":336}," sts",[294,4222,4223],{"class":336}," assume-role",[294,4225,4226],{"class":315}," \\\n",[294,4228,4229,4232,4235],{"class":296,"line":319},[294,4230,4231],{"class":315},"  --role-arn",[294,4233,4234],{"class":336}," arn:aws:iam::123456789012:role/AdminAccess",[294,4236,4226],{"class":315},[294,4238,4239,4242,4245],{"class":296,"line":328},[294,4240,4241],{"class":315},"  --role-session-name",[294,4243,4244],{"class":336}," \"jit-admin-session\"",[294,4246,4226],{"class":315},[294,4248,4249,4252,4255],{"class":296,"line":340},[294,4250,4251],{"class":315},"  --duration-seconds",[294,4253,4254],{"class":315}," 3600",[294,4256,4226],{"class":315},[294,4258,4259,4262,4265],{"class":296,"line":351},[294,4260,4261],{"class":315},"  --serial-number",[294,4263,4264],{"class":336}," arn:aws:iam::123456789012:mfa/user",[294,4266,4226],{"class":315},[294,4268,4269,4272],{"class":296,"line":362},[294,4270,4271],{"class":315},"  --token-code",[294,4273,4274],{"class":315}," 123456\n",[79,4276,4278],{"id":4277},"phase-2-device-trust-and-posture-assessment","Phase 2: Device Trust and Posture Assessment",[19,4280,4281],{},"Once you know who is connecting, you need to verify that their device is secure. This phase focuses on establishing a baseline of device health and enforcing it as a condition of access.",[19,4283,4284],{},[23,4285,4188],{},[1711,4287,4288,4291,4294,4297],{},[50,4289,4290],{},"Deploy endpoint detection and response (EDR) on all managed devices.",[50,4292,4293],{},"Define device compliance policies: OS version, patch level, encryption status, security software presence.",[50,4295,4296],{},"Integrate device posture checks into your identity provider so that authentication decisions consider device health.",[50,4298,4299],{},"Develop a strategy for unmanaged devices (BYOD): consider virtual desktop infrastructure (VDI) or browser-based isolation for access from personal devices.",[79,4301,4303],{"id":4302},"phase-3-micro-segmentation-and-network-policies","Phase 3: Micro-Segmentation and Network Policies",[19,4305,4306],{},"With identity and device trust in place, turn your attention to the network. Micro-segmentation limits lateral movement, ensuring that a breach in one area does not become a breach everywhere.",[19,4308,4309],{},[23,4310,4188],{},[1711,4312,4313,4316,4319,4322],{},[50,4314,4315],{},"Map your application dependencies and data flows before segmenting. You cannot segment effectively if you do not understand how your systems communicate.",[50,4317,4318],{},"Implement network policies based on workload identity, not IP addresses.",[50,4320,4321],{},"Start with your most sensitive workloads (financial systems, customer data, intellectual property) and expand outward.",[50,4323,4324],{},"Use service mesh technologies in Kubernetes environments to enforce mutual TLS and fine-grained traffic policies between services.",[79,4326,4328],{"id":4327},"phase-4-application-level-security","Phase 4: Application-Level Security",[19,4330,4331],{},"Secure the applications themselves. This phase focuses on ensuring that your APIs, web applications, and internal tools are hardened against attack.",[19,4333,4334],{},[23,4335,4188],{},[1711,4337,4338,4341,4344,4347],{},[50,4339,4340],{},"Deploy API gateways with authentication, rate limiting, and input validation.",[50,4342,4343],{},"Implement a web application firewall (WAF) for public-facing applications.",[50,4345,4346],{},"Centralise secrets management. No more credentials in environment variables, config files, or (worst of all) source code.",[50,4348,4349],{},"Ensure all service-to-service communication uses mutual TLS (mTLS).",[1162,4351,4352],{"type":1164},[19,4353,4354],{},"When implementing secrets management, adopt a \"secrets zero\" approach: no application should store secrets locally. All credentials should be fetched from a centralised vault (HashiCorp Vault, AWS Secrets Manager, Azure Key Vault) at runtime.",[79,4356,4358],{"id":4357},"phase-5-data-classification-and-encryption","Phase 5: Data Classification and Encryption",[19,4360,4361],{},"The final phase focuses on protecting the data itself. Even if every other control fails, properly classified and encrypted data limits the damage an attacker can do.",[19,4363,4364],{},[23,4365,4188],{},[1711,4367,4368,4371,4374,4377,4380],{},[50,4369,4370],{},"Classify all data by sensitivity level (public, internal, confidential, restricted).",[50,4372,4373],{},"Encrypt data at rest and in transit — with no exceptions.",[50,4375,4376],{},"Implement data loss prevention (DLP) policies tied to your classification scheme.",[50,4378,4379],{},"Monitor data access patterns and alert on anomalies.",[50,4381,4382],{},"Ensure encryption key management follows best practices: keys should be rotated regularly and stored separately from the data they protect.",[14,4384,4386],{"id":4385},"common-pitfalls-to-avoid","Common Pitfalls to Avoid",[19,4388,4389],{},"Zero trust implementations fail more often from organisational issues than technical ones. Knowing the common mistakes in advance can save you months of rework and significant budget.",[79,4391,4393],{"id":4392},"trying-to-do-everything-at-once","Trying to Do Everything at Once",[19,4395,4396],{},"Zero trust is a journey, not a project. Organisations that attempt a big-bang transformation inevitably stall. Start with the highest-impact, lowest-friction changes (MFA, SSO) and build momentum. Quick wins create organisational buy-in for larger initiatives.",[79,4398,4400],{"id":4399},"ignoring-legacy-systems","Ignoring Legacy Systems",[19,4402,4403],{},"Every organisation has legacy systems that cannot be easily retrofitted with modern security controls. Ignoring them creates a dangerous blind spot. Instead, isolate legacy systems in tightly controlled network segments, monitor their traffic aggressively, and plan for their eventual replacement.",[79,4405,4407],{"id":4406},"underinvesting-in-training","Underinvesting in Training",[19,4409,4410,4411,4414],{},"The most sophisticated security controls are useless if employees circumvent them out of frustration or ignorance. Training should not be a once-a-year compliance exercise. Build security awareness into the daily workflow. Explain ",[2180,4412,4413],{},"why"," controls exist, not just how to comply with them.",[79,4416,4418],{"id":4417},"neglecting-the-user-experience","Neglecting the User Experience",[19,4420,4421],{},"Security that makes people's jobs significantly harder will be worked around. If your MFA flow adds 30 seconds to every login and your VPN drops connections every 15 minutes, users will find shortcuts. Design security controls that are as frictionless as possible while maintaining their effectiveness.",[79,4423,4425],{"id":4424},"failing-to-measure-and-iterate","Failing to Measure and Iterate",[19,4427,4428],{},"Zero trust is not a destination — it is a continuous process. Establish metrics from day one: MFA adoption rate, mean time to detect anomalies, percentage of workloads with micro-segmentation, number of privileged access requests via JIT versus standing access. Use these metrics to guide your next phase.",[14,4430,4432],{"id":4431},"zero-trust-and-compliance-alignment","Zero Trust and Compliance Alignment",[19,4434,4435],{},"One of the strongest business cases for zero trust is its natural alignment with major compliance frameworks. Rather than building separate controls for each compliance requirement, zero trust provides a unified architecture that satisfies multiple frameworks simultaneously.",[79,4437,4439],{"id":4438},"soc-2-type-ii","SOC 2 Type II",[19,4441,4442],{},"SOC 2 requires demonstrable controls around access management, system monitoring, risk assessment, and data protection. Zero trust's emphasis on continuous verification, least-privilege access, and comprehensive logging directly satisfies SOC 2's Trust Services Criteria for Security, Availability, and Confidentiality.",[79,4444,4446],{"id":4445},"iso-27001","ISO 27001",[19,4448,4449],{},"ISO 27001's Annex A controls map closely to zero trust pillars. Access control (A.9), cryptography (A.10), communications security (A.13), and operations security (A.12) are all addressed by a well-implemented zero trust architecture. The continuous monitoring aspect of zero trust also supports ISO 27001's requirement for ongoing risk assessment.",[79,4451,4453],{"id":4452},"gdpr","GDPR",[19,4455,4456],{},"GDPR mandates that organisations implement \"appropriate technical and organisational measures\" to protect personal data. Zero trust's data classification, encryption, access controls, and audit logging provide a robust technical foundation for GDPR compliance. The principle of data minimisation aligns naturally with least-privilege access.",[124,4458,4459,4469],{},[127,4460,4461],{},[130,4462,4463,4466],{},[133,4464,4465],{},"Compliance Framework",[133,4467,4468],{},"Key Zero Trust Alignment",[143,4470,4471,4478,4485,4492,4500],{},[130,4472,4473,4475],{},[148,4474,4439],{},[148,4476,4477],{},"Access controls, monitoring, encryption, audit logging",[130,4479,4480,4482],{},[148,4481,4446],{},[148,4483,4484],{},"Risk management, access control, cryptography, incident response",[130,4486,4487,4489],{},[148,4488,4453],{},[148,4490,4491],{},"Data protection, access controls, breach detection, audit trails",[130,4493,4494,4497],{},[148,4495,4496],{},"PCI DSS",[148,4498,4499],{},"Network segmentation, encryption, access management, monitoring",[130,4501,4502,4505],{},[148,4503,4504],{},"HIPAA",[148,4506,4507],{},"Access controls, audit controls, integrity controls, transmission security",[1162,4509,4510],{"type":1164},[19,4511,4512],{},"When building your compliance case for zero trust, frame it as a consolidation effort. Instead of maintaining separate control sets for SOC 2, ISO 27001, and GDPR, zero trust gives you a single architecture that satisfies all three — reducing audit complexity and ongoing maintenance costs.",[14,4514,4516],{"id":4515},"the-business-case-for-zero-trust","The Business Case for Zero Trust",[19,4518,4519],{},"Beyond compliance and risk reduction, zero trust delivers tangible business benefits that resonate with executive leadership.",[19,4521,4522,4525],{},[23,4523,4524],{},"Reduced breach costs",": Organisations with mature zero trust implementations save an average of $1.76 million per breach compared to those without. Over a five-year period, the expected value of avoided breach costs typically exceeds the implementation investment.",[19,4527,4528,4531],{},[23,4529,4530],{},"Faster incident response",": With micro-segmentation and comprehensive logging, security teams can identify and contain incidents in hours rather than weeks. The blast radius of any single breach is dramatically reduced.",[19,4533,4534,4537],{},[23,4535,4536],{},"Enabling business agility",": Paradoxically, stricter security can make your organisation more agile. When you have confidence in your identity, device, and network controls, you can safely enable remote work, cloud adoption, and third-party integrations without the lengthy security reviews that slow down traditional organisations.",[19,4539,4540,4543],{},[23,4541,4542],{},"Simplified IT operations",": Centralised identity management, automated device compliance, and policy-driven network controls reduce the manual overhead of security operations. Teams spend less time managing VPN configurations and firewall rules, and more time on strategic initiatives.",[14,4545,4547],{"id":4546},"getting-started-your-first-90-days","Getting Started: Your First 90 Days",[19,4549,4550],{},"If you are starting from scratch, here is a practical timeline for the first 90 days of your zero trust journey.",[19,4552,4553,4556],{},[23,4554,4555],{},"Days 1-30: Assessment and planning."," Conduct a thorough inventory of your users, devices, applications, and data. Identify your highest-value assets and most critical data flows. Map your current security controls against zero trust principles to identify gaps.",[19,4558,4559,4562],{},[23,4560,4561],{},"Days 31-60: Quick wins."," Deploy MFA across all user accounts. Implement SSO for your top 10 most-used applications. Begin device inventory and establish baseline compliance policies. Start planning your micro-segmentation strategy.",[19,4564,4565,4568],{},[23,4566,4567],{},"Days 61-90: Foundation building."," Roll out endpoint detection and response. Implement conditional access policies that combine identity and device signals. Begin pilot micro-segmentation with your most sensitive workloads. Establish monitoring and metrics to track progress.",[19,4570,4571],{},"This is just the beginning. A full zero trust transformation typically takes 18-24 months for a mid-sized organisation, but the incremental benefits start accruing from day one.",[14,4573,4575],{"id":4574},"strengthen-your-security-posture-with-cnex","Strengthen Your Security Posture with CNEX",[19,4577,4578,4579,4582],{},"Zero trust is not optional — it is the security model that modern businesses require. Whether you are just beginning to evaluate your options or you are midway through an implementation that has stalled, our ",[230,4580,4581],{"href":3655},"security team"," can help you move forward with confidence.",[19,4584,4585,4586,4589,4590,4593],{},"We specialise in designing and implementing zero trust architectures for organisations running ",[230,4587,4588],{"href":2015},"cloud-native infrastructure",", complex ",[230,4591,4592],{"href":232},"API ecosystems",", and hybrid environments. Our approach is practical, phased, and tailored to your business — not a one-size-fits-all framework.",[19,4595,4596,4599,4600,4603],{},[23,4597,4598],{},"Ready to assess your current architecture against zero trust principles?"," ",[230,4601,4602],{"href":2366},"Talk to our security team"," and let us help you build a security posture that matches the threats of today — not the assumptions of a decade ago.",[2370,4605,4606],{},"html pre.shiki code .sJ8bj, html code.shiki .sJ8bj{--shiki-default:#6A737D;--shiki-dark:#6A737D}html pre.shiki code .szBVR, html code.shiki .szBVR{--shiki-default:#D73A49;--shiki-dark:#F97583}html pre.shiki code .sVt8B, html code.shiki .sVt8B{--shiki-default:#24292E;--shiki-dark:#E1E4E8}html pre.shiki code .sZZnC, html code.shiki .sZZnC{--shiki-default:#032F62;--shiki-dark:#9ECBFF}html pre.shiki code .sScJk, html code.shiki .sScJk{--shiki-default:#6F42C1;--shiki-dark:#B392F0}html pre.shiki code .s4XuR, html code.shiki .s4XuR{--shiki-default:#E36209;--shiki-dark:#FFAB70}html pre.shiki code .sj4cs, html code.shiki .sj4cs{--shiki-default:#005CC5;--shiki-dark:#79B8FF}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}",{"title":289,"searchDepth":304,"depth":304,"links":4608},[4609,4610,4613,4620,4625,4632,4639,4644,4645,4646],{"id":3634,"depth":304,"text":3635},{"id":3660,"depth":304,"text":3661,"children":4611},[4612],{"id":3673,"depth":319,"text":3674},{"id":3697,"depth":304,"text":3698,"children":4614},[4615,4616,4617,4618,4619],{"id":3704,"depth":319,"text":3705},{"id":3714,"depth":319,"text":3715},{"id":3724,"depth":319,"text":3725},{"id":3738,"depth":319,"text":3739},{"id":4129,"depth":319,"text":4130},{"id":4139,"depth":304,"text":4140,"children":4621},[4622,4623,4624],{"id":4146,"depth":319,"text":4147},{"id":4153,"depth":319,"text":4154},{"id":4160,"depth":319,"text":4161},{"id":4172,"depth":304,"text":4173,"children":4626},[4627,4628,4629,4630,4631],{"id":4179,"depth":319,"text":4180},{"id":4277,"depth":319,"text":4278},{"id":4302,"depth":319,"text":4303},{"id":4327,"depth":319,"text":4328},{"id":4357,"depth":319,"text":4358},{"id":4385,"depth":304,"text":4386,"children":4633},[4634,4635,4636,4637,4638],{"id":4392,"depth":319,"text":4393},{"id":4399,"depth":319,"text":4400},{"id":4406,"depth":319,"text":4407},{"id":4417,"depth":319,"text":4418},{"id":4424,"depth":319,"text":4425},{"id":4431,"depth":304,"text":4432,"children":4640},[4641,4642,4643],{"id":4438,"depth":319,"text":4439},{"id":4445,"depth":319,"text":4446},{"id":4452,"depth":319,"text":4453},{"id":4515,"depth":304,"text":4516},{"id":4546,"depth":304,"text":4547},{"id":4574,"depth":304,"text":4575},"2026-01-24","Zero trust is not just a buzzword — it is a security model that assumes breach. Learn the core principles, implementation steps, and business benefits.",{},"/blog/zero-trust-architecture-guide","10 min read",{"title":3628,"description":4648},"blog/zero-trust-architecture-guide",[4655,4656,4657,4658],"Cybersecurity","Zero Trust","Security Architecture","Compliance","6AKPkJXR_geNEmbsBfanCPuwqHXG8zUyHqqK_NJthL8",[4661,6451,7374],{"id":5,"title":6,"author":4662,"body":4663,"category":2406,"coverImage":2407,"date":2408,"description":2409,"extension":2410,"featured":2411,"meta":6448,"navigation":365,"path":2413,"readingTime":2414,"seo":6449,"stem":2416,"tags":6450,"__hash__":2421},{"name":8,"role":9},{"type":11,"value":4664,"toc":6415},[4665,4667,4671,4673,4677,4679,4681,4683,4697,4699,4701,4703,4705,4709,4713,4715,4719,4723,4725,4729,4733,4795,4797,4799,4801,4803,4807,4809,4811,4813,4817,4821,4823,4825,4827,4829,4831,4833,5445,5447,5449,5451,5497,5499,5505,5507,5509,5901,5903,5905,5907,5915,5921,5927,5929,5939,5941,5943,6099,6101,6115,6119,6121,6123,6125,6155,6159,6161,6163,6165,6167,6169,6177,6179,6181,6269,6271,6273,6277,6279,6283,6371,6373,6375,6377,6399,6401,6405,6407,6413],[14,4666,17],{"id":16},[19,4668,21,4669,26],{},[23,4670,25],{},[19,4672,29],{},[31,4674,4675],{},[19,4676,35],{},[14,4678,39],{"id":38},[19,4680,42],{},[19,4682,45],{},[47,4684,4685,4687,4689,4691,4693,4695],{},[50,4686,52],{},[50,4688,55],{},[50,4690,58],{},[50,4692,61],{},[50,4694,64],{},[50,4696,67],{},[19,4698,70],{},[14,4700,74],{"id":73},[19,4702,77],{},[79,4704,82],{"id":81},[19,4706,4707,88],{},[23,4708,87],{},[19,4710,4711,94],{},[23,4712,93],{},[79,4714,98],{"id":97},[19,4716,4717,103],{},[23,4718,87],{},[19,4720,4721,108],{},[23,4722,93],{},[79,4724,112],{"id":111},[19,4726,4727,117],{},[23,4728,87],{},[19,4730,4731,122],{},[23,4732,93],{},[124,4734,4735,4745],{},[127,4736,4737],{},[130,4738,4739,4741,4743],{},[133,4740,135],{},[133,4742,138],{},[133,4744,141],{},[143,4746,4747,4755,4763,4771,4779,4787],{},[130,4748,4749,4751,4753],{},[148,4750,150],{},[148,4752,153],{},[148,4754,156],{},[130,4756,4757,4759,4761],{},[148,4758,161],{},[148,4760,164],{},[148,4762,167],{},[130,4764,4765,4767,4769],{},[148,4766,172],{},[148,4768,175],{},[148,4770,178],{},[130,4772,4773,4775,4777],{},[148,4774,183],{},[148,4776,186],{},[148,4778,189],{},[130,4780,4781,4783,4785],{},[148,4782,194],{},[148,4784,197],{},[148,4786,200],{},[130,4788,4789,4791,4793],{},[148,4790,205],{},[148,4792,208],{},[148,4794,211],{},[14,4796,215],{"id":214},[19,4798,218],{},[79,4800,222],{"id":221},[19,4802,225],{},[19,4804,228,4805,234],{},[230,4806,233],{"href":232},[79,4808,238],{"id":237},[19,4810,241],{},[79,4812,245],{"id":244},[19,4814,248,4815,253],{},[230,4816,252],{"href":251},[19,4818,256,4819,261],{},[230,4820,260],{"href":259},[79,4822,265],{"id":264},[19,4824,268],{},[14,4826,272],{"id":271},[19,4828,275],{},[79,4830,279],{"id":278},[19,4832,282],{},[284,4834,4835],{"className":286,"code":287,"language":288,"meta":289,"style":289},[291,4836,4837,4841,4849,4855,4863,4871,4879,4883,4889,4895,4901,4909,4917,4923,4929,4935,4943,4949,4955,4961,4969,4975,4981,4989,4995,5001,5007,5015,5021,5029,5035,5041,5047,5055,5061,5069,5075,5081,5087,5095,5099,5105,5111,5117,5125,5131,5137,5143,5149,5155,5161,5167,5175,5181,5187,5193,5199,5205,5213,5221,5229,5235,5243,5251,5259,5265,5273,5281,5287,5295,5303,5307,5313,5321,5327,5333,5341,5349,5355,5363,5369,5375,5381,5387,5393,5401,5407,5415,5423,5429,5437],{"__ignoreMap":289},[294,4838,4839],{"class":296,"line":297},[294,4840,301],{"class":300},[294,4842,4843,4845,4847],{"class":296,"line":304},[294,4844,308],{"class":307},[294,4846,312],{"class":311},[294,4848,316],{"class":315},[294,4850,4851,4853],{"class":296,"line":319},[294,4852,322],{"class":307},[294,4854,325],{"class":311},[294,4856,4857,4859,4861],{"class":296,"line":328},[294,4858,331],{"class":307},[294,4860,312],{"class":311},[294,4862,337],{"class":336},[294,4864,4865,4867,4869],{"class":296,"line":340},[294,4866,343],{"class":307},[294,4868,312],{"class":311},[294,4870,348],{"class":315},[294,4872,4873,4875,4877],{"class":296,"line":351},[294,4874,354],{"class":307},[294,4876,312],{"class":311},[294,4878,359],{"class":336},[294,4880,4881],{"class":296,"line":362},[294,4882,366],{"emptyLinePlaceholder":365},[294,4884,4885,4887],{"class":296,"line":369},[294,4886,372],{"class":307},[294,4888,325],{"class":311},[294,4890,4891,4893],{"class":296,"line":377},[294,4892,380],{"class":307},[294,4894,325],{"class":311},[294,4896,4897,4899],{"class":296,"line":385},[294,4898,388],{"class":307},[294,4900,325],{"class":311},[294,4902,4903,4905,4907],{"class":296,"line":393},[294,4904,396],{"class":307},[294,4906,312],{"class":311},[294,4908,401],{"class":336},[294,4910,4911,4913,4915],{"class":296,"line":404},[294,4912,407],{"class":307},[294,4914,312],{"class":311},[294,4916,412],{"class":336},[294,4918,4919,4921],{"class":296,"line":415},[294,4920,418],{"class":307},[294,4922,325],{"class":311},[294,4924,4925,4927],{"class":296,"line":423},[294,4926,426],{"class":311},[294,4928,429],{"class":336},[294,4930,4931,4933],{"class":296,"line":432},[294,4932,435],{"class":307},[294,4934,325],{"class":311},[294,4936,4937,4939,4941],{"class":296,"line":440},[294,4938,443],{"class":307},[294,4940,312],{"class":311},[294,4942,448],{"class":315},[294,4944,4945,4947],{"class":296,"line":451},[294,4946,454],{"class":307},[294,4948,325],{"class":311},[294,4950,4951,4953],{"class":296,"line":459},[294,4952,462],{"class":307},[294,4954,325],{"class":311},[294,4956,4957,4959],{"class":296,"line":467},[294,4958,470],{"class":307},[294,4960,325],{"class":311},[294,4962,4963,4965,4967],{"class":296,"line":475},[294,4964,478],{"class":307},[294,4966,312],{"class":311},[294,4968,483],{"class":336},[294,4970,4971,4973],{"class":296,"line":486},[294,4972,489],{"class":307},[294,4974,325],{"class":311},[294,4976,4977,4979],{"class":296,"line":494},[294,4978,497],{"class":336},[294,4980,325],{"class":311},[294,4982,4983,4985,4987],{"class":296,"line":502},[294,4984,505],{"class":307},[294,4986,312],{"class":311},[294,4988,510],{"class":336},[294,4990,4991,4993],{"class":296,"line":513},[294,4992,516],{"class":307},[294,4994,325],{"class":311},[294,4996,4997,4999],{"class":296,"line":521},[294,4998,524],{"class":307},[294,5000,325],{"class":311},[294,5002,5003,5005],{"class":296,"line":529},[294,5004,532],{"class":307},[294,5006,325],{"class":311},[294,5008,5009,5011,5013],{"class":296,"line":537},[294,5010,540],{"class":307},[294,5012,312],{"class":311},[294,5014,545],{"class":336},[294,5016,5017,5019],{"class":296,"line":548},[294,5018,551],{"class":336},[294,5020,325],{"class":311},[294,5022,5023,5025,5027],{"class":296,"line":556},[294,5024,505],{"class":307},[294,5026,312],{"class":311},[294,5028,563],{"class":336},[294,5030,5031,5033],{"class":296,"line":566},[294,5032,516],{"class":307},[294,5034,325],{"class":311},[294,5036,5037,5039],{"class":296,"line":573},[294,5038,524],{"class":307},[294,5040,325],{"class":311},[294,5042,5043,5045],{"class":296,"line":580},[294,5044,532],{"class":307},[294,5046,325],{"class":311},[294,5048,5049,5051,5053],{"class":296,"line":587},[294,5050,540],{"class":307},[294,5052,312],{"class":311},[294,5054,594],{"class":336},[294,5056,5057,5059],{"class":296,"line":597},[294,5058,600],{"class":336},[294,5060,325],{"class":311},[294,5062,5063,5065,5067],{"class":296,"line":605},[294,5064,505],{"class":307},[294,5066,312],{"class":311},[294,5068,612],{"class":336},[294,5070,5071,5073],{"class":296,"line":615},[294,5072,516],{"class":307},[294,5074,325],{"class":311},[294,5076,5077,5079],{"class":296,"line":622},[294,5078,524],{"class":307},[294,5080,325],{"class":311},[294,5082,5083,5085],{"class":296,"line":629},[294,5084,532],{"class":307},[294,5086,325],{"class":311},[294,5088,5089,5091,5093],{"class":296,"line":636},[294,5090,540],{"class":307},[294,5092,312],{"class":311},[294,5094,643],{"class":336},[294,5096,5097],{"class":296,"line":646},[294,5098,366],{"emptyLinePlaceholder":365},[294,5100,5101,5103],{"class":296,"line":651},[294,5102,654],{"class":307},[294,5104,325],{"class":311},[294,5106,5107,5109],{"class":296,"line":659},[294,5108,662],{"class":307},[294,5110,325],{"class":311},[294,5112,5113,5115],{"class":296,"line":667},[294,5114,670],{"class":307},[294,5116,325],{"class":311},[294,5118,5119,5121,5123],{"class":296,"line":675},[294,5120,678],{"class":307},[294,5122,312],{"class":311},[294,5124,683],{"class":336},[294,5126,5127,5129],{"class":296,"line":686},[294,5128,689],{"class":307},[294,5130,325],{"class":311},[294,5132,5133,5135],{"class":296,"line":694},[294,5134,426],{"class":311},[294,5136,699],{"class":336},[294,5138,5139,5141],{"class":296,"line":702},[294,5140,426],{"class":311},[294,5142,707],{"class":336},[294,5144,5145,5147],{"class":296,"line":710},[294,5146,426],{"class":311},[294,5148,715],{"class":336},[294,5150,5151,5153],{"class":296,"line":718},[294,5152,426],{"class":311},[294,5154,723],{"class":336},[294,5156,5157,5159],{"class":296,"line":726},[294,5158,729],{"class":307},[294,5160,325],{"class":311},[294,5162,5163,5165],{"class":296,"line":734},[294,5164,737],{"class":307},[294,5166,325],{"class":311},[294,5168,5169,5171,5173],{"class":296,"line":742},[294,5170,745],{"class":307},[294,5172,312],{"class":311},[294,5174,750],{"class":336},[294,5176,5177,5179],{"class":296,"line":753},[294,5178,756],{"class":307},[294,5180,325],{"class":311},[294,5182,5183,5185],{"class":296,"line":761},[294,5184,764],{"class":311},[294,5186,767],{"class":336},[294,5188,5189,5191],{"class":296,"line":770},[294,5190,764],{"class":311},[294,5192,775],{"class":336},[294,5194,5195,5197],{"class":296,"line":778},[294,5196,764],{"class":311},[294,5198,783],{"class":336},[294,5200,5201,5203],{"class":296,"line":786},[294,5202,789],{"class":307},[294,5204,325],{"class":311},[294,5206,5207,5209,5211],{"class":296,"line":794},[294,5208,745],{"class":307},[294,5210,312],{"class":311},[294,5212,750],{"class":336},[294,5214,5215,5217,5219],{"class":296,"line":803},[294,5216,806],{"class":307},[294,5218,312],{"class":311},[294,5220,811],{"class":336},[294,5222,5223,5225,5227],{"class":296,"line":814},[294,5224,505],{"class":307},[294,5226,312],{"class":311},[294,5228,821],{"class":336},[294,5230,5231,5233],{"class":296,"line":824},[294,5232,827],{"class":307},[294,5234,325],{"class":311},[294,5236,5237,5239,5241],{"class":296,"line":832},[294,5238,745],{"class":307},[294,5240,312],{"class":311},[294,5242,750],{"class":336},[294,5244,5245,5247,5249],{"class":296,"line":841},[294,5246,844],{"class":307},[294,5248,312],{"class":311},[294,5250,849],{"class":315},[294,5252,5253,5255,5257],{"class":296,"line":852},[294,5254,855],{"class":307},[294,5256,312],{"class":311},[294,5258,860],{"class":315},[294,5260,5261,5263],{"class":296,"line":863},[294,5262,866],{"class":307},[294,5264,325],{"class":311},[294,5266,5267,5269,5271],{"class":296,"line":871},[294,5268,745],{"class":307},[294,5270,312],{"class":311},[294,5272,750],{"class":336},[294,5274,5275,5277,5279],{"class":296,"line":880},[294,5276,806],{"class":307},[294,5278,312],{"class":311},[294,5280,887],{"class":336},[294,5282,5283,5285],{"class":296,"line":890},[294,5284,893],{"class":307},[294,5286,325],{"class":311},[294,5288,5289,5291,5293],{"class":296,"line":898},[294,5290,745],{"class":307},[294,5292,312],{"class":311},[294,5294,750],{"class":336},[294,5296,5297,5299,5301],{"class":296,"line":907},[294,5298,855],{"class":307},[294,5300,312],{"class":311},[294,5302,914],{"class":315},[294,5304,5305],{"class":296,"line":917},[294,5306,366],{"emptyLinePlaceholder":365},[294,5308,5309,5311],{"class":296,"line":922},[294,5310,925],{"class":307},[294,5312,325],{"class":311},[294,5314,5315,5317,5319],{"class":296,"line":930},[294,5316,678],{"class":307},[294,5318,312],{"class":311},[294,5320,683],{"class":336},[294,5322,5323,5325],{"class":296,"line":939},[294,5324,729],{"class":307},[294,5326,325],{"class":311},[294,5328,5329,5331],{"class":296,"line":946},[294,5330,949],{"class":307},[294,5332,325],{"class":311},[294,5334,5335,5337,5339],{"class":296,"line":954},[294,5336,745],{"class":307},[294,5338,312],{"class":311},[294,5340,750],{"class":336},[294,5342,5343,5345,5347],{"class":296,"line":963},[294,5344,806],{"class":307},[294,5346,312],{"class":311},[294,5348,970],{"class":336},[294,5350,5351,5353],{"class":296,"line":973},[294,5352,976],{"class":307},[294,5354,325],{"class":311},[294,5356,5357,5359,5361],{"class":296,"line":981},[294,5358,745],{"class":307},[294,5360,312],{"class":311},[294,5362,750],{"class":336},[294,5364,5365,5367],{"class":296,"line":990},[294,5366,756],{"class":307},[294,5368,325],{"class":311},[294,5370,5371,5373],{"class":296,"line":997},[294,5372,764],{"class":311},[294,5374,1002],{"class":336},[294,5376,5377,5379],{"class":296,"line":1005},[294,5378,764],{"class":311},[294,5380,1010],{"class":336},[294,5382,5383,5385],{"class":296,"line":1013},[294,5384,764],{"class":311},[294,5386,1018],{"class":336},[294,5388,5389,5391],{"class":296,"line":1021},[294,5390,737],{"class":307},[294,5392,325],{"class":311},[294,5394,5395,5397,5399],{"class":296,"line":1028},[294,5396,745],{"class":307},[294,5398,312],{"class":311},[294,5400,750],{"class":336},[294,5402,5403,5405],{"class":296,"line":1037},[294,5404,789],{"class":307},[294,5406,325],{"class":311},[294,5408,5409,5411,5413],{"class":296,"line":1044},[294,5410,745],{"class":307},[294,5412,312],{"class":311},[294,5414,750],{"class":336},[294,5416,5417,5419,5421],{"class":296,"line":1053},[294,5418,806],{"class":307},[294,5420,312],{"class":311},[294,5422,811],{"class":336},[294,5424,5425,5427],{"class":296,"line":1062},[294,5426,1065],{"class":307},[294,5428,325],{"class":311},[294,5430,5431,5433,5435],{"class":296,"line":1070},[294,5432,745],{"class":307},[294,5434,312],{"class":311},[294,5436,750],{"class":336},[294,5438,5439,5441,5443],{"class":296,"line":1079},[294,5440,806],{"class":307},[294,5442,312],{"class":311},[294,5444,811],{"class":336},[19,5446,1088],{},[79,5448,1092],{"id":1091},[19,5450,1095],{},[284,5452,5453],{"className":1098,"code":1099,"language":1100,"meta":289,"style":289},[291,5454,5455,5459,5473,5477,5481,5485],{"__ignoreMap":289},[294,5456,5457],{"class":296,"line":297},[294,5458,1107],{"class":300},[294,5460,5461,5463,5465,5467,5469,5471],{"class":296,"line":304},[294,5462,1113],{"class":1112},[294,5464,1116],{"class":336},[294,5466,1119],{"class":336},[294,5468,1122],{"class":336},[294,5470,1125],{"class":315},[294,5472,1128],{"class":315},[294,5474,5475],{"class":296,"line":319},[294,5476,366],{"emptyLinePlaceholder":365},[294,5478,5479],{"class":296,"line":328},[294,5480,1137],{"class":300},[294,5482,5483],{"class":296,"line":340},[294,5484,1142],{"class":300},[294,5486,5487,5489,5491,5493,5495],{"class":296,"line":351},[294,5488,1113],{"class":1112},[294,5490,1149],{"class":336},[294,5492,1122],{"class":336},[294,5494,1154],{"class":315},[294,5496,1157],{"class":336},[19,5498,1160],{},[1162,5500,5501],{"type":1164},[19,5502,1167,5503,1171],{},[291,5504,1170],{},[79,5506,1175],{"id":1174},[19,5508,1178],{},[284,5510,5511],{"className":1181,"code":1182,"language":1183,"meta":289,"style":289},[291,5512,5513,5517,5529,5533,5547,5555,5563,5567,5571,5585,5603,5609,5617,5629,5641,5665,5669,5685,5693,5701,5709,5717,5725,5729,5733,5753,5761,5773,5781,5789,5797,5801,5805,5825,5839,5847,5855,5863,5871,5875,5889,5893,5897],{"__ignoreMap":289},[294,5514,5515],{"class":296,"line":297},[294,5516,1190],{"class":300},[294,5518,5519,5521,5523,5525,5527],{"class":296,"line":304},[294,5520,1196],{"class":1195},[294,5522,1199],{"class":311},[294,5524,1202],{"class":1195},[294,5526,1205],{"class":336},[294,5528,1208],{"class":311},[294,5530,5531],{"class":296,"line":319},[294,5532,366],{"emptyLinePlaceholder":365},[294,5534,5535,5537,5539,5541,5543,5545],{"class":296,"line":328},[294,5536,1217],{"class":1195},[294,5538,1220],{"class":315},[294,5540,1223],{"class":1195},[294,5542,1226],{"class":1195},[294,5544,1229],{"class":1112},[294,5546,1232],{"class":311},[294,5548,5549,5551,5553],{"class":296,"line":340},[294,5550,1237],{"class":311},[294,5552,1240],{"class":336},[294,5554,1243],{"class":311},[294,5556,5557,5559,5561],{"class":296,"line":351},[294,5558,1248],{"class":311},[294,5560,1251],{"class":336},[294,5562,1243],{"class":311},[294,5564,5565],{"class":296,"line":362},[294,5566,1258],{"class":311},[294,5568,5569],{"class":296,"line":369},[294,5570,366],{"emptyLinePlaceholder":365},[294,5572,5573,5575,5577,5579,5581,5583],{"class":296,"line":377},[294,5574,1267],{"class":1112},[294,5576,1270],{"class":311},[294,5578,1273],{"class":336},[294,5580,1276],{"class":311},[294,5582,1279],{"class":1195},[294,5584,1282],{"class":311},[294,5586,5587,5589,5591,5593,5595,5597,5599,5601],{"class":296,"line":385},[294,5588,1287],{"class":1112},[294,5590,1270],{"class":311},[294,5592,1292],{"class":336},[294,5594,1295],{"class":311},[294,5596,1298],{"class":1195},[294,5598,1301],{"class":311},[294,5600,1279],{"class":1195},[294,5602,1282],{"class":311},[294,5604,5605,5607],{"class":296,"line":393},[294,5606,1310],{"class":1195},[294,5608,1313],{"class":311},[294,5610,5611,5613,5615],{"class":296,"line":404},[294,5612,1318],{"class":311},[294,5614,1321],{"class":1112},[294,5616,1324],{"class":311},[294,5618,5619,5621,5623,5625,5627],{"class":296,"line":415},[294,5620,1318],{"class":311},[294,5622,1331],{"class":1112},[294,5624,1270],{"class":311},[294,5626,1336],{"class":336},[294,5628,1339],{"class":311},[294,5630,5631,5633,5635,5637,5639],{"class":296,"line":423},[294,5632,1318],{"class":311},[294,5634,1346],{"class":1112},[294,5636,1270],{"class":311},[294,5638,1351],{"class":336},[294,5640,1339],{"class":311},[294,5642,5643,5645,5647,5649,5651,5653,5655,5657,5659,5661,5663],{"class":296,"line":432},[294,5644,1318],{"class":311},[294,5646,1360],{"class":1112},[294,5648,1270],{"class":311},[294,5650,1365],{"class":336},[294,5652,1295],{"class":311},[294,5654,1370],{"class":336},[294,5656,1373],{"class":311},[294,5658,1377],{"class":1376},[294,5660,1380],{"class":311},[294,5662,1279],{"class":1195},[294,5664,1282],{"class":311},[294,5666,5667],{"class":296,"line":440},[294,5668,1389],{"class":311},[294,5670,5671,5673,5675,5677,5679,5681,5683],{"class":296,"line":451},[294,5672,1394],{"class":311},[294,5674,1397],{"class":1112},[294,5676,1400],{"class":311},[294,5678,1403],{"class":336},[294,5680,312],{"class":311},[294,5682,1408],{"class":336},[294,5684,1411],{"class":311},[294,5686,5687,5689,5691],{"class":296,"line":459},[294,5688,1394],{"class":311},[294,5690,1418],{"class":1112},[294,5692,1232],{"class":311},[294,5694,5695,5697,5699],{"class":296,"line":467},[294,5696,1425],{"class":311},[294,5698,1428],{"class":336},[294,5700,1243],{"class":311},[294,5702,5703,5705,5707],{"class":296,"line":475},[294,5704,1435],{"class":311},[294,5706,1438],{"class":336},[294,5708,1243],{"class":311},[294,5710,5711,5713,5715],{"class":296,"line":486},[294,5712,1445],{"class":311},[294,5714,1448],{"class":336},[294,5716,1243],{"class":311},[294,5718,5719,5721,5723],{"class":296,"line":494},[294,5720,1455],{"class":311},[294,5722,1458],{"class":336},[294,5724,1243],{"class":311},[294,5726,5727],{"class":296,"line":502},[294,5728,1465],{"class":311},[294,5730,5731],{"class":296,"line":513},[294,5732,1470],{"class":311},[294,5734,5735,5737,5739,5741,5743,5745,5747,5749,5751],{"class":296,"line":521},[294,5736,1318],{"class":311},[294,5738,1477],{"class":1112},[294,5740,1270],{"class":311},[294,5742,1482],{"class":315},[294,5744,1373],{"class":311},[294,5746,1377],{"class":1376},[294,5748,1380],{"class":311},[294,5750,1279],{"class":1195},[294,5752,1282],{"class":311},[294,5754,5755,5757,5759],{"class":296,"line":529},[294,5756,1497],{"class":311},[294,5758,1418],{"class":1112},[294,5760,1232],{"class":311},[294,5762,5763,5765,5767,5769,5771],{"class":296,"line":537},[294,5764,1506],{"class":311},[294,5766,1509],{"class":1112},[294,5768,1270],{"class":311},[294,5770,1514],{"class":336},[294,5772,1517],{"class":311},[294,5774,5775,5777,5779],{"class":296,"line":548},[294,5776,1522],{"class":311},[294,5778,1525],{"class":336},[294,5780,1243],{"class":311},[294,5782,5783,5785,5787],{"class":296,"line":556},[294,5784,1532],{"class":311},[294,5786,1428],{"class":336},[294,5788,1243],{"class":311},[294,5790,5791,5793,5795],{"class":296,"line":566},[294,5792,1541],{"class":311},[294,5794,1438],{"class":336},[294,5796,1243],{"class":311},[294,5798,5799],{"class":296,"line":573},[294,5800,1550],{"class":311},[294,5802,5803],{"class":296,"line":580},[294,5804,1470],{"class":311},[294,5806,5807,5809,5811,5813,5815,5817,5819,5821,5823],{"class":296,"line":587},[294,5808,1318],{"class":311},[294,5810,1561],{"class":1112},[294,5812,1270],{"class":311},[294,5814,1298],{"class":1195},[294,5816,1568],{"class":311},[294,5818,1571],{"class":1376},[294,5820,1380],{"class":311},[294,5822,1279],{"class":1195},[294,5824,1282],{"class":311},[294,5826,5827,5829,5831,5833,5835,5837],{"class":296,"line":597},[294,5828,1582],{"class":1195},[294,5830,1585],{"class":315},[294,5832,1223],{"class":1195},[294,5834,1590],{"class":1195},[294,5836,1593],{"class":1112},[294,5838,1596],{"class":311},[294,5840,5841,5843,5845],{"class":296,"line":605},[294,5842,1532],{"class":311},[294,5844,1428],{"class":336},[294,5846,1243],{"class":311},[294,5848,5849,5851,5853],{"class":296,"line":615},[294,5850,1541],{"class":311},[294,5852,1438],{"class":336},[294,5854,1243],{"class":311},[294,5856,5857,5859,5861],{"class":296,"line":622},[294,5858,1617],{"class":311},[294,5860,1448],{"class":336},[294,5862,1243],{"class":311},[294,5864,5865,5867,5869],{"class":296,"line":629},[294,5866,1626],{"class":311},[294,5868,1458],{"class":336},[294,5870,1243],{"class":311},[294,5872,5873],{"class":296,"line":636},[294,5874,1550],{"class":311},[294,5876,5877,5879,5881,5883,5885,5887],{"class":296,"line":646},[294,5878,1639],{"class":1112},[294,5880,1642],{"class":311},[294,5882,1645],{"class":1112},[294,5884,1270],{"class":311},[294,5886,1525],{"class":336},[294,5888,1652],{"class":311},[294,5890,5891],{"class":296,"line":651},[294,5892,1657],{"class":311},[294,5894,5895],{"class":296,"line":659},[294,5896,1662],{"class":311},[294,5898,5899],{"class":296,"line":667},[294,5900,1258],{"class":311},[19,5902,1669],{},[79,5904,1673],{"id":1672},[19,5906,1676],{},[19,5908,5909,1568,5911,1295,5913,1688],{},[23,5910,1681],{},[291,5912,1684],{},[291,5914,1687],{},[19,5916,5917,1568,5919,1697],{},[23,5918,1693],{},[291,5920,1696],{},[19,5922,5923,1568,5925,1706],{},[23,5924,1702],{},[291,5926,1705],{},[19,5928,1709],{},[1711,5930,5931,5933,5935,5937],{},[50,5932,1715],{},[50,5934,1718],{},[50,5936,1721],{},[50,5938,1724],{},[79,5940,1728],{"id":1727},[19,5942,1731],{},[284,5944,5945],{"className":1181,"code":1734,"language":1183,"meta":289,"style":289},[291,5946,5947,5951,5963,5967,5979,5993,6003,6025,6043,6059,6067,6075,6087,6091,6095],{"__ignoreMap":289},[294,5948,5949],{"class":296,"line":297},[294,5950,1741],{"class":300},[294,5952,5953,5955,5957,5959,5961],{"class":296,"line":304},[294,5954,1196],{"class":1195},[294,5956,1748],{"class":311},[294,5958,1202],{"class":1195},[294,5960,1753],{"class":336},[294,5962,1208],{"class":311},[294,5964,5965],{"class":296,"line":319},[294,5966,366],{"emptyLinePlaceholder":365},[294,5968,5969,5971,5973,5975,5977],{"class":296,"line":328},[294,5970,1217],{"class":1195},[294,5972,1766],{"class":315},[294,5974,1223],{"class":1195},[294,5976,1771],{"class":1112},[294,5978,1232],{"class":311},[294,5980,5981,5983,5985,5987,5989,5991],{"class":296,"line":340},[294,5982,1778],{"class":311},[294,5984,1781],{"class":315},[294,5986,1784],{"class":1195},[294,5988,1787],{"class":315},[294,5990,1295],{"class":311},[294,5992,1792],{"class":300},[294,5994,5995,5997,5999,6001],{"class":296,"line":351},[294,5996,1797],{"class":311},[294,5998,1800],{"class":315},[294,6000,1803],{"class":311},[294,6002,1806],{"class":300},[294,6004,6005,6007,6009,6011,6013,6015,6017,6019,6021,6023],{"class":296,"line":362},[294,6006,1811],{"class":1112},[294,6008,1814],{"class":311},[294,6010,1817],{"class":1376},[294,6012,1380],{"class":311},[294,6014,1279],{"class":1195},[294,6016,1824],{"class":311},[294,6018,1827],{"class":336},[294,6020,1830],{"class":311},[294,6022,1833],{"class":1195},[294,6024,1836],{"class":311},[294,6026,6027,6029,6031,6033,6035,6037,6039,6041],{"class":296,"line":369},[294,6028,1841],{"class":1112},[294,6030,1814],{"class":311},[294,6032,1817],{"class":1376},[294,6034,1295],{"class":311},[294,6036,1850],{"class":1376},[294,6038,1380],{"class":311},[294,6040,1279],{"class":1195},[294,6042,1282],{"class":311},[294,6044,6045,6047,6049,6051,6053,6055,6057],{"class":296,"line":377},[294,6046,1861],{"class":311},[294,6048,1864],{"class":1112},[294,6050,1270],{"class":311},[294,6052,1869],{"class":315},[294,6054,1872],{"class":311},[294,6056,1875],{"class":1112},[294,6058,1232],{"class":311},[294,6060,6061,6063,6065],{"class":296,"line":385},[294,6062,1882],{"class":311},[294,6064,1885],{"class":336},[294,6066,1243],{"class":311},[294,6068,6069,6071,6073],{"class":296,"line":393},[294,6070,1892],{"class":311},[294,6072,1895],{"class":336},[294,6074,1243],{"class":311},[294,6076,6077,6079,6081,6083,6085],{"class":296,"line":404},[294,6078,1902],{"class":311},[294,6080,1905],{"class":1112},[294,6082,1270],{"class":311},[294,6084,1910],{"class":336},[294,6086,1517],{"class":311},[294,6088,6089],{"class":296,"line":415},[294,6090,1917],{"class":311},[294,6092,6093],{"class":296,"line":423},[294,6094,1922],{"class":311},[294,6096,6097],{"class":296,"line":432},[294,6098,1258],{"class":311},[19,6100,1929],{},[1711,6102,6103,6107,6111],{},[50,6104,6105,1937],{},[23,6106,1936],{},[50,6108,6109,1943],{},[23,6110,1942],{},[50,6112,6113,1949],{},[23,6114,1948],{},[1162,6116,6117],{"type":322},[19,6118,1954],{},[14,6120,1958],{"id":1957},[19,6122,1961],{},[79,6124,1965],{"id":1964},[1711,6126,6127,6131,6135,6139,6143,6147,6151],{},[50,6128,6129,1973],{},[23,6130,1972],{},[50,6132,6133,1979],{},[23,6134,1978],{},[50,6136,6137,1985],{},[23,6138,1984],{},[50,6140,6141,1991],{},[23,6142,1990],{},[50,6144,6145,1997],{},[23,6146,1996],{},[50,6148,6149,2003],{},[23,6150,2002],{},[50,6152,6153,2009],{},[23,6154,2008],{},[19,6156,2012,6157,2017],{},[230,6158,2016],{"href":2015},[14,6160,2021],{"id":2020},[19,6162,2024],{},[79,6164,2028],{"id":2027},[19,6166,2031],{},[79,6168,2035],{"id":2034},[19,6170,2038,6171,2042,6173,2046,6175,2050],{},[291,6172,2041],{},[291,6174,2045],{},[291,6176,2049],{},[79,6178,2054],{"id":2053},[19,6180,2057],{},[284,6182,6183],{"className":1181,"code":2060,"language":1183,"meta":289,"style":289},[291,6184,6185,6189,6201,6211,6219,6233,6243,6253,6257,6261,6265],{"__ignoreMap":289},[294,6186,6187],{"class":296,"line":297},[294,6188,2067],{"class":300},[294,6190,6191,6193,6195,6197,6199],{"class":296,"line":304},[294,6192,2072],{"class":1195},[294,6194,2075],{"class":1112},[294,6196,2078],{"class":311},[294,6198,2081],{"class":1112},[294,6200,2084],{"class":311},[294,6202,6203,6205,6207,6209],{"class":296,"line":319},[294,6204,2089],{"class":1376},[294,6206,2092],{"class":1195},[294,6208,2095],{"class":1112},[294,6210,2098],{"class":311},[294,6212,6213,6215,6217],{"class":296,"line":328},[294,6214,2103],{"class":1376},[294,6216,2092],{"class":1195},[294,6218,1282],{"class":311},[294,6220,6221,6223,6225,6227,6229,6231],{"class":296,"line":340},[294,6222,2112],{"class":1376},[294,6224,2092],{"class":1195},[294,6226,2117],{"class":315},[294,6228,2120],{"class":1195},[294,6230,2123],{"class":315},[294,6232,1208],{"class":311},[294,6234,6235,6237,6239,6241],{"class":296,"line":351},[294,6236,2130],{"class":1376},[294,6238,2092],{"class":1195},[294,6240,2135],{"class":315},[294,6242,1208],{"class":311},[294,6244,6245,6247,6249,6251],{"class":296,"line":362},[294,6246,2142],{"class":1376},[294,6248,2092],{"class":1195},[294,6250,2147],{"class":315},[294,6252,1208],{"class":311},[294,6254,6255],{"class":296,"line":369},[294,6256,2154],{"class":311},[294,6258,6259],{"class":296,"line":377},[294,6260,2159],{"class":311},[294,6262,6263],{"class":296,"line":385},[294,6264,366],{"emptyLinePlaceholder":365},[294,6266,6267],{"class":296,"line":393},[294,6268,2168],{"class":300},[19,6270,2171],{},[79,6272,2175],{"id":2174},[19,6274,2178,6275,2183],{},[2180,6276,2182],{},[79,6278,2187],{"id":2186},[19,6280,2190,6281,2194],{},[291,6282,2193],{},[284,6284,6285],{"className":2197,"code":2198,"language":1875,"meta":289,"style":289},[291,6286,6287,6291,6297,6307,6317,6323,6333,6339,6345,6351,6355,6359,6363,6367],{"__ignoreMap":289},[294,6288,6289],{"class":296,"line":297},[294,6290,2205],{"class":311},[294,6292,6293,6295],{"class":296,"line":304},[294,6294,2210],{"class":315},[294,6296,2213],{"class":311},[294,6298,6299,6301,6303,6305],{"class":296,"line":319},[294,6300,2218],{"class":315},[294,6302,312],{"class":311},[294,6304,2223],{"class":336},[294,6306,1243],{"class":311},[294,6308,6309,6311,6313,6315],{"class":296,"line":328},[294,6310,2230],{"class":315},[294,6312,312],{"class":311},[294,6314,2235],{"class":336},[294,6316,1243],{"class":311},[294,6318,6319,6321],{"class":296,"line":340},[294,6320,2242],{"class":315},[294,6322,2213],{"class":311},[294,6324,6325,6327,6329,6331],{"class":296,"line":351},[294,6326,2249],{"class":315},[294,6328,312],{"class":311},[294,6330,2254],{"class":336},[294,6332,1243],{"class":311},[294,6334,6335,6337],{"class":296,"line":362},[294,6336,2261],{"class":315},[294,6338,2264],{"class":311},[294,6340,6341,6343],{"class":296,"line":369},[294,6342,2269],{"class":336},[294,6344,1243],{"class":311},[294,6346,6347,6349],{"class":296,"line":377},[294,6348,2276],{"class":336},[294,6350,1243],{"class":311},[294,6352,6353],{"class":296,"line":385},[294,6354,2283],{"class":336},[294,6356,6357],{"class":296,"line":393},[294,6358,2288],{"class":311},[294,6360,6361],{"class":296,"line":404},[294,6362,2293],{"class":311},[294,6364,6365],{"class":296,"line":415},[294,6366,2298],{"class":311},[294,6368,6369],{"class":296,"line":423},[294,6370,2159],{"class":311},[19,6372,2305],{},[14,6374,2309],{"id":2308},[19,6376,2312],{},[47,6378,6379,6383,6387,6391,6395],{},[50,6380,6381,2320],{},[23,6382,2319],{},[50,6384,6385,2326],{},[23,6386,2325],{},[50,6388,6389,2332],{},[23,6390,2331],{},[50,6392,6393,2338],{},[23,6394,2337],{},[50,6396,6397,2344],{},[23,6398,2343],{},[19,6400,2347],{},[19,6402,2350,6403,2355],{},[230,6404,2354],{"href":2353},[2357,6406],{},[19,6408,6409],{},[2180,6410,2363,6411,2368],{},[230,6412,2367],{"href":2366},[2370,6414,2372],{},{"title":289,"searchDepth":304,"depth":304,"links":6416},[6417,6418,6419,6424,6430,6437,6440,6447],{"id":16,"depth":304,"text":17},{"id":38,"depth":304,"text":39},{"id":73,"depth":304,"text":74,"children":6420},[6421,6422,6423],{"id":81,"depth":319,"text":82},{"id":97,"depth":319,"text":98},{"id":111,"depth":319,"text":112},{"id":214,"depth":304,"text":215,"children":6425},[6426,6427,6428,6429],{"id":221,"depth":319,"text":222},{"id":237,"depth":319,"text":238},{"id":244,"depth":319,"text":245},{"id":264,"depth":319,"text":265},{"id":271,"depth":304,"text":272,"children":6431},[6432,6433,6434,6435,6436],{"id":278,"depth":319,"text":279},{"id":1091,"depth":319,"text":1092},{"id":1174,"depth":319,"text":1175},{"id":1672,"depth":319,"text":1673},{"id":1727,"depth":319,"text":1728},{"id":1957,"depth":304,"text":1958,"children":6438},[6439],{"id":1964,"depth":319,"text":1965},{"id":2020,"depth":304,"text":2021,"children":6441},[6442,6443,6444,6445,6446],{"id":2027,"depth":319,"text":2028},{"id":2034,"depth":319,"text":2035},{"id":2053,"depth":319,"text":2054},{"id":2174,"depth":319,"text":2175},{"id":2186,"depth":319,"text":2187},{"id":2308,"depth":304,"text":2309},{},{"title":6,"description":2409},[2418,141,2419,2420],{"id":2423,"title":2424,"author":6452,"body":6453,"category":3613,"coverImage":2407,"date":3614,"description":3615,"extension":2410,"featured":365,"meta":7371,"navigation":365,"path":3617,"readingTime":3618,"seo":7372,"stem":3620,"tags":7373,"__hash__":3625},{"name":2426,"role":2427},{"type":11,"value":6454,"toc":7345},[6455,6457,6461,6463,6467,6469,6471,6473,6475,6477,6479,6481,6483,6485,6487,6489,6491,6509,6777,6781,6783,6785,6787,6789,6791,6793,6795,7063,7065,7067,7069,7119,7121,7125,7127,7129,7131,7133,7135,7139,7141,7143,7145,7147,7165,7167,7169,7171,7185,7187,7189,7191,7193,7203,7205,7207,7209,7231,7233,7235,7237,7299,7303,7309,7311,7313,7333,7335,7337,7343],[14,6456,2433],{"id":2432},[19,6458,2436,6459,2439],{},[23,6460,252],{},[19,6462,2442],{},[31,6464,6465],{},[19,6466,2447],{},[14,6468,2451],{"id":2450},[19,6470,2454],{},[79,6472,2458],{"id":2457},[19,6474,2461],{},[79,6476,2465],{"id":2464},[19,6478,2468],{},[79,6480,2472],{"id":2471},[19,6482,2475],{},[19,6484,2478],{},[79,6486,2482],{"id":2481},[19,6488,2485],{},[19,6490,2488],{},[47,6492,6493,6497,6501,6505],{},[50,6494,6495,2496],{},[23,6496,2495],{},[50,6498,6499,2502],{},[23,6500,2501],{},[50,6502,6503,2508],{},[23,6504,2507],{},[50,6506,6507,2514],{},[23,6508,2513],{},[284,6510,6511],{"className":1181,"code":2517,"language":1183,"meta":289,"style":289},[291,6512,6513,6517,6525,6535,6545,6555,6573,6577,6581,6591,6601,6611,6625,6639,6653,6657,6673,6685,6689,6693,6701,6705,6709,6715,6737,6753,6757,6761,6765,6769,6773],{"__ignoreMap":289},[294,6514,6515],{"class":296,"line":297},[294,6516,2524],{"class":300},[294,6518,6519,6521,6523],{"class":296,"line":304},[294,6520,2072],{"class":1195},[294,6522,2531],{"class":1112},[294,6524,1282],{"class":311},[294,6526,6527,6529,6531,6533],{"class":296,"line":319},[294,6528,2538],{"class":1376},[294,6530,2092],{"class":1195},[294,6532,2117],{"class":315},[294,6534,1208],{"class":311},[294,6536,6537,6539,6541,6543],{"class":296,"line":328},[294,6538,2549],{"class":1376},[294,6540,2092],{"class":1195},[294,6542,2117],{"class":315},[294,6544,1208],{"class":311},[294,6546,6547,6549,6551,6553],{"class":296,"line":340},[294,6548,2560],{"class":1376},[294,6550,2092],{"class":1195},[294,6552,2147],{"class":315},[294,6554,1208],{"class":311},[294,6556,6557,6559,6561,6563,6565,6567,6569,6571],{"class":296,"line":351},[294,6558,2571],{"class":1376},[294,6560,2092],{"class":1195},[294,6562,2576],{"class":1112},[294,6564,2078],{"class":311},[294,6566,2581],{"class":315},[294,6568,1295],{"class":311},[294,6570,2586],{"class":315},[294,6572,2589],{"class":311},[294,6574,6575],{"class":296,"line":362},[294,6576,2159],{"class":311},[294,6578,6579],{"class":296,"line":369},[294,6580,366],{"emptyLinePlaceholder":365},[294,6582,6583,6585,6587,6589],{"class":296,"line":377},[294,6584,1298],{"class":1195},[294,6586,2604],{"class":1195},[294,6588,2607],{"class":1112},[294,6590,2610],{"class":311},[294,6592,6593,6595,6597,6599],{"class":296,"line":385},[294,6594,2615],{"class":1376},[294,6596,2092],{"class":1195},[294,6598,2117],{"class":315},[294,6600,1243],{"class":311},[294,6602,6603,6605,6607,6609],{"class":296,"line":393},[294,6604,2626],{"class":1376},[294,6606,2092],{"class":1195},[294,6608,2117],{"class":315},[294,6610,1243],{"class":311},[294,6612,6613,6615,6617,6619,6621,6623],{"class":296,"line":404},[294,6614,2637],{"class":1376},[294,6616,2092],{"class":1195},[294,6618,2147],{"class":315},[294,6620,1223],{"class":1195},[294,6622,2646],{"class":315},[294,6624,1243],{"class":311},[294,6626,6627,6629,6631,6633,6635,6637],{"class":296,"line":415},[294,6628,2653],{"class":311},[294,6630,2092],{"class":1195},[294,6632,2658],{"class":1112},[294,6634,2078],{"class":311},[294,6636,2663],{"class":1112},[294,6638,2666],{"class":311},[294,6640,6641,6643,6645,6647,6649,6651],{"class":296,"line":423},[294,6642,2671],{"class":1195},[294,6644,2674],{"class":315},[294,6646,1223],{"class":1195},[294,6648,1590],{"class":1195},[294,6650,2681],{"class":1112},[294,6652,2684],{"class":311},[294,6654,6655],{"class":296,"line":432},[294,6656,366],{"emptyLinePlaceholder":365},[294,6658,6659,6661,6663,6665,6667,6669,6671],{"class":296,"line":440},[294,6660,2671],{"class":1195},[294,6662,2695],{"class":315},[294,6664,1223],{"class":1195},[294,6666,1590],{"class":1195},[294,6668,2702],{"class":311},[294,6670,2705],{"class":1112},[294,6672,1232],{"class":311},[294,6674,6675,6677,6679,6681,6683],{"class":296,"line":451},[294,6676,2712],{"class":311},[294,6678,2715],{"class":336},[294,6680,2718],{"class":311},[294,6682,2721],{"class":336},[294,6684,1243],{"class":311},[294,6686,6687],{"class":296,"line":459},[294,6688,2728],{"class":311},[294,6690,6691],{"class":296,"line":467},[294,6692,2733],{"class":311},[294,6694,6695,6697,6699],{"class":296,"line":475},[294,6696,2738],{"class":311},[294,6698,2741],{"class":315},[294,6700,2744],{"class":311},[294,6702,6703],{"class":296,"line":486},[294,6704,1662],{"class":311},[294,6706,6707],{"class":296,"line":494},[294,6708,366],{"emptyLinePlaceholder":365},[294,6710,6711,6713],{"class":296,"line":502},[294,6712,2757],{"class":1195},[294,6714,2760],{"class":311},[294,6716,6717,6719,6721,6723,6725,6727,6729,6731,6733,6735],{"class":296,"line":513},[294,6718,2765],{"class":311},[294,6720,2768],{"class":1112},[294,6722,2771],{"class":311},[294,6724,2774],{"class":1376},[294,6726,1380],{"class":311},[294,6728,1279],{"class":1195},[294,6730,2781],{"class":311},[294,6732,2784],{"class":1195},[294,6734,2787],{"class":315},[294,6736,1339],{"class":311},[294,6738,6739,6741,6743,6745,6747,6749,6751],{"class":296,"line":521},[294,6740,2765],{"class":311},[294,6742,2796],{"class":1112},[294,6744,2771],{"class":311},[294,6746,2774],{"class":1376},[294,6748,1380],{"class":311},[294,6750,1279],{"class":1195},[294,6752,2807],{"class":311},[294,6754,6755],{"class":296,"line":529},[294,6756,2812],{"class":311},[294,6758,6759],{"class":296,"line":537},[294,6760,2817],{"class":311},[294,6762,6763],{"class":296,"line":548},[294,6764,2822],{"class":311},[294,6766,6767],{"class":296,"line":556},[294,6768,2827],{"class":311},[294,6770,6771],{"class":296,"line":566},[294,6772,2832],{"class":311},[294,6774,6775],{"class":296,"line":573},[294,6776,2159],{"class":311},[1162,6778,6779],{"type":322},[19,6780,2841],{},[79,6782,2845],{"id":2844},[19,6784,2848],{},[19,6786,2851],{},[14,6788,2855],{"id":2854},[19,6790,2858],{},[79,6792,2862],{"id":2861},[19,6794,2865],{},[284,6796,6797],{"className":1181,"code":2868,"language":1183,"meta":289,"style":289},[291,6798,6799,6803,6813,6821,6825,6831,6835,6843,6847,6851,6859,6867,6887,6891,6895,6903,6911,6919,6923,6927,6935,6951,6959,6963,6967,6975,6983,6987,6991,6999,7007,7011,7015,7023,7031,7035,7039,7055,7059],{"__ignoreMap":289},[294,6800,6801],{"class":296,"line":297},[294,6802,2875],{"class":300},[294,6804,6805,6807,6809,6811],{"class":296,"line":304},[294,6806,1217],{"class":1195},[294,6808,2882],{"class":315},[294,6810,1223],{"class":1195},[294,6812,1282],{"class":311},[294,6814,6815,6817,6819],{"class":296,"line":319},[294,6816,2891],{"class":311},[294,6818,2894],{"class":336},[294,6820,1243],{"class":311},[294,6822,6823],{"class":296,"line":328},[294,6824,2901],{"class":311},[294,6826,6827,6829],{"class":296,"line":340},[294,6828,2906],{"class":336},[294,6830,1243],{"class":311},[294,6832,6833],{"class":296,"line":351},[294,6834,2913],{"class":311},[294,6836,6837,6839,6841],{"class":296,"line":362},[294,6838,2918],{"class":311},[294,6840,2921],{"class":336},[294,6842,1243],{"class":311},[294,6844,6845],{"class":296,"line":369},[294,6846,2928],{"class":311},[294,6848,6849],{"class":296,"line":377},[294,6850,2933],{"class":311},[294,6852,6853,6855,6857],{"class":296,"line":385},[294,6854,2938],{"class":311},[294,6856,2941],{"class":336},[294,6858,1243],{"class":311},[294,6860,6861,6863,6865],{"class":296,"line":393},[294,6862,2948],{"class":311},[294,6864,2951],{"class":336},[294,6866,1243],{"class":311},[294,6868,6869,6871,6873,6875,6877,6879,6881,6883,6885],{"class":296,"line":404},[294,6870,2958],{"class":311},[294,6872,1428],{"class":336},[294,6874,1295],{"class":311},[294,6876,2965],{"class":336},[294,6878,1295],{"class":311},[294,6880,2970],{"class":336},[294,6882,1295],{"class":311},[294,6884,2975],{"class":336},[294,6886,2978],{"class":311},[294,6888,6889],{"class":296,"line":415},[294,6890,2983],{"class":311},[294,6892,6893],{"class":296,"line":423},[294,6894,2988],{"class":311},[294,6896,6897,6899,6901],{"class":296,"line":432},[294,6898,2938],{"class":311},[294,6900,2941],{"class":336},[294,6902,1243],{"class":311},[294,6904,6905,6907,6909],{"class":296,"line":440},[294,6906,3001],{"class":311},[294,6908,3004],{"class":336},[294,6910,1243],{"class":311},[294,6912,6913,6915,6917],{"class":296,"line":451},[294,6914,2948],{"class":311},[294,6916,3013],{"class":336},[294,6918,1243],{"class":311},[294,6920,6921],{"class":296,"line":459},[294,6922,2983],{"class":311},[294,6924,6925],{"class":296,"line":467},[294,6926,3024],{"class":311},[294,6928,6929,6931,6933],{"class":296,"line":475},[294,6930,2938],{"class":311},[294,6932,2941],{"class":336},[294,6934,1243],{"class":311},[294,6936,6937,6939,6941,6943,6945,6947,6949],{"class":296,"line":486},[294,6938,2958],{"class":311},[294,6940,3039],{"class":336},[294,6942,1295],{"class":311},[294,6944,3044],{"class":336},[294,6946,1295],{"class":311},[294,6948,3049],{"class":336},[294,6950,2978],{"class":311},[294,6952,6953,6955,6957],{"class":296,"line":494},[294,6954,2948],{"class":311},[294,6956,3058],{"class":336},[294,6958,1243],{"class":311},[294,6960,6961],{"class":296,"line":502},[294,6962,2983],{"class":311},[294,6964,6965],{"class":296,"line":513},[294,6966,3069],{"class":311},[294,6968,6969,6971,6973],{"class":296,"line":521},[294,6970,2938],{"class":311},[294,6972,2941],{"class":336},[294,6974,1243],{"class":311},[294,6976,6977,6979,6981],{"class":296,"line":529},[294,6978,2948],{"class":311},[294,6980,3084],{"class":336},[294,6982,1243],{"class":311},[294,6984,6985],{"class":296,"line":537},[294,6986,2983],{"class":311},[294,6988,6989],{"class":296,"line":548},[294,6990,3095],{"class":311},[294,6992,6993,6995,6997],{"class":296,"line":556},[294,6994,2938],{"class":311},[294,6996,2941],{"class":336},[294,6998,1243],{"class":311},[294,7000,7001,7003,7005],{"class":296,"line":566},[294,7002,2948],{"class":311},[294,7004,3110],{"class":336},[294,7006,1243],{"class":311},[294,7008,7009],{"class":296,"line":573},[294,7010,2983],{"class":311},[294,7012,7013],{"class":296,"line":580},[294,7014,3121],{"class":311},[294,7016,7017,7019,7021],{"class":296,"line":587},[294,7018,2938],{"class":311},[294,7020,2941],{"class":336},[294,7022,1243],{"class":311},[294,7024,7025,7027,7029],{"class":296,"line":597},[294,7026,2948],{"class":311},[294,7028,3136],{"class":336},[294,7030,1243],{"class":311},[294,7032,7033],{"class":296,"line":605},[294,7034,2983],{"class":311},[294,7036,7037],{"class":296,"line":615},[294,7038,3147],{"class":311},[294,7040,7041,7043,7045,7047,7049,7051,7053],{"class":296,"line":622},[294,7042,3152],{"class":311},[294,7044,3155],{"class":336},[294,7046,1295],{"class":311},[294,7048,3160],{"class":336},[294,7050,1295],{"class":311},[294,7052,3165],{"class":336},[294,7054,2978],{"class":311},[294,7056,7057],{"class":296,"line":629},[294,7058,1922],{"class":311},[294,7060,7061],{"class":296,"line":636},[294,7062,3176],{"class":311},[79,7064,3180],{"id":3179},[19,7066,3183],{},[19,7068,3186],{},[47,7070,7071,7075,7081,7085,7089,7093,7097,7101,7105,7109,7115],{},[50,7072,7073,3194],{},[23,7074,3193],{},[50,7076,7077,3200,7079],{},[23,7078,3199],{},[291,7080,3203],{},[50,7082,7083,3209],{},[23,7084,3208],{},[50,7086,7087,3214],{},[23,7088,3199],{},[50,7090,7091,3219],{},[23,7092,3193],{},[50,7094,7095,3224],{},[23,7096,3199],{},[50,7098,7099,3229],{},[23,7100,3193],{},[50,7102,7103,3234],{},[23,7104,3199],{},[50,7106,7107,3239],{},[23,7108,3193],{},[50,7110,7111,3200,7113],{},[23,7112,3199],{},[291,7114,3246],{},[50,7116,7117,3251],{},[23,7118,3199],{},[19,7120,3254],{},[1162,7122,7123],{"type":1164},[19,7124,3259],{},[14,7126,3263],{"id":3262},[19,7128,3266],{},[79,7130,3270],{"id":3269},[19,7132,3273],{},[79,7134,3277],{"id":3276},[19,7136,3280,7137,3284],{},[230,7138,3283],{"href":2353},[14,7140,3288],{"id":3287},[19,7142,3291],{},[79,7144,3295],{"id":3294},[19,7146,3298],{},[1711,7148,7149,7153,7157,7161],{},[50,7150,7151,3306],{},[23,7152,3305],{},[50,7154,7155,3312],{},[23,7156,3311],{},[50,7158,7159,3318],{},[23,7160,3317],{},[50,7162,7163,3324],{},[23,7164,3323],{},[79,7166,3328],{"id":3327},[19,7168,3331],{},[19,7170,3334],{},[47,7172,7173,7177,7181],{},[50,7174,7175,3342],{},[23,7176,3341],{},[50,7178,7179,3348],{},[23,7180,3347],{},[50,7182,7183,3354],{},[23,7184,3353],{},[19,7186,3357],{},[79,7188,3361],{"id":3360},[19,7190,3364],{},[19,7192,3367],{},[1711,7194,7195,7197,7199,7201],{},[50,7196,3372],{},[50,7198,3375],{},[50,7200,3378],{},[50,7202,3381],{},[19,7204,3384],{},[79,7206,3388],{"id":3387},[19,7208,3391],{},[1711,7210,7211,7215,7219,7223,7227],{},[50,7212,7213,3399],{},[23,7214,3398],{},[50,7216,7217,3405],{},[23,7218,3404],{},[50,7220,7221,3411],{},[23,7222,3410],{},[50,7224,7225,3417],{},[23,7226,3416],{},[50,7228,7229,3423],{},[23,7230,3422],{},[19,7232,3426],{},[14,7234,3430],{"id":3429},[19,7236,3433],{},[124,7238,7239,7249],{},[127,7240,7241],{},[130,7242,7243,7245,7247],{},[133,7244,3442],{},[133,7246,3445],{},[133,7248,3448],{},[143,7250,7251,7259,7267,7275,7283,7291],{},[130,7252,7253,7255,7257],{},[148,7254,3455],{},[148,7256,3458],{},[148,7258,3461],{},[130,7260,7261,7263,7265],{},[148,7262,3466],{},[148,7264,3469],{},[148,7266,3472],{},[130,7268,7269,7271,7273],{},[148,7270,3477],{},[148,7272,3480],{},[148,7274,3483],{},[130,7276,7277,7279,7281],{},[148,7278,3488],{},[148,7280,3491],{},[148,7282,3494],{},[130,7284,7285,7287,7289],{},[148,7286,3499],{},[148,7288,3502],{},[148,7290,3505],{},[130,7292,7293,7295,7297],{},[148,7294,3510],{},[148,7296,3513],{},[148,7298,3516],{},[19,7300,3519,7301,3523],{},[230,7302,3522],{"href":251},[1162,7304,7305],{"type":322},[19,7306,3528,7307,3532],{},[2180,7308,3531],{},[14,7310,3536],{"id":3535},[19,7312,3539],{},[1711,7314,7315,7319,7323,7329],{},[50,7316,7317,3547],{},[23,7318,3546],{},[50,7320,7321,3553],{},[23,7322,3552],{},[50,7324,7325,3563],{},[23,7326,3558,7327],{},[230,7328,3562],{"href":3561},[50,7330,7331,3569],{},[23,7332,3568],{},[19,7334,3572],{},[2357,7336],{},[19,7338,7339],{},[2180,7340,3579,7341,3583],{},[230,7342,3582],{"href":2366},[2370,7344,3586],{},{"title":289,"searchDepth":304,"depth":304,"links":7346},[7347,7348,7355,7359,7363,7369,7370],{"id":2432,"depth":304,"text":2433},{"id":2450,"depth":304,"text":2451,"children":7349},[7350,7351,7352,7353,7354],{"id":2457,"depth":319,"text":2458},{"id":2464,"depth":319,"text":2465},{"id":2471,"depth":319,"text":2472},{"id":2481,"depth":319,"text":2482},{"id":2844,"depth":319,"text":2845},{"id":2854,"depth":304,"text":2855,"children":7356},[7357,7358],{"id":2861,"depth":319,"text":2862},{"id":3179,"depth":319,"text":3180},{"id":3262,"depth":304,"text":3263,"children":7360},[7361,7362],{"id":3269,"depth":319,"text":3270},{"id":3276,"depth":319,"text":3277},{"id":3287,"depth":304,"text":3288,"children":7364},[7365,7366,7367,7368],{"id":3294,"depth":319,"text":3295},{"id":3327,"depth":319,"text":3328},{"id":3360,"depth":319,"text":3361},{"id":3387,"depth":319,"text":3388},{"id":3429,"depth":304,"text":3430},{"id":3535,"depth":304,"text":3536},{},{"title":2424,"description":3615},[252,3622,3623,3624],{"id":7375,"title":7376,"author":7377,"body":7380,"category":8551,"coverImage":2407,"date":8552,"description":8553,"extension":2410,"featured":2411,"meta":8554,"navigation":365,"path":8555,"readingTime":4651,"seo":8556,"stem":8557,"tags":8558,"__hash__":8562},"blog/blog/cloud-native-architecture.md","Cloud-Native Architecture: Building for Global Scale",{"name":7378,"role":7379},"Kavinda Silva","Principal Architect",{"type":11,"value":7381,"toc":8540},[7382,7386,7389,7393,7397,7400,7786,8096,8100,8103,8106,8126,8131,8135,8138,8158,8163,8167,8170,8415,8421,8425,8428,8431,8457,8461,8464,8524,8527,8529,8537],[14,7383,7385],{"id":7384},"beyond-containers-true-cloud-native-thinking","Beyond Containers: True Cloud-Native Thinking",[19,7387,7388],{},"Cloud-native isn't just about running containers in Kubernetes. It's a philosophy — a way of designing systems that fully exploits the cloud's elastic, distributed nature. After architecting platforms that serve millions of users across four continents, we've distilled our approach into core principles.",[14,7390,7392],{"id":7391},"the-three-pillars-of-cloud-native-architecture","The Three Pillars of Cloud-Native Architecture",[79,7394,7396],{"id":7395},"_1-resilience-as-a-first-class-concern","1. Resilience as a First-Class Concern",[19,7398,7399],{},"Every service must be designed to fail gracefully. This isn't pessimism — it's engineering reality. In a distributed system with hundreds of services, something is always failing.",[284,7401,7405],{"className":7402,"code":7403,"language":7404,"meta":289,"style":289},"language-go shiki shiki-themes github-light github-dark","// Circuit breaker pattern in Go\ntype CircuitBreaker struct {\n    maxFailures   int\n    resetTimeout  time.Duration\n    failures      int\n    lastFailure   time.Time\n    state         State\n    mu            sync.Mutex\n}\n\nfunc (cb *CircuitBreaker) Execute(fn func() error) error {\n    cb.mu.Lock()\n    if cb.state == Open {\n        if time.Since(cb.lastFailure) > cb.resetTimeout {\n            cb.state = HalfOpen\n        } else {\n            cb.mu.Unlock()\n            return ErrCircuitOpen\n        }\n    }\n    cb.mu.Unlock()\n\n    err := fn()\n    cb.mu.Lock()\n    defer cb.mu.Unlock()\n\n    if err != nil {\n        cb.failures++\n        cb.lastFailure = time.Now()\n        if cb.failures >= cb.maxFailures {\n            cb.state = Open\n        }\n        return err\n    }\n\n    cb.failures = 0\n    cb.state = Closed\n    return nil\n}\n","go",[291,7406,7407,7412,7425,7433,7447,7454,7466,7474,7487,7491,7495,7536,7546,7560,7579,7589,7599,7609,7617,7622,7626,7634,7638,7651,7659,7671,7675,7690,7698,7712,7725,7734,7738,7746,7750,7754,7764,7774,7782],{"__ignoreMap":289},[294,7408,7409],{"class":296,"line":297},[294,7410,7411],{"class":300},"// Circuit breaker pattern in Go\n",[294,7413,7414,7417,7420,7423],{"class":296,"line":304},[294,7415,7416],{"class":1195},"type",[294,7418,7419],{"class":1112}," CircuitBreaker",[294,7421,7422],{"class":1195}," struct",[294,7424,1282],{"class":311},[294,7426,7427,7430],{"class":296,"line":319},[294,7428,7429],{"class":311},"    maxFailures   ",[294,7431,7432],{"class":1195},"int\n",[294,7434,7435,7438,7441,7444],{"class":296,"line":328},[294,7436,7437],{"class":311},"    resetTimeout  ",[294,7439,7440],{"class":1112},"time",[294,7442,7443],{"class":311},".",[294,7445,7446],{"class":1112},"Duration\n",[294,7448,7449,7452],{"class":296,"line":340},[294,7450,7451],{"class":311},"    failures      ",[294,7453,7432],{"class":1195},[294,7455,7456,7459,7461,7463],{"class":296,"line":351},[294,7457,7458],{"class":311},"    lastFailure   ",[294,7460,7440],{"class":1112},[294,7462,7443],{"class":311},[294,7464,7465],{"class":1112},"Time\n",[294,7467,7468,7471],{"class":296,"line":362},[294,7469,7470],{"class":311},"    state         ",[294,7472,7473],{"class":1112},"State\n",[294,7475,7476,7479,7482,7484],{"class":296,"line":369},[294,7477,7478],{"class":311},"    mu            ",[294,7480,7481],{"class":1112},"sync",[294,7483,7443],{"class":311},[294,7485,7486],{"class":1112},"Mutex\n",[294,7488,7489],{"class":296,"line":377},[294,7490,2159],{"class":311},[294,7492,7493],{"class":296,"line":385},[294,7494,366],{"emptyLinePlaceholder":365},[294,7496,7497,7500,7502,7505,7508,7511,7513,7516,7518,7521,7524,7527,7530,7532,7534],{"class":296,"line":393},[294,7498,7499],{"class":1195},"func",[294,7501,1568],{"class":311},[294,7503,7504],{"class":1376},"cb ",[294,7506,7507],{"class":1195},"*",[294,7509,7510],{"class":1112},"CircuitBreaker",[294,7512,1380],{"class":311},[294,7514,7515],{"class":1112},"Execute",[294,7517,1270],{"class":311},[294,7519,7520],{"class":1376},"fn",[294,7522,7523],{"class":1195}," func",[294,7525,7526],{"class":311},"() ",[294,7528,7529],{"class":1195},"error",[294,7531,1380],{"class":311},[294,7533,7529],{"class":1195},[294,7535,1282],{"class":311},[294,7537,7538,7541,7544],{"class":296,"line":404},[294,7539,7540],{"class":311},"    cb.mu.",[294,7542,7543],{"class":1112},"Lock",[294,7545,1324],{"class":311},[294,7547,7548,7551,7554,7557],{"class":296,"line":415},[294,7549,7550],{"class":1195},"    if",[294,7552,7553],{"class":311}," cb.state ",[294,7555,7556],{"class":1195},"==",[294,7558,7559],{"class":311}," Open {\n",[294,7561,7562,7565,7568,7571,7574,7576],{"class":296,"line":423},[294,7563,7564],{"class":1195},"        if",[294,7566,7567],{"class":311}," time.",[294,7569,7570],{"class":1112},"Since",[294,7572,7573],{"class":311},"(cb.lastFailure) ",[294,7575,2784],{"class":1195},[294,7577,7578],{"class":311}," cb.resetTimeout {\n",[294,7580,7581,7584,7586],{"class":296,"line":432},[294,7582,7583],{"class":311},"            cb.state ",[294,7585,4112],{"class":1195},[294,7587,7588],{"class":311}," HalfOpen\n",[294,7590,7591,7594,7597],{"class":296,"line":440},[294,7592,7593],{"class":311},"        } ",[294,7595,7596],{"class":1195},"else",[294,7598,1282],{"class":311},[294,7600,7601,7604,7607],{"class":296,"line":451},[294,7602,7603],{"class":311},"            cb.mu.",[294,7605,7606],{"class":1112},"Unlock",[294,7608,1324],{"class":311},[294,7610,7611,7614],{"class":296,"line":459},[294,7612,7613],{"class":1195},"            return",[294,7615,7616],{"class":311}," ErrCircuitOpen\n",[294,7618,7619],{"class":296,"line":467},[294,7620,7621],{"class":311},"        }\n",[294,7623,7624],{"class":296,"line":475},[294,7625,2293],{"class":311},[294,7627,7628,7630,7632],{"class":296,"line":486},[294,7629,7540],{"class":311},[294,7631,7606],{"class":1112},[294,7633,1324],{"class":311},[294,7635,7636],{"class":296,"line":494},[294,7637,366],{"emptyLinePlaceholder":365},[294,7639,7640,7643,7646,7649],{"class":296,"line":502},[294,7641,7642],{"class":311},"    err ",[294,7644,7645],{"class":1195},":=",[294,7647,7648],{"class":1112}," fn",[294,7650,1324],{"class":311},[294,7652,7653,7655,7657],{"class":296,"line":513},[294,7654,7540],{"class":311},[294,7656,7543],{"class":1112},[294,7658,1324],{"class":311},[294,7660,7661,7664,7667,7669],{"class":296,"line":521},[294,7662,7663],{"class":1195},"    defer",[294,7665,7666],{"class":311}," cb.mu.",[294,7668,7606],{"class":1112},[294,7670,1324],{"class":311},[294,7672,7673],{"class":296,"line":529},[294,7674,366],{"emptyLinePlaceholder":365},[294,7676,7677,7679,7682,7685,7688],{"class":296,"line":537},[294,7678,7550],{"class":1195},[294,7680,7681],{"class":311}," err ",[294,7683,7684],{"class":1195},"!=",[294,7686,7687],{"class":315}," nil",[294,7689,1282],{"class":311},[294,7691,7692,7695],{"class":296,"line":548},[294,7693,7694],{"class":311},"        cb.failures",[294,7696,7697],{"class":1195},"++\n",[294,7699,7700,7703,7705,7707,7710],{"class":296,"line":556},[294,7701,7702],{"class":311},"        cb.lastFailure ",[294,7704,4112],{"class":1195},[294,7706,7567],{"class":311},[294,7708,7709],{"class":1112},"Now",[294,7711,1324],{"class":311},[294,7713,7714,7716,7719,7722],{"class":296,"line":566},[294,7715,7564],{"class":1195},[294,7717,7718],{"class":311}," cb.failures ",[294,7720,7721],{"class":1195},">=",[294,7723,7724],{"class":311}," cb.maxFailures {\n",[294,7726,7727,7729,7731],{"class":296,"line":573},[294,7728,7583],{"class":311},[294,7730,4112],{"class":1195},[294,7732,7733],{"class":311}," Open\n",[294,7735,7736],{"class":296,"line":580},[294,7737,7621],{"class":311},[294,7739,7740,7743],{"class":296,"line":587},[294,7741,7742],{"class":1195},"        return",[294,7744,7745],{"class":311}," err\n",[294,7747,7748],{"class":296,"line":597},[294,7749,2293],{"class":311},[294,7751,7752],{"class":296,"line":605},[294,7753,366],{"emptyLinePlaceholder":365},[294,7755,7756,7759,7761],{"class":296,"line":615},[294,7757,7758],{"class":311},"    cb.failures ",[294,7760,4112],{"class":1195},[294,7762,7763],{"class":315}," 0\n",[294,7765,7766,7769,7771],{"class":296,"line":622},[294,7767,7768],{"class":311},"    cb.state ",[294,7770,4112],{"class":1195},[294,7772,7773],{"class":311}," Closed\n",[294,7775,7776,7779],{"class":296,"line":629},[294,7777,7778],{"class":1195},"    return",[294,7780,7781],{"class":315}," nil\n",[294,7783,7784],{"class":296,"line":636},[294,7785,2159],{"class":311},[284,7787,7789],{"className":286,"code":7788,"language":288,"meta":289,"style":289},"# Kubernetes deployment with resilience patterns\napiVersion: apps/v1\nkind: Deployment\nmetadata:\n  name: payment-service\nspec:\n  replicas: 3\n  strategy:\n    type: RollingUpdate\n    rollingUpdate:\n      maxUnavailable: 1\n      maxSurge: 1\n  template:\n    spec:\n      containers:\n        - name: payment\n          image: cnex/payment:v2.4.1\n          resources:\n            requests:\n              memory: \"256Mi\"\n              cpu: \"250m\"\n            limits:\n              memory: \"512Mi\"\n              cpu: \"500m\"\n          livenessProbe:\n            httpGet:\n              path: /healthz\n              port: 8080\n            initialDelaySeconds: 15\n            periodSeconds: 10\n          readinessProbe:\n            httpGet:\n              path: /readyz\n              port: 8080\n            initialDelaySeconds: 5\n            periodSeconds: 5\n",[291,7790,7791,7796,7806,7816,7823,7833,7840,7850,7857,7867,7874,7884,7893,7900,7907,7914,7926,7936,7943,7950,7960,7970,7977,7986,7995,8002,8009,8019,8029,8039,8049,8056,8062,8071,8079,8088],{"__ignoreMap":289},[294,7792,7793],{"class":296,"line":297},[294,7794,7795],{"class":300},"# Kubernetes deployment with resilience patterns\n",[294,7797,7798,7801,7803],{"class":296,"line":304},[294,7799,7800],{"class":307},"apiVersion",[294,7802,312],{"class":311},[294,7804,7805],{"class":336},"apps/v1\n",[294,7807,7808,7811,7813],{"class":296,"line":319},[294,7809,7810],{"class":307},"kind",[294,7812,312],{"class":311},[294,7814,7815],{"class":336},"Deployment\n",[294,7817,7818,7821],{"class":296,"line":328},[294,7819,7820],{"class":307},"metadata",[294,7822,325],{"class":311},[294,7824,7825,7828,7830],{"class":296,"line":340},[294,7826,7827],{"class":307},"  name",[294,7829,312],{"class":311},[294,7831,7832],{"class":336},"payment-service\n",[294,7834,7835,7838],{"class":296,"line":351},[294,7836,7837],{"class":307},"spec",[294,7839,325],{"class":311},[294,7841,7842,7845,7847],{"class":296,"line":362},[294,7843,7844],{"class":307},"  replicas",[294,7846,312],{"class":311},[294,7848,7849],{"class":315},"3\n",[294,7851,7852,7855],{"class":296,"line":369},[294,7853,7854],{"class":307},"  strategy",[294,7856,325],{"class":311},[294,7858,7859,7862,7864],{"class":296,"line":377},[294,7860,7861],{"class":307},"    type",[294,7863,312],{"class":311},[294,7865,7866],{"class":336},"RollingUpdate\n",[294,7868,7869,7872],{"class":296,"line":385},[294,7870,7871],{"class":307},"    rollingUpdate",[294,7873,325],{"class":311},[294,7875,7876,7879,7881],{"class":296,"line":393},[294,7877,7878],{"class":307},"      maxUnavailable",[294,7880,312],{"class":311},[294,7882,7883],{"class":315},"1\n",[294,7885,7886,7889,7891],{"class":296,"line":404},[294,7887,7888],{"class":307},"      maxSurge",[294,7890,312],{"class":311},[294,7892,7883],{"class":315},[294,7894,7895,7898],{"class":296,"line":415},[294,7896,7897],{"class":307},"  template",[294,7899,325],{"class":311},[294,7901,7902,7905],{"class":296,"line":423},[294,7903,7904],{"class":307},"    spec",[294,7906,325],{"class":311},[294,7908,7909,7912],{"class":296,"line":432},[294,7910,7911],{"class":307},"      containers",[294,7913,325],{"class":311},[294,7915,7916,7918,7921,7923],{"class":296,"line":440},[294,7917,426],{"class":311},[294,7919,7920],{"class":307},"name",[294,7922,312],{"class":311},[294,7924,7925],{"class":336},"payment\n",[294,7927,7928,7931,7933],{"class":296,"line":451},[294,7929,7930],{"class":307},"          image",[294,7932,312],{"class":311},[294,7934,7935],{"class":336},"cnex/payment:v2.4.1\n",[294,7937,7938,7941],{"class":296,"line":459},[294,7939,7940],{"class":307},"          resources",[294,7942,325],{"class":311},[294,7944,7945,7948],{"class":296,"line":467},[294,7946,7947],{"class":307},"            requests",[294,7949,325],{"class":311},[294,7951,7952,7955,7957],{"class":296,"line":475},[294,7953,7954],{"class":307},"              memory",[294,7956,312],{"class":311},[294,7958,7959],{"class":336},"\"256Mi\"\n",[294,7961,7962,7965,7967],{"class":296,"line":486},[294,7963,7964],{"class":307},"              cpu",[294,7966,312],{"class":311},[294,7968,7969],{"class":336},"\"250m\"\n",[294,7971,7972,7975],{"class":296,"line":494},[294,7973,7974],{"class":307},"            limits",[294,7976,325],{"class":311},[294,7978,7979,7981,7983],{"class":296,"line":502},[294,7980,7954],{"class":307},[294,7982,312],{"class":311},[294,7984,7985],{"class":336},"\"512Mi\"\n",[294,7987,7988,7990,7992],{"class":296,"line":513},[294,7989,7964],{"class":307},[294,7991,312],{"class":311},[294,7993,7994],{"class":336},"\"500m\"\n",[294,7996,7997,8000],{"class":296,"line":521},[294,7998,7999],{"class":307},"          livenessProbe",[294,8001,325],{"class":311},[294,8003,8004,8007],{"class":296,"line":529},[294,8005,8006],{"class":307},"            httpGet",[294,8008,325],{"class":311},[294,8010,8011,8014,8016],{"class":296,"line":537},[294,8012,8013],{"class":307},"              path",[294,8015,312],{"class":311},[294,8017,8018],{"class":336},"/healthz\n",[294,8020,8021,8024,8026],{"class":296,"line":548},[294,8022,8023],{"class":307},"              port",[294,8025,312],{"class":311},[294,8027,8028],{"class":315},"8080\n",[294,8030,8031,8034,8036],{"class":296,"line":556},[294,8032,8033],{"class":307},"            initialDelaySeconds",[294,8035,312],{"class":311},[294,8037,8038],{"class":315},"15\n",[294,8040,8041,8044,8046],{"class":296,"line":566},[294,8042,8043],{"class":307},"            periodSeconds",[294,8045,312],{"class":311},[294,8047,8048],{"class":315},"10\n",[294,8050,8051,8054],{"class":296,"line":573},[294,8052,8053],{"class":307},"          readinessProbe",[294,8055,325],{"class":311},[294,8057,8058,8060],{"class":296,"line":580},[294,8059,8006],{"class":307},[294,8061,325],{"class":311},[294,8063,8064,8066,8068],{"class":296,"line":587},[294,8065,8013],{"class":307},[294,8067,312],{"class":311},[294,8069,8070],{"class":336},"/readyz\n",[294,8072,8073,8075,8077],{"class":296,"line":597},[294,8074,8023],{"class":307},[294,8076,312],{"class":311},[294,8078,8028],{"class":315},[294,8080,8081,8083,8085],{"class":296,"line":605},[294,8082,8033],{"class":307},[294,8084,312],{"class":311},[294,8086,8087],{"class":315},"5\n",[294,8089,8090,8092,8094],{"class":296,"line":615},[294,8091,8043],{"class":307},[294,8093,312],{"class":311},[294,8095,8087],{"class":315},[79,8097,8099],{"id":8098},"_2-observability-over-monitoring","2. Observability Over Monitoring",[19,8101,8102],{},"Traditional monitoring asks \"Is it up?\" Observability asks \"Why is it behaving this way?\" The difference is critical at scale.",[19,8104,8105],{},"We instrument every service with three pillars of observability:",[1711,8107,8108,8114,8120],{},[50,8109,8110,8113],{},[23,8111,8112],{},"Structured logging"," with correlation IDs that trace requests across service boundaries",[50,8115,8116,8119],{},[23,8117,8118],{},"Distributed tracing"," via OpenTelemetry, giving us end-to-end request visibility",[50,8121,8122,8125],{},[23,8123,8124],{},"Metrics"," with dimensional tagging for flexible querying and alerting",[1162,8127,8128],{"type":322},[19,8129,8130],{},"A well-instrumented system should allow any engineer to diagnose a production issue within 5 minutes, without needing to be the service owner.",[79,8132,8134],{"id":8133},"_3-progressive-delivery","3. Progressive Delivery",[19,8136,8137],{},"Deploying to production should be boring. We achieve this through a layered deployment strategy:",[47,8139,8140,8146,8152],{},[50,8141,8142,8145],{},[23,8143,8144],{},"Canary releases"," — 5% of traffic to the new version, automated rollback on error spike",[50,8147,8148,8151],{},[23,8149,8150],{},"Feature flags"," — Decouple deployment from release, ship code dark",[50,8153,8154,8157],{},[23,8155,8156],{},"Blue-green environments"," — Zero-downtime database migrations and infrastructure changes",[31,8159,8160],{},[19,8161,8162],{},"We deploy to production an average of 47 times per day across our platform. Not because we're reckless — because our delivery pipeline makes it safe.",[14,8164,8166],{"id":8165},"infrastructure-as-code-the-complete-stack","Infrastructure as Code: The Complete Stack",[19,8168,8169],{},"Everything is code. Everything is version controlled. Everything is reviewable.",[284,8171,8173],{"className":1181,"code":8172,"language":1183,"meta":289,"style":289},"// Pulumi infrastructure definition (TypeScript)\nimport * as pulumi from '@pulumi/pulumi';\nimport * as aws from '@pulumi/aws';\nimport * as k8s from '@pulumi/kubernetes';\n\nconst vpc = new aws.ec2.Vpc('main', {\n  cidrBlock: '10.0.0.0/16',\n  enableDnsHostnames: true,\n  tags: { Environment: pulumi.getStack() },\n});\n\nconst cluster = new aws.eks.Cluster('platform', {\n  vpcConfig: {\n    subnetIds: subnets.map((s) => s.id),\n    securityGroupIds: [securityGroup.id],\n  },\n  version: '1.29',\n});\n\nconst namespace = new k8s.core.v1.Namespace('services', {\n  metadata: { name: 'services' },\n}, { provider: k8sProvider });\n",[291,8174,8175,8180,8199,8217,8235,8239,8264,8274,8283,8294,8298,8302,8326,8331,8350,8355,8359,8369,8373,8377,8401,8410],{"__ignoreMap":289},[294,8176,8177],{"class":296,"line":297},[294,8178,8179],{"class":300},"// Pulumi infrastructure definition (TypeScript)\n",[294,8181,8182,8184,8186,8189,8192,8194,8197],{"class":296,"line":304},[294,8183,1196],{"class":1195},[294,8185,1784],{"class":315},[294,8187,8188],{"class":1195}," as",[294,8190,8191],{"class":311}," pulumi ",[294,8193,1202],{"class":1195},[294,8195,8196],{"class":336}," '@pulumi/pulumi'",[294,8198,1208],{"class":311},[294,8200,8201,8203,8205,8207,8210,8212,8215],{"class":296,"line":319},[294,8202,1196],{"class":1195},[294,8204,1784],{"class":315},[294,8206,8188],{"class":1195},[294,8208,8209],{"class":311}," aws ",[294,8211,1202],{"class":1195},[294,8213,8214],{"class":336}," '@pulumi/aws'",[294,8216,1208],{"class":311},[294,8218,8219,8221,8223,8225,8228,8230,8233],{"class":296,"line":328},[294,8220,1196],{"class":1195},[294,8222,1784],{"class":315},[294,8224,8188],{"class":1195},[294,8226,8227],{"class":311}," k8s ",[294,8229,1202],{"class":1195},[294,8231,8232],{"class":336}," '@pulumi/kubernetes'",[294,8234,1208],{"class":311},[294,8236,8237],{"class":296,"line":340},[294,8238,366],{"emptyLinePlaceholder":365},[294,8240,8241,8243,8246,8248,8250,8253,8256,8258,8261],{"class":296,"line":351},[294,8242,1217],{"class":1195},[294,8244,8245],{"class":315}," vpc",[294,8247,1223],{"class":1195},[294,8249,1226],{"class":1195},[294,8251,8252],{"class":311}," aws.ec2.",[294,8254,8255],{"class":1112},"Vpc",[294,8257,1270],{"class":311},[294,8259,8260],{"class":336},"'main'",[294,8262,8263],{"class":311},", {\n",[294,8265,8266,8269,8272],{"class":296,"line":362},[294,8267,8268],{"class":311},"  cidrBlock: ",[294,8270,8271],{"class":336},"'10.0.0.0/16'",[294,8273,1243],{"class":311},[294,8275,8276,8279,8281],{"class":296,"line":369},[294,8277,8278],{"class":311},"  enableDnsHostnames: ",[294,8280,2741],{"class":315},[294,8282,1243],{"class":311},[294,8284,8285,8288,8291],{"class":296,"line":377},[294,8286,8287],{"class":311},"  tags: { Environment: pulumi.",[294,8289,8290],{"class":1112},"getStack",[294,8292,8293],{"class":311},"() },\n",[294,8295,8296],{"class":296,"line":385},[294,8297,1258],{"class":311},[294,8299,8300],{"class":296,"line":393},[294,8301,366],{"emptyLinePlaceholder":365},[294,8303,8304,8306,8309,8311,8313,8316,8319,8321,8324],{"class":296,"line":404},[294,8305,1217],{"class":1195},[294,8307,8308],{"class":315}," cluster",[294,8310,1223],{"class":1195},[294,8312,1226],{"class":1195},[294,8314,8315],{"class":311}," aws.eks.",[294,8317,8318],{"class":1112},"Cluster",[294,8320,1270],{"class":311},[294,8322,8323],{"class":336},"'platform'",[294,8325,8263],{"class":311},[294,8327,8328],{"class":296,"line":415},[294,8329,8330],{"class":311},"  vpcConfig: {\n",[294,8332,8333,8336,8338,8340,8343,8345,8347],{"class":296,"line":423},[294,8334,8335],{"class":311},"    subnetIds: subnets.",[294,8337,2796],{"class":1112},[294,8339,2771],{"class":311},[294,8341,8342],{"class":1376},"s",[294,8344,1380],{"class":311},[294,8346,1279],{"class":1195},[294,8348,8349],{"class":311}," s.id),\n",[294,8351,8352],{"class":296,"line":432},[294,8353,8354],{"class":311},"    securityGroupIds: [securityGroup.id],\n",[294,8356,8357],{"class":296,"line":440},[294,8358,1922],{"class":311},[294,8360,8361,8364,8367],{"class":296,"line":451},[294,8362,8363],{"class":311},"  version: ",[294,8365,8366],{"class":336},"'1.29'",[294,8368,1243],{"class":311},[294,8370,8371],{"class":296,"line":459},[294,8372,1258],{"class":311},[294,8374,8375],{"class":296,"line":467},[294,8376,366],{"emptyLinePlaceholder":365},[294,8378,8379,8381,8384,8386,8388,8391,8394,8396,8399],{"class":296,"line":475},[294,8380,1217],{"class":1195},[294,8382,8383],{"class":315}," namespace",[294,8385,1223],{"class":1195},[294,8387,1226],{"class":1195},[294,8389,8390],{"class":311}," k8s.core.v1.",[294,8392,8393],{"class":1112},"Namespace",[294,8395,1270],{"class":311},[294,8397,8398],{"class":336},"'services'",[294,8400,8263],{"class":311},[294,8402,8403,8406,8408],{"class":296,"line":486},[294,8404,8405],{"class":311},"  metadata: { name: ",[294,8407,8398],{"class":336},[294,8409,2744],{"class":311},[294,8411,8412],{"class":296,"line":494},[294,8413,8414],{"class":311},"}, { provider: k8sProvider });\n",[1162,8416,8418],{"type":8417},"warning",[19,8419,8420],{},"Never store secrets in your IaC definitions. Use a dedicated secrets manager (AWS Secrets Manager, HashiCorp Vault) with dynamic secret rotation.",[14,8422,8424],{"id":8423},"the-cost-of-getting-it-wrong","The Cost of Getting It Wrong",[19,8426,8427],{},"We've seen enterprises spend millions on \"cloud migration\" that's really just lift-and-shift — running the same monolith on EC2 instead of bare metal. The result? Higher costs, same fragility, new complexity.",[19,8429,8430],{},"True cloud-native transformation requires:",[1711,8432,8433,8439,8445,8451],{},[50,8434,8435,8438],{},[23,8436,8437],{},"Decomposing the monolith"," along business domain boundaries (not technical layers)",[50,8440,8441,8444],{},[23,8442,8443],{},"Embracing eventual consistency"," where strong consistency isn't required",[50,8446,8447,8450],{},[23,8448,8449],{},"Investing in platform engineering"," so application teams can self-serve",[50,8452,8453,8456],{},[23,8454,8455],{},"Building a culture of ownership"," where teams own their services end-to-end",[14,8458,8460],{"id":8459},"real-world-results","Real-World Results",[19,8462,8463],{},"For a recent financial services client, our cloud-native replatforming delivered:",[124,8465,8466,8478],{},[127,8467,8468],{},[130,8469,8470,8472,8475],{},[133,8471,3442],{},[133,8473,8474],{},"Before",[133,8476,8477],{},"After",[143,8479,8480,8491,8502,8513],{},[130,8481,8482,8485,8488],{},[148,8483,8484],{},"Deploy frequency",[148,8486,8487],{},"Weekly",[148,8489,8490],{},"47x daily",[130,8492,8493,8496,8499],{},[148,8494,8495],{},"Lead time for changes",[148,8497,8498],{},"3 weeks",[148,8500,8501],{},"45 minutes",[130,8503,8504,8507,8510],{},[148,8505,8506],{},"Change failure rate",[148,8508,8509],{},"23%",[148,8511,8512],{},"1.8%",[130,8514,8515,8518,8521],{},[148,8516,8517],{},"Mean time to recovery",[148,8519,8520],{},"4 hours",[148,8522,8523],{},"8 minutes",[19,8525,8526],{},"These aren't theoretical improvements. They're the difference between a company that reacts to market changes and one that drives them.",[2357,8528],{},[19,8530,8531],{},[2180,8532,8533,8534,7443],{},"Ready to modernise your infrastructure? ",[230,8535,8536],{"href":2366},"Let's architect your cloud-native future",[2370,8538,8539],{},"html pre.shiki code .sJ8bj, html code.shiki .sJ8bj{--shiki-default:#6A737D;--shiki-dark:#6A737D}html pre.shiki code .s9eBZ, html code.shiki .s9eBZ{--shiki-default:#22863A;--shiki-dark:#85E89D}html pre.shiki code .sVt8B, html code.shiki .sVt8B{--shiki-default:#24292E;--shiki-dark:#E1E4E8}html pre.shiki code .sZZnC, html code.shiki .sZZnC{--shiki-default:#032F62;--shiki-dark:#9ECBFF}html pre.shiki code .sj4cs, html code.shiki .sj4cs{--shiki-default:#005CC5;--shiki-dark:#79B8FF}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html pre.shiki code .szBVR, html code.shiki .szBVR{--shiki-default:#D73A49;--shiki-dark:#F97583}html pre.shiki code .sScJk, html code.shiki .sScJk{--shiki-default:#6F42C1;--shiki-dark:#B392F0}html pre.shiki code .s4XuR, html code.shiki .s4XuR{--shiki-default:#E36209;--shiki-dark:#FFAB70}",{"title":289,"searchDepth":304,"depth":304,"links":8541},[8542,8543,8548,8549,8550],{"id":7384,"depth":304,"text":7385},{"id":7391,"depth":304,"text":7392,"children":8544},[8545,8546,8547],{"id":7395,"depth":319,"text":7396},{"id":8098,"depth":319,"text":8099},{"id":8133,"depth":319,"text":8134},{"id":8165,"depth":304,"text":8166},{"id":8423,"depth":304,"text":8424},{"id":8459,"depth":304,"text":8460},"Cloud","2026-02-05","A deep dive into the architectural patterns and practices that enable enterprise applications to scale globally while maintaining reliability and performance.",{},"/blog/cloud-native-architecture",{"title":7376,"description":8553},"blog/cloud-native-architecture",[8559,8560,2419,8561],"Cloud Native","Kubernetes","Architecture","Dai7RhZjlbZ0dr9DAwJlAIRurZr3eGCVoknlYA4NHXE",1784192087966]