looking for a good way for manageing CSS and JS files

In a Yii-ish way, where to put CSS and JS files and how to place them into webpages?

I mean demos/examples of the assetManager class