Smart-Teleprompter 5
After about a week of trying to fix the code, I finally had to give up on my endeavor. For
now, this piece is broken simple because mailing services have rules against spam. I found this
very difficult to get around and will keep looking, but due to a lack of time, I had to use my time
for more important features.
Database
When writing this program, I decided using MySQL would make the most sense to
connect to my PHP code. This choice is mainly for the users and to keep a list of the files. The
files themselves are saved as text files, which I will explain in more detail below.
The diagram below explains the database well. First you can see the user table. A field
saves hex numbers of the colors of font and background of the teleprompter. This consistency
allows users to make sure they are always reading the same way when they are logged in. The
field for font size is included as well, which saves an integer of the size. It also includes the field
Font_Pref which is the actual font. These default immediately to be white on black with a font
size of 200px. The font family is Arial.
The manager of table shows who oversees whom, which allows the person to see all the
files of the person they oversee. This setting can be changed in the edit user to add subordinate.
A manager can only be in the same company, and all users must be in one company.
The scripts in read by and in test are used to get time data. They allow calculations to
read the test scripts and find the words read per minute. The word count and calculation of time
reading allows people to write more efficient scripts. The test scripts and the files are similar and
save where the file is to make sharing easier to save as well as listing files easier.