Should I use views or write my own module?
I just spent a good 8 hours attempting to write a custom drupal module that provides search functionality over a content type. It was a keyword and category restrictors.
Taking a break from coding, I did a 2nd pass at the views module. 5 minutes later, I had completed the functionality of my module!
I think I am going to use the views module for my functionality, but I feel kind of like I am taking the easy road here, but this is an exception post on why to use views over a custom module. For me, it boils down to maintainability. Do you want to maintain 1000 lines of code over the next several years?

Comments
Post new comment