sraja (1) [Avatar] Offline
#1
Is it recommended to do database updates in resource serving phase?
e.g. In AJAX call submitting form that involves writing to database
Is there any specs relating to that?
It is recommended to do the database updates in action phase and not in render phase.
Since the resource serving phase is kind of render phase what is the best approach?