473,382 Members | 1,583 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,382 software developers and data experts.

A good database class

Markus
6,050 Expert 4TB
Does anybody know of a good database class? A well documented one?

Cheers.
Jul 1 '08 #1
3 1263
pbmods
5,821 Expert 4TB
Heya, Markus.

MDB2 is the preferred package among PEAR aficionados (http://pear.php.net/package/MDB2).

I generally prefer to roll my own. I recently wrote one for MySQLi, though I hardly consider it anywhere near complete. I'll post it in a second; it's... well, you'll see. My code is always well-documented (:

[EDIT: Posted. It probably won't work outside of the framework that it is a part of, but it should give you a pretty good idea of what's going on inside my head. Post back if you have any questions.]
Attached Files
File Type: zip Core_DB.zip (9.2 KB, 77 views)
Jul 1 '08 #2
Markus
6,050 Expert 4TB
Heya, Markus.

MDB2 is the preferred package among PEAR aficionados (http://pear.php.net/package/MDB2).

I generally prefer to roll my own. I recently wrote one for MySQLi, though I hardly consider it anywhere near complete. I'll post it in a second; it's... well, you'll see. My code is always well-documented (:

[EDIT: Posted. It probably won't work outside of the framework that it is a part of, but it should give you a pretty good idea of what's going on inside my head. Post back if you have any questions.]
I think I'll have a look at the PEAR suggestion. I had a look at your files, and, well, Josh, they're made by you: There's not a chance in hell I'll understand what's going on in your head, nor your writing.

Thanks.
Jul 2 '08 #3
pbmods
5,821 Expert 4TB
Another satisfied customer.

Good luck with your project, and if you ever need anything... like you need me to tell you (:

[EDIT: Not that this thread is closed or anything; if anybody out there has a suggestion for a different DBAL, post away!]
Jul 3 '08 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

6
by: Randy Yates | last post by:
Hi Folks, I'm looking for something that is completely independent of the MSVC++ Dev Studio environment, something that will compile and run under win32 using the mingw distribution. A class...
25
by: Tim | last post by:
Dear Developers, Firstly, I'm not sure where this post should go so I apologise if this is in the wrong group or area. I'm currently interviewing for a vb.net developer who doesn't mind...
3
by: Rob Thomas | last post by:
Hi, I'm just getting started with real OO design and programming and am after a little advice. Basically, I've got a Customer class and an Agency class. The Agency class inherits all the...
4
by: OldMacDonald | last post by:
Was wondering if anyone uses constants for field names coming from the db stored procedure whihc return the query result? If the field name in the DB changes, it surely helps but the work around I...
4
by: werasm | last post by:
I've read the following somewhere: "Friendship is the strongest form of coupling there is. That is, you introduce a high degree of dependency when you declare a friend, since the friend becomes...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.