Skip to main content

All Questions

0 votes
2 answers
303 views

Custom error handling

I'm trying to figure out the best way to handle custom errors in my application. Option 1: if(expr) { } else { $_SESSION['error'] = "Some message describing the error"; } Option 2: if(expr) { } ...
mister martin's user avatar
3 votes
3 answers
1k views

Sites with overlapping code-bases. Developing multiple sites with little changes

I have to develop 3 different sites video.com for hosting video audio.com for hosting audio docs.com for hosting docs. domain names for example only Almost 80% of the functionality is the same for ...
aWebDeveloper's user avatar
7 votes
4 answers
3k views

What is a good starting point for small scale PHP development and would a framework be overkill?

I'm a web development intern working on a small PHP application (just a few pages with a little database access) which has fast become a couple of very non-DRY, non-OO, individual scripts. A ...
Michael Gruber's user avatar