The PEAK Developers' Center   Diff for "IntroToPeak" UserPreferences
 
HelpContents Search Diffs Info Edit Subscribe XML Print View
Differences between version dated 2003-12-09 22:21:10 and 2005-07-27 14:27:18 (spanning 9 versions)
Deletions are marked like this.
Additions are marked like this.

process, you'll be able to see how easy it is to create, re-use, and
re-purpose component-driven applications with PEAK.
 
 
'''Lesson Prerequisites'''
= Lesson Prerequisites =
 
The examples in the lessons below have been tested
against the latest CVS version of PEAK 0.5 alpha 3.

write up your question on the PEAK mailing list, and we'll try to
get the examples updated with more Windows-specific command lines.
 
'''The Lessons'''
Non-BSD Unix users: The `#!` lines in this tutorial are written
for BSD-like Unixes that treat `#!` lines as having space-separated
arguments. On other unixes, you will need to rewrite the `#!` lines
to use the `invoke` program included with PEAK. Build and install
the `invoke` program according to the instructions in PEAK's
`INSTALL.txt` file, and make note of its path. You will need to change
`#!` lines that look like: {{{
#!/usr/bin/env peak runIni
}}} to read: {{{
#!/usr/local/bin/invoke peak runIni
}}} instead. (Substituting the correct path to `invoke`, of course.)
 
`invoke` doesn't support setting the environment like `env` does, so
you'll need to use something like: {{{
`#!/usr/local/bin/invoke env WHATEVER=whatever peak whatever`
}}}
if a `#!` line needs to set something in the environment.
 
Unfortunately, some operating systems have extremely limited lengths
for `#!` lines, and you may have to create a shell script and invoke it
via `#!invoke` in order to get all of the arguments you need. For
more on this, see [http://peak.telecommunity.com/doc/INSTALL.txt.html PEAK's INSTALL.txt],
under "Scripts, Batch Files, and `#!`".
 
= The Lessons =
 
 * /LessonOne - Commands and Configuration
 * /LessonTwo - Domain Models and Data Retrieval
 * /LessonThree - Subcommands and Storing Data
 * /LessonFour - SQL, N2, and peak.naming
 * /LessonFive - Using Logs
 * /ToDo - Not a lesson, just thoughts on future topics, open issues, etc.
 * /["Changes"] - Also not a lesson; a record of changes made to the tutorial
 
= Exploring the rest of PEAK =
 

 ... etc.
}}}
 
(Also, this tutorial doesn't cover how to make your command objects support options like `--help`; for that, you can check out `options.txt` in the `peak.running` package, or have a look at the OptionsHowTo, which is the same thing but in HTML.)
 
So have fun with PEAK, and I'll see you at the top!

PythonPowered
ShowText of this page
EditText of this page
FindPage by browsing, title search , text search or an index
Or try one of these actions: AttachFile, DeletePage, LikePages, LocalSiteMap, SpellCheck