12

In a traditional MVC application, which component (model, view, or controller) is responsible for reading/writing the model to/from disk?

asked Nov 8, 2012 at 21:22

1 Answer 1

11

The Model is generally responisble to reading from/writing to the file system or database.

answered Nov 8, 2012 at 21:26
3
  • The model will usually implement a Multitier Architecture and the lowest tier will write to database. Commented Nov 8, 2012 at 21:39
  • 1
    @VitalijZadneprovskij I've edited out the link from your comment, it was pointing to the English Theater of Rome and was flagged as spam. Obviously a copy paste mistake, but be a bit more careful in the future, we are extra vigilant with spammers, I read all your past comments and several of your answers to see if there were other traces of spam like activities. Commented Nov 8, 2012 at 22:09
  • @YannisRizos sorry, that was a silly mistake! :) However I was a spammer, I would not have 500 reputation here and 750 on StackOverflow, would I? Commented Nov 9, 2012 at 8:36

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.