My first post here. Any help is greatly appreciated. I am quite new to Drupal but I have plenty of PHP/mysql experience. My site contains a collection of game records for a particular game which is stored in database already. I have the following key functions in my old site:
search_by_player.php?...... several ways to search, all presenting a list of games
view.php?gameid=xxx to present one particular game
I've already done my homework in Drupal, including reading the "Beginning Drupal 7" book and studying online for 2 weeks. I successfully created a new module, wrote code for a couple of blocks (some including dynamic contents generated from my old database). But I have several technical questions:
(1) How to organize files in my new module. In the old CMS, I simply created multiple PHP files as shown above and created menu items as entry points to use them. I am not clear how to organize these custom PHP files in a drupal module.
(2) An individual game sounds like the concept of 'node' in Drupal. On one hand I don't want my games to be 'node' because I do not want to inherit things like 'title', 'uid', revision history, etc. that are not relevant to my data. On the other hand, I'd love to use the Drupal facilities, such as comments (allow users to comment on individual game), access control (which types of user can see which game?), and many others. So what's the best way to present my games?
(3) My final question is about filtering user input. Let's say in a forum post or a comment, my user type in text in a pre-defined data format, for example ................. I already have a PHP class to convert the data between the tags into an image so that user can virualize the data. How do I incorporate this filter in drupal?