Multimediedesignere bruger en omfattende værktøjskase af programmer og de skal have solid viden om farver, stil og komposition. I den daglige undervisning præsenteres programmerne som eksempler. Det er via dine egne eksperimenter, at du for alvor lærer at arbejde med udvikling af multimedier.
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 ).
Create a branch.
Chekout the branch ( that is: work on the branch ).
Edit the file.
Make sure that the branch is chosen.
Stage the changed file(s).
Edit the commit message.
Push to Github.
Go to Github. If everything is ok the changes should be stored.
Merge a branch to origin master
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. )
What is REST API?
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.
So the new verson of WordPress has arrived. With it came a new theme: Twenty Seventeen. It’s an attempt to combine the (perhaps too) popular “one-pager” with WordPress content-managing.
The theme has many interesting features. One important addition is the .svg icon theme. These days the SVG format becomes more and more important. Twenty Seventeen may be a proof of concept here.
Of course I had to try the theme. The design style is “big image” or even “big video” if you dare to use that option.
The theme has improved greatly since the beginning in october 2016. The process began on Github. Here a team from Automattic co-worked with the WordPress open source community. 68 participants or more gave input and suggested code.
When the theme was ready for the core it moved to Slack. In the end it was integrated in the wordpress-core code.