Namentenga Province
Namentenga is one of the 45 provinces of Burkina Faso, located in its Centre-Nord Region.
Namentenga | |
---|---|
Province | |
![]() Location in Burkina Faso | |
![]() Provincial map of its departments | |
Country | ![]() |
Region | Centre-Nord Region |
Capital | Boulsa |
Area | |
• Total | 6,464 km2 (2,496 sq mi) |
Population (2006) | |
• Total | 327,749 |
• Density | 51/km2 (130/sq mi) |
Time zone | UTC+0 (GMT 0) |
Its capital is Boulsa.
Departments
Namentenga is divided into 8 departments:
gollark: ```javascriptimport m = require("mithril")import * as RPCTypes from "../common/rpc"export const sendMessage = (msg: RPCTypes.Message): Promise<RPCTypes.MessageResponse> => { return m.request( { method: "POST", url: "./rpc/", body: msg, }).then(res => { const [ type, p1, p2 ] = res if (type === "error") { throw new RPCTypes.RPCError(p2, p1) } else if (type === "ok") { return p1 } else { throw new Error("Invalid RPC response") } })}const handler = { get: (target, prop) => (...args) => sendMessage([prop, ...args])}export const serverProxy = new Proxy({}, handler)```
gollark: The RPC thing and some JS hax on the client mean I can basically just call any function the server provides as if it's a local one (except asynchronously).
gollark: minoteaur is just plain RPC - you do `POST /rpc` with a function and its arguments as JSON.
gollark: You're forced to try and map the data/functions your thing provides onto a structure which may not really fit them well.
gollark: To be honest I find REST kind of an uncool way to design APIs.
This article is issued from Wikipedia. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.