[ANN] git JSONRPC web service and matching pyjamas front-end

Discussion in 'Python' started by Luke Kenneth Casson Leighton, Jun 29, 2010.

  1. as more than just a proof-of-concept but to get pyjamas out of looking
    like "a nice toy, doesn't do much, great demos, shame about real
    life", i've created yet another git repository browser. this one,
    thanks to pyjamas, obviously runs as both a desktop application and
    also as a web application - same source code.

    pyjamasgitweb is actually two independent happily small projects. the
    first is simply a JSONRPC-based git web server (in python, using
    python-git) and the second is a matching front-end.

    the front-end is happily bare but functional. a demo is here (please
    be nice to it) where you will see immediately a total lack of colour
    or even borders:
    http://pyjs.org/pygit

    if anyone wants the source code, or to help contribute, it's at:
    git clone :pyjamasgitweb

    to start the server, read the README, install the dependencies, then do:

    $ cd jsonservice
    $ python srv.py {path to top level of repository} &
    $ cd ../pyjamas
    $ ./build.sh # requires symlink ~/bin/pyjsbuild to sandbox
    $ firefox http://127.0.0.1:8000/outputJSONRPCService.html &
    $ python JSONRPCService.py # for the desktop version

    l.
     
    Luke Kenneth Casson Leighton, Jun 29, 2010
    #1
    1. Advertising

  2. Luke Kenneth Casson Leighton

    CM Guest

    Re: git JSONRPC web service and matching pyjamas front-end

    On Jun 29, 6:54 pm, Luke Kenneth Casson Leighton <>
    wrote:
    > as more than just a proof-of-concept but to get pyjamas out of looking
    > like "a nice toy, doesn't do much, great demos, shame about real
    > life", i've created yet another git repository browser.  this one,
    > thanks to pyjamas, obviously runs as both a desktop application and
    > also as a web application - same source code.
    >
    > pyjamasgitweb is actually two independent happily small projects.  the
    > first is simply a JSONRPC-based git web server (in python, using
    > python-git) and the second is a matching front-end.
    >
    > the front-end is happily bare but functional.  a demo is here (please
    > be nice to it) where you will see immediately a total lack of colour
    > or even borders:http://pyjs.org/pygit


    When I load that page all I see is what appears to be the barest of a
    web page with some text and links, but no widgets. If may be
    generated with pyjamas but I'm not sure how this fulfills your wish to
    do something that does more than "doesn't do much". I would expect a
    demo to at least have some typical GUI features on it--or am I
    completely missing the point of what you're doing?

    Che
     
    CM, Jun 30, 2010
    #2
    1. Advertising

  3. Re: git JSONRPC web service and matching pyjamas front-end

    On 06/30/10 03:29, CM wrote:
    > On Jun 29, 6:54 pm, Luke Kenneth Casson Leighton<>
    > wrote:
    >> as more than just a proof-of-concept but to get pyjamas out of looking
    >> like "a nice toy, doesn't do much, great demos, shame about real
    >> life",

    <cut>
    > If may be
    > generated with pyjamas but I'm not sure how this fulfills your wish to
    > do something that does more than "doesn't do much". I would expect a
    > demo to at least have some typical GUI features on it--or am I
    > completely missing the point of what you're doing?
    >

    I think lkcl wanted to demonstrate that it is more than '"a nice toy"'
    and that there is an actual real world application for it.
    I am not sure why he seems to have the urge to do that as for me I am
    already convinced about its usability.

    --
    mph
     
    Martin P. Hellwig, Jun 30, 2010
    #3
  4. Luke Kenneth Casson Leighton

    CM Guest

    Re: git JSONRPC web service and matching pyjamas front-end

    On Jun 30, 4:27 am, "Martin P. Hellwig" <>
    wrote:
    > On 06/30/10 03:29, CM wrote:> On Jun 29, 6:54 pm, Luke Kenneth Casson Leighton<>
    > > wrote:
    > >> as more than just a proof-of-concept but to get pyjamas out of looking
    > >> like "a nice toy, doesn't do much, great demos, shame about real
    > >> life",

    > <cut>
    > > If may be
    > > generated with pyjamas but I'm not sure how this fulfills your wish to
    > > do something that does more than "doesn't do much".  I would expect a
    > > demo to at least have some typical GUI features on it--or am I
    > > completely missing the point of what you're doing?

    >
    > I think lkcl wanted to demonstrate that it is more than '"a nice toy"'
    > and that there is an actual real world application for it.
    > I am not sure why he seems to have the urge to do that as for me I am
    > already convinced about its usability.


    I also already had the impression that pyjamas was a usable and
    valuable
    thing, but I felt that if he wanted to show an application it should
    have
    showcased the GUI elements like buttons, dropdowns, lists, etc. to
    make
    the point about how applications can run either as a desktop GUI app
    or
    a web based GUI app. What is shown instead looks like it could have
    been written w/ just HTML, and has limited interactivity. The pyjamas
    examples page shows many nice GUI elements that could make it into a
    non-toy demo app, and I expect this will happen soon, but this demo
    doesn't
    quite do it for me, GUI-wise. I only say this because I think pyjamas
    is a great project and I'm looking forward to see more people using
    it
    for dual (desktop/web) apps.

    Che
     
    CM, Jun 30, 2010
    #4
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Luke Kenneth Casson Leighton

    [ANN] Pyjamas 0.6pre1 ALPHA release of Pyjamas Widget Set

    Luke Kenneth Casson Leighton, Jul 10, 2009, in forum: Python
    Replies:
    0
    Views:
    288
    Luke Kenneth Casson Leighton
    Jul 10, 2009
  2. Karen Sundquist
    Replies:
    1
    Views:
    168
    Saurabh Nandu
    Dec 1, 2003
  3. Matt

    IIS ASP is front end or back end?

    Matt, Apr 4, 2004, in forum: ASP General
    Replies:
    3
    Views:
    307
    Ken VdB
    Apr 5, 2004
  4. The alMIGHTY N

    back-end vs. front-end calculation

    The alMIGHTY N, Apr 2, 2007, in forum: Javascript
    Replies:
    5
    Views:
    443
    The alMIGHTY N
    Apr 3, 2007
  5. vunet
    Replies:
    2
    Views:
    206
    vunet
    May 19, 2009
Loading...

Share This Page