A few introductions to Github, and the gui GitKraken.
A very fast video
If you’ve got one hour …
The GitKraken app is a GUI for Github. Some people may prefer a GUI solution. The video above will give an impression of the app.
A strong feature on Github is the concept of brances. Here you may experiment with some code. Later on the experiments can be merged with the master code ( origin master ).
Go to Github. If everything is ok the changes should be stored.
When you’re satisfied with the code in the branch, you may want to merge the new work with the stem of the tree. The stem is called ‘origin master’. In GitKraken rightclick on remote / master. A popup menu will let you merge from the branch to the master:
Click on the merge option. Then write a commit message, and click on Push.
On the Github web page you’ll be able to follow all the comitted changes:
Above you see the content of the file, and the history. The image below is the online version of the branches:
( The screencast and screendumps were made on a Ubuntu Linux system. )
Her er koden.
Gist: How to manipulate the DOM via event listeners.
Moe Tucker played drums in the Velvet Underground. Pale Blue Eyes lyrics and music by Lou Reed (1969).
The very short version is: WordPress will return Json objects from certain endpoints. Here’s a sample:
A URL like this will return a Json object with the 10 most recent post. Why don’t you try it in your browser:
REST API is much more that reading content. You can create, read, update and delete content on the server.
With the REST API WordPress will open the gates to a very interesting future. Perhaps themes as we know them will be obsolete in the near future. Even the Dashboard could be something in the past.
Bang the drums, and hoist the flags! WordPress with REST API is here.
Here are some ideas, you might use: