Explain how data flows from view to db and reverse



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

Post New Answer

More JDBC Interview Questions

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?

1 Answers  


Explain about column name and getter method?

1 Answers  


Can I enable requests to a jdbc connection pool for a database connection to wait until a connection is available?

1 Answers  


What is Statement and PreparedStatement? whatz the difference?

2 Answers  


Explain the difference between resultset and rowset in jdbc

1 Answers  


How to retrieve warnings in jdbc?

1 Answers  


What is the difference between client and server database cursors?

1 Answers  


What are the different types of modifiers?

2 Answers  


What is db client?

1 Answers  


How can a java objects be stored in database?

3 Answers   IBM,


How can you create jdbc statements?

1 Answers  


What is the most common example type 1 driver?

1 Answers   Tech Mahindra,


Categories