Screencast from ONA14 (1:53)
- Using various objects types to store information
- Functions let us calculate and transform information
- We controlling flow of information through loops and conditional statements
Let's setup the minimal amount of code that connects our various systems (client, server and database) together in order to build an application to store and retrieve environment inspection data.
Creating an API
A GET request asks our API to give us a list of all of the inspection records within our database.
We send a POST request to create a new inspection record.
What if we need to edit a record? We'll use a PUT request.
A DELETE request removes a record from our database.
Now we need to showoff our work! Let's deploy our application and discuss considerations for your software development life cycle (SDLC).
Let's build a web page that helps us use our API in a more friendly manner. We can think about this webpage as a graphical user interface (GUI) for our API.
Does our application function like we expect? How can we prevent future work from accidentally breaking previous work? We'll touch on functional and unit tests.