What would be the guideline for using a component or module? Is the component where I use to bloat my model with? BTW, I'm using Yii Framework.

Thanks.

Recommended Answers

All 2 Replies

A module is going to be an almost self-contained application made of models, views, controllers, components etc.

Oh... okay. So components are just like any other library? Does it need to be application specific or independent?

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.