Your SlideShare is downloading. ×
0
cube2py
The IDE that looks like a wiki
To build web apps using wiki syntax (no coding)
Runs anywhere (including GAE)
Any web app is a collection of pages
s
Any web app is a collection of pages
s   Pages have permissions




                    public pages   private pages
Any web app is a collection of pages
    Pages have permissions
s

    Pages can be listed in the menu




         menu

...
Any web app is a collection of pages
    Pages have permissions
s   Pages can be listed in the menu
    Pages contain text...
The idea

Create a web development environment that works like
a wiki (add page, edit page, delete page, revisions)
Create...
Looks like a wiki, smells like one too

http://.../page/home

                       list all pages

   page slug         ...
Example: text in pages
                                       style depends on CSS
 # section
 ## sub section
 ### sub sub...
Example: crud forms


# Crud Create Form


``                assumes table
name: create     "friend" defined

table: friend...
Example: jquery plugins
                                 pagination via ajax



 # List of Friends
                   base...
Example: social widgets
                   tagging via ajax
 # Tag a page


 Tag this text


 ``
 name: tags
 table: page
...
Example: executable code
# Embedded code


Using the web2py template
language


``
Counting
{{for i in range(3):}}
  <b>{{...
Special Pages

Some pages are spacial like
meta-menu: contains menu
meta-header: contains header
meta-footer: contains foo...
More



 Can be added as a plugin (plugin_wiki) to any
 web2py application
More
Runs anywhere including on Google App Engine
Based on web2py
References:
  http://vimeo.com/13154869 (video)
  http:/...
Upcoming SlideShare
Loading in...5
×

Cube2py

11,554

Published on

Published in: Education, Technology, Design

Transcript of "Cube2py"

  1. 1. cube2py The IDE that looks like a wiki To build web apps using wiki syntax (no coding) Runs anywhere (including GAE)
  2. 2. Any web app is a collection of pages s
  3. 3. Any web app is a collection of pages s Pages have permissions public pages private pages
  4. 4. Any web app is a collection of pages Pages have permissions s Pages can be listed in the menu menu public pages private pages
  5. 5. Any web app is a collection of pages Pages have permissions s Pages can be listed in the menu Pages contain text, links, forms and widgets form text, media, crud widgets, social widgets menu executable code link public pages private pages
  6. 6. The idea Create a web development environment that works like a wiki (add page, edit page, delete page, revisions) Create a wiki syntax that allows markup of text, specify classes for elements and embed widgets Widgets can be Create-Read-Update-Delete forms, jQuery plugins, Media players, and/or arbitrary code The entire app is stored in a DataBase (not just data)
  7. 7. Looks like a wiki, smells like one too http://.../page/home list all pages page slug set permissions edit current pages
  8. 8. Example: text in pages style depends on CSS # section ## sub section ### sub sub section render Paragraph **bold text** ''italic text'' ``code text`` [[link http://google.com]] markmin syntax
  9. 9. Example: crud forms # Crud Create Form `` assumes table name: create "friend" defined table: friend ``:widget
  10. 10. Example: jquery plugins pagination via ajax # List of Friends based on jQuery.jQgrid `` plugin name: jqgrid table: friend width: 250 height: 200 ``:widget
  11. 11. Example: social widgets tagging via ajax # Tag a page Tag this text `` name: tags table: page record_id: 1 ``:widget
  12. 12. Example: executable code # Embedded code Using the web2py template language `` Counting {{for i in range(3):}} <b>{{=i}}</b>... {{pass}} ``:template
  13. 13. Special Pages Some pages are spacial like meta-menu: contains menu meta-header: contains header meta-footer: contains footer meta-code: contains code execute before every page. For example custom tables.
  14. 14. More Can be added as a plugin (plugin_wiki) to any web2py application
  15. 15. More Runs anywhere including on Google App Engine Based on web2py References: http://vimeo.com/13154869 (video) http://code.google.com/p/cube2py/ (source) http://web2py.com (only requirement)
  1. A particular slide catching your eye?

    Clipping is a handy way to collect important slides you want to go back to later.

×