Enrico,<br><br>&gt;&nbsp; Please try to move the RDBMS specific things into some separate<br>&gt;source file, maybe some separate class. This gives an central<br>&gt;point for RDBMS specific things and makes further porting much
<br>&gt;easier. (I did similar things on my branch, which are not yet<br>&gt;ported back.)<br><br>I understand what you are asking for (I think). But I don&#39;t see how what you want differs from the what is in the 5.0.3
 code already. ADOdb does what you are speaking of (I think).<br><br>&nbsp; Joey<br><br><div><span class="gmail_quote">On 9/21/07, <b class="gmail_sendername">Enrico Weigelt</b> &lt;<a href="mailto:weigelt@metux.de">weigelt@metux.de
</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">* Joey Novak &lt;<a href="mailto:joey.novak@gmail.com">joey.novak@gmail.com
</a>&gt; schrieb:<br><br>hi,<br><br>&gt;&nbsp;&nbsp; So, I am 99% finished porting the non-MSSQL compliant SQL into<br>&gt; Compatible SQL.<br><br>Please try to move the RDBMS specific things into some separate<br>source file, maybe some separate class. This gives an central
<br>point for RDBMS specific things and makes further porting much<br>easier. (I did similar things on my branch, which are not yet<br>ported back.)<br><br>For example:<br><br>Some base class &quot;VT_DB_Driver&quot; where several individual drivers
<br>(ie. for mysql, mssql, pgsql) are derived from.<br><br>It should have those functions:<br><br>* QueryRecords($query_string) -&gt; give back an array of recods<br>* SequenceNextVal($seq_name)<br>* SQL_Encode_int($i)<br>
* SQL_Encode_date($d)<br>* SQL_Encode_text($t)<br>...<br><br><br>Ah, and please document your changes in the code and give tell us<br>something about what you did on the list :)<br><br>&gt; Again, I don&#39;t know what the best way to go about this is, but my Company
<br>&gt; is willing to invest resources into merging the braches of vTiger into one<br>&gt; branch that works on postGres, MSSQL, and MySQL.<br><br>Is your company willing to hire some of us? ;-O<br><br>&gt; how would I submit my work?
<br><br>Post an patch to the list ;-P<br><br>&gt; told me I should create a new branch, as I browsed the code, I could not<br>&gt; find the seperate postgres branch he spoke of.&nbsp;&nbsp;Is it not clearly labeled?<br><br>It&#39;s in the jens_5_1 branch. But last time I checked, it wasn&#39;t
<br>the whole of Jens&#39;s work, and he sent me his personal copy.<br>Mine has also several changes, some maybe already committed,<br>some maybe not.<br><br>BTW: we already have dozens of branches, we really should get<br>
them together. Why not forking from the latest stable, and<br>intensively try to get in all the changes laying around into it ?<br>An clean DB abstraction seems to be an key point for me.<br><br><br>cu<br>--<br>----------------------------------------------------------------------
<br> Enrico Weigelt, metux IT service -- <a href="http://www.metux.de/">http://www.metux.de/</a><br><br> cellphone: +49 174 7066481&nbsp;&nbsp; email: <a href="mailto:info@metux.de">info@metux.de</a>&nbsp;&nbsp; skype: nekrad666<br>----------------------------------------------------------------------
<br> Embedded-Linux / Portierung / Opensource-QM / Verteilte Systeme<br>----------------------------------------------------------------------<br>_______________________________________________<br>Reach hundreds of potential candidates - 
<a href="http://jobs.vtiger.com">http://jobs.vtiger.com</a><br></blockquote></div><br><br clear="all"><br>-- <br>---<br>&nbsp;&nbsp;&nbsp;&nbsp;<a href="http://www.joeynovak.com">http://www.joeynovak.com</a><br><br><br>&nbsp;&nbsp;&nbsp;&nbsp;C) 803-409-9969 (Work Cell)
<br>&nbsp;&nbsp;&nbsp;&nbsp;W) 757-233-0834<br>&nbsp;&nbsp;&nbsp;&nbsp;H) 757-383-8523 (SkypeIn)<br>&quot;Very funny, Scotty. Now beam down my clothes.&quot;<br><br>Be nice to nerds. Chances are you&#39;ll end up working for one. <br>&nbsp;&nbsp;&nbsp;&nbsp;--Bill Gates<br><br>Your most unhappy customers are your greatest source of learning.&nbsp;&nbsp;
<br>&nbsp;&nbsp;&nbsp;&nbsp;--Bill Gates<br><br>Cope with Life, go buy a slurpee!<br><a href="http://www.slurpee.com/games.html">http://www.slurpee.com/games.html</a>