I'm working on my own little project, just created login / registration page! For now my intent is to build a crimes page, steal page.. basic mafia page stuff to be honest. Before I tackle these pages I have a few questions:
I noticed in Hall's tutorials that he doesn't use PDO or OOP. I know a bit of PDO so I'm going to try and integrate this in my programming (also for security reasons). However, I'm not at all familiar with OOP and was wondering if it's the standard nowadays? If not, what would you recommend to have simplified scripts? A lot of functions I bet?
Next I want to know if it's smart to make queries every time money changes (or exp, ..) or would it be best to store this in a variable until a session expires? I bet this isn't smart since a session can expire because a user has been idle for too long, instead of pressing the log out button (which would store the vars in the database (updating cash, exp etc)).
I got some more questions I think but I have no clue for a sec, too baked my bad! Hope this is clear