IntroToPeak/ToDo
UserPreferences
The PEAK Developers' Center
FrontPage
RecentChanges
TitleIndex
WordIndex
SiteNavigation
HelpContents
Version as of 2003-12-10 20:15:41
Clear message
Misc. ideas/issues for the tutorial:
All the examples use
print
, but should use
print >>self.stdout,
Should we fix this in the early lessons, so folks aren't misled about good practice?
Should we encapsulate the actual greeting code?
Need an
IGreetingService
or some such, so we can demo the
[Component Factories]
configuration
This would then be usable by UI's like web, XMLRPC, etc.
Might be a good way to encapsulate certain aspects, including both greetings and edits
Create a "hello world" socket service, that you connect to and are greeted by (then disconnected); this would let us demo several things, including:
EventDriven
ZConfig schemas
PEAK+Twisted
accessing the
IGreetingService
to get the greeter
Need for commands to write where they're told (
self.stdout
)
Maybe adaptation from
IGreetingService
to a Twisted protocol or factory?
Kind of hard to show in context of EventDriven, though.
Minimal CGI using
print >>self.stdout
w/generic greeting
Add PATH_INFO parsing to greet a specific person
Use CGI and FastCGI containers to launch the app
(Maybe other containers, too, if PyWCI standard catches on by then...)
Move up to
peak.web
Adapt the
IGreetingService
to a Web UI wrapper
Unfortunately,
peak.web
is a huge leap, since it requires path/hierarchy
and
adaptation
Perhaps there's a less steep area we can find to introduce those concepts in first
'peak.security' might also need a gentler introduction, so it's familiar by the time you get to
peak.web
Maybe the socket "hello service" could grow a bit of a protocol with user/password, so we can show security there
EditText
of this page (last modified 2003-12-10 20:15:41)
FindPage
by browsing, title search
, text search
or an index
Or try one of these actions:
AttachFile
,
DeletePage
,
LikePages
,
LocalSiteMap
,
SpellCheck