Sorry Alan,<br><br>What u described below is exactly what i want to do..&nbsp; if given x, y as two datatums and such that f(x) --&gt; y, given y can we determine f or x?<br><br>Assuming the x, y and f are stored in the database, then we can be able to write queries to search/extract for the f&#39;s that are responsible for the &#39;y&#39; or use links, database catalogs etc<br>
<br>Thanks for the help.<br><br>Johnson<br><br><br><br><br><div class="gmail_quote">On Fri, Nov 14, 2008 at 2:21 AM, ALAN GAULD <span dir="ltr">&lt;<a href="mailto:alan.gauld@btinternet.com">alan.gauld@btinternet.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div><div style="font-family: &#39;Courier New&#39;,courier,monaco,monospace,sans-serif; font-size: 12pt;">
<div class="Ih2E3d"><div>&gt;&nbsp;<span style="font-family: &#39;times new roman&#39;;">Thanks Allan... we have used CVS for the base system.. but for users provided functions,&nbsp;</span></div></div><div style="font-family: Courier New,courier,monaco,monospace,sans-serif; font-size: 12pt;">
<div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"><div class="Ih2E3d">&gt; we think for having them persistent in the database..<div><br></div></div><div>I&#39;m puzzled. CVS provides much better facilities for handling code, especially with multiple</div>
<div>versions (visibility of diffs,&nbsp;who changed what and when etc) that I can&#39;t think of a single&nbsp;</div><div>good reason to put it&nbsp;in a database. I can see the point of using a database as an indexing&nbsp;</div><div>system for&nbsp;searching, filtering etc but storing
 code in a database, extracting it and then trying&nbsp;</div><div>to execute it is just so much more difficult than &nbsp;fetching a version file and importing&nbsp;</div><div>or running it directly. Plus you need to write a basic version control system on top of&nbsp;</div>
<div>the database anyway.</div><div><br></div><div>I really think I must be missing something about your requirements?</div><div>
<div>&nbsp;</div><div>Alan G<div class="Ih2E3d"><br><br><div class="gmail_quote">On Thu, Nov 13, 2008 at 7:18 PM, Alan Gauld <span dir="ltr">&lt;<a rel="nofollow" href="mailto:alan.gauld@btinternet.com" target="_blank">alan.gauld@btinternet.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>
&quot;Jojo Mwebaze&quot; &lt;<a rel="nofollow" href="mailto:jojo.mwebaze@gmail.com" target="_blank">jojo.mwebaze@gmail.com</a>&gt; wrote<div><br>
<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Because we have very many such cases, we can not incorporate such adhoc<br>
changes in the system.. &nbsp;we are thinking of storing &nbsp;such classes in the<br>
database and have &nbsp;classes run from the database. if anyone else feels they<br>
need to use someone&#39;s algorithm, they can run it/or extract it from the<br>
database and run on it on their data.<br>
</blockquote>
<br></div>
Sorry if I&#39;m missing the point but this sounds like a traditional version<br>
control system like CVS or SVN would do the job using the normal<br>
python files.<br>
<br>
Or is that too simple?<br><font color="#888888">
<br>
-- <br>
Alan Gauld<br>
Author of the Learn to Program web site<br>
<a rel="nofollow" href="http://www.freenetpages.co.uk/hp/alan.gauld" target="_blank">http://www.freenetpages.co.uk/hp/alan.gauld</a> <br>
<br>
_______________________________________________<br>
Tutor maillist &nbsp;- &nbsp;<a rel="nofollow" href="mailto:Tutor@python.org" target="_blank">Tutor@python.org</a><br>
<a rel="nofollow" href="http://mail.python.org/mailman/listinfo/tutor" target="_blank">http://mail.python.org/mailman/listinfo/tutor</a><br>
</font></blockquote></div><br></div></div></div>
</div></div><div></div></div></div></blockquote></div><br>