Find an example of a webpage that displays data retrieved from a database. Which
ID: 3754097 • Letter: F
Question
Find an example of a webpage that displays data retrieved from a database. Which elements of the page are retrieved from the database and which are hard-coded into the page? What advantage is gained by using a database in this case? What do you think the SQL query used to retrieve the page data might look like?
What are the differences among a markup language like HTML, a procedural language like Visual Basic, and a non-procedural query language like SQL? What is the role of each language in programming a web application? Why is it important for a web developer to know all these languages?
Explanation / Answer
Answer)
One of the examples of a webpage which retrieves data from the database are Amazon, Flipkart etc
The header and title are hardcoded whereas all others are being retrieved from the database.
A database is flexible with values and helps to retrieve the values dynamically.
As the table is the basic units of data storage in the database and holds the user-accessible data.
Hence the SQL query is used for retrieving the data which would look alike.
In programming language, the end result is compiled. Also, IDE is being used for this languages.
In markup languages are meant to structure the data, identify the data and has a defined UI Structure in some cases.
Scripting languages are not compiled.
Non-procedural language is meant for interacting with the database, which also helps to manage the data.
The scripting language is meant for UI, programing language mostly are API which helps the UI get linked with the backend. Non-procedural language is meant for fetching information and managing the data.
So as to prepare a complete application developer needs to know the languages.
Hit like if you find the answer useful. :)
Hope this answer helps. Thanks
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.