I'm new-ish to programming, especially for the web. I've taken a couple of college level courses in C++ as well as some VB. Mostly when I code it is in Assembly so objects aren't really an issue.
So now I'm trying to teach myself some PHP and MySQL and I have some of the fundamentals. I'm trying to create a game that will store values in a db and adjust those values when choices are made, on random events, etc. While laying it out I'm thinking "make this OOP" but I don't know WHY.
If I create a new object and fill its variables does that information reside in the server's cache until changed? If not then why would I use a session for instance and reload the object's variables every time?
Ungh. I feel like I'm close to being able to do something (though with a lot of Blood Sweat and Tears) but I'm missing ... SOMETHING. What?!
<img src="/images/graemlins/wall.gif" alt="" />
Help? At least a point in the right direction?
Thanks!