[development] applet requesting cache item - please help

Tomas J. Fulopp tomi at vacilando.org
Fri Sep 21 09:57:50 UTC 2007


Thanks, Gerhard and Steven. Seems like a way to go; I should've thought 
about cron, yes.

Tomas


Gerhard Killesreiter wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Tomas J. Fulopp schrieb:
>   
>> Hi,
>>
>> Can anybody help me please - I've reviewed tonnes of documentation for
>> days but cannot find the answer.
>>
>> I'm developing a module that displays a Java applet and at the same time
>> prepares data for the applet. This data is stored using cache_set().
>>
>> The applet then requests this data using a separate call... and my
>> problem is -- in the program that provides this data to the applet, I do
>> not know how can I connect to the database. I assume I need to include
>> bootstrap.inc and a couple of other scripts, but all my experiments failed.
>>
>> Can you please give me some hints as to what is the proper way to to
>> this, or can you point me to a page or module that has employed this
>> technique.
>>
>> I really would not bother you if I could find it myself. I hope somebody
>> answers.
>>     
>
> Looking at cron.php should give you an idea.
>
> Cheers,
> 	Gerhard
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.6 (GNU/Linux)
>
> iD8DBQFG84MFfg6TFvELooQRAlq7AJ96Cy6XXuulSJdrfP7Hm3EdE7ZOSACglFfp
> kNnsE7ny2R4J2YqVEk4OsR8=
> =Y7Q2
> -----END PGP SIGNATURE-----
>
>   
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.drupal.org/pipermail/development/attachments/20070921/742ed5b5/attachment.htm 


More information about the development mailing list