Sunday, June 5, 2011

The Responsibilities of Web Front End

In last article (Data Exchange Format between Web Front End and Web Back End), we talked about data exchange formats between Web Front End and Web Back End. And In web application, we choose JSON as data exchange format.

In Role Division in the development of Web Application, we mentioned that our goal is to implement parallel development between Web Front End and Web Back End. After determining the format of data exchange – JSON, we need to clarify the responsibilities of Web Front End.

In my experience, I think the responsibilities of Web Front End should be as below.
1.       Validate request
2.       Transfer request to Web Back End
3.       Render response from Web Back End

After clarifying the responsibilities of Web Front End, now we can start to implement the Web Front End part of parallel development of Web Application.

No comments:

Post a Comment