Difference between revisions of "Human Interface Guidelines/Design Fundamentals"

From Sugar Labs
Jump to navigation Jump to search
Line 13: Line 13:
  
  
===Key Design Principles===
+
{{:OLPC Human Interface Guidelines/Design Fundamentals/Key Design Principles}}
''Low floor, no ceiling.''
 
  
====Performance====
 
The OLPC laptop bucks the trend of "more, faster, fatter"; we aim to provide a computer tailored to the needs of children in the context of their learning, not to the needs of frantic video games or office applications. We are, however, working within constraints of component cost, robustness, and power consumption. To satisfy these constraints, we have opted for NAND flash rather than a harddisk and a modest 128MB of memory (Please see [[Hardware_Specification|hardware specifications]]). Thus developers must make every effort to write efficient code while minimizing memory usage.
 
 
Since there is no swap space on the laptop, only a limited number of activities can run concurrently; the Sugar UI exposes these details directly to the user. The [[OLPC Human Interface Guidelines/The Laptop Experience/Zoom Metaphor#Home|Home]] screen features an activity ring that contains icons representing each instance of an open [[OLPC Human Interface Guidelines/Activities|activity]]. The size of the ring segment that a given activity occupies represents its overall memory usage; when the ring fills up, no additional activities may be launched until some resources are freed up. Take these limitations into account as you develop activities, since they will have a greater impact on the performance of your software on the laptop than on other platforms.
 
 
====Usability====
 
OLPC places an emphasis on discoverability and usability due to our [[OLPC_Human_Interface_Guidelines/Design Fundamentals#Know_Your_Audience|target audience]]. Usability has everything to do with the actual behavior of the activities, the layout of the buttons and tools, and the feedback that the interface provides to the user through interaction.  Ultimately, the design decisions that make your activities usable will depend greatly on the type of activity you are developing, and it will be up to you to consider carefully the kinds of interactions users will expect when presented with it. As a general rule, if the interface provided does what the child expects it to, you are off to a good start.  However, since it is quite difficult to know what she will expect—and in practice not all children will expect the same things—there is no substitute for user testing.
 
 
====Simplicity====
 
We designed the entire laptop interface with a goal of simplicity. It can be tempting—and also quite easy—to add an overabundance of features to software: the abundance of MIPS and memory exacerbate the software-bloat phenomenon. The laptop hardware "limitations" lead toward a more concise direction and aid in designing for simplicity.
 
 
Keep in mind that simple doesn't necessarily mean limited. OLPC hopes to demonstrate to the world that simple—even minimal—controls can have great expressive power. Avoid bloated interfaces that do too much, and limit the controls to those immediately relevant to the task at hand. Rather than creating a "Swiss Army knife" of an activity, think of the laptop itself as the knife, and instead develop a particular tool for that knife that does one thing, and does it very well.  When all the activities on the laptop embrace this idea, the true power of the laptop will emerge.
 
 
====Reliability====
 
Of course we want to avoid instances where things go wrong; this should be a goal for every piece of software. We are committed to ensuring that the UI framework prevents activities from causing system crashes; Developers should consider a "fail-soft" approach to their designs, such as incorporating a suitable behavior for the spontaneous termination of an activity.
 
 
====Security====
 
(Mention the "walled garden".)
 
 
====Adaptability====
 
There are several variable use conditions that should be taken into consideration in designing activities: the laptop has both a grayscale (sunlight) mode and a color (backlight) mode; the mesh—while always available—may or may not be connected to the Internet at the time the activity is active; the laptop may be configured in either laptop mode (keyboard and touchpad exposed) or [[OLPC Human Interface Guidelines/The Sugar Interface/Input Systems#"Hand-held" Mode|handheld mode]] (game controller, camera, microphone and speakers only). Signal strengths, and therefore bandwidth, may fluctuate, and at times activity partipants may even drop off temporarily. Activities should handle all of these cases with care. E.g., temporary loss of connectivity should be handled silently, and reconnection of an individual to an activity they were previously participating in should happen with no noticeable side-effects as outlined in the guidelines for [[OLPC Human Interface Guidelines/Activities/Activity Basics#Activity Robustness|activity robustness]].
 
 
====Recoverability====
 
 
Recoverability is fundamental to encouraging exploration.  With creative exploration among OLPC's main goals, it therefore becomes an issue of high importance on the laptops.  When a child knows they have a fallback plan — a way back to the current state of things — she will much more frequently go beyond her comfortable boundaries and experiment with new tools and new creative means of expression.
 
 
The [[OLPC Human Interface Guidelines/The Laptop Experience/The_Journal|journal]] provides a partial notion of recoverability, since its auto-journaling amounts to maintaining an automatic incremental backup. The ability for a child to choose to "keep" anything she's working on in its current state furthers this idea.
 
 
However, the primary and essential means of recoverability remains the ability to undo one's actions.  Of course, the notion of undo/redo becomes complicated in the realm of collaborative editing, which imposes a limitation on the extent to which undos are possible, since collisions between the things one child wants to undo and the things another child has already changed since they were done occur often.  Nonetheless, we are dedicated to providing this functionality to every extent possible, and [[OLPC Human Interface Guidelines/Activities|activities]] should strive to support this to the best of their ability.
 
 
(Future revisions of the [[OLPC Human Interface Guidelines/The Sugar Interface/Input Systems#Keyboard|keyboard]] may even have an undo/redo key to further strengthen this idea.)
 
 
====Interoperability====
 
 
====Mobility====
 
 
====Transparency====
 
 
OLPC also hopes to encourage the children using the laptops to explore the the technology under the surface.  Towards this end, a [[OLPC_Human_Interface_Guidelines/The Laptop Experience/View Source|view source]] key has been added to the laptop keyboards, providing them with instant access to the code that enables the activities that they use from day to day.  This key will allow those interested to peel away layers of abstraction, digging deeper into the codebase as they learn.
 
 
To enable such layered exploration, OLPC has written much of what can be in [[Python]], a scripting language, to enable children to view the source code.  This means, aside from general good practice, code should be both readable and well commented.  The [http://www.python.org/dev/peps/pep-0008/ PEP 8] style guidelines for Python provide an excellent resource, and OLPC recommends that developers follow the practices laid out therein unless a compelling reason not to exists.
 
 
====Accessibility====
 
  
 
</div>
 
</div>

Revision as of 17:06, 4 December 2006