Login | Register
My pages Projects Community openCollabNet

Discussions > dev > Re: Packaging kamikaze

kamikaze-qscm
Discussion topic

Back to topic list

Re: Packaging kamikaze

Author Guillaume Rousse <Guillaume dot Rousse at inria dot fr>
Full name Guillaume Rousse <Guillaume dot Rousse at inria dot fr>
Date 2006-03-28 00:18:53 PST
Message John W Duprey wrote:
> Neat, is their a package listing online for mandriva, I'd like to see it
> listed. :)
No official package list, you have to browse mirrors for it.

>> What I don't understand, however, is why you did use perl for populating
>> database, and php for exploring it, instead of using a single language?
>>
> Good question. It seemed to me that perl was a more suitable language
> for back end hooks in subversion. I wasn't sure if the CLI version of
> PHP was as common has PERL. Honestly, I don't even think I gave PHP
> consideration to run anywhere but from within the apache environment.
> Another "good" reason for PERL is that I was able to take a large
> portion of the code from example hook scripts - code for parsing the
> results of svnlook, etc.
You're absolutly right about the better fit of perl for general
purposes. My point is that perl is also largelly equal to php for web
applications :)

BTW, you'd rather use CPAN modules as SVN-SVNLook, SVN-Log, etc.. than
those hook scripts that seems to have been written in perl 4 by python
hackers.

> Does it make a difference? I suppose it imposes one more requirement,
> PERL (with DBI support), but you'll find that in just about any
> environment that also has PHP.
The main difference comes from the fact that as long as your
configuration file will be language-dependant, having two different ones
in your application will require two configuration files. And using PHP
make your application mysql-dependant, whereas DBI offers more flexibility.

« Previous message in topic | 3 of 3 | Next message in topic »

Messages

Show all messages in topic

Packaging kamikaze Guillaume Rousse <Guillaume dot Rousse at inria dot fr> Guillaume Rousse <Guillaume dot Rousse at inria dot fr> 2006-03-19 13:24:42 PST
     Re: Packaging kamikaze John W Duprey <jduprey1 at yahoo dot com> John W Duprey <jduprey1 at yahoo dot com> 2006-03-27 21:18:01 PST
         Re: Packaging kamikaze Guillaume Rousse <Guillaume dot Rousse at inria dot fr> Guillaume Rousse <Guillaume dot Rousse at inria dot fr> 2006-03-28 00:18:53 PST
Messages per page: