cube2py

15
cube2py The IDE that looks like a wiki To build web apps using wiki syntax (no coding) Runs anywhere (including GAE)

Upload: massimo-di-pierro

Post on 18-Dec-2014

11.431 views

Category:

Education


0 download

DESCRIPTION

 

TRANSCRIPT

Page 1: Cube2py

cube2pyThe IDE that looks like a wiki

To build web apps using wiki syntax (no coding)

Runs anywhere (including GAE)

Page 2: Cube2py

Any web app is a collection of pagesprivate pages

Page 3: Cube2py

Any web app is a collection of pages

Pages have permissions

public pages private pages

private pages

Page 4: Cube2py

Any web app is a collection of pages

Pages have permissions

Pages can be listed in the menu

public pages private pages

menu

private pages

Page 5: Cube2py

Any web app is a collection of pages

Pages have permissions

Pages can be listed in the menu

Pages contain text, links, forms and widgets

public pages private pages

menu

private pages

form

link

text, media, crud widgets,social widgets

executable code

Page 6: Cube2py

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)

Page 7: Cube2py

Looks like a wiki, smells like one too

list all pages

edit current pages

set permissionspage slug

http://.../page/home

Page 8: Cube2py

Example: text in pages

# section## sub section### sub sub section

Paragraph**bold text**''italic text''``code text``[[link http://google.com]]

style depends on CSS

render

markmin syntax

Page 9: Cube2py

Example: crud forms

# Crud Create Form

``name: createtable: friend``:widget

assumes table "friend" defined

Page 10: Cube2py

Example: jquery plugins

# List of Friends

``name: jqgridtable: friendwidth: 250height: 200``:widget

pagination via ajax

based on jQuery.jQgrid

plugin

Page 11: Cube2py

Example: social widgets

# Tag a page

Tag this text

``name: tagstable: pagerecord_id: 1``:widget

tagging via ajax

Page 12: Cube2py

Example: executable code

# Embedded code

Using the web2py template language

``Counting {{for i in range(3):}} <b>{{=i}}</b>...{{pass}}``:template

Page 13: Cube2py

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.

Page 14: Cube2py

More

Can be added as a plugin (plugin_wiki) to any web2py application

Page 15: Cube2py

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)