Navigation

ToscaWidgets 2 Documentation¶

ToscaWidgets aims to be a practical and useful widgets framework that helps people build interactive websites with compelling features, faster and easier. Widgets are re-usable web components that can include a template, server-side code and JavaScripts/CSS resources. The library aims to be: flexible, reliable, documented, performant, and as simple as possible. For changes since ToscaWidgets 0.9, see What’s New in ToscaWidgets 2?.

You can see the available widgets in the Widget Browser.

ToscaWidgets 2 library packages follow the same naming convention, for example:

  • tw2.core – Core functionality – no end-usable widgets here.
  • tw2.forms – Basic forms library
  • tw2.dynforms – Dynamic forms – client-side and Ajax
  • tw2.sqla – SQLAlchemy database interface, similar to Sprox and Rum
  • tw2.yui – tw2 wrappers around Yahoo User Interface widgets
  • tw2.jquery – tw2 wrappers around jQuery core functionality.
  • tw2.jqplugins.ui – tw2 wrappers around jQuery-UI widgets.
  • tw2.jit – tw2 wrappers around the Javascript Infovis Toolkit.
  • ... and many more.

Online Resources

  • Live demos – Pick and choose from available libraries from the tw2 Widget Browser.
  • Tutorials for doing –
    • Dynamic database-driven forms with tw2 and Pyramid.
    • Dynamic database-driven forms with tw2 and TurboGears 2.1.
    • Dynamic database-driven forms with tw2 all by its standalone self.
    • Interactive relationship graphs with tw2.jit and Pyramid.
    • Interactive relationship graphs with tw2.jit and TurboGears 2.1.
    • Database-aware jqgrid, with jqplot and portlets in a TG2.1 app.
    • Bubble charts with tw2.protovis.
  • Nightly run test results.
  • Email list: toscawidgets-discuss.
  • IRC channel: #toscawidgets on irc.freenode.net
  • Bug tracker: Paj’s bitbucket account.
    • (All ToscaWidgets 2 issues should go here, regardless of which component the issue exists in. However, ToscaWidgets 0.9 bugs must not go on this tracker.)

Contents

  • Tutorial
    • Installation
    • Using ToscaWidgets
    • Next Steps
    • Import Styles
  • Design
    • Widget Overview
    • Widget Hierarchy
    • Template
    • Non-template Output
    • Resources
    • Middleware
    • Declarative Instantiation
    • Widgets as Controllers
    • Validation
    • General Considerations
  • tw2.devtools
    • Widget Browser
    • Widget Library Quick Start
    • Writing a good widget library
  • What’s New in ToscaWidgets 2?
    • Per-Request Widget Instances
    • Simplified Form Definitions
    • Widget Controller Methods
    • Built-in Validation
    • Declarative Parameter Definitions
    • Consistency in IDs and Names
    • Layouts Separated from Containers
    • Explicitly Deferred Parameters
    • Variables in Widget Templates
    • ToscaWidgets as a Framework
    • Minor Differences
    • ToscaWidgets 1

Indices and tables¶

  • Index
  • Module Index
  • Search Page

Project Versions

Table Of Contents

  • ToscaWidgets 2 Documentation
  • Indices and tables

Next topic

Tutorial

This Page

  • Show Source

Navigation

© Copyright 2012, Paul Johnston, Alberto Valverde & Contributors. Created using Sphinx 1.1.3.
TEST Brought to you by Read the Docs
gipoco.com is neither affiliated with the authors of this page nor responsible for its contents. This is a safe-cache copy of the original web site.