Gpower2 / Mangetsu

0 stars 0 forks source link

MySQL database wrapper class #2

Open Gpower2 opened 11 years ago

Gpower2 commented 11 years ago

A class that contains all the functionality for interacting with MySQL database. It should contain functions that:

LelouchVII commented 11 years ago

Really? Doesn't php implement any libraries for that? We got to write our own?

I could do this in C#. If php is as strong in some departments I could for sure do this. I haven't much experience with php so any comments will be appreciated. Else..the usual way. We ain't mechanics for nothing!

Gpower2 commented 11 years ago

I guess you're referring to an Entity Framework style of library, an ORM stack. I'd prefer to avoid such an implementation, since though it's really useful for small and medium sized applications. it can really bring down performance at large databases. In our case, we have ~17000 users and hundreds of thousands posts and private messages.

In any case, I'd prefer to write this one if you don't mind.