Just keep in the aiki_configs

Jon

On Wed, Feb 8, 2012 at 12:22 AM, Jakub Jankiewicz
<[email protected]> wrote:
> Public bug reported:
>
> Constants should be save in database (the reason why is that we will
> have one code and that is driven by data) Right now [constans] are in
> few places in the code (2 or 3), there should be one place where
> contants are expanded and they should be in the table.
>
> aiki_constants (id, name, value)
>
> username => $aiki->membership->username
> userid => $aiki->membership->userid
>
> the value should be API property API function (extensions should work
> too) or string.
>
> and admin interface should alow to change them, so user could create
> constant [foobar] that expand to $aiki->userClass->function(); (the
> reason why I want alow users to change default constants is because I
> think that everything should be changeable by users, and new constants
> can be usefull)
>
> backend code can be put right now are wait until new parser. Interface
> to set them in Admin Panel can be added when backed is implemented.
>
> ** Affects: aikiframework
>     Importance: Medium
>     Assignee: Jakub Jankiewicz (jcubic)
>         Status: New
>
> ** Changed in: aikiframework
>   Importance: Undecided => Medium
>
> ** Changed in: aikiframework
>     Assignee: (unassigned) => Jakub Jankiewicz (jcubic)
>
> --
> You received this bug notification because you are subscribed to
> aikiframework.
> https://bugs.launchpad.net/bugs/928344
>
> Title:
>  Constans should be pulled from database
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/aikiframework/+bug/928344/+subscriptions


-- 
Jon Phillips 王✳爻气 http://fabricatorz.com ✳ skype: kidproto ✳ irc: rejon
+1.415.830.3884 (global) ✳ +86-187-1003-9974 (beijing)

-- 
You received this bug notification because you are a member of Aiki
Framework Admins, which is subscribed to aikiframework.
https://bugs.launchpad.net/bugs/928344

Title:
  Constans should be pulled from database

Status in Aiki Framework:
  New

Bug description:
  Constants should be save in database (the reason why is that we will
  have one code and that is driven by data) Right now [constans] are in
  few places in the code (2 or 3), there should be one place where
  contants are expanded and they should be in the table.

  aiki_constants (id, name, value)

  username => $aiki->membership->username
  userid => $aiki->membership->userid

  the value should be API property API function (extensions should work
  too) or string.

  and admin interface should alow to change them, so user could create
  constant [foobar] that expand to $aiki->userClass->function(); (the
  reason why I want alow users to change default constants is because I
  think that everything should be changeable by users, and new constants
  can be usefull)

  backend code can be put right now are wait until new parser. Interface
  to set them in Admin Panel can be added when backed is implemented.

To manage notifications about this bug go to:
https://bugs.launchpad.net/aikiframework/+bug/928344/+subscriptions

_______________________________________________
Mailing list: https://launchpad.net/~aikiframework.admins
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~aikiframework.admins
More help   : https://help.launchpad.net/ListHelp

Reply via email to