Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Clean up pyjs Examples #9

Open
bittner opened this Issue · 3 comments

2 participants

@bittner
Owner

Motivation

Some examples are broken or seem unmaintained. There should be a representative set of examples, showing off pyjs' capabilities, demonstrating what it feels like coding in pyjs, and explaining / solving commonly asked questions. These should look nice, feel good using them, and it should be easy to navigate through them.

Proposed Solution

1.) Clustering the existing examples would help to think of a new structure:

HELLO WORLD EXPERIMENTS

  • ajaxlibtest
  • anchor
  • browserdetect
  • clickablerootpanel
  • clickoverride
  • cssmesser
  • getattr
  • helloworld
  • helloworldsplash
  • maparea
  • media
  • navigate
  • onclicktest
  • svgtest
  • timerdemo

WIDGETS & CONTROLS

  • addonsgallery
  • builder
  • controls
  • datefield
  • dnd
  • flowpanel
  • formpanel
  • gridedit
  • gridtest
  • gwtcanvas
  • kitchensink
  • regextextboxdemo
  • richtext
  • splitpanel
  • tabpanelwidget
  • toggle
  • treeitemcheckbox
  • widgets

SHOWROOM

  • dynamictable
  • employeeadmin
  • funnysortedgridthing
  • gcharttestapp
  • gmaps
  • mail
  • shell
  • showcase
  • slideshow
  • timesheet

GAMES

  • asteroids
  • hangman
  • lightout
  • minesweeper

3RD PARTY LIBRARIES

  • canvasprocessing
  • jsimport
  • jsobject
  • raphael

SERVER COMMUNICATION

  • infohierarchy
  • jsonrpc
  • misc (djangotasks, djangowanted, djangoweb, flaskexamples, flowplayer, gaedjangononrelpuremvcblog, scoping, simplewiki, swfupload)
  • picasaweb
  • uploader
  • xmldoc

TESTING, LOGGING, DEBUGGING

  • libtest
  • uitest

DEPRECATED

  • deprecated (gears, pywebgtkbuilder)

2.) Consolidate the examples in each cluster (e.g. find out which examples can be turned into a single "great example")

3.) Each example should provide a (good) title, a short explanation, a working demo (of course!), and an easy way to see the full source code. The "Showcase" is a good - though unstyled - example. (GWT's Showcase looks a little bit less old-fashioned: https://developers.google.com/web-toolkit/examples/)

See also

@earney

I see no button to assign this to myself. I'll volunteer to work on this issue, if someone wants to assign it to me, or tells me how to assign it myself.

@earney earney was assigned
@earney

For now, I'll let GWT showcase be my inspiration, as well as the structure proposed above.

@bittner
Owner

Some hints on a new version 0.2 of the Asteroids example: pyjs/pyjs#755 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.