Difference between revisions of "Sugar Network/Concept"

From Sugar Labs
Jump to navigation Jump to search
 
(86 intermediate revisions by 3 users not shown)
Line 1: Line 1:
== Summary ==
+
This page is a guide to basic Sugar Network concepts. See [[Platform_Team/Sugar_Network/Architecture|its twin page]] for a technical point of view. Also, visit the [[Sugar_Network|introduction page]].
 +
 
 +
== Overview ==
 +
 
 +
The major goal of the Sugar Network is to provide an infrastructure to let people share different types of content, e.g., Sugar Activities, artifacts created by Sugar Activities, books, etc. for friends, a class, parents, teachers, or Sugar Learners anywhere.
 +
 
 +
Sugar Network's functionality is split into two parts:
 +
 
 +
* Core functionality, which covers low level needs to work with content ([[#Summary|described below]]);
 +
* Any number of representation models for usage of content, which are based on core functionality and add high level scenarios to interact with the same content, e.g., gamification elements. Representation models are pluggable and optional.
  
The Sugar Network is an initiative to try to leverage collaborative, contributing, and learning behaviour in Sugar Learning Platform. It is started as the only possible option for connectivity-less Sugar deployments (but it is also being targeted to the Internet driven environments) and Peru in particular.
+
== Targeted audience ==
  
The intentions might be explained by the [[#Needs|Needs]] that Sugar Network is trying to solve.
+
{| border="0"
 +
|- valign="top" align="let"
 +
| [[File:Sugar-network-audience.png|350px]]
 +
| The audience for Sugar Network is highly diverse:
  
The particular implementation is tailored by the following decisions:
+
* Students, which might be of different ages depending on a particular representation model or usage scenario;
 +
* Educators who need to populate content for students and review what students uploaded to the Network;
 +
* Deployment supporters who need to provide technical and educational support;
 +
* Software developers who will have a chance to get feedback directly from users.
  
* Support Internet-less environments (but not only);
+
Any individual person might belong to several categories at the same time, e.g., be a content creator, a user of content created by different creators, a reviewer of content uploaded by another people, etc.
* The list of provided services should cover the full circle of collaboration behaviour within the Sugar community to make Sugar Network the central place for collaboration;
+
|}
* Not trying to reinvent the Internet by duplicating all services available there making them off-line.
 
* The list of provided services should be tough to make the Sugar Network useful also in on-line;
 
* Support decentralized collaboration model to stimulate direct contacts, e.g., between software creators and users;
 
* Stimulate doing workflow.
 
  
== Overview ==
+
== Summary ==
  
The Sugar Network is all about:
+
The Sugar Network is about all these:
  
* [[#Players|Players]],
+
* [[#Users|Users]],
* play [[#Roles|Roles]],
+
* in different [[#Contexts|Contexts]],
* with [[#Resources|Resources]],
+
* interacting with [[#Resources|Resources]],
* to accomplish their [[#Needs|Needs]],
+
* to accomplish their [[#Needs|Needs]].
* and increase their [[#Reputation|Reputation]],
+
* When changed, Resources broadcast [[#Events|Events]].
* being changed, Resources broadcast [[#Events|Events]],
+
* Having [[#Workflows|Workflows]] defined that describe the regular behaviour of Users.
* the regular Players' behaviour might be described by the [[#Workflows|Workflows]].
 
  
 
== Needs ==
 
== Needs ==
  
The needs that Sugar Network is trying to solve. They might be explained by the following selection from the [[Wikipedia:Fundamental_human_needs|Fundamental human needs]]:
+
The needs that the Sugar Network is trying to support might be described by the following selection of [[Wikipedia:Fundamental_human_needs|Fundamental human needs]]:
 +
 
 +
'''Identity'''
 +
 
 +
: Each User should be able to create and manage a unique identity in the network. Every interaction of the User with the network should be accounted in the User's metrics, as eventually, this may be part of the User's dashboard. Each User may have an individual reputation, based on other Users' ratings made of his contributions.
  
{| class="wikitable"
+
'''Understanding'''
|-
 
! | Need
 
! | Being<br>(qualities)
 
! | Having<br>(things)
 
! | Doing<br>(actions)
 
! | Interacting<br>(settings)
 
|-
 
! scope="col" | [[#Understanding|Understanding]]
 
| critical capacity, curiosity, intuition
 
| literature, teachers, policies, educational
 
| analyse, study, investigate,
 
| schools, families, communities,
 
|-
 
! scope="col" | [[#Participation|Participation]]
 
| receptiveness, dedication, sense of humour
 
| responsibilities, duties, work, rights
 
| cooperate, dissent, express opinions
 
| associations, parties, churches, neighbourhoods
 
|-
 
! scope="col" | [[#Leisure|Leisure]]
 
| imagination, tranquillity, spontaneity
 
| games, parties, peace of mind
 
| day-dream, remember, relax, have fun
 
| landscapes, intimate spaces, places to be alone
 
|-
 
! scope="col" | [[#Creation|Creation]]
 
| imagination, boldness, inventiveness, curiosity
 
| abilities, skills, work, techniques
 
| invent, build, design, work, compose, interpret
 
| spaces for expression, workshops, audiences
 
|-
 
! scope="col" | [[#Identity|Identity]]
 
| sense of belonging, self-esteem, consistency
 
| language, religions, work, customs, values, norms
 
| get to know oneself, grow, commit oneself
 
| places one belongs to, everyday settings
 
|-
 
! scope="col" | [[#Freedom|Freedom]]
 
| autonomy, passion, self-esteem, open-mindedness
 
| equal rights
 
| dissent, choose, run risks, develop awareness
 
| anywhere
 
|}
 
  
=== Identity ===
+
: A User should be able to view all objects and optionally apply filters to control their view based on the resource type, the Network Zoom level, tags, or the associated Users. In this preview, we may be able to offer basic statistics of the object in order to give an analytical perspective to the selection. The User should be able to select the object in order to participate on a deeper level, where he should be able to explore the associated resources. As a User, I might receive events from the objects I'm subscribed to, as well as personal events, like invitations made by other Users.
  
Each player should be able to create and manage a unique identity in the network. Every interaction of the player with the network should be accounted on the player's metrics, as eventually this may be part of the player dashboard. Each player may have an individual reputation, according to other players ratings made to his contributions.
+
'''Participation'''
  
=== Understanding ===
+
: Any User may comment on any object, rate any contribution, edit any wiki, create any issue, attach any object to any gallery, become a follower of any object.
  
A player should be able to view all objects and apply the optional filters including the resource type, the Network Zoom level, tags or the associated player/team. In this preview, we may be able to offer basic statistics of the object in order to give analytical perspective to the selection. The player should be able to select the object in order to participate in a deeper level where he should be able to explore the associated resources. As a player, I might receive events from the objects I'm subscribed to as well as personal events like invitations made by other players.
+
'''Creation'''
  
=== Participation ===
+
: Any User may create a new Context by defining a name, the type of Context, and the Context objective(s). A Context's creator may invite other Users to follow/contribute to his Context.
  
Any player might be able to comment any object, rate any contribution, edit any wiki, create any issue, attach any object to any gallery, become a follower of any object.
+
== Users ==
  
=== Creation ===
+
These are real people that take part in the Sugar Network.
  
Any player might be able to create a new project by defining a name, the type of project and the project objective(s). A project creator may be able to invite other players to follow/contribute to his project.
+
Actions:
  
=== Freedom ===
+
:* Send private message.
  
Once an object have been selected by the player, he should be able to filter any type of contributions according to its ratings.
+
=== Reputation ===
  
== Players ==
+
Any particular Resource, i.e., contributions of some Users, might be rated by another Users. The Reputation of a particular User depends on how other Users appreciate him or his contributions.
  
These are real people that take part in the Sugar Network.
+
=== Statistics ===
  
Attributes:
+
Based on tracking of [[#Events|Events]], it is possible to [[#Understanding|measure]] a particular User's behaviour. This might be useful, e.g., for researchers.
  
:* nickname, set by Sugar Shell;
+
== Contexts ==
:* colors, set by Sugar Shell.
 
  
Actions:
+
In the Sugar Network, Contexts are instances of content or software that include with them assumptions on how they may be shared or used.  A Context describes how Users behave with Resources. A Context represents the Behavior or set of Behaviors that are supported for associated Resources.
  
:* Send private message.
+
There is a predefined general Context, the Global Context, which contains all other Contexts (according to the current [[#Network_Zoom|zoom level]]). Thus, Users can interact with all Resources accessible on this [[#Network_Zoom|zoom level]].
  
Events:
+
Context types may differ. For now, these are the only Context types:
  
:* Attribute is changed.
+
* Sugar Activities,
 +
* Various content (might be {{Code|.xol}} libraries).
  
 
== Resources ==
 
== Resources ==
  
The whole experience within the Sugar Network is about Player's interaction with resources. The major resource is [[#Projects|Projects]] that contain all other resources:
+
The whole experience within the Sugar Network is about a User's interaction with resources. Resources are tied to the current Context and might be of different types:
  
* [[#Objectives|Objectives]],
+
* Feedback related:
* [[#Questions|Questions]],
+
** [[#Questions|Questions]],
* [[#Ideas|Ideas]],
+
** [[#Ideas|Ideas]],
* [[#Problems|Problems]],
+
** [[#Problems|Problems]],
 
* [[#Wiki|Wiki]],
 
* [[#Wiki|Wiki]],
* [[#Gallery|Gallery]].
+
* [[#Artifact|Artifact]],
 +
* Development related:
 +
** [[#Sources|Releases]],
 +
** [[#Objectives|Objectives]].
 +
 
 +
=== Questions ===
  
=== Network Zoom ===
+
General question about the Context. A user-friendly interface for asking questions about the current Context. The workflow is much simpler when compared to typical bug trackers (Trac, RT, etc.).  It is intended to be more like "forums" or wiki "discussion" pages&mdash;just ask your question and wait for answers. In some cases, Questions might be treated as a kind of simple [[Wikipedia:Knowledge base|knowledge base]] for the Context (in contrast to bug trackers, Questions are not closed after answers are provided). The most useful Questions might be picked up to compose the [[Wikipedia:FAQ|FAQ]] for the Context.
  
A basic conception that should allow the Sugar Network to better scale depending of Player's purpose. The Network Zoom levels are similar to The [[Human_Interface_Guidelines/The_Laptop_Experience/Zoom_Metaphor|Shell Zoom levels]] (only the first three levels) and describe exactly the current ''zooming'' level of Sugar Network from an observer point of view. There are three Network Zoom levels:
+
Other non-developer needs are covered by [[#Ideas|Ideas]] and [[#Problems|Problems]]. Developer needs are covered by the [[#Objectives|Objectives]] and its advanced view, in particular.
  
* Worldwide, the whole Network;
+
Actions:
* Neighborhood, the same name Zoom level from the Sugar Shell, for one-teacher schools it is the whole school;<br>''TODO'' needs to be changed to have arbitrary group of Players to avoid clashing with the Worldwide if Sugar Shell connected to the collaboration server hosted in the Internet and Neighborhood Shell Zoom level looks like Worldwide;
 
* Friends, only friends from Sugar Shell Group view;
 
* Private, observer himself.
 
  
The whole Projects are associated with particular Zoom level, i.e., can be visible only on this particular level. This level is also applying to all Project's resources.
+
:* Create a Question;
 +
:* Discuss the Question;
 +
:* Vote for the Question;
 +
:* Create an Answer;
 +
:* Discuss an Answer;
 +
:* Vote for a single Answer;
 +
:* Vote given by the Question creator means an Answer for the Question.
  
=== Projects ===
+
=== Ideas ===
  
The composite Resource that is a container for the rest types of Resources. Projects might be created with highlighting some particular type of Resources. It might be useful to, e.g., simplify usage when it will be possible to activate particular sub-Resource directly from the [[#Browser|Browser]].
+
Any ideas regarding the Context. A user-friendly interface to propose your idea to the current Context developers. The workflow is much simpler, compared to typical bug trackers&mdash;just offer your suggestion, see how other people will rate it, and wait for an implementation.
  
Attributes:
+
Actions:
  
:* Type:
+
:* Create an Idea;
:** General;
+
:* Discuss the Idea;
:** Activity, Sources is the default Resource when activating this Resource mean launching this activity;
+
:* Vote for the Idea;
:** Wiki, Wiki is the default Resource;
+
:* Create a Solution, a possible Implementation, Answer, or other Resource;
:** Gallery, Gallery is the default Resource;
+
:* Discuss a Solution;
:** Support, Objectives is the default Resource.
+
:* Vote for Solutions;
:* Network Zoom level:
+
:* A Context team member designates one possible Solution to one Objective, the Idea's status becomes the same as the Objective's.
:** Worldwide;
+
 
:** Neighbourhood;
+
=== Problems ===
:** Friends;
+
 
:** Private.
+
Report a problem with the Context. A user-friendly interface to complain about an error that the User encountered when working with the Context. The workflow is much simpler, compared to typical bugs trackers, just complain and wait for a fix.
  
 
Actions:
 
Actions:
  
:* Create new Project;
+
:* Create a Problem;
:* Change Zoom level attributes.
+
:* Discuss the Problem;
:* Delete Project;
+
:* Vote for the Problem;
 +
:* Create Solution (proposed fix);
 +
:* Discuss a Solution;
 +
:* Designate a Release as a possible Solution;
 +
:* Vote for a single Solution;
 +
:* Vote given by the Problem creator means a fix for the Problem.
  
Events:
+
=== Wiki ===
  
:* Attribute is changed.
+
A collection of Wiki pages that use MediaWiki markup language, wikitext. Pages might be represented by a tree of pages. There is always a root page. The idea of having a root page is to make it possible to merge these wiki pages to the standalone MediaWiki server.
  
=== Objectives ===
+
Actions:
 +
 
 +
:* Create a new Wiki page in the hierarchy of pages;
 +
:* Upload an arbitrary file in order to place a link to it on Wiki pages.
 +
:* Discuss the Wiki topic;
 +
:* Vote for the Wiki;
 +
 
 +
Todo:
 +
 
 +
:* Modify existing page;
 +
:* View the history of modifications.
 +
 
 +
=== Artifact ===
 +
 
 +
A collection of binary objects, of types depending on Context type, associated the the Context. Such artifacts might be, for example, Journal objects created by Sugar Activities.
  
Attributes:
 
 
Actions:
 
Actions:
Events:
 
  
=== Questions ===
+
:* Create new Exhibit.
 +
:* Discuss the Exhibit;
 +
:* Vote the Exhibit;
  
Attributes:
+
Todo:
Actions:
 
Events:
 
  
=== Ideas ===
+
:* Simplify creation of a new Exhibit by having a UI way to quickly share a newly created Activity object, e.g., from within the Naming alert or from the Journal.
  
Attributes:
+
=== Implementation ===
Actions:
 
Events:
 
  
=== Problems ===
+
For software Contexts, this Resource is about released versions of this Context software. This is exactly what a User can execute in their instance of Sugar. There might be several implementations with different stability levels. By default, Users execute only the most recent stable version; but it is possible to choose any version.
  
Attributes:
 
 
Actions:
 
Actions:
Events:
 
  
=== Wiki ===
+
:* Context owners can create a new Implementation;
 +
:* Launch.
 +
:* Discuss the Release;
 +
:* Vote for the Release;
 +
 
 +
Todo:
  
A collection of Wiki pages that use MediaWiki markup language, wikitext. Pages might be represented by a tree of pages. There is all time the root page. The idea to have a root page is to let it possible to merge these wiki pages to the standalone MediaWiki server. It might provide similar functionality to Google Sites.
+
:* Support an ''Experiments'' workflow where people can make a copy of an existing Context and start experimenting with the code and use it on a regular basis, e.g., share it in the Sugar Network.
 +
:* Provide a convenient method to attach log reports with errors to the particular Release, e.g., "Share the log" button on the Activity fail dialog.
  
Attributes:
+
=== Objectives ===
Actions:
 
Events:
 
  
'''Wiki page'''
+
These are the exact objectives that a Context is trying to achieve. This type of Resource has two faces:
  
Attributes:
+
* The view for Users that are not in the role of Context implementer, who will see this Resource, e.g., as a set of features that the Context is trying to provide;
 +
* The fully functional project management interface for people who are owners of the Context and take care of its implementation.
  
 
Actions:
 
Actions:
Events:
 
  
=== Gallery ===
+
:* Create - by Context owners;
 +
:* Discuss the Objective;
 +
:* Vote for the Objective;
  
A collection of activity objects of types depended on Project type.
+
TODO:
  
Attributes:
+
:* Context management functionality.
Actions:
 
Events:
 
  
 
== Comments ==
 
== Comments ==
  
All kinds of resources might be [[#Participation|commented by any users]]. The Sugar Network does not provide any restrictions of permissions, the model is [[#Freedom|leaving responsibility to a viewer]].
+
All kinds of resources might be [[#Participation|commented on by any user]]. The Sugar Network does not provide any restrictions or permissions, the model is [[#Freedom|one of leaving responsibility to the viewer]].
  
 
== Events ==
 
== Events ==
  
If some Resource has been changed, e.g., as a result of Player interacting, Resource sends global notifications. These notification might be seen while investigating this particular object or by Following this Resource. In the last case, events will go you followers' queue of global events.
+
If some Resource has been changed, e.g., as a result of User interaction, the Resource sends out global notifications. The notification might be seen while investigating this particular object or by Following this Resource, in which case, events will go to a followers' queue of global events.
  
 
Events might be personal, e.g., personal invitations or personal messages.
 
Events might be personal, e.g., personal invitations or personal messages.
  
== Reputation ==
+
== Workflows ==
  
Any particular Resource entities, i.e., contributions of some Players, (including Comments) might be rated by any Player. The number of all contributions made by some Player and the sum of all rates that other people gave to these contributions, is the Player's reputation.
+
These are types of workflows that [[#Roles|Roles]] can take part in. The particular activity might involve several Users and several Roles.
  
 
== Roles ==
 
== Roles ==
  
These are roles, not the definition of particular people. Each person can play different roles in different time.
+
=== Support ===
 +
 
 +
A need for general help from the local community of supporters.
 +
 
 +
:* You need to be a part of a community with local support, thus, you will have a default place to complain, the Home Context;
 +
:* Go to Browser and click Home Context button;
 +
:* Try to search if your problem was already reported using text search string or tags;
 +
:* If search is not successful, describe your problem in a Problem entry widget as fully as possible (same as for Questions and Ideas);
 +
:* The supporters will be notified and will reply with a request for further information, or with an answer;
 +
:* On the Network screen, you will be notified about a submitted reply.
 +
 
 +
Suppose something goes wrong with the system, and it is not clear where the problem is.
 +
 
 +
:* You need to be a part of a community with local support, thus, you will have a default place to complain, the Home Context;
 +
:* Since you have no any idea about what part of the system is affected, there is no way to decide against which Context to complain, go to Browser and click Home Context button;
 +
:* Try to search if your problem was already reported using a text search string or tags;
 +
:* If the search is not successful, describe your problem in a Problem entry widget as fully as possible (as for Questions and Ideas);
 +
:* The supporters will be notified and will reply with a request for further information, or with an answer;
 +
:* On the Network screen, you will be notified about a submitted reply.
 +
 
 +
Suppose something goes wrong with the system and it is possible to specify the part or place where it occurs.
 +
 
 +
:* Go to the Browser and try to find the Context that is associated with the problem part; use Tags and full text search; after finding it, click its Home button;
 +
:* Search to see if your problem has already been reported using text search string or tags;
 +
:* If the search is not successful, describe your problem in Problem entry widget as fully as possible (as for Questions and Ideas);
 +
:* Any Context Contributor can reply with a request for further information, or with an answer;
 +
:* On the Network screen, you will be notified about a submitted reply.
 +
 
 +
Provide supporting materials.
 +
 
 +
:* Skilled people, somewhere on the Mothership level, create a set of Wiki pages;
 +
:* Since the initial Sugar Network won't support Wiki editing, these wiki pages will be uploaded to the Sugar Network using special tools to some Context, e.g., to the Home Context;
 +
:* Teachers/students can always get these materials by going to the Home Context and clicking Wiki.
  
=== Student ===
+
Suppose a Sugar Activity fails to start or fails on exit.
  
=== Teacher ===
+
:* The activity fail dialog should have a complaint field. Describe your problem there as fully as possible;
 +
:* If Submit button was clicked (it might be the default action), the repost with text message and activity logs will be attached to the particular Release of the Context;
 +
:* A Context Contributor, upon browsing uploaded reports, can reply with a request for further information, or with an answer;
 +
:* On the Network screen, you will be notified about a submitted reply.
  
=== Project Contributor ===
+
=== Content ===
  
=== Project Coordinator ===
+
Sharing arbitrary education related media content.
  
== Workflows ==
+
:* Teacher (or any other User) creates a new (or reuses an existing) Wiki Context;
 +
:* Set Tags and a Context description that is appropriate to the purpose;
 +
:* Create an initial Wiki page, populate it, and attach media content;
 +
:* Students, using Tags and full-text search, explore the Context in the Browser;
 +
:* Once in the Browser, activate the found Context for its transfer to the Wiki page.
 +
 
 +
Sharing an Activity object.
 +
 
 +
:* In an after-creation dialog, there should be a button to share a newly created object with the Network;
 +
:* The Journal should have a way to share any object with one click.
  
These are kinds of workflows that [[#Roles|Roles]] can take part in. The particular activity might involve several Players and several Roles.
+
=== Sugar Activities ===
  
== Users Interface ==
+
Fast launch of an Activity.
  
From users point of view, The Sugar Network is represented by several kinds views:
+
:* Go to the Browser and explore the Activity you want to start, maybe using the ''Activity'' Tag or full-text search;
 +
:* Click found entity.
  
=== Player's page ===
+
Launch a particular Activity version, e.g., to help with testing a non-stable version or revert to a previous one because the most recent version doesn't work for you.
  
* Global events queue;
+
:* Go to the Browser and explore the Activity you want to start, maybe using the ''Activity'' Tag or full-text search;
* Personal events queue;
+
:* Click Home button for a found entity;
* Send personal events;
+
:* You should find the list of Releases with the most recent stable Release chosen, select any version you want;
 +
:* Click the Launch button, or run it from the Browser, to run a newly selected Release.
  
=== Browser ===
+
=== Networkless ===
  
* Will be useful to a special state of the Browser to let people see a summary, hints, etc.
+
The Sugar Network is all about being connected to a Sugar Network server someplace on the Internet (on-line case) or in a schoolserver (off-line case). A more limited workflow is supported for the server-less case.
* Switch between Network Zoom levels, e.g., similar to Shell's Zoom levels;
 
* Expose additional metadata about currently selected item;
 
* Home/default project, might be useful to, e.g., having default support project for this deployment to point any questions there.
 
  
=== Project view ===
+
Suppose one is at school and connected to its Network server to prepare Contexts to work on at home when a Network won't be accessible:
  
* The top of participants
+
:* Go to the Browser and explore the Context you want to work on at home;
* View for particular Project resource, Wiki, Tracker, Gallery, etc.
+
:* Pick up, select, collect these Contexts (depending on implementation);
* (?) Having fast widget to start typing new Question/Idea/Problem
+
:* Once at home, where a Network is not accessible, you will see all chosen Contexts in the Browser;
 +
:* A limited functionality (depending on implementation) will be supported for these Contexts.
  
=== Resource view ===
+
=== Teaching ===
  
* The top of participants
+
''TODO''
* See the full history of resource changes (no need all time have history like Wiki pages have);
 
* Follow/NotFollow the Resource changes;
 
* Send personal invitation events to Players to make them Followers of this Resource;
 
  
=== Comments view ===
+
=== Developing ===
  
* Restrict comments by Player's rating;
+
Fork me.
  
== Technical Overview ==
+
:* Go to the Browser and explore the Activity you want to start, maybe using the ''Activity'' Tag or full-text search;
 +
:* Click Home button for the found entity;
 +
:* ''TODO''
  
The Sugar Network consists of different types of parts:
+
== Infrastructure overview ==
  
* Client application that runs in Sugar learning environment on machines of people who take part in the Sugar Network;
+
The whole initiative is tailored by the following decisions:
* Server that runs either in the Internet (if connectivity is not a problem for clients) or on a school server (that is being synchronized with the Internet, thus, with the rest of school servers).
 
  
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.
+
* The Sugar Network should be useful in off-line environments;
 +
* The scope of provided [[#Resources|resources]] should cover the full complement of low level collaborative behaviors between Network participants; where ''low level'' means that [[#Resources|resources]] are shared for all types of collaborative [[#Contexts|contexts]];
 +
* The scope of provided [[#Resources|resources]] should be designed so that the Sugar Network is equally useful operating on-line as off-line;
 +
* The software architecture and interfaces are structured to stimulate a "doing" and "sharing" workflow.
  
The particular technical implementation is tailored by the following decisions:
+
The whole Sugar Network is pictured by the following graphics:
  
# Using Web technologies to implement the front end;
+
{| border="0"
# Keep front end as a local Web application on a client side, it sounds converse regarding the #1 decision but this decision is based on #4 and #5;
+
|- valign="top" align="let"
# Front end is implemented as a [[Wikipedia:Flask_(programming)|Falsk]] application using [[Platform_Team/WebSDK|WebSDK]] to accomplish the #4 and #5;
+
| [[File:Sugar-network.png]]
# Local Web application serve only one user and are much simpler than singular applications that are intended to serve thousands of users simultaneously;
+
| Where,
# Having simple and clean designed (see the previous point), it will be easy for doers to learn, change, reimplement the front end;
+
* '''Server'''<br>is shared data and services, in general. It might be a server accessible from the Internet (on-line case) or various distributed servers located, e.g., in schools (off-line case). See [[Platform_Team/Sugar_Network|technical pages]] for more details.
# Implementation should be decentralized to support off-line workflow.
+
* '''Conceptual level logic'''<br>The design logic and software code structures that reify the Sugar Network concepts. From a conceptual level, these designs and code standards represent a separate entity that operates inbetween the Clients and Servers. From the technical perspective, this level is represented by the Server [[Platform_Team/Sugar_Network/API|application programming interface (API)]] and [[Platform_Team/Sugar_Network/Objects_model|objects model]] in particular.
 +
* '''Client'''<br>is the software that allows Network participants to interact with the Sugar Network. These software components let people get access to the Sugar Network, and define how the Sugar Network should appear to users according to their needs. The user experience provided by the client software will vary from need to need, starting from a couple of elements in the existing software [[Wikipedia:Graphical_user_interface|GUI]] (when people even don't suspect they are interacting with the Sugar Network), and extending to clients that represent advanced conceptual elements of the Sugar Network as closely as possible.
 +
|}
  
 
== Todo ==
 
== Todo ==
  
* Support translation workflow for Projects, it might be different workflow, e.g., for Wikis, and Sugar Activities;
+
* Support translation workflow for Contexts, it might be different workflow, e.g., for Wikis, and Sugar Activities;
* Class type for projects to support regular class behaviour from teachers' pov.
+
* Class type for Contexts to support regular class behaviour from teachers' pov.
* Support coding workflow for projects.
+
* Support coding workflow for Contexts.
 +
 
 +
== Getting involved ==
 +
 
 +
{{:Sugar_Network/Feedback}}
 +
 
 +
== See also ==
 +
 
 +
* [[Wikipedia:Stack_Exchange_Network|Stack Exchange]] family of Q&A websites.
 +
* [[Wikipedia:Get_Satisfaction|Get Satisfaction]] technical support platform.
 +
* [http://www.ideatorrent.org/ IdeaTorrent].
 +
* [http://www.curriki.org/ Curriki], Open Curricula Community.
 +
* [[wikipedia:Gamification|Gamification]].

Latest revision as of 10:22, 9 June 2012

This page is a guide to basic Sugar Network concepts. See its twin page for a technical point of view. Also, visit the introduction page.

Overview

The major goal of the Sugar Network is to provide an infrastructure to let people share different types of content, e.g., Sugar Activities, artifacts created by Sugar Activities, books, etc. for friends, a class, parents, teachers, or Sugar Learners anywhere.

Sugar Network's functionality is split into two parts:

  • Core functionality, which covers low level needs to work with content (described below);
  • Any number of representation models for usage of content, which are based on core functionality and add high level scenarios to interact with the same content, e.g., gamification elements. Representation models are pluggable and optional.

Targeted audience

Sugar-network-audience.png The audience for Sugar Network is highly diverse:
  • Students, which might be of different ages depending on a particular representation model or usage scenario;
  • Educators who need to populate content for students and review what students uploaded to the Network;
  • Deployment supporters who need to provide technical and educational support;
  • Software developers who will have a chance to get feedback directly from users.

Any individual person might belong to several categories at the same time, e.g., be a content creator, a user of content created by different creators, a reviewer of content uploaded by another people, etc.

Summary

The Sugar Network is about all these:

Needs

The needs that the Sugar Network is trying to support might be described by the following selection of Fundamental human needs:

Identity

Each User should be able to create and manage a unique identity in the network. Every interaction of the User with the network should be accounted in the User's metrics, as eventually, this may be part of the User's dashboard. Each User may have an individual reputation, based on other Users' ratings made of his contributions.

Understanding

A User should be able to view all objects and optionally apply filters to control their view based on the resource type, the Network Zoom level, tags, or the associated Users. In this preview, we may be able to offer basic statistics of the object in order to give an analytical perspective to the selection. The User should be able to select the object in order to participate on a deeper level, where he should be able to explore the associated resources. As a User, I might receive events from the objects I'm subscribed to, as well as personal events, like invitations made by other Users.

Participation

Any User may comment on any object, rate any contribution, edit any wiki, create any issue, attach any object to any gallery, become a follower of any object.

Creation

Any User may create a new Context by defining a name, the type of Context, and the Context objective(s). A Context's creator may invite other Users to follow/contribute to his Context.

Users

These are real people that take part in the Sugar Network.

Actions:

  • Send private message.

Reputation

Any particular Resource, i.e., contributions of some Users, might be rated by another Users. The Reputation of a particular User depends on how other Users appreciate him or his contributions.

Statistics

Based on tracking of Events, it is possible to measure a particular User's behaviour. This might be useful, e.g., for researchers.

Contexts

In the Sugar Network, Contexts are instances of content or software that include with them assumptions on how they may be shared or used. A Context describes how Users behave with Resources. A Context represents the Behavior or set of Behaviors that are supported for associated Resources.

There is a predefined general Context, the Global Context, which contains all other Contexts (according to the current zoom level). Thus, Users can interact with all Resources accessible on this zoom level.

Context types may differ. For now, these are the only Context types:

  • Sugar Activities,
  • Various content (might be .xol libraries).

Resources

The whole experience within the Sugar Network is about a User's interaction with resources. Resources are tied to the current Context and might be of different types:

Questions

General question about the Context. A user-friendly interface for asking questions about the current Context. The workflow is much simpler when compared to typical bug trackers (Trac, RT, etc.). It is intended to be more like "forums" or wiki "discussion" pages—just ask your question and wait for answers. In some cases, Questions might be treated as a kind of simple knowledge base for the Context (in contrast to bug trackers, Questions are not closed after answers are provided). The most useful Questions might be picked up to compose the FAQ for the Context.

Other non-developer needs are covered by Ideas and Problems. Developer needs are covered by the Objectives and its advanced view, in particular.

Actions:

  • Create a Question;
  • Discuss the Question;
  • Vote for the Question;
  • Create an Answer;
  • Discuss an Answer;
  • Vote for a single Answer;
  • Vote given by the Question creator means an Answer for the Question.

Ideas

Any ideas regarding the Context. A user-friendly interface to propose your idea to the current Context developers. The workflow is much simpler, compared to typical bug trackers—just offer your suggestion, see how other people will rate it, and wait for an implementation.

Actions:

  • Create an Idea;
  • Discuss the Idea;
  • Vote for the Idea;
  • Create a Solution, a possible Implementation, Answer, or other Resource;
  • Discuss a Solution;
  • Vote for Solutions;
  • A Context team member designates one possible Solution to one Objective, the Idea's status becomes the same as the Objective's.

Problems

Report a problem with the Context. A user-friendly interface to complain about an error that the User encountered when working with the Context. The workflow is much simpler, compared to typical bugs trackers, just complain and wait for a fix.

Actions:

  • Create a Problem;
  • Discuss the Problem;
  • Vote for the Problem;
  • Create Solution (proposed fix);
  • Discuss a Solution;
  • Designate a Release as a possible Solution;
  • Vote for a single Solution;
  • Vote given by the Problem creator means a fix for the Problem.

Wiki

A collection of Wiki pages that use MediaWiki markup language, wikitext. Pages might be represented by a tree of pages. There is always a root page. The idea of having a root page is to make it possible to merge these wiki pages to the standalone MediaWiki server.

Actions:

  • Create a new Wiki page in the hierarchy of pages;
  • Upload an arbitrary file in order to place a link to it on Wiki pages.
  • Discuss the Wiki topic;
  • Vote for the Wiki;

Todo:

  • Modify existing page;
  • View the history of modifications.

Artifact

A collection of binary objects, of types depending on Context type, associated the the Context. Such artifacts might be, for example, Journal objects created by Sugar Activities.

Actions:

  • Create new Exhibit.
  • Discuss the Exhibit;
  • Vote the Exhibit;

Todo:

  • Simplify creation of a new Exhibit by having a UI way to quickly share a newly created Activity object, e.g., from within the Naming alert or from the Journal.

Implementation

For software Contexts, this Resource is about released versions of this Context software. This is exactly what a User can execute in their instance of Sugar. There might be several implementations with different stability levels. By default, Users execute only the most recent stable version; but it is possible to choose any version.

Actions:

  • Context owners can create a new Implementation;
  • Launch.
  • Discuss the Release;
  • Vote for the Release;

Todo:

  • Support an Experiments workflow where people can make a copy of an existing Context and start experimenting with the code and use it on a regular basis, e.g., share it in the Sugar Network.
  • Provide a convenient method to attach log reports with errors to the particular Release, e.g., "Share the log" button on the Activity fail dialog.

Objectives

These are the exact objectives that a Context is trying to achieve. This type of Resource has two faces:

  • The view for Users that are not in the role of Context implementer, who will see this Resource, e.g., as a set of features that the Context is trying to provide;
  • The fully functional project management interface for people who are owners of the Context and take care of its implementation.

Actions:

  • Create - by Context owners;
  • Discuss the Objective;
  • Vote for the Objective;

TODO:

  • Context management functionality.

Comments

All kinds of resources might be commented on by any user. The Sugar Network does not provide any restrictions or permissions, the model is one of leaving responsibility to the viewer.

Events

If some Resource has been changed, e.g., as a result of User interaction, the Resource sends out global notifications. The notification might be seen while investigating this particular object or by Following this Resource, in which case, events will go to a followers' queue of global events.

Events might be personal, e.g., personal invitations or personal messages.

Workflows

These are types of workflows that Roles can take part in. The particular activity might involve several Users and several Roles.

Roles

Support

A need for general help from the local community of supporters.

  • You need to be a part of a community with local support, thus, you will have a default place to complain, the Home Context;
  • Go to Browser and click Home Context button;
  • Try to search if your problem was already reported using text search string or tags;
  • If search is not successful, describe your problem in a Problem entry widget as fully as possible (same as for Questions and Ideas);
  • The supporters will be notified and will reply with a request for further information, or with an answer;
  • On the Network screen, you will be notified about a submitted reply.

Suppose something goes wrong with the system, and it is not clear where the problem is.

  • You need to be a part of a community with local support, thus, you will have a default place to complain, the Home Context;
  • Since you have no any idea about what part of the system is affected, there is no way to decide against which Context to complain, go to Browser and click Home Context button;
  • Try to search if your problem was already reported using a text search string or tags;
  • If the search is not successful, describe your problem in a Problem entry widget as fully as possible (as for Questions and Ideas);
  • The supporters will be notified and will reply with a request for further information, or with an answer;
  • On the Network screen, you will be notified about a submitted reply.

Suppose something goes wrong with the system and it is possible to specify the part or place where it occurs.

  • Go to the Browser and try to find the Context that is associated with the problem part; use Tags and full text search; after finding it, click its Home button;
  • Search to see if your problem has already been reported using text search string or tags;
  • If the search is not successful, describe your problem in Problem entry widget as fully as possible (as for Questions and Ideas);
  • Any Context Contributor can reply with a request for further information, or with an answer;
  • On the Network screen, you will be notified about a submitted reply.

Provide supporting materials.

  • Skilled people, somewhere on the Mothership level, create a set of Wiki pages;
  • Since the initial Sugar Network won't support Wiki editing, these wiki pages will be uploaded to the Sugar Network using special tools to some Context, e.g., to the Home Context;
  • Teachers/students can always get these materials by going to the Home Context and clicking Wiki.

Suppose a Sugar Activity fails to start or fails on exit.

  • The activity fail dialog should have a complaint field. Describe your problem there as fully as possible;
  • If Submit button was clicked (it might be the default action), the repost with text message and activity logs will be attached to the particular Release of the Context;
  • A Context Contributor, upon browsing uploaded reports, can reply with a request for further information, or with an answer;
  • On the Network screen, you will be notified about a submitted reply.

Content

Sharing arbitrary education related media content.

  • Teacher (or any other User) creates a new (or reuses an existing) Wiki Context;
  • Set Tags and a Context description that is appropriate to the purpose;
  • Create an initial Wiki page, populate it, and attach media content;
  • Students, using Tags and full-text search, explore the Context in the Browser;
  • Once in the Browser, activate the found Context for its transfer to the Wiki page.

Sharing an Activity object.

  • In an after-creation dialog, there should be a button to share a newly created object with the Network;
  • The Journal should have a way to share any object with one click.

Sugar Activities

Fast launch of an Activity.

  • Go to the Browser and explore the Activity you want to start, maybe using the Activity Tag or full-text search;
  • Click found entity.

Launch a particular Activity version, e.g., to help with testing a non-stable version or revert to a previous one because the most recent version doesn't work for you.

  • Go to the Browser and explore the Activity you want to start, maybe using the Activity Tag or full-text search;
  • Click Home button for a found entity;
  • You should find the list of Releases with the most recent stable Release chosen, select any version you want;
  • Click the Launch button, or run it from the Browser, to run a newly selected Release.

Networkless

The Sugar Network is all about being connected to a Sugar Network server someplace on the Internet (on-line case) or in a schoolserver (off-line case). A more limited workflow is supported for the server-less case.

Suppose one is at school and connected to its Network server to prepare Contexts to work on at home when a Network won't be accessible:

  • Go to the Browser and explore the Context you want to work on at home;
  • Pick up, select, collect these Contexts (depending on implementation);
  • Once at home, where a Network is not accessible, you will see all chosen Contexts in the Browser;
  • A limited functionality (depending on implementation) will be supported for these Contexts.

Teaching

TODO

Developing

Fork me.

  • Go to the Browser and explore the Activity you want to start, maybe using the Activity Tag or full-text search;
  • Click Home button for the found entity;
  • TODO

Infrastructure overview

The whole initiative is tailored by the following decisions:

  • The Sugar Network should be useful in off-line environments;
  • The scope of provided resources should cover the full complement of low level collaborative behaviors between Network participants; where low level means that resources are shared for all types of collaborative contexts;
  • The scope of provided resources should be designed so that the Sugar Network is equally useful operating on-line as off-line;
  • The software architecture and interfaces are structured to stimulate a "doing" and "sharing" workflow.

The whole Sugar Network is pictured by the following graphics:

Sugar-network.png Where,
  • Server
    is shared data and services, in general. It might be a server accessible from the Internet (on-line case) or various distributed servers located, e.g., in schools (off-line case). See technical pages for more details.
  • Conceptual level logic
    The design logic and software code structures that reify the Sugar Network concepts. From a conceptual level, these designs and code standards represent a separate entity that operates inbetween the Clients and Servers. From the technical perspective, this level is represented by the Server application programming interface (API) and objects model in particular.
  • Client
    is the software that allows Network participants to interact with the Sugar Network. These software components let people get access to the Sugar Network, and define how the Sugar Network should appear to users according to their needs. The user experience provided by the client software will vary from need to need, starting from a couple of elements in the existing software GUI (when people even don't suspect they are interacting with the Sugar Network), and extending to clients that represent advanced conceptual elements of the Sugar Network as closely as possible.

Todo

  • Support translation workflow for Contexts, it might be different workflow, e.g., for Wikis, and Sugar Activities;
  • Class type for Contexts to support regular class behaviour from teachers' pov.
  • Support coding workflow for Contexts.

Getting involved

  • Submit your bug report or feature request.
  • Browse our implementation discussions, and post your feedback. (You should join this discussion list in order to avoid having your messages postponed for moderation.)

See also