Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Project Scala + PHP

Tags:

php

scala

does any one joined php project with Scala ? One of my projects at work is helpdesk written in php, Im still sometimes developing this project, but I would like do some features in Scala. Wonder if its possible.

Thanks

like image 398
daaatz Avatar asked Sep 10 '12 07:09

daaatz


1 Answers

You can use Quercus/Bianca.

It really works, I performed some selenium tests on a PHP application in a jetty container. PDO mysql use JDBC drivers (it's way faster).

You can call Java/Scala from PHP easily : http://www.caucho.com/resin-3.1/doc/quercus.xtp#CallingJavaMethods , the runtime is faster than the standard PHP runtime and you can publish your app in a WAR (sometimes, it's better than just sources).

If you plan to industrialize some PHP apps, IMO it's a good start.

(Example : https://github.com/un-jon/Code-review-Quercus/tree/democode/helloworld)

like image 167
jwinandy Avatar answered Oct 20 '22 01:10

jwinandy