[LON-CAPA-users] LON-CAPA and php?

Gerd Kortemeyer lon-capa-users@mail.lon-capa.org
Mon, 31 Mar 2008 17:56:03 -0400


On Mar 31, 2008, at 5:43 PM, Todd Ruskell wrote:
> We would primarily use the retrieval of parameters and setting of  
> hidden
> variables.  The code also used to talk to a database for storage and
> retrieval of some information.  The author is willing to either use
> communication with his own database within the mysql installation  
> on our
> library server, or hard-code information in problems if we can't  
> talk to
> the database.

Please don't put anybody's MySQL database on a LON-CAPA machine and  
run foreign code. This also conflicts with the idea of offloading  
users to other machines, and with any LON-CAPA resources running on  
any server in the network.

We can look at the examples and see how to emulate that within the  
existing structure of LON-CAPA. LON-CAPA problems can easily set  
hidden variables and retrieve form values, using the existing  
structure, and store stuff in our database. That would then run  
across the network.

- Gerd.