Florida Institute of Technology
ECE3553-02 Multifarious Systems 1
Project: jax.integsys.net
James Ranyak
Intro
The main purpose of this project was to learn how to actually make a website that a user can log into.
Constraints
- An actual website with it's own domain name
- Login feature for users
- Looks fairly decent
Tools
This is what was used to build the site locally.
- NetBeans 8.2
- MySql Server
- MySql Workbench
This is what was used to port it off to a webhost
- 1 and 1 Web Hosting
- FileZilla
- Remote SQL database
How the login feature works
When the user accesses the site a session is started
- The session carries across all windows
- Site looks for a session token
- If there is no session token then the user is not loged in
How does the user get a session token?
- First by logging in
- The rest of the site looks for this token granting access if it exists
- When the user logs in, the site runs the login information against a table in a database
- If the user is in the table then they get a token, else they don't
What if the user is not in the database?
- The user must register
- The site validates the user's register info
- If valid, the site takes info and inserts it into a members table
- Then the user can login
Design
Walk through
- Barebones, get the feature to work
- Build around the feature
- Make a standard header and a uniform index page
- Make more pages and make them interesting
Random details
- Colors: #ff0044 (red pink), #e5ff00 (green yellow), cyan and mediumspringgreen for the header, and #4d005a (deep purple) and #25d697 (green moss)
- This page is lots of p, h1,2,4, ul and li elements (could have been automated)
- Registration page is tables and forms
- Play page is lab 7 memory game ontop of this index page minus all the elements
- The index template uses php to modify the sign-in indicator and button
- Button uses two different functions depending on if the user is logged in
Next Steps
This site is obviously not finished and there could be better practices implemented here.
- There is no security
- Who is logged in?
- No statistics
The site could be more exciting.
- More games
- Forums
- News
- More database automation