T3
Beyond MVC
Login | Register | Password
Registration is disabled

What is T3?


  • T3 is a new layer on top of web2py
  • T3 is a WIKI that runs everywhere (including on Google App Engine)
  • T3 is a very special WIKI because it allows you to define database tables (using web2py syntax) and embed Python code in pages, in particular it allows you to include T2 components (CRUD, itemize, search, reviews, comments, attachments, google checkout items, etc.).
  • T3 does not require a different development platform than the one it runs on (for example GAE)
  • T3 can generate RSS feeds, serve JSON and XMLRPC as well as any custom function.
  • T3 includes jQuery
  • T3 can be easily be integrated with any existing web2py application.
  • T3 is fast and powerful but still to be considered experimental.
  • Please send us feedback using the google group
Registration here is disabled on purpose so it comment - posting

Download Instructions

  • Download web2py source from http://www.web2py.com
  • Download and install T3  (do not untar, upload it in web2py and call as you like, this is your app)
  • Run it where you want or upload it on GAE
  • Access it as any other web2py app
  • Register
  • Login
  • Click on Configure
  • Edit EMIL_ADMIN='*' and set EMAIL_ADMIN to your email address so nobody else can post code.
The source code is also posted on launchpad.

Examples


  • We are working on documentation. For now consider these simple examples.
  • Pages are referenced by their ID which you can see in the URL.
  • If you have a page called "Welcome" and a page "Welcome/Child", the latter will  appear in a submenu of the former page.
  • If you edit a page and in the page you embed the following code {{=self.comments()}}, it generates a comment thread as you see below.
  • If you access the "Configure" menu item you can define tables using the normal web2py notation. For example: db.define_table('friend',db.Field('name','string'))
  • You can then embed a CREATE form in any page with {{=self.create(db.friend)}} and similarly you can insert a list of friends stored in the database {{=self.itemize(db.friend)}}.
  • If you make a mistake, for example {{=1/0}} results in
    Internal Error [open]
    With a debug popup visible only to the administrator.
  • For more info refer to the documentation in T2.

[toggle][post]
  • User None on 2008-12-08 12:54:07.791585 says:

    test

    [toggle][reply]
    • User None on 2008-12-09 18:16:31.979129 says:

      Try

      [toggle][reply]
    • User None on 2008-12-09 14:04:59.231333 says:

      sub

      [toggle][reply]
      • User None on 2008-12-09 18:16:21.588657 says:

        Works

        [toggle][reply]