HTTP
- Describe what HTTP is and the role of the request and the response
- HTTP is a system of rules , that serve as a link between application and the transfer of hypertext documents. It is an agreement of how machines communicate with each other
- HTTP follows a model, where client make a request and the server make a response (ie. it is a request response protocol).
- What are the components of an HTTP request and an HTTP response?
- Identify the components of a URL. Construct a URL that contains a few params and values.
- Explain the difference between GET and POST, and know when to choose each.
- What is the difference between client-side and server-side code? For each file in a Sinatra project, be able to say which it is.
Web
- How does an HTML form element interact with the server-side code that processes it.
- Why is user-entered content a security risk? Be aware of how to mitigate this risk.
Sinatra
- Start a new Sinatra project and write simple routes to handle requests.
- What are the benefits of using view templates? Be able to use an ERB template in a Sinatra route.
- What is the session? Where it is stored? How it is used?
- Write a view helper and use it within a view template.
- Explain how redirection works and why it would be needed in a web application.
Comments
Post a Comment