![]() ![]() ![]() Templates to use when rendering data in the views.Īs you'll see in the next section, we have 5 pages to display, which is too much information to document in a single article.View functions to get the requested data from the models, create HTML pages that display the data, and return the pages to the user to view in the browser.URL mappers to forward the supported URLs (and any information encoded in the URLs) to the appropriate view functions.As we already implemented the model, the main components we'll create are: The following diagram describes the main data flow, and the components required when handling HTTP requests and responses. Then we'll create a URL mapper, views, and templates to display the pages. The first thing we need to do is determine what information we want to display in our pages, and define the URLs to use for returning those resources. After we defined our models and created some initial library records to work with, it's time to write the code that presents that information to users. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
January 2023
Categories |