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

关于如何读取preferences #1

Open
ben7th opened this issue Aug 13, 2010 · 1 comment
Open

关于如何读取preferences #1

ben7th opened this issue Aug 13, 2010 · 1 comment

Comments

@ben7th
Copy link
Owner

ben7th commented Aug 13, 2010

每个工程都需要能够读取 user 的 preference
而且 preference 应该是 Lazy Create 的(需要时才创建)
需要编写一些公共基础代码来实现这些特性

每个工程都应该可以以 user.preference 来取到用户偏好信息

执行 user.preference 时 如果数据库表里还没有相应记录的话 就创建 preference 记录

http://gist.github.com/522333

@ben7th
Copy link
Owner Author

ben7th commented Aug 13, 2010

  • 用户注册登录
  • 其他工程

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

1 participant