Yii Framework Forum: Best place/way to handle dynamic params? - Yii Framework Forum

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Best place/way to handle dynamic params? Rate Topic: -----

#1 User is offline   kaygee79 

  • Junior Member
  • Pip
  • Yii
  • Group: Members
  • Posts: 49
  • Joined: 01-December 10

Posted 22 December 2010 - 08:02 PM

Need to store a bunch of dynamic 'global' vars that I need to access depending on where the user has entered the site. These will initially be from the db, probably cached somehow, so I'm thinking of just throwing them into an array of some sort. What would be the best way of handling this? Storing this array in a component? Or is there a better way of doing this?
0

#2 User is offline   Gustavo 

  • Master Member
  • Yii
  • Group: Moderators
  • Posts: 916
  • Joined: 27-July 10
  • Location:Curitiba - Brasil

Posted 22 December 2010 - 08:04 PM

check out this post
It will be helpful
--
Extensions:
translate modue - module to handle translations
multiActiveRecord - db selection in models
redisCache - redis cache component
mpCpanel - interact with cpanel api
mUploadify - use uploadify uploader in your application

Gustavo Salomé Silva
0

#3 User is offline   kaygee79 

  • Junior Member
  • Pip
  • Yii
  • Group: Members
  • Posts: 49
  • Joined: 01-December 10

Posted 22 December 2010 - 10:18 PM

Great thread, lots of different options and solutions. Thanks!
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users