+ 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?

1st Nov 2016, 5:38 PM
Nathan Bodet
Nathan Bodet - avatar
4 Respostas
+ 2
ive seen java and xml work together to form an apk file dunno about others tho
23rd Nov 2016, 10:55 PM
Ignatius
Ignatius - avatar
+ 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
1st Nov 2016, 6:58 PM
Gustavo Santos Ferreira
Gustavo Santos Ferreira - avatar
+ 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.
16th Nov 2016, 10:44 PM
Matt James
Matt James - avatar
0
Thann you , it was quick and clear :)
1st Nov 2016, 5:44 PM
Nathan Bodet
Nathan Bodet - avatar