Commit graph

3 commits

Author SHA1 Message Date
Josh Sherman
c1817a24be Dropped Redis model, rebuilt without it
The model was getting a bit more complicated than I would have liked. Went back to using straight redis commands and moved some of the user model logic into the custommodule.
2013-12-17 00:46:47 -05:00
Josh Sherman
9fe9eb7acf Working on this RedisModel class
Got it working fairly well, just trying to get all of my assumption / opinions baked in. Still need to come up with a decent way to generate session hashes to help avoid session collision . Incidentally Retwis seems to be susceptible to this.
2013-12-15 22:59:39 -05:00
Josh Sherman
7063b7aafe Built a simple wrapper for phpredis
Not every page / page view will need to connect to Redis, set it up so the connect isn't made until a call is made, lazy connect if you will.
2013-12-15 16:30:12 -05:00