The document describes the BEAR framework architecture, which follows RESTful MVC principles. It has 3 main components: Page (Controller), Resource (Model), and View. The Resource manages data access from databases, files, XML etc. and is accessed by the Page. The Page acts as a controller and returns a View for the client. The framework supports building RESTful APIs and caching of Resources and Pages to improve performance. It aims to provide a uniform interface, client-side caching, and stateless servers.
3. Resource (Model)
Page (Controller) DB File XML Page
View
Client Resource
RO
read User?id=5
Private CRUD Resource Access
Code
Header Page
Body
View GET /user?id=5 RO
Public HTTP Access
HTML Bot
PC JS Socket CLI REST
JSON Mobile
Game
iPhone
XML