The never published Tutorial
Hi! My name is Busayomi and I like writing, sketching and photography but I used to be a developer ages ago *I say this cos the dev system have evolved quite a lot *
To cut the intro short, here’s an incomplete nor published Consuming APIs tutorial I wrote when I first started out as a dev:
Apologies again for being MIA… Hopefully this will be the last time I will have to apologize that.
How have you all been? I’ve been not so great but that’s a story for another day!
Down to the business of today…
So as y’all know i’m a beginner at front-end web dev.
Today’s lesson: Consuming a .net web API using JQuery and Ajax
Target: This is for beginners in JQuery, or those with more or less only the basic JS knowledge
Things to note: As this is my first code post… *low voice* hopefully more will come too
Yes! Down to the code
For example, you need to connect your back-end with your beautifully designed login/signup form then stick with me
First, there are three parts to this as we all know
-The html part that takes in the data and also displays it to the user….blah blah blah
-Second, the JQuery that collects the data inputted by the user, sends it to the server, receives the response and sends it to the html(Hypertext markup language)
-last but not the least is the web API where all the crazy data operations happen!
Simply put, the above can be explained with MVC(what’s that?)
MVC is short for Model-View-Controller
Now I’m not a person for too much story*yimu* but a diagram will suffice.
HOLLUP! I never got around to drawing it*sad face*
So majorly, I will be going through step by step illustration of how to write a JS file that validates and also ‘POST’ and ‘GET’ data by calling a web API.
And that’s how I never went saw nor remembered this incomplete post.
Sad, but now I’m second guessing myself for changing career paths. I mean, I was growing in bits with a passion for learning and exploring.
Lesson of the Day: Revisit your old notes or jottings once in a while, you never can tell what inspiration you might find.