mirror of
https://github.com/bigchaindb/site.git
synced 2024-11-22 09:46:57 +01:00
basic structure for guides section
This commit is contained in:
parent
ac3c3e8f32
commit
a08beceb5a
@ -90,6 +90,9 @@ collections:
|
||||
partners:
|
||||
output: true
|
||||
permalink: /:collection/:path/
|
||||
guides:
|
||||
output: true
|
||||
permalink: /:collection/:path/
|
||||
|
||||
|
||||
# Plugins
|
||||
|
@ -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/"
|
||||
|
||||
|
15
_src/_guides/hitchhikers-guide.md
Normal file
15
_src/_guides/hitchhikers-guide.md
Normal file
@ -0,0 +1,15 @@
|
||||
---
|
||||
layout: page
|
||||
|
||||
title: The Hitchhiker's Guide to BigchainDB & IPDB
|
||||
---
|
||||
|
||||
If you’ve ever worked with databases or APIs, you’re likely familiar with CRUD. CRUD is short for Create, Read, Update, Delete. These are the basic operations of a persistent data store. So then, what’s 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. Django’s 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 it’s ID. They don’t allow to Update or Delete anything that has been written though.
|
16
_src/guides.html
Normal file
16
_src/guides.html
Normal 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 %}
|
Loading…
Reference in New Issue
Block a user