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

Using Redis #874

Closed
asofter opened this issue Sep 13, 2013 · 7 comments
Closed

Using Redis #874

asofter opened this issue Sep 13, 2013 · 7 comments

Comments

@asofter
Copy link

asofter commented Sep 13, 2013

Hello,
I want to use Redis in Yii2, but only for few models, not for all.
How I can use it? I heard that basic classes for Redis are done.

@samdark
Copy link
Member

samdark commented Sep 13, 2013

Check this branch https://github.com/yiisoft/yii2/tree/redis

@asofter
Copy link
Author

asofter commented Sep 13, 2013

I know about this branch, but can you write small example with Redis using?

@samdark
Copy link
Member

samdark commented Sep 13, 2013

@cebe can you help with it also merging master into redis branch? Thanks.

@cebe
Copy link
Member

cebe commented Sep 13, 2013

Redis active record is still work in progress. There are many things that do not work and are not finished conceptually. Only connection and RedisCache are ready and already on master branch.
RedisConnection allows to run any redis command you want.

@cebe cebe closed this as completed Sep 13, 2013
@cebe
Copy link
Member

cebe commented Sep 25, 2013

It's not final but a working implementation is at #905

@cebe
Copy link
Member

cebe commented Nov 23, 2013

@asofter redis AR is ready now. See example in #905 on how to define a record.

@asofter
Copy link
Author

asofter commented Nov 23, 2013

It's a really good news. Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants