Skip to main content

All Questions

Tagged with
2 votes
2 answers
84 views

ORM class for Posts

I'm new to PHP OOP and I'm making some tests. I have 2 classes: database and posts and the two interact with each other. Class Database: ...
eskimopest's user avatar
1 vote
1 answer
4k views

PDO Dynamic query builder

I'm trying to improve my php oop programming skills. As an exercise I wrote this class that will generate and execute dynamic sql queries. I've also writed a class to call various sanitization filters ...
user9741470's user avatar
1 vote
1 answer
820 views

Data Access Layer (object oriented)

I am using a global class (like a global model) that acts like a sql abstraction layer for my application. I am using it without problems now, but since the application I am creating is getting bigger,...
lightning_missile's user avatar
7 votes
2 answers
1k views

PDO wrapper structure

Is this PDO wrapper structure dynamic? Can using self:: rather than $this cause problems? ...
Khalid Okiely's user avatar