PHP and Python code cannot be "integrated". You can call your Python
code through exec() and exchange data by text/xml/whatever files. Or
just send initial data as param and output result.

On Nov 2, 12:43 pm, Josh <joshs.silver...@gmail.com> wrote:
> Hello,
>
> I've got a question about mixing languages in a project:
>
> I am using Cake on an App and it is going quite well. However, I now
> need to do some statistical analysis/curve fitting/advanced plotting/
> matrix manipulation/object difference calc/etc. In retrospect, I
> should have done this project in a python framework from the
> beginning, but I like Cake so I stuck with it. Now I am looking to get
> the functionality of scipy/numpy/matolab/etc APIs/modules. At this
> point, how best should I integrate these? Would it be easiest to make
> a bare bones API that returns the data/NLR formulas in perhaps a json
> or xml format?  I was thinking of using a python framework such as
> Django so as to be able to use its serializer and other tools. Any
> suggestions? Has anyone had to integrate code libraries from other
> languages in this way before?
>
> Please let me know if I'm wrong about PHP and if I've over looked
> libraries with functionality and stability that rival the python
> libraries I mentioned.
>
> Thanks
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to 
cake-php+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to