It is generally believed that writing activities can be either  'writing for learning' or 'writing for communication'.