Backend

Better separation of code from presentation.