Difference between revisions of "Pyogp Client Lib"

From Second Life Wiki
Jump to navigation Jump to search
Line 48: Line 48:
== Plan ==
== Plan ==
Task list for the client library. These may get PJIRA tasks someday, or some other format we decide upon.
Task list for the client library. These may get PJIRA tasks someday, or some other format we decide upon.
#[http://www.muthukadan.net/docs/zca.html ZCA] or no ZCA - ZCA enables flexibility via modularity with a component based framework. The intent would be to incorporate this into the library, while the test harness bits would remain 'stock' python. Tao Takashi will extend his initial attempt at this one for AWG and LL to review early next week.
#Determine whether to [http://www.muthukadan.net/docs/zca.html ZCA] or not to ZCA - ZCA enables flexibility via modularity with a component based framework. The intent would be to incorporate this into the library, while the test harness bits would remain 'stock' python. Tao Takashi will extend his initial attempt at this one for AWG and LL to review early next week.
#Incorporate [http://pypi.python.org/pypi/zc.buildout/1.0.0b30 buildout]?
#Decide whether or not to incorporate [http://pypi.python.org/pypi/zc.buildout/1.0.0b30 buildout]
#Test framework: To [http://docs.python.org/lib/module-doctest.html doctest] or not to doctest? We are certainly planning to use [http://docs.python.org/lib/module-unittest.html unittest]
#Decide whether to [http://docs.python.org/lib/module-doctest.html doctest] or not to doctest. We are certainly planning to use [http://docs.python.org/lib/module-unittest.html unittest]
#Determine how to handle test data. I imagine we'll build a template and interface to an implementation of the template, and leave contents up to the developer.
#Determine how to handle test data. I imagine we'll build a template and interface to an implementation of the template, and leave contents up to the developer.

Revision as of 06:35, 26 June 2008

This page is dedicated to the client library aspect of the Pyogp project. The more general page is AWG_Test_Harness This page is in progress and so may be incomplete and some information may be incorrect at this point.

Overview

The longer term vision of the Pyogp project is essentially to create a client library, capable of navigating the grid and interacting with the various hosts, sitting next to a testing framework, happily running along telling us what works where, and where something needs a little attention to work according to specification...

Documentation

Components (and supporting environmental details)

These are the currently envisioned components.

  1. Login
  2. Caps (and while it's around the UDP pipe)
  3. Message Handlers (see chttp)
  4. Basic web server parts for the Agent, Region and grid bits (ideally a snap in framework)

Status

  • Interop Live Protocol - Current Interop project status, aka, what the beta agent domain has working
  • Tao Takashi's Pyogp - svn repo - Tao Takashi has hit the ground running with an experimental framework which has been made available here.
    • Read more at his blogpost describing the start of his work at his very long url.
  • Linden Pyogp - svn repo of Linden's first stab at framework
    • pyogp.lib-login.py - sample script which logs into aditi's agent domain and establishes a presence on a simulator on vaak:
    • Disclaimer*: Everything in the repo now will change dramatically in the next few weeks as things firm up structure wise. My desires for the work include: a simple, well defined library, a separate test framework (unittest, the initial high level code to be added this week), an samples/examples sandbox, and clean well commented code. That said, none of the above are in place now. They will be. More sophisticated implementations can evolve over time, or can be included on the side of the library...
  • Interop Ruths - something news that may be of interest to us

Plan

Task list for the client library. These may get PJIRA tasks someday, or some other format we decide upon.

  1. Determine whether to ZCA or not to ZCA - ZCA enables flexibility via modularity with a component based framework. The intent would be to incorporate this into the library, while the test harness bits would remain 'stock' python. Tao Takashi will extend his initial attempt at this one for AWG and LL to review early next week.
  2. Decide whether or not to incorporate buildout
  3. Decide whether to doctest or not to doctest. We are certainly planning to use unittest
  4. Determine how to handle test data. I imagine we'll build a template and interface to an implementation of the template, and leave contents up to the developer.