Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 7 of 7
  1. #1
    New Coder
    Join Date
    Feb 2007
    Posts
    38
    Thanks
    1
    Thanked 0 Times in 0 Posts

    MySQL database class

    Hello

    i have been searching on the forum and other places as well but i haven't found anything decent except the database class which Joomla is using.

    Does anyone know if there are any decent classes out there for using them in a project which "talks" with a mysql database?

    In addition, has anyone tried to use the Joomla database class? If yes, how? I know that the Joomla forums is the best place to ask this but got no answers.

    Regards

  • #2
    Regular Coder meth's Avatar
    Join Date
    Jan 2003
    Posts
    262
    Thanks
    0
    Thanked 9 Times in 9 Posts
    If you can read and understand the Joomla db abstraction class, surely you can write one yourself? What's 'decent' anyway?
    I do Web Design, Brisbane based.
    More time spent in PHP/MySQL Web Development.
    And Search Engine Optimisation takes up the rest of it.

  • #3
    New Coder
    Join Date
    Feb 2005
    Posts
    10
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Try phpbb's database abstraction layer. Works for various databases like mysql, mssql, oracle, etc.

    It comes bundled in all phpbb packages, and best of all its free opensource
    Kenetix:: Achieving more than the ordinary.
    http://www.kenetix.net

  • #4
    Senior Coder
    Join Date
    Jan 2007
    Posts
    1,648
    Thanks
    1
    Thanked 58 Times in 54 Posts
    It's not that hard to write one yourself. The bonus of that being it will do anything you want, and if a problem comes up you will know exactly how to fix it.

  • #5
    UE Antagonizer Fumigator's Avatar
    Join Date
    Dec 2005
    Location
    Utah, USA, Northwestern hemisphere, Earth, Solar System, Milky Way Galaxy, Alpha Quadrant
    Posts
    7,691
    Thanks
    42
    Thanked 637 Times in 625 Posts
    Why reinvent the wheel?

    I think marek_mar has written one and posted it in the PHP Scripts forum here.

  • #6
    New Coder
    Join Date
    Feb 2007
    Posts
    38
    Thanks
    1
    Thanked 0 Times in 0 Posts
    Hello all and thank you for your replies.

    The problem is not the lack of coding skill to write one but like Fumigator said why waste time on something like this which is a very common thing in the PHP world instead of not using my strengths to another part of the project? Furthermore, Joomla and phpBB (thanks for this idea, never crossed my mind to use their db class) have been out quite a while and lots of people have tested it already so it's a good choice.

    I've also found the script by marek_mar and i will have a look at it. It's here in case someone else is interested:
    Database class / PHP database extension bridge.

    Oh by the way meth, by saying "decent" i meant something that has already been tested a lot and it has clean, understandable code. Sorry for that, it was the wrong word to use =)

  • #7
    Senior Coder
    Join Date
    Jan 2007
    Posts
    1,648
    Thanks
    1
    Thanked 58 Times in 54 Posts
    Why reinvent the wheel?
    When that wheel is square, I prefer to reinvent it.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •