Vanilla open source was terminated 1 January 2025 by Higher Logic. See this announcement for more information.
Model->Save vs Form->Save
I'm not clear on when one would want to use one vs the other. In the quick start guide, the model is presented first, but then a form object is used to save user edits back. But in Vanilla, the Discussion function of PostController uses Model->Save.
Pros/Cons of the different approaches?
Pros/Cons of the different approaches?
0
Comments
If you just use the model to save, you have to tell it which fields you want to save and get those values from the web page somehow. Basically, the form class does all of that work for you.