Hack Forums
[PHP] VarManager - Inspired to Variable Managment in JSON. Supporting More Of 70K Variable - Printable Version

+- Hack Forums (https://hackforums.net)
+-- Forum: Tech (https://hackforums.net/forumdisplay.php?fid=444)
+--- Forum: Coding (https://hackforums.net/forumdisplay.php?fid=151)
+---- Forum: Web Development (https://hackforums.net/forumdisplay.php?fid=183)
+---- Thread: [PHP] VarManager - Inspired to Variable Managment in JSON. Supporting More Of 70K Variable (/showthread.php?tid=5642420)



VarManager - Inspired to Variable Managment in JSON. Supporting More Of 70K Variable - A1ema1akra - Jun 8, 2017

Var Manager


About:
Spoiler (Click to View)

Sample Code:
Spoiler (Click to View)

Download:
Spoiler (Click to View)

Donate:
Spoiler (Click to View)

Good Day! :D





* - Charger - Jun 8, 2017

Cool project but you should never, ever, ever, ever, ever, ever, ever, ever, ever need that many vars.


* - A1ema1akra - Jun 8, 2017

(Jun 8, 2017 05:24 PM)Charger Wrote:  Cool project but you should never, ever, ever, ever, ever, ever, ever, ever, ever need that many vars.

Thanks! I mean, to that project, it can support up to 70k variables or more. regards!


* - Mark Zuckerberg - Jun 8, 2017

(Jun 8, 2017 09:56 PM)Yani Wrote:  U lil multi

https://hackforums.net/member.php?action=profile&uid=3480403

"Reason Closed: Requested Closed"

I don't believe it's against the rules?


* - RumbleFrog - Jun 9, 2017

I don't see the point of this. It's easily replicable through relative array and you have finer control over it


* - Hash G. - Jun 9, 2017

You're reading 'variables' from a file - file you're closing and opening at each call to any of your methods. This will be horribly slow and really ressource intensive. And hella stupid as well.

I mean, it's a nice attempt but please don't do that and don't use that. It's not really secured as well. Also, don't call encrypting a base64_encode(utf8_encode($thing)) please. This is encoding, not encrypting.
Oh and try to follow the PSR when doing PHP code.


* - Zippy™ - Jun 30, 2017

Why would you save the data in a FlatFile? This can be easily done via just a Database?


* - Charger - Jun 30, 2017

(Jun 30, 2017 06:06 PM)+Haze Wrote:  why?

Name one application that needs 70,000 variables set on startup.


* - +Haze - Jul 1, 2017

(Jun 30, 2017 06:48 PM)Charger Wrote:  Name one application that needs 70,000 variables set on startup.

that didn't answer my question...

also, not sure why my post before was deleted. hmmm