I'm a J2ee engineer by trade and have set out to re-learn php. Instead of creating a simple CRUD application, I would like to create a free, light weight, MySql/Php forum software that can be easily "installed" on ones own website. I have never created distributed software outside my office so this is a bit new to me. What should I include with the software besides the code? Thus far I was thinking of including:
A UML Diagram
A database schema diagram
MIT license (or whichever I choose)
Files to create the databas
What else? Also, I wanted to include batch files that create the database as I feel it would give my software a more professional look. However, then my software would be bound by OS, and also the batch files would be useless to those who use paid, online hosting. Should I just include php files that construct that database?
What else should I include? I plan on writing a custom error logging system as well. Also, I'm use to using prepared statements in java, thus not having to prevent against SQL/XSS injections manually. Would something as simple as mysql_real_escape_string(strip_tags(trim($data))); adequately defend against code injection?