Project presentation
Download
Report
Transcript Project presentation
The project of distributed
system
My hotel web page
Database
Database
• user-users can sign in or login this website and
make orders.
• order-order table include userid and roomid. it can
give the basic information for users who make this
order and all managers to manage it.
• room-room table can give the roomid, the type(the
room have been ordered by someone or not.) ,the
cost for living and some short discription.
• manager-managers table have managerid used for
managers in order to let them login as an
administrater.
The page for login
• This is the page for users login:
The page for users
• This is the user`s page:
Transaction:
• Transaction processing is designed to maintain a
database Integrity (typically a database or some
modern filesystems) in a known, consistent state, by
ensuring that interdependent operations on the
system are either all completed successfully or all
canceled successfully.[1]
• [1]come from wikipedia.
The code for transaction:
The End
• Thanks