May 29, 2008

Extending MindTouch Deki with Google App Engine

google-app-engine.pngYesterday, Google announced the general availability of Google App Engine, another option for deploying Cloud Software.

Google App Engine is a great place to create and share extensions for MindTouch Deki. By design, Deki is a distributed application platform that can be extended in any programming language, including C#, PHP, Java, Python, and the built-in DekiScript runtime. Sharing these extensions can be difficult though since you need to find a place to host them. This is were Google App Engine comes in.

Getting started is incredibly simple:

  1. Download the App Engine SDK.
  2. Create a new application.
  3. Add the DekiExt.py file to it.

After that, creating your own extension only takes a few lines of code:

class MyExtension(DekiExt):

    # title for the extension
    def title(self): return "My Extension"

    # a function is exported in the XML manifest
    @function("str", "return user greeting")
    @param("str", "name of user")
    def hello(self, name):
        return "Hi " + name

Now upload your extension to your Google App Engine account and voilà, anybody can now benefit from it!

To invoke from MindTouch Deki, just register your extension in the control panel. Now your users can access it by simply typing:

{{ hello("Bob") }}

To learn more how to write your own extensions using Google App Engine, check out the tutorial. Then drop by the developer forums to share your work, ask questions, and provide suggestions. Enjoy!

3 Comments »

  1. [...] con la siguiente entrada del blog de MindTouch de la que traduzco parte aquí, respecto al uso de Google App Engine [...]

    Pingback by Tranpalitu — May 29, 2008 @ 12:11 pm

  2. I wonder if Google App could be used to integrate Alfresco with Deki Wiki? Alfresco has the workflow management, records management and web content management features Deki Wiki needs to become a major enterprise content management solution!

    Comment by Richard — May 30, 2008 @ 5:53 am

  3. I’m not sure how App Engine would be used to achieve that. MindTouch Deki Wiki is a lot more than a CMS. It might not seem obvious at first, but it is. :)

    Comment by Steve Bjorg — May 30, 2008 @ 6:30 am

RSS feed for comments on this post. TrackBack URL

Leave a comment