← Back to team overview

keryx team mailing list archive

Re: APT-Web/Keryx Web

 

Cory, PHP is apparently very easy to place within a WP page. But
Python scripts can be run with something like <?php echo
system_exec("/home/foo/bar.py") ?> very easily also. However, I think
it would be nice to have the actual Python code in the WP page so it
can be edited easily from within the browser. I haven't figured out
how to do that yet.

As for which programming language to use, they'll both work, so it's a
matter of preference.

On Thu, Jul 16, 2009 at 5:06 PM, Cory Thompson<cory@xxxxxxxxxxxxxxxx> wrote:
> I speak python. I still think we should still with PHP because on how easy
> it will be to integrate it into the keryx wordpress blog. If you send me the
> code which isn't working ill have a little look into it.
>
> haha, but on the other hand i might just think this because i never knew
> python could be used on the web.
>
> Thanks,
> Cory
> mac9416 wrote:
>>
>> OK, Fajran, awesome. Chris has ported the dpkg dep calculation code to
>> Python, so I reckon that will be the way to go.
>>
>> On Thu, Jul 16, 2009 at 12:32 PM, Fajran Iman Rusadi<fajran@xxxxxxxxx>
>> wrote:
>>
>>>
>>> On Thu, Jul 16, 2009 at 19:03, mac9416<mac9416@xxxxxxxxxxxxxxxx> wrote:
>>>
>>>>
>>>> Well, Chris told me (he forgot to reply all) that apt-get is installed
>>>> on the server. However, I think programming everything in Python would
>>>> be nice. Fajran and Cory might not speak Python, though, I'm not sure.
>>>>
>>>
>>> Don't worry, I also speak Python :-)
>>> Actually for a not-small project like Keryx web, I prefer to use
>>> python over php :-)
>>>
>>>
>>>>
>>>> I think programming all the dependency calculation by hand would be
>>>> advantageous over using apt-get on the server anyway, no matter what
>>>> language is used.
>>>>
>>>>
>>>
>>> One reason why I used the real apt-get in apt-web is because I didn't
>>> have that dependency calculation code. But since the web server I use
>>> uses Debian (I guess) which of course has apt-get, I thought it would
>>> be simpler and faster to develop if I just use apt-get.
>>>
>>>
>>> --
>>> Iang-
>>> http://fajran.web.id y!m: fajran
>>>
>>>
>>
>> _______________________________________________
>> Mailing list: https://launchpad.net/~keryx
>> Post to     : keryx@xxxxxxxxxxxxxxxxxxx
>> Unsubscribe : https://launchpad.net/~keryx
>> More help   : https://help.launchpad.net/ListHelp
>> ------------------------------------------------------------------------
>>
>>
>> No virus found in this incoming message.
>> Checked by AVG - www.avg.com Version: 8.5.375 / Virus Database:
>> 270.13.16/2240 - Release Date: 07/15/09 17:58:00
>>
>>
>
>
> _______________________________________________
> Mailing list: https://launchpad.net/~keryx
> Post to     : keryx@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~keryx
> More help   : https://help.launchpad.net/ListHelp
>



Follow ups

References