News

[17/Sep/2009:19:20] Release 0.5 includes Open Flash Chart support.

[01/Jul/2009:10:50] Repoze.who authentication tutorial added

[22/Jun/2009:11:36] AJAX calculator tutorial added.

[01/May/2009:14:15] MVC/SQL based wiki tutorial added.



Contact Email:



view source
W1100.
tutorial.
whiff



Download instructions
at whiff.sourceforge.net
project page
.
WHIFF DOCUMENTION

Tutorial

Walking through some examples will help you learn the organization and capabilities of the whiff package.

These tutorials hope to introduce WHIFF by discussing a number of use cases, beginning with simple ones and progressing to examples with greater complexity.
Subsections:

++ Test drive with exercises    
×
This tutorial describes how to run the WHIFF test drive in a "safe sand box" which does not require you to install WHIFF. The test drive also includes some simple challenge exercises to help you learn WHIFF and test your understanding of the WHIFF environment.


++ Making resumes from fragments    
×
This tutorial shows how to build up larger pages from small fragments of pages using the WHIFF URL naming conventions and configuration templates.


++ A grading form    
×
This tutorial illustrates how to manipulate web page forms using whiff configuration files and Python modules. It also shows how to separate "logic" from "presentation" in web applications.


++ A Mako template for grading    
×
This tutorial illustrates how to implement a web form in a single page by using a Mako template containing embedded Python calculations.


++ A resume wizard    
×
This tutorial builds on the previous "resume fragments" tutorial to define a suite of applications which help users construct resumes. The applications use HTTP session and user profile resources to keep track of logged in users and record their resume information.


++ A simple wiki using MVC and MySQL    
×
This example implements a "wiki" interface. The implementation organizes the application using the "model/view/controller" (MVC) pattern within WHIFF and also illustrates how to add an SQL database as a resource to a WHIFF application among other things.


++ Drop down menus for navigation    
×
This tutorial demonstrates how to use WHIFF built in middleware to add a drop down menu to a collection of web pages.


++ AJAX based calculator    
×
This discussion explains the implementation of a calculator widget using AJAX techniques with WHIFF.


++ jqueryUI interactive widgets    
×
This tutorial describes how to use the WHIFF support for jqueryUI interactive web page widgets such as the datepicker, autocompletion, sortable, draggable/droppable, progressbar, and accordion. The tutorial describes the general methodology for configuring jquery widgets and also walks through a number of simple working example page configurations.


++ Authenticating users using repoze.who    
×
This tutorial explains how to use the WHIFF interface to repoze.who to authenticate users. By authenticating users and checking the authentication a WHIFF application may determine who can and who cannot access pages or whole URL subtrees.


++ Charting data using Open Flash Charts    
×
The whiff_middleware/OpenFlashChart middleware formats an Open Flash Chart (version 2) [http://teethgrinder.co.uk/open-flash-chart-2/]. All required components for the chart widget come pre-packaged with the WHIFF distribution.


++ Internationalization    
×
This tutorial describes a strategy for providing an application with translations in many languages. The internationalization strategy uses WHIFF naming conventions to "overlay" different language substitutions on language independent skeleton views.


++ URL rewriting tutorial    
×
This advanced tutorial illustrates how to rewrite a "user-facing external" URL into an "internal" URL. This kind of mapping can be useful to allow the external URLs to be "prettier" and more easily understood by people than internal URLs which are more easily implemented using WHIFF methodologies. This discussion assumes the reader has a fairly deep understanding of HTTP technology.


++ Using tree view widgets    
×
This tutorial illustrates how to add a "tree view" widget to a web page.


++ Google App Engine Deploys    
×
This tutorial illustrates how to Deploy a WHIFF application to the Google App Engine Platform by explaining the steps needed to deploy the Wiki tutorial application to a GAE web site. To deploy the application we need to develop a WHIFF resource which uses the GAE data store, but the rest of the application is unchanged.


++ Guarded Resources    
×
This tutorial illustrates how to implement data access control using the guarded resource protocol built in to WHIFF. The guarded resource protocol allows appropriate access to resources and prevents inappropriate access to resources. This discussion uses the control of access to student grades in a university courses as an example to illustrate access control requirements and implementations.

0 comments.
Care to comment?
name: (required)
- email (not published):
comment: (required)

<< security number? >>