Moodle Developing Environment (E)

693 views

Published on

To make an environment for Moodle developing, especially remote-debug is bit difficult, this presentation explain about it .

Published in: Software
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
693
On SlideShare
0
From Embeds
0
Number of Embeds
4
Actions
Shares
0
Downloads
1
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide
  • introduce some excellent open source software and freeware.
  • Moodle Developing Environment (E)

    1. 1. e-learning co., ltd. Takeshi Matsuzaki
    2. 2. ● Takeshi Matsuzaki ● matsuzakit@e-learning.co.jp ● http://www.facebook.com/matsuzakit ● CEO of e-learning corporation ltd. ● Established 2000 ● http://www.e-learning.co.jp ● http://www.facebook.com/elearningJPN ● Contents for IT engineers ● Moodle service ● Setting, support ● Software developing ● Training ● Other ● Moodle Association Japan business section leader ● MCCC(Moodle Course Creator Certificate) ● Mobile Learning Consortium director ● Linux Professional Institute Japan member
    3. 3. • Integrated Development Environment • Integrating editor , compiler and debuger • Developers for Java, C# must use IDE . • For Moodle developing, I was surprised that many people don’t use IDE in Japan . – PHP doesn’t need compile , is it the main reason ? • But, In proper developing, we needs IDE . • It can STOP, See vars, Step • I recommend PhpStorm – In PHP , it is much faster than Eclipse or Visual studio . • vi may be that emergensy last method … ? – Multi platform • Windows, Mac OS X, Linux – NOT free • Direct – Company:1st year $199, next year $129, Individual $99, $49 – http://www.jetbrains.com/phpstorm/buy/ • Japanese partner – 25,812 – No Japanese translation ( In fact, I didn’t investigate )
    4. 4. It is easy in the case of httpd and PHPStorm are 1 machine, This document doesn’t tell about it . moodle/ mysql moodle/ HTTP, HTTPS TCP 8000 copy(once ) Auto upload SCP, SMB xdebug.so Select ,update
    5. 5. moodle/ HTTP, HTTPS TCP 9000 copy(once ) import SMB, FTP, SFTP, FTPS Import and indexing spend 1 hour . Setting upload Deployment > Options Upload changed giles automatically to the default server [Always] moodle/ mysql Auto upload SCP, SMB Select ,update Setting > PHP > Servers Use path mapping Check [Validate remote environment] xdebug.so yum install php-pear gcc php-devel pecl install xdebug Edit php.ini zend_extension="/usr/lib64/php/modules/xdebug.so" xdebug.remote_enable=1 xdebug.remote_host=200.1.2.3 //developing client xdebug.remote_port=9000 httd restart Check xdebug information by phpinfo() ① ② ④ Listen to debegger connection ON ③ ⑤ Run script on browser . http://www.jetbrains.com /phpstorm/marklets/ ⑥ Access Moodle by browser
    6. 6. Project break point step run current line vars On upper pull-down menu , Set View > ToolBar ON

    ×