The Artima Developer Community
Sponsored Link

PHP Buzz Forum
FlexySvn: A subversion browser using the php svn bindings

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Alan Knowles

Posts: 390
Nickname: alank
Registered: Sep, 2004

Alan Knowles is Freelance Developer, works on PHP extensions and PEAR.
FlexySvn: A subversion browser using the php svn bindings Posted: May 3, 2005 9:18 PM
Reply to this message Reply

This post originated from an RSS feed registered with PHP Buzz by Alan Knowles.
Original Post: FlexySvn: A subversion browser using the php svn bindings
Feed Title: Smoking toooo much PHP
Feed URL: http://www.akbkhome.com/blog.php/RSS.xml
Feed Description: More than just a blog :)
Latest PHP Buzz Posts
Latest PHP Buzz Posts by Alan Knowles
Latest Posts From Smoking toooo much PHP

Advertisement
As I mentioned in the update to my last post about the svn bindings for php, Wez has gone off like a rocket adding almost every feature under the sun to the extension. Authentication, repository creation, diff's etc. all appear to be working. So in another fit of itch scratching, I started hacking on a Subversion browser, using the bindings to blow away the rather staid and dull efforts that have gone before...

With a little XUL magic, and some clever tricks with xmlhttprequest, I threw most of the interface and application together in 2 evenings, Proving what I always suspected, XUL/JS/PHP is going to be a pretty hard combo to beat in terms of rapid development, and delivery.

It has a large feature set already, and probably does as much, if not more, that most of the alternatives out there.

FlexySvn is still being hacked at, although you should be able to get an idea of how it works from looking at the XUL Template, and the Page's action class. A downloadable version should be available after I go back and make a few tweaks to the svn bindings so the return values are more sensible. eg. using common names for log and ls details like
  • rev = the revision
  • time = a unix utime() number
  • datetime = a iso short formated version of the time (eg. 2001-01-01 10:30:12)
  • author (rather than modified_by or other names.)
  • ... others.. that need some thought....
The one major missing feature at present is the Edit page, which initially started off with the idea of using the HTML editor code from my web site, and webdav javascript posting to save. However, I have started pondering if writing a mozilla pluggin to use scintilla might be quite cute.  This is apparently something like what Komodo does.

The only drawback is that the documentation on how to build mozilla plugins on unix, are a little thin on the ground. My limited research indicated that using the build scripts from plugger and some of the code from the mozilla pluggin SDK might be the way to go, but then you have to start wondering, if you make the browser an editor, what happens when you accidentally write a neverending loop in javascript.. and render it on another window, - It will crash your editor?!... oops.

Read: FlexySvn: A subversion browser using the php svn bindings

Topic: Amsterdam Arrivals Previous Topic   Next Topic Topic: Zend Webcast: PHP Rocks!

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use