+ 1
How to use differents languages in one project?
i just started learning programming, and i know that sometimes developpers needs several languages for a project, or a game : so how can diferent languages work together?
4 ответов
+ 2
ive seen java and xml work together to form an apk file dunno about others tho
+ 1
You could use a process pipe or a socket to transmit data via network(or a pseudo network inside localhost) if you want fancy stuff use REST or SOAP protocols
Some people go to the workaround methods like a shared monitored txt file but that's ugly
There are also frameworks that have inbuilt interpreters to act as midware
P. S. Windows doesn't really make using process pipes easy so it's better to use those only on Linux. the other stuff will work almost the same way on any OS
+ 1
Well technical you can also include php and sql into your html, css, and js pages, you can call out for a php function with ajax and store the data that is returned. You can use it to simply store data into your html file from a database so it can be updated.
0
Thann you , it was quick and clear :)