Hi there,
I've been entering php into the 'body' field of a 'page' to implement the site-specific functionality of my site (for example to access and display data from a custom database), while relying on drupal modules/db for general website tasks.
Is this a decent plan? Or should I really be making modules to implement my site-specific functionality?
In future releases I want to allow users to enter information into my custom db and view information others have entered into the custom db.
I thought my plan to use the body field for php was just fine until I started reading about the built in security features drupal provides, and wondered if I should be writing my site functionality as modules to take advantage of those features?
What do you folks do? If you've tried both, what are the pros/cons of each?
Thanks!
Thalassa
Comments
Better to write module for flexible functionality
hi,
If you want to make the functionality better, e.g. in your case if you want pager or/and any data updatation it is good practice to use drupal modules feature.
Thank you for your thoughts...
Thanks!
Thalassa