Marsh interview question

how the frontend and backend communicate in ExtJS