basic structure for guides section

This commit is contained in:
Matthias Kretschmann 2017-11-15 11:52:00 +01:00
parent ac3c3e8f32
commit a08beceb5a
Signed by: m
GPG Key ID: 606EEEF3C479A91F
4 changed files with 40 additions and 4 deletions

View File

@ -90,6 +90,9 @@ collections:
partners:
output: true
permalink: /:collection/:path/
guides:
output: true
permalink: /:collection/:path/
# Plugins

View File

@ -6,8 +6,8 @@ main:
url: "/features/"
- title: Use Cases
url: "/usecases/"
- title: Enterprise
url: "/enterprise/"
- title: Guides
url: "/guides/"
- title: Docs
url: https://docs.bigchaindb.com/
@ -16,10 +16,12 @@ secondary:
url: "/faq/"
- title: About
url: "/about/"
- title: Whitepaper
url: "/whitepaper/"
- title: Blog
url: https://blog.bigchaindb.com
- title: Enterprise
url: "/enterprise/"
- title: Whitepaper
url: "/whitepaper/"
- title: Contact
url: "/contact/"

View File

@ -0,0 +1,15 @@
---
layout: page
title: The Hitchhiker's Guide to BigchainDB & IPDB
---
If youve ever worked with databases or APIs, youre likely familiar with CRUD. CRUD is short for Create, Read, Update, Delete. These are the basic operations of a persistent data store. So then, whats ORM? ORM is an abstraction layer where database items are represented as programming language objects with variables as data, relations between items and functions that represent operations on that specific item in database. Djangos ORM is among the most famous ones:
```
>>> Post.objects.create(author=me, title='Sample title', text='Test')
>>> Post.objects.all()
<QuerySet [<Post: my post title>, <Post: another post title>, <Post: Sample title>]>
```
Now, blockchains alter this interface. They allow Create, as in creating an asset or minting a token. They allow Read, as in querying for a transaction using its ID. They dont allow to Update or Delete anything that has been written though.

16
_src/guides.html Normal file
View File

@ -0,0 +1,16 @@
---
layout: page
title: Guides
tagline: Get up to speed with BigchainDB & IPDB
---
{% for guide in site.guides %}
<section class="section section--guide">
<div class="row">
<a href="{{ guide.url }}">{{ guide.title }}</a>
</div>
</section>
{% endfor %}