Interesting.<br><br>So for neither of these, did you use FFI -- you pretty much said "okay, what communication mechanisms does unix give me, and I'll use those" --> thus pipe/sockets & writing to mysql (which is almost like shared memory).<br>
<br>Can you say some more about your experiences with this approach?<br><br><div class="gmail_quote">On Sun, Mar 8, 2009 at 8:20 PM, Pavel Dudrenov <span dir="ltr"><<a href="mailto:dudrenov@gmail.com">dudrenov@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Well it kind of depends on your app. For what I've done in the past, C<br>
talking to a php app, I did by keeping both completely separate and<br>
have them use the same data (both query same mysql db). The other time<br>
I just had C daemon and had php connect to it using a socket.<br>
<br>
Depending on your project you might try something similar,<br>
Pavel<br>
<br>
<br>
On Sun, Mar 8, 2009 at 4:23 PM, lowly coder<br>
<div class="im"><<a href="mailto:lowlycoder@huoyanjinjing.com">lowlycoder@huoyanjinjing.com</a>> wrote:<br>
> ah, alternative, and potentially 'better' idea --- anyone here got gambit<br>
> (or scheme in general) to talk to php in apache / lighttpd? i don't mind the<br>
> slight inefficiency if it puts alot of libraries at my finger tips<br>
><br>
> On Sun, Mar 8, 2009 at 4:14 PM, lowly coder <<a href="mailto:lowlycoder@huoyanjinjing.com">lowlycoder@huoyanjinjing.com</a>><br>
> wrote:<br>
>><br>
>> Hi!<br>
>><br>
>>   Is anyone here writing facebook apps on termite? or even scheme in<br>
>> general? If so, can you point me at what scheme <-> facebook library you're<br>
>> using? (If you converted over the php one, and are willing to donate the<br>
>> code, even better!)<br>
>><br>
>> Thanks!<br>
><br>
><br>
</div>> _______________________________________________<br>
> Gambit-list mailing list<br>
> <a href="mailto:Gambit-list@iro.umontreal.ca">Gambit-list@iro.umontreal.ca</a><br>
> <a href="https://webmail.iro.umontreal.ca/mailman/listinfo/gambit-list" target="_blank">https://webmail.iro.umontreal.ca/mailman/listinfo/gambit-list</a><br>
><br>
><br>
</blockquote></div><br>