Gmail Calendar Documents Reader Web more »
Recently Visited Groups | Help | Sign in
Google Groups Home
CakePHP + Python's scipy/numpy/matolab/etc?
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  3 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Josh  
View profile  
 More options Nov 2, 5:43 pm
From: Josh <joshs.silver...@gmail.com>
Date: Sun, 1 Nov 2009 22:43:03 -0800 (PST)
Local: Mon, Nov 2 2009 5:43 pm
Subject: CakePHP + Python's scipy/numpy/matolab/etc?
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


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Dr. Loboto  
View profile  
 More options Nov 3, 7:01 pm
From: "Dr. Loboto" <drlob...@gmail.com>
Date: Tue, 3 Nov 2009 00:01:59 -0800 (PST)
Local: Tues, Nov 3 2009 7:01 pm
Subject: Re: CakePHP + Python's scipy/numpy/matolab/etc?
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:


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
jperras  
View profile  
 More options Nov 5, 2:45 am
From: jperras <joel.per...@gmail.com>
Date: Wed, 4 Nov 2009 07:45:52 -0800 (PST)
Local: Thurs, Nov 5 2009 2:45 am
Subject: Re: CakePHP + Python's scipy/numpy/matolab/etc?
http://stackoverflow.com/questions/166944/calling-python-in-php
http://www.csh.rit.edu/~jon/projects/pip/

It's not the simplest thing, but it's doable.
-j.

On Nov 2, 1:43 am, Josh <joshs.silver...@gmail.com> wrote:


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2009 Google