jonpugh114 Posted August 9, 2011 Share Posted August 9, 2011 Hello, I've been recently getting into OOP, and trying to put some classes together to speed up development. My next target is to simplify working with a database, especially when it comes to pagination. Has anyone got any suggestions of an approach I could use to simplify the whole process with compromising flexibility? Thanks, Jon Link to comment Share on other sites More sharing options...
HartleySan Posted August 10, 2011 Share Posted August 10, 2011 I think there is already an OOP version for database connection objects in PHP. You might want to look into those first, see what they do, and if they don't do what you want, think about expanding on those or creating your own class with ideas based on those. Link to comment Share on other sites More sharing options...
Antonio Conte Posted October 6, 2011 Share Posted October 6, 2011 Agree with Jon here. Check out Mysqli. The class i available both in procedural and object-oriented style. Link to comment Share on other sites More sharing options...
Larry Posted October 7, 2011 Share Posted October 7, 2011 Or you could go with something like PDO, which isn't specific to any one database application. Link to comment Share on other sites More sharing options...
Recommended Posts