Hey guys, currently working on a project for school where we are building a small web application, very basic stuff... Login page, different accounts, some uploading and really just trying to keep things dynamic while utilizing a flat file database...
I have a question with regards to the login page. I always hear more experienced developers telling me to keep things modular. I am trying to have my logic and data seperated, and I will be building a lot of functions for this site.
However, the functions are for things that I will be calling I'm various areas of the page. The login though, is just a single instance on the first page the users come to.
In your guys experience, would you create a login function? Or just code it right at the top of the login page?
Any input you guys have would be greatly valued.
Thanks for your time,
J