Publishing Files

Is it advisable to publish the custom CSS and JS files to the assets folder or is it fine to leave them in a web-accessible folder. The reason i ask this is because Yii itself publishes the jquery and jquery UI folder.

How to publish a css file and its associated image file into a common folder?

The files (css, js) that are in the framework or custom components should be published, because the framework folder could be in a non web accessible folder…

Custom css, js files can be put directly under a web accessible folder.