The territorial economy: a general approach in order to understand and deal with globalization