Post Blast From Windows Desktop by to tw,fb,wp,ps


Checkout my “Posting From Windows Desktop” previous post on It shows Python source code to post to

This post is being autoposted by to:


#autopost, #facebook, #posterous, #python, #twitter, #wordpress

Web2py URL Mapping

URL Mapping from the Book Chapter 4 – Dispatching. These are the basics there’s more detail in the book.

The URL    maps to:

The function f() in controller “” in application “a“.

  • If f is not present, web2py defaults to the index controller function.
  • If c is not present, web2py defaults to the controller.
  • If a is not present, web2py defaults to the init application.
  • If there is no init application, web2py tries to run the welcome application.
  • The extension .html is optional.
  • The extension .html is assumed as default.
  • The extension determines the extension of the view that renders the output of the controller function f().
  • The extension allows the same content to be served in multiple formats (html, xml, json, rss, etc.).

Web2py maps GET/POST requests of the form:

As before, to function f in controller “” in application a

and it stores the URL parameters in the requestvariable as follows:

    request.args = ['x', 'y', 'z']
    request.vars = {'p':1, 'q':2}
    request.application = 'a'
    request.controller = 'c'
    request.function = 'f'

    request.url = url of request
    request.ajax = False  #by default
    if request.ajax == True and wasInitiatedByAWeb2pyComponent:
        request.cid = componentName

#python, #web2py

Great OAuth Presentation

This is  a great OAuth presentation by Leah Culver. It has just the right level of detail for me. Here’s the link.


OAuth UML Sequence Diagrams

Here’s two diagrams i found describing the OAuth Workflow.

The first is from dev.twitter due to @idangazit. I found the second on a Japanese website, I believe it is sourced at a VERY COOL website that lets you create UML Sequence Diagrams online,

Here is the First from dev.twitter due to @idangazit.

dev.twitter OAuth Workflow

Here’s the second from

#oauth, #sequence-diagrams, #uml