Miko Posted July 27, 2009 Share Posted July 27, 2009 Hi, I'm getting a good grip with the PHP basics now Now I want to go further on by off course learn OOP PHP, I've Googled a bit to find some documentation, and documentation I found. I understand the logic of OOP that's no problem, but for the technical side I would like to try to build an object that fetches/connects to a mySQL database, in short, how to create a query in an object? I didn't find anything about that Link to comment https://forums.phpfreaks.com/topic/167639-query-in-class/ Share on other sites More sharing options...
Daniel0 Posted July 27, 2009 Share Posted July 27, 2009 You could look into patterns such as Active Record, Data Access Object and/or Table Data Gateway. There is really no definite solution. Link to comment https://forums.phpfreaks.com/topic/167639-query-in-class/#findComment-884058 Share on other sites More sharing options...
Andy-H Posted August 13, 2009 Share Posted August 13, 2009 http://toys.lerdorf.com/archives/50-Using-pecloauth-to-post-to-Twitter.html#extended I found that helped me a little in understanding OOP PHP but I still haven't fully implemented any OOP code into a website. Link to comment https://forums.phpfreaks.com/topic/167639-query-in-class/#findComment-896962 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.