<![CDATA[ Evo, Revo and MySQLi - My Forums]]> https://forums.modx.com/thread/?thread=78977 <![CDATA[Evo, Revo and MySQLi]]> https://forums.modx.com/thread/78977/evo-revo-and-mysqli#dis-post-435191 2. How to use MySQLi in Revo?
3. How to convert mysql_* functions in Evo-core to mysqli_* or PDO?

Thanks.]]>
sadex13 Aug 30, 2012, 04:15 AM https://forums.modx.com/thread/78977/evo-revo-and-mysqli#dis-post-435191
<![CDATA[Re: Evo, Revo and MySQLi]]> https://forums.modx.com/thread/78977/evo-revo-and-mysqli#dis-post-437392 Quote from: sottwell at Aug 30, 2012, 09:23 AM
Evo would have to be completely re-written to use mysqli or PDO.

Not the case. Adapting Evo for mysqli_* can be broken down into one simple but time comsuming job, and two slightly more complex but quite quick jobs.

The time consuming bit is implementing the modx DBAPI throughout the core code (front and backend), as it was never done in the first place, but this is not a complex job at all.

Once this is properly done then the DBAPI can be rewritten for mysqli, which is relatively trivial.

See also http://www.clippercms.com/forum/general-discussion-1/recoding-core-evo-to-mysqli_-*-or-pdo/

-- Tim.]]>
TimGS Sep 18, 2012, 07:19 AM https://forums.modx.com/thread/78977/evo-revo-and-mysqli#dis-post-437392
<![CDATA[Re: Evo, Revo and MySQLi]]> https://forums.modx.com/thread/78977/evo-revo-and-mysqli#dis-post-435343 sottwell Aug 31, 2012, 04:40 AM https://forums.modx.com/thread/78977/evo-revo-and-mysqli#dis-post-435343 <![CDATA[Re: Evo, Revo and MySQLi]]> https://forums.modx.com/thread/78977/evo-revo-and-mysqli#dis-post-435326 Quote from: sottwell at Aug 30, 2012, 01:05 PM
Rewriting Evo would be painful at best.

Can you help us to rewrite Evo 1.0.6 kernel to MySQLi ?
]]>
sadex13 Aug 31, 2012, 02:37 AM https://forums.modx.com/thread/78977/evo-revo-and-mysqli#dis-post-435326
<![CDATA[Re: Evo, Revo and MySQLi]]> https://forums.modx.com/thread/78977/evo-revo-and-mysqli#dis-post-435223 sottwell Aug 30, 2012, 08:05 AM https://forums.modx.com/thread/78977/evo-revo-and-mysqli#dis-post-435223 <![CDATA[Re: Evo, Revo and MySQLi]]> https://forums.modx.com/thread/78977/evo-revo-and-mysqli#dis-post-435195 Quote from: sottwell at Aug 30, 2012, 09:23 AM
Evo would have to be completely re-written to use mysqli or PDO.

Thank you, Susan.

It is very bad... But, may be, somebody do it?

And, if possable, how many years can live Evo with mysql_* functions?

Sorry my bad English.]]>
sadex13 Aug 30, 2012, 04:46 AM https://forums.modx.com/thread/78977/evo-revo-and-mysqli#dis-post-435195
<![CDATA[Re: Evo, Revo and MySQLi]]> https://forums.modx.com/thread/78977/evo-revo-and-mysqli#dis-post-435192
In Revo, you should use PDO and its customized PDO extension xPDO.

http://rtfm.modx.com/display/revolution20/Developing+in+MODx]]>
sottwell Aug 30, 2012, 04:23 AM https://forums.modx.com/thread/78977/evo-revo-and-mysqli#dis-post-435192