Commit graph

7 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
74257193f1 Built out logout procedure. 2013-12-16 18:24:39 -05:00
Josh Sherman
29987e8640 Finished user creation step
Added new modules to handle routing if the user is logged in or not. Closes #2
2013-12-16 17:19:44 -05:00
Josh Sherman
cedc38917a Finished up user creation in Redis 2013-12-16 15:37:07 -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
Josh Sherman
061d7aee73 Laying out redis goodness 2013-12-15 12:29:18 -05:00