Hi Mona,<div><br>The API module has a table and corresponding models that you could look at. For a bit more complexity, you can check out the validation module, which includes join tables (i.e. something2somethingelse). If you want an example of a database upgrade, see the remoteprocessing module.</div>
<div><br></div><div>As always, if you have specific questions that aren't answered in the docs or suggestions for improving the docs, please let us know.</div><div><br></div><div>Thanks,</div><div>Mike<br><br><div class="gmail_quote">
On Tue, Nov 27, 2012 at 7:15 PM, Mona Wong <span dir="ltr"><<a href="mailto:mona@sdsc.edu" target="_blank">mona@sdsc.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
Hi Midas:<br>
<br>
Another thing which my new custom plugin/module needs to do is to save information in the database. I found some documentation at <a href="http://www.kitware.com/midaswiki/index.php/Documentation/Latest/Developer/Modules#Adding_a_database_table_and_model" target="_blank">http://www.kitware.com/midaswiki/index.php/Documentation/Latest/Developer/Modules#Adding_a_database_table_and_model</a> which looks helpful. Is there a module that I can look at for a working example?<br>
<br>
thanks,<br>
Mona<br>
<br>
<br>
*********************************************<br>
Mona Wong<br>
Web & iPad Application Developer<br>
San Diego Supercomputer Center<br>
<br>
"Forgive everyone everything."<br>
-- Regina Brett<br>
*********************************************<br>
<br>
<br>
<br>
<br>
_______________________________________________<br>
Midas mailing list<br>
<a href="mailto:Midas@public.kitware.com">Midas@public.kitware.com</a><br>
<a href="http://public.kitware.com/cgi-bin/mailman/listinfo/midas" target="_blank">http://public.kitware.com/cgi-bin/mailman/listinfo/midas</a><br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br>Thanks,<br>Michael Grauer<br>R & D Engineer<br>Kitware, Inc.<br>919 969 6990 x322<br><br><br><br>
</div>