link php application to edX modules

82 views
Skip to first unread message

Alaa Mhenni

unread,
Apr 16, 2014, 6:31:03 PM4/16/14
to edx-...@googlegroups.com
Hi, how can i link my php application with some edx modules. In fact i'm working in a php project and i would like to use some edX modules. How can i acceess to edX modules from my php project. thx

Alaa Mhenni

unread,
Apr 18, 2014, 6:55:53 PM4/18/14
to edx-...@googlegroups.com

David Baumgold

unread,
Apr 18, 2014, 11:09:36 PM4/18/14
to edx-...@googlegroups.com
edX is written in Python — you can’t directly access Python code from PHP, or any other language. However, you can request the HTML from edX and interact with that. Can you provide some more context around what you’re trying to do?
-David Baumgold

Trinh Nguyen

unread,
Apr 18, 2014, 11:23:26 PM4/18/14
to edx-...@googlegroups.com
Hi Alaa,

You meant you want to call some python modules of edX from your php application or just the data?

* In case of data, I suggest you try to call through API(s). I'm not sure if Open edX has api(s) or not. If not, try the django-rest-framework with edX to provide API(s).

* If you want to call python modules from your php code, I believe there are several ways to do that:

+ Python extension for PHP: http://www.csh.rit.edu/~jon/projects/pip/

Hope you have some clues!

Trinh


Hakim Bouatou

unread,
Apr 19, 2014, 12:47:13 PM4/19/14
to edx-...@googlegroups.com
I would suggest to take a look at LTI, I have integrated a small toy ruby sinatra application. though I had issues with grade passback.

Alaa Mhenni

unread,
Apr 19, 2014, 6:23:07 PM4/19/14
to edx-...@googlegroups.com
thx for all. I will try all your suggestions :)
Reply all
Reply to author
Forward
0 new messages