Hi all:
My usual way of working on web development is to split the project into three tiers, which are:
- Data Tier - Accessing Relational Database of all sorts, based on requirements
- Server Tier - providing services to client-side controller calls.
- Client Tier - Rendering the view as well as loading the controller javascript.
Basically from my understanding, this approach is of a MVC nature, that is, the controller javascript calls the model on server-side and expects the results from there. Once results received, controller then invoke proper rendering methods to modify the view, which is the XHTML/CSS on browser to display.
However, I am not sure of this can also be called SOA(Service Oriented Architecture)?
I can swap the server-side language easily to another one, by only changing the data access module since the communication between server and client is done via JSON. I reckon this means a loose coupling between server and client, as server only focuses on providing services. Web Services via SOAP can also be introduced, but I feel like JSON more since it is easier to implement based on my knowledge.
Any thoughts?