Basie Blog

A Lightweight Software Development Portal in Django

Ajax VCS Browser

with 2 comments

Just thought I would post up a screenshot and a quick explanation of the new AJAX VCS Browser I built today.

The tree control on the left is populated dynamically every time a user clicks on a node (this avoids problems with massive repositories) by grabbing a snippet of on the fly generated JSON markup from the server and passing it to some jQuery on the front end.

The content pane is syntax highlighted for just about every known language :) and is also loaded using AJAX.

The upshot?  The entire VCS Browser is a single page and never loads a kb more than it needs to.

Not bad for a day of prototyping!  And Florian is tearing apart the backend as I write this so we’ll glue them together tomorrow.

- Bill

Screenshot

Written by bkonrad

May 25th, 2009 at 4:26 pm

Posted in Uncategorized

2 Responses to 'Ajax VCS Browser'

Subscribe to comments with RSS or TrackBack to 'Ajax VCS Browser'.

  1. [...] Basie students have an AJAX SVN browser working and are switching to Whoosh for search. We should have some more screencasts up later this [...]

  2. [...] Basie students have an AJAX SVN browser working and are switching to Whoosh for search. We should have some more screencasts up later this [...]

Leave a Reply