just when you thought it was safe to go back into the water...
BACK-ENDS!!!
Bluemix DAY LONG event
March 10 (tomorrow)
HackVictoria Weekend
March 12/13
Mar 19
Welcome Heather and Erin!
Review: Building Blocks
-
The DOM
- Document Object Model
- the tags create a TREE!!!
Review: Building Blocks
Front-end
- the part that users interact with
- HTML, CSS, and JavaScript cooked up in your computer’s browser
- But wait... There's SOME data management in your browser too! (stay tuned)
Review: Building Blocks
Back-end
-
consists of a server, an application, and a database
-
typically if you enter data into a website and it can be retrieved when you login, there is some kind of "back-end" application/data management system involved!
-
But wait... there are more APIs available for squirting data around all the time, and different plumbing to get it! (stay tuned)
- Mozilla Thimble (https://thimble.mozilla.org/)
- Experiment with the following...
<html>
<head>
<style>
body {
background-color: #d0e4fe;
}
h1 {
color: orange;
text-align: center;
}
</style>
<script>
function myFunction(selection) {
if (selection === 1)
alert("yes");
else
alert("no");
}
</script>
</head>
<body>
<h1>Hello!</h1>
<p onclick="myFunction(1)"><a href="#!">First Option</a></p>
<p onclick="myFunction(2)"><a href="#!">Second Option</a></p>
<p>Goodbye!</p>
</body>
</html>
Frameworks!
-
Great Example for a TO DO list!
- take a deep breath...
- TODO MVC (http://todomvc.com/)
Don't try to sip from a FIRE HOSE!!!!
Grab one or two (forums!) that looks somewhat familiar,
what is going on there??
Back End Story!
-
and now going a little deeper!
- take a deeper breath...
- TODO Back Ends (http://www.todobackend.com/)
BUT WAIT!!!!
Back End Story!
that is one HECK of a URL!
-
realtime requests... T.O.!
make sense of them...
- Could you put these on a map, each with an issue and time?
Our Backend Awaits!
- Try this in Mozilla Thimble!
- link (click that to get the file from our repo!)
- and paste it in, add a quote in "preview"
- you can peak at the array of objects on the server here:
http://ourquotes.mybluemix.net/
IBM BLUEMIX DASHBOARD
- what is it?
- why might you want to try it?
- what do you need it for?
The BACK END!!!
By Yvonne
The BACK END!!!
Supporting Sharing!
- 1,272