Ive been reading about the safe network having its own web server. Of course its still in develpment, but my question is… How can I use php, or java or whatever inside the SAFE Network?
So if it will be possible to have an interpreter running in the SAFE server, could I have more software running in the backend. Lets say and MTA or a MYSQL?
Welcome to the Forum, you are in for a ride!!!
I would recommend listening to Mr. Ferguson “the simpleton of Safe” Podcast.
he does an amazing job explaining how the Network will work.
Start with class one or earlier podcast
You can use any language or framework you want to build apps, you just need a way to make HTTP requests to Launcher’s local HTTP server.
Think of the applications as being client-side only. There are no servers. You can’t install PHP or MySQL on the SAFE Network.
You need to build a client-side application and interact with the SAFE Network using the local HTTP server. You don’t need MySQL because you can use the SAFE Network itself as a database (via the NFS API)
I have been thinking about this for a while and I think it would be good to write a package for interacting with the safe network like a database, implementing some kind of sql for example. I think this will be more relevant later when distributed compute comes on line