22.04.2018, 22:08
So, the thing is I'm the usual guy who makes UCPs the easy/old way:
Include and start MySQL connection from another file
Query contents (Eg. player inventory) from MySQL database
echo retrieved stuff
And so, every section of the UCP is a PHP file and well, everyone says that's the 2005 way, and it looks like it's true. Everything ends up also being "static" as well. (to better explain this, here's a well made explanation of this by Southclaws).
Is there any advice on where to actually start with this? Since I'm planing to make a new script for SAMP, and would like to experiment with this new things that actually put all the logic on the browser and the data gets retrieved in json (I find that pretty amazing) and actually start learning something modern and new with the help of SA-MP motivating me.
I've heard of React, Laravel and stuff like that but I don't really know where to start, specially also if the SAMP server should also throw away MySQL in favor of things like Redis and those new things (you actually hooked my up with this type of reads Southclaws, thanks). Is there any starting point I should follow or that you would recommend me?
Thanks!
Include and start MySQL connection from another file
Query contents (Eg. player inventory) from MySQL database
echo retrieved stuff
And so, every section of the UCP is a PHP file and well, everyone says that's the 2005 way, and it looks like it's true. Everything ends up also being "static" as well. (to better explain this, here's a well made explanation of this by Southclaws).
Is there any advice on where to actually start with this? Since I'm planing to make a new script for SAMP, and would like to experiment with this new things that actually put all the logic on the browser and the data gets retrieved in json (I find that pretty amazing) and actually start learning something modern and new with the help of SA-MP motivating me.
I've heard of React, Laravel and stuff like that but I don't really know where to start, specially also if the SAMP server should also throw away MySQL in favor of things like Redis and those new things (you actually hooked my up with this type of reads Southclaws, thanks). Is there any starting point I should follow or that you would recommend me?
Thanks!