On 29/03/2015 15:58, Mariano Martinez Peck wrote:


On Sun, Mar 29, 2015 at 6:07 AM, Sven Van Caekenberghe <s...@stfx.eu <mailto:s...@stfx.eu>> wrote:


    > On 29 Mar 2015, at 04:47, Pierce Ng <pie...@samadhiweb.com
    <mailto:pie...@samadhiweb.com>> wrote:
    >
    > On Fri, Mar 27, 2015 at 02:21:01PM -0700, nacho wrote:
    >> I'm using MySQL to hold some data on commodities prices for futures
    >> valuation and want to - of course  - use Smalltalk as a
    front-end. Which
    >> framework would you recommend?
    >
    > There is a pure Smalltalk MySQL driver on Squeaksource. Not sure
    whether
    > it has been moved to SS3 or STH.
    >
    > http://www.squeaksource.com/StdbMysqlProtocol


Here it is: http://smalltalkhub.com/#!/~DBXTalk/MysqlDriver

    >
    > Others have suggested Glorp. Glancing at the code, seems Glorp
    currently only
    > works with VisualWorks' MySQL driver. Based on my experience
    integrating
    > NBSQLite3 into Glorp, I'd say it will take about a day or two,
    depending on the
    > design of the driver. I've tested abovementioned MySQL driver
    with some version
    > of MySQL5 some months ago.

    It would be very good to have another Glorp solution with a pure
    Smalltalk implemented DB driver, like the PostgresV2 one. IMHO
    this is way less error prone than the whole library/driver/.. mess
    on all these different platform.


Since our Glorp refactor back years ago...adding a Glorp adaptor (DatabaseDriver subclasses) should be very very easy. So yes, it would be nice to do it for the MySQL driver...but I thought we already had that...


Me and some other students made an adaptator for the MySQL Driver written in smalltalk based on the one for PostgresV2, you can find it here: http://smalltalkhub.com/#!/~ThomasHeniart/GlorpDriverMySQL

There is a method NativeMySQLDriver>>beGlorpDefaultDriver to use it as native driver for glorp.

We posted it on the mailing list one and a half month ago ^^


--
Mariano
http://marianopeck.wordpress.com

Reply via email to