I have a really simple and basic question.
First of all, I have to mention that I am pretty new to web applications and GIS. I am working on a web application using Openlayers, Postgresql/postGIS and pgrouting. I was wondering why use a database when I can insert all of my data into OpenLayers as Geometry Points, assuming I know the routing algorithms and I need only geometry points and linestrings?
What are the advantages of using a database in my case? Generally, what online GIS systems need a database?