Component vs. Plugin
Conceptually, I am getting a bit confused as to when do I use a component and when do I just hook in my code as a plugin. Can somebody elaborate a bit into when is the proper type for you to use the skeleton component?
Right now, it seems like anytime there is a new type of data, it would be a component. So Friends is a type of data, as is Activity and Groups etc. So if I wanted to users to list the books they read, Books would be a prime candidate for a component, is this correct?
But what if I want to sort the activity stream differently, let’s say based on some extra parameter that I set (like how many “Up” votes), would that be something I add to my own customized theme? But then the “Up” vote functionality itself is a plugin?
Still confused how all these pieces come together.
Lastly, the Skeleton component is not updated to 1.5’s BP release right?
- The topic ‘Component vs. Plugin’ is closed to new replies.