※当サイトの記事には、広告・プロモーションが含まれます。

DBML(Database Markup Language)を管理するOSSの1つdbdocsとは

www.publickey1.jp

W3CでサーバサイドJavaScriptを中心とした非Webブラウザ環境におけるJavaScriptの互換性について議論してきた「Web Interoperable Runtimes Community Group 」(WinterCG) とECMA Internationalは、サーバサイドJavaScriptランタイムにおけるAPIの互換性を実現するための新グループをECMA International傘下の「TC55 – Web-interoperable server runtimes」(WinterTC)として設立すると発表しました

サーバサイドJavaScriptの標準策定を目指す「WinterTC」がECMA International傘下で始動、W3CのWinterCGから移行 - Publickey

ECMA Internationalは多くのITエンジニアがご存じの通り、JavaScriptの標準であるECMAScriptの仕様策定を行うTC39を傘下に持つ団体です。

サーバサイドJavaScriptの標準策定を目指す「WinterTC」がECMA International傘下で始動、W3CのWinterCGから移行 - Publickey

⇧ 漸く「非Webブラウザ環境」における「JavaScript」の「標準化」が検討されていくのか...

仕様・実装、ともに明確にして整備されて欲しいものですな...

アーキテクチャ図やシーケンス図はMUSTでお願いしたいところですな...

登場人物、必要な情報が俯瞰できるようにして欲しい...

DBML(Database Markup Language)とは

発祥が謎なのだけど、

github.com

DBML (database markup language) is a simple, readable DSL language designed to define database structures.

For more information, please check out DBML homepage

https://github.com/holistics/dbml

⇧「Markup Language」の1種らしい。

「Markup Language」はというと、

markup language is a text-encoding system which specifies the structure and formatting of a document and potentially the relationships among its parts. Markup can control the display of a document or enrich its content to facilitate automated processing.

https://en.wikipedia.org/wiki/Markup_language

A markup language is a set of rules governing what markup information may be included in a document and how it is combined with the content of the document in a way to facilitate use by humans and computer programs. 

https://en.wikipedia.org/wiki/Markup_language

The idea and terminology evolved from the "marking up" of paper manuscripts (e.g., with revision instructions by editors), traditionally written with a red pen or blue pencil on authors' manuscripts.

https://en.wikipedia.org/wiki/Markup_language

⇧ とあり、情報の関係性を構造化したものであると。

「データベース」に適用した「Markup Language」が「DBML(Database Markup Language)」ということなんですかね?

DBML(Database Markup Language)を管理するOSSの1つdbdocsとは

で、「DBML(Database Markup Language)」を管理できる「OSSOpen Source Software)」の1つとして「dbdocs」というものがあるらしいのですが、

dbdocs.io

docs.dbdocs.io

Installation

Prerequisite: Make sure NodeJS and NPM have been installed on your computer before the installation.

https://docs.dbdocs.io/

⇧「Node.js」が必須らしい。

テーブルの数がそれほど多くなければ「dbdocs」で対応できそうな気はするのだけど、テーブルの数が多いと対応が厳しい気はする...

一応、複数のテーブルをグループ化することはできるらしいが...

ちなみに、

dbdocs.io

⇧「プラン」がある模様。

VS CodeVisual Studio Code)」で利用する場合、

marketplace.visualstudio.com

⇧「vscode-dbml」という「拡張機能」をインストールする必要があるっぽい。

毎度モヤモヤ感が半端ない…

今回はこのへんで。