Explain how data flows from view to db and reverse
Answer / Mayank Kumar Singh
Data flow from View to Database in a web application typically follows these steps:
1. The user interacts with the View (HTML, CSS, JavaScript) and submits a request for some action such as inserting or updating data.
2. The request is processed by the server-side language (such as ASP, PHP, Python, etc.) and converted into SQL queries.
3. The SQL queries are sent to the Database Management System (DBMS) that handles storage and retrieval of data.
4. The DBMS processes the queries, reads or writes data from/to the database, and sends the results back to the server-side language.
5. The server-side language formats the data and sends it back to the View for display to the user.
Reversing this process, when a user views data in the View, any changes made by the user trigger an update request to the DBMS, which is then processed by the server-side language and stored permanently in the database.
| Is This Answer Correct ? | 0 Yes | 0 No |
Does the database server have to be running Java or have Java support in order for my remote JDBC client app to access the database?
Explain about column name and getter method?
Can I enable requests to a jdbc connection pool for a database connection to wait until a connection is available?
What is Statement and PreparedStatement? whatz the difference?
Explain the difference between resultset and rowset in jdbc
How to retrieve warnings in jdbc?
What is the difference between client and server database cursors?
What are the different types of modifiers?
What is db client?
How can a java objects be stored in database?
How can you create jdbc statements?
What is the most common example type 1 driver?