APIs and JavaScript

(I’m trying a new way to organise my thoughts into words since I’ve been dissatisfied with my previous blog posts.)

This week in DITA, we’ve learnt about web services, the dynamic content you see and use on a web page, and APIs which is the interface which allows different software to interact. In this post I intend to explain the things we’ve learnt and my opinions on them.

APIs

APIs, which stand for Application Programming Interface, allows you to access date from the web server which you can later you to develop and modify programmes with. Originally this was something I struggled to understand, partially because while I was reading about it something about it felt so…incorporeal. I understood the coding languages and such because I could see the codes that create the outcome but with APIs I could not see the process of software interacting with one other or how the data was accessed. However, it is an important tool used with the creation and development of web applications. Applications can use the data collected to manipulate websites and personalise them for each individual user and this enhances web services even further!

It’s also thanks to APIs that we are able to allow different websites to interact with each other and put that data on different websites through embedding shortcodes. I feel this is a very important development because re-posting content is a huge issue in website and by embedding content such as videos and music, you are able to share them on your preferred platform and still allow views and response to the original creator which I think is very important.

JavaScript

I was super excited to learn about JavaScript because I’ve always had a slight interest in coding languages. JavaScript is a dynamic computer programming languageĀ  which defines the behaviour of web pages and allows scripts within it to interact with the user. Recently I’ve started to learn JavaScript and besides the fact that getting the syntax wrong is an absolute nightmare I find it a complex and exciting coding language to learn. There’s a certain thrill in seeing your script work after working on it for ages to get it to run the way you want it to! Compared to CSS and HTML, you’re able to do more things, or at least dynamic tasks which is very satisfying to see. Getting the right syntax is important however in order to get computers to understand you but hopefully I’ll be able to work it out!

Advertisements