Or should error messages be displayed in the view? Usually I try to just send true and false from my models.
Great to hear what you guys are doing!
agreed. The model should be happy to drop things while it is generated from information that is easily accessible to the model.
I would expect the model to throw an exception that can be handled by the view (and, if necessary, presented the end user).
, . , . , . / , , .
Source: https://habr.com/ru/post/1726750/More articles:How can I get the primary key in VIEW (a key that is independent of the source tables) - mysqlMS charts not running on server - c #Replace letters in secret text - pythonHow to find the next largest key in the collection? - collectionsDelegation of a call in the constructor - constructorCan columns with a null column value NOT NULL? - nullHow can I insert a new event for a non-primary calendar? Using gdata python - pythonRandom number between 0 and n - algorithmbizarre VC10 linker error - visual-c ++Mylyn's Best Open Source Bug Tracker - bug-trackingAll Articles