Yii Framework Forum: Assets - Yii Framework Forum

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • This topic is locked

Assets Rate Topic: -----

#1 User is offline   dereker 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 12
  • Joined: 06-April 09
  • Location:Ancona - Italy

Posted 11 May 2009 - 01:46 PM

I do not understand the benefits of the use "assets".

Can you help?

Thanks in advance.
0

#2 User is offline   qiang 

  • Yii Project Lead
  • Yii
  • Group: Yii Dev Team
  • Posts: 5,892
  • Joined: 04-October 08
  • Location:DC, USA

Posted 11 May 2009 - 04:17 PM

Assets are used mainly by components that need to be reused or re-distributed in other projects. They are private resource files (images, js, css, etc.) that need to be Web accessible. With assets, a component can be used easily without worrying about what files to be copied to public directories and what their URLs are.
1

#3 User is offline   dereker 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 12
  • Joined: 06-April 09
  • Location:Ancona - Italy

Posted 12 May 2009 - 04:30 AM

Thanks for reply!

Good work!
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • This topic is locked

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