Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dynamodb session handler #16

Closed
andy3rdworld opened this issue Aug 29, 2013 · 11 comments
Closed

dynamodb session handler #16

andy3rdworld opened this issue Aug 29, 2013 · 11 comments
Labels
feature-request A feature should be added or improved.

Comments

@andy3rdworld
Copy link

Where is the best place (laravel code file) to drop in AWS dynamodb session handler in laravel 4, and any suggestions on changing configs to accomodate?

http://docs.aws.amazon.com/aws-sdk-php-2/guide/latest/feature-dynamodb-session-handler.html

Many thanks

@jeremeamia
Copy link
Contributor

It looks like the SDK's session handler does not implement the same interface as what Laravel expects. I'll work on an adapter, as well as some config changes, before I release version 1.1 of the service provider.

@andy3rdworld
Copy link
Author

Nice. The only remaining db part then is the Laravel Auth implementation which is set up to connect to a relational store. With DynamoDB and SimpleDB Auth adapters authentication could use any AWS db (RDS already works out of the box of course via simple config changes).

@jeremeamia
Copy link
Contributor

I was looking at the session stuff this morning. I'm not sure how long it'll actually take me to write it. The integrations between the Laravel and Symfony session code are pretty interesting, and I'm not sure how compatible the SDK's session handler is with the underlying Symfony session component. I will need some more time and some community help on that one. I'm going to go ahead with the 1.1 release without the session integration.

Laravel Auth hooks sound interesting as well. Any chance that you might want to work one of these items?

@andy3rdworld
Copy link
Author

Yeah I'll start working on Auth.

@andy3rdworld
Copy link
Author

Alright, I wrote the Auth hooks. Perhaps I should wait to see 1.1 release to get an idea of where it would be most useful to include the new files (not sure how much things have changed on your end)? In any case, if it makes sense to push something up now, let me know.

@jeremeamia
Copy link
Contributor

Cool! I tagged 1.1 yesterday, so you can rebase on master and give it a shot.

@davidyao
Copy link

So is this issue solved? or any workaround?

@jeremeamia
Copy link
Contributor

No, I've never had a chance to look into it. I'd love it if someone from the Laravel community helped me out with it. I am not too familiar with how the Laravel or Symfony session handlers differ from the normal PHP interface, but I assume there must be away to adapt it.

@taylorotwell
Copy link

We implement the SessionHandlerInterface from PHP so it should work pretty easily.

@jeremeamia
Copy link
Contributor

Closing due to inactivity.

@inxilpro
Copy link

I'm working on a solution for this:

#114

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature-request A feature should be added or improved.
Projects
None yet
Development

No branches or pull requests

5 participants