What's one of the first things a web application needs? A login and user management, of course! It is easy, just an html page with a form, a simple server-side script that checks that the password is correct, and maybe a link to log out a user.
Or not.
Our software has user accounts, which are tied to a company. Which in turn might be tied to a larger organization. Each user account might have multiple roles, both administrative and operative. A user has status, dashboard, history log, and a lot of other information.
Just to present a simple login form (just presenting, not even submitting), we need a template view, a template processor, a service class, and a bunch of Java libraries. And little things like a Java Application Server and an actual server that hosts all of the mentioned stuff.
In addition the login function needs a database server, some tables (hopefully with some data, too), cryptography algorithms, another view, multiple domain classes, service logic, and database access classes for our domain classes.
This leads to a rather complex setup just for a login. Good thing our application does a lot more than just logs users in and out!
(After seeing this awesome image, it probably won't be unclear to anyone why I am a programmer and not a graphic designer.)

No comments:
Post a Comment