Difference between revisions of "Platform Team/Sugar Network/Architecture"

From Sugar Labs
Jump to navigation Jump to search
m
Line 1: Line 1:
See also [[Platform_Team/Sugar_Network|introduction page]] and [[Platform_Team/Sugar_Network/Concept|basic concepts overview]].
+
See also the [[Sugar_Network|introduction page]] and the [[Sugar_Network/Concept|basic concepts overview]].
  
 
== Summary ==
 
== Summary ==

Revision as of 12:22, 17 December 2011

See also the introduction page and the basic concepts overview.

Summary

The technical decisions are tailored by:

  • Real needs of deployments like one-teacher schools in Peru and should be as simple as possible; Keep it simple, wise man!;
  • The system, from users point of view, should just work proving high-level services that cover the full collaboration circle that should exist within Sugar learning community;
  • It is all about creating high-level services that use regular client-server interaction model with one addition, an optional need to make a synchronization between a distributed server and the main one, the Mothership; In other words, it is all time about having a chain of Motherhip <-> [Distributed Server] <-> Client interactions;

Overview

The Sugar Network consists of different types of parts:

The Sugar Network supports Internet and Internet-less environments. In both cases, the participant's experience is the same. The only difference is the amount of time when all contributors will see the same picture, in case of the Internet, it will happen in live mode, for Internet-less cases, after synchronizing all school servers.

Server

In all cases the server API is the same for clients. But depending on connectivity, client might be connected to the Mothership or to an intermediate server.

Client

Client application that runs on machines of people who take part in the Sugar Network. Its functionality is split into:

The frontends are lightweight, think about Web browsers vs. standalone applications, that delegate the whole work to the DBus service that has high-level API. The reasons to do that are:

  • Let it possible to create as many as people want frontends, trying to satisfy different types of purposes, full featured frontend, simple but-still-useful frontend, Hello, world! frontend to let other people create new one, etc.;
  • Use DBus service API in Sugar activities to integrate them to the Sugar Network.

DBus service

Frontend

The default frontend implemented using Web technologies to:

  • Make it possible to reuse Sugar Network in any Web browser in any Desktop Environment, i.e., not only from Sugar Shell;
  • Using existing Web methods might make frontend developing easier;
  • Involve Web developers to Sugar community;

At the same time it is a local Web application. It sounds a bit confusing, but this decision is based on:

  • Local Web applications serve only one user and are much simpler than singular applications that are intended to serve thousands of users simultaneously;
  • Having simple and clean designed code, it will be easy for doers to learn, change, reimplement the frontend.

References