[Buildbot-devel] Fwd: Nodejs with python

Pierre Tardy tardyp at gmail.com
Wed May 29 14:07:55 UTC 2013


We are using angularjs framework to do the data binding in the browser.

Then the model if fetched via the new REST api of buildbot nine, and
updated via SSE.

You can find a bit more information here:
https://github.com/buildbot/buildbot/blob/nine/master/docs/developer/www.rst

a proof of concept of this mechanics is available here:
https://github.com/buildbot/buildbot/blob/nine/www/src/scripts/services/buildbotService.coffee

But I dont like the api it is providing.

I'd like to have an api similar to restangular:
https://github.com/mgonto/restangular
which does not have automatic update via SSE

so I'd like to have a similar technic that is used in FireBase angular
bindings:
https://github.com/firebase/angularFire

so this will do something like

buildbotService.get("builders").get(1234).get("logs").getAll($scope, 'logs')
or maybe:
buildbotService.builders().get(1234).logs().getAll($scope, 'logs')
if I do the getattr syntax sugar trick.

(I'd like to have other devs feedback on this, before I start)

Regards,
Pierre


On Wed, May 29, 2013 at 1:00 PM, Simon Holm Nielsen <simon at unity3d.com>wrote:

> Thanks for your answer.
>
> How do you suggest to implement realtime content in the html pages ?
>
> Greetings,
>
> *Simon Nielsen*
> Frontend-end developer
>
> Begin forwarded message:
>
> *From: *"Dustin J. Mitchell" <dustin at v.igoro.us>
> *Subject: **Re: [Buildbot-devel] Nodejs with python*
> *Date: *May 28, 2013 3:23:46 PM GMT+02:00
> *To: *Simon Holm Nielsen <simon at unity3d.com>
> *Cc: *"Buildbot ." <buildbot-devel at lists.sourceforge.net>
>
> On Tue, May 28, 2013 at 8:48 AM, Simon Holm Nielsen <simon at unity3d.com>
> wrote:
>
> We need to display realtime data like current job in the builderpage. I
> would like to ask if you use node.js as ajax substitution in version 9.
>
>
> Well, node.js and Ajax don't do similar things, so I don't see how the
> one could substitute for the other.  One is a language and runtime;
> the other is a dynamic frontend implementation technique.
>
> We are using Node.js in nine, although only for the build process.  We
> may also use it to run tests.  It will not be part of a running
> Buildbot instance.
>
> The goal is for everything to be (near-)realtime, by sending messages
> to the client when things change.  It's up to the client (the browser)
> to interpret that and update the display.  So there's lots of JS
> involved!
>
> Much of this is still in the planning stages, but you can take a look
> at what Pierre has put together, which is already quite impressive.
> See README.md and www/README.txt in the nine branch, and in general
> look in the www/ directory.
>
> We'd love to have your help!
>
> Dustin
>
>
>
>
> ------------------------------------------------------------------------------
> Introducing AppDynamics Lite, a free troubleshooting tool for Java/.NET
> Get 100% visibility into your production application - at no cost.
> Code-level diagnostics for performance bottlenecks with <2% overhead
> Download for free and get started troubleshooting in minutes.
> http://p.sf.net/sfu/appdyn_d2d_ap1
> _______________________________________________
> Buildbot-devel mailing list
> Buildbot-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/buildbot-devel
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://buildbot.net/pipermail/devel/attachments/20130529/4b1ff6f2/attachment.html>


More information about the devel mailing list