Kamaelia

Nuts & Bolts | Components | Tools | Cookbook | Systems
wiki:( guest312717, Dev Console, Index, Recent, Edit )


Home, News
Dev Console

How, Why
Project Blog
Summer of Code

Documentation
Download
SVN (web)
Sourceforge page

Project Admin
License

Contact Us

  Page Tags

No tags are defined for this page yet - how would you classify/think of this page? Add your notes below!

Mini-Axon

Build your own Kamaelia Core

IntroductionStandingWalkingInterludeTalkingConversingInterludeSummary

Introduction

When using any system, library, or framework, you're likely to have a better understanding of the system and how to better use it if you really understand how it works. That is you've written the system rather than someone else. Our preferred approach to date so far for teaching a novice how to use to Kamaelia has been to get them to write a version of the core concurrency system. This is framed as a series of exercises. After having built it, they realise that the system is really just a simple skein over simple programs.

Furthermore, this set of exercises has normally been done within less than 2 weeks of the novice learning python. If you're a new programmer, and you've learnt a certain core of python, you should be able to do and follow these exercises. It might look daunting, but it should be fine. If you get stuck, please feel free to come chat on IRC or on the mailing lists!

Python pre-requisitives:

What's in this tutorial?

  1. Write a basic microprocess
  2. Build a simple scheduler to run the microprocesses
  3. Interlude, discussing progress so far and what you can do with microprocesses and schedulers, putting the next two exercises in context
  4. Turn a microprocess into a simple component
  5. Create a postman to deliver data between microprocesses
  6. A second interlude where you see how to use your framework to build a simple multicast server that can serve a file over multicast. The resulting components can be used with the main Axon system as they can with your mini-axon system.
  7. Summary
IntroductionStandingWalkingInterludeTalkingConversingInterludeSummary

Feedback, Questions ?

Please leave feedback here! Hope you found this tutorial interesting, useful and doable!


Your tags for this page: If you had set UserPreferences (name & email) and validated them (simple single click in your email), you would be able to define personal tags

Versions: current , 1


(C) 2005 Kamaelia Contributors, including the British Broadcasting Corporation, All Rights Reserved,
This is an ongoing community based development site. As a result the contents of this page is the opinions of the contributors of the pages involved not the organisations involved. Specificially, this page may contain personal views which are not the views of the BBC.