EOS EOSIO DApp 개발 – '에브리피디아 백서 읽기' 시리즈 11.Article Data Structure
Article Data Structure
Articles will be stored as HTML files. This is because using the HTML document object model allows for high compatibility of possible front end combinations for the data which is retrieved from the network. By using HTML, any developer can create a front end to display articles in customized manners, submit edits, and analyze data inside the document.
글들은 HTML 파일로 저장될거야. 왜? HTML로 했을 때 여러 장점들이 있으니까.
Designated HTML class attributes will be used to mark specific portions of articles so that all front end software can easily detect standard sections of an article. Such classes could include “infobox,” “citation,” or “title.”
HTML 클래스 속성을 사용해서 글의 표준 섹션들을 설정할 수 있지. 그러한 클래스들로 "infobox", "citation", "title"과 같은 것들을 생각할 수 있지.
A data structure standard should be decided on by community members and early adopters of the technology which should include linking schemes and hyperlink rules (such as whether only internal links to the database can be embedded in articles etc).
데이터 구조 표준은 커뮤니티 멤버들과 기술 얼리어답터들에 의해 결정되어야 해. 데이터 구조에는 링크 스키마와 하이퍼링크 규칙을 포함해야 해 - 데이터베이스의 내부 링크만 글에 포함될 수 있어와 같은.
Although the standards can, in theory, be changed with a governance vote, practical application of such a data-structure change is highly cumbersome as some changes are not backwards compatible and would need to be retroactively applied to all older articles within the network.
이론적으로는 거버넌스 투표에 의해 표준을 변경할 수 있지만, 실제적인 데이터 구조 변경에 대한 적용은 쉽지 않다. 이전 버전과의 호환성이나 네트워크 내의 이전 글들에 소급 적용하는 것과 같은 복잡한 문제들이 있다.
Finally, within the HTML file, there will be one designated JSON-LD class for linked data to the object topic of the article. This allows easy retrievability of key-value descriptors from any article using API endpoints and allows bots to add information easily to the JSON-LD class.
글 주제에 연결된 데이터를 위한 JSON-LD 클래스를 HTML 파일 내에 둘 거야. API를 통해 글에서 키-값 쌍으로 된 정보를 쉽게 구할 수 있게 하고, 봇이 쉽게 정보를 추가할 수 있도록 할 수 있지.
JSON-LD is used to build rich graph relationships between objects and is currently used in web pages to describe semantic relationships between the webpage’s topic and content. Having a robust data class for building rich graph relationships between topics within the article helps create a meta-network layer which can be queried for rich data by machines, services, and artificial intelligence training.
JSON-LD는 객체 사이의 그래프 관계를 구축하기 위해, 웹 페이지의 주제와 컨텐츠 사이의 의미적 관계를 설명하기 위해 사용되지. 글 안에 주제들 사이의 그래프 관계를 구축할 수 있는 데이터 클래스가 있으면 머신들이나 서비스들이나 인공지능 훈련을 위해 데이터를 쿼리할 수 있는 메타-네트워크 레이어를 만드는데 도움이 되지.
Each article is an HTML file that can be served from IPFS nodes or EOS.IO storage across many jurisdictions and participants. CSS and styling is applied on the front end UX layer and can be customized by website owners that serve the content and compete with other front end services. The article content, metadata, and class objects are edited by network participants and require token holder consensus.
하나의 글은 하나의 HTML 파일이야. HTML 파일은 IPFS 노드들이나 EOS.IO 저장소로 부터 제공되지. CSS와 스타일링은 프론트 엔드 UX 레이어에 적용되고, 컨텐츠를 제공하고 다른 프론트 엔드 서비스와 경쟁하는 웹사이트 소유자에 의해 커스터마이징 될 수 있어. 글 내용, 메타데이터, 클래스 객체들은 네트워크 참여자들에 의해 편집되고 토큰 홀더들의 합의를 필요로 해.