Well it looks like things are going smoothly so far. What have I done so far?
Nah man c'mon I was asking you about the plugin, which is the whole point we are doing this in order to start publishing and maintain our hive/leo finance blogs...right?
Yeah you are right Alter....btw alter is my alter "ego"..always making shine the best of me...
mmm, saturn are you talking about this? check this image:
what? no Alter I am talking about GatsbyJS a javascript framework to create web apps...
At this point we all, or at least a vast majority should know what a web page looks like. Not only graphically speaking but also the skeleton, the parts, the soul...
This inspire some cheap poetry "Oh dear web page, inside of your heart made of simple text, there is a soul looking to be founded"...
OK. Let me continue and go play very deep in my brain with something else Alter. This is serious matters. As i was saying, the core handler of a website is the browser. Firefox, (hopefully) the dead internet explorer, opera, chrome, are just some examples of a program who handle the code of a website and shows you a nice image of a puppy. Just like this one...
Oh..So cute!
Basically a lot of things are happening behind scenes when we open a website.
I know I know...Alexa is listening, google is getting data and instagram is ******ing us all very hard while stealing our data :D
Yes Alter we could say those are some of the things happening in your brain...I mean behind the scenes.
A dynamic site will handle, process and show you data that can change. For example:
An many many more. On the other hand we have static sites. As this amazing blog right here which very soon will guide users on how to publish and make nice posts on hive & leofinance. This blog shows us data that is being held in a place as static data. A static site will use data from somewhere(a database, a CMS, a text file) and it will bring that data up, when the user aski for it, thanks to the web browser.
Yep, this is too long to talk about in just one post. So let's cut the chase and for now, no more web development talk. Just about the plugin.
I am alone in the dark, chasing shadows...chasing shadows. The sea is like...
Alter please stay....Good boy stay!
To make this story short. Gatsby as a framework to build static & dynamic sites, allows you to build plugins in order to achieve something. Let's say you need to bring some data from Hive/leofinance "database"(other devs are looking at me with some anger because I am reducing a splending piece of work called Blockchain/API to a simple database). Well you can create your own plugin to handle that while your website/app remains doing many other things. This is the whole idea of this plugin.
Thanks to him I can continue the work. Basically he gave a nice place to start and also some challenges to keep up. So far the plugin can:
Basically by using graphql we can handle data from the api in a easy way and also create the posts locally so we can show them fast.
Nice way to break the rules huh?
A peaceful image just to relax your eyes after so much talking and writing and thinking...
Posted using my gatsby-source-hivejs wannabe plugin