{"id":551,"date":"2010-02-11T02:23:27","date_gmt":"2010-02-11T01:23:27","guid":{"rendered":"https:\/\/matbury.com\/wordpress\/?p=551"},"modified":"2010-02-11T02:23:27","modified_gmt":"2010-02-11T01:23:27","slug":"moodle-swf-activity-module-developer-preview","status":"publish","type":"post","link":"https:\/\/matbury.com\/wordpress\/index.php\/2010\/02\/11\/moodle-swf-activity-module-developer-preview\/","title":{"rendered":"Moodle SWF Activity Module developer preview"},"content":{"rendered":"<p style=\"text-align: justify;\"><a title=\"Moodle SWF Activity Module developer preview\" href=\"http:\/\/code.google.com\/p\/swf-activity-module\/\"><img loading=\"lazy\" class=\"alignright size-full wp-image-2977\" src=\"https:\/\/matbury.com\/wordpress\/wp-content\/uploads\/2010\/02\/swf_module_header_small.png\" alt=\"SWF Activity Module\" width=\"278\" height=\"60\" \/><\/a><strong>OK, this is going to be a very techie post as it&#8217;s aimed exclusively at developers who are interested in integrating Flash and Moodle. If you&#8217;ve never written a line of computer code, then this article will most probably bore you to death!<\/strong><\/p>\n<h3 style=\"text-align: justify;\"><strong>What is the SWF Activity Module?<\/strong><\/h3>\n<p style=\"text-align: justify;\">The SWF Activity Module deploys Flash learning applications as activities in Moodle courses. It uses standards compliant XHTML 1.0 Strict embed code and leverages SWFObject 2.2. For Moodle users, especially non-developers, it&#8217;s a quick, easy, reliable, and mostly importantly, non-techie method of embedding Flash.<\/p>\n<h3 style=\"text-align: justify;\"><strong>What&#8217;s the developer preview?<\/strong><\/h3>\n<p style=\"text-align: justify;\">I&#8217;ve just uploaded a two-part installer package to the SWF Activity Module project site on Google Code. The first part, like any other Moodle activity module, performs the installation in Moodle and acts as the user interface. The second part is the <a title=\"Wikipedia.org | AMF\" href=\"http:\/\/en.wikipedia.org\/wiki\/Action_Message_Format\" target=\"_blank\" rel=\"noopener noreferrer\">Flash Remoting<\/a> service library which handles communication between Flash and Moodle. The particular implementation of this is <a title=\"AMFPHP.org\" href=\"http:\/\/amfphp.org\/\" target=\"_blank\" rel=\"noopener noreferrer\">AMFPHP<\/a>. This package is a developer preview. It has not been extensively tested, has not been proven to be stable and is not intended for installation on public servers.<\/p>\n<h3 style=\"text-align: justify;\"><strong>What does it do?<\/strong><\/h3>\n<p style=\"text-align: justify;\"><strong><span style=\"font-weight: normal;\">So far, the activity module does the following:<\/span><\/strong><\/p>\n<ul style=\"text-align: justify;\">\n<li>Installation<\/li>\n<li>Backup and restore<\/li>\n<li>Creates and manages SWF Activity Module instances<\/li>\n<li>Creates and manages grade items in Moodle&#8217;s grade book<\/li>\n<li>Custom grade reports<\/li>\n<\/ul>\n<p style=\"text-align: justify;\">The Flash Remoting service library does the following:<\/p>\n<ul style=\"text-align: justify;\">\n<li>Establishes fast, lightweight, powerful two-way communication between Flash learning applications and Moodle<\/li>\n<li>Handles user authentication, capabilities and permissions<\/li>\n<li>Allows Flash learning applications to push and retrieve grades and user data in Moodle&#8217;s grade book<\/li>\n<li>Allows Flash learning applications to retrieve user data such as avatars, VoIP client IDs, groups, etc. to facilitate social networking and web communication between learners and teachers<\/li>\n<\/ul>\n<h3 style=\"text-align: justify;\"><strong>Accurately track learners&#8217; activities while on-line<\/strong><\/h3>\n<p style=\"text-align: justify;\">The custom grade reports are particularly interesting because they provide a much asked for function in Moodle activities, namely tracking the amount of time that learners spend on activities accurately. The problem at the moment is that Moodle can only record the time elapsed between requests sent to the server while learners are using a module. Between server requests, Moodle can&#8217;t tell whether a user was studying or if they went for a tea break, either way the elapsed time logged is the same. Since Flash learning applications run on learners&#8217; computers, they can track mouse, keyboard, camera and microphone actions over any given period of time. If a learner goes for a tea break, mouse, keyboard, camera and microphone actions stop and Flash learning applications can take this into account, for example, by discounting inactive time. I had to create the custom grade reports because Moodle has no provision for this kind of user data.<\/p>\n<h3 style=\"text-align: justify;\"><strong>Open up Moodle to more web services<\/strong><\/h3>\n<p style=\"text-align: justify;\">The SWF Activity Module is far more than we&#8217;ve come to expect from Flash based learning interactions. The Flash Remoting gateway opens up Flash and Moodle to a wide range of 3rd party web services. Here&#8217;s a few possibilities to consider:<\/p>\n<ul style=\"text-align: justify;\">\n<li>Deploy web conferencing clients that use open VoIP and chat protocols. <a title=\"TokBox VoIP and chat API\" href=\"http:\/\/code.google.com\/p\/tokboxapi\/\" target=\"_blank\" rel=\"noopener noreferrer\">Here&#8217;s an example of an existing project could be leveraged.<\/a><\/li>\n<li>Deploy Flash clients that leverage <a title=\"About Google Wave\" href=\"http:\/\/wave.google.com\/about.html\" target=\"_blank\" rel=\"noopener noreferrer\">Google Wave&#8217;s open protocol<\/a>, when it goes fully public, for real-time multimedia collaborative projects.<\/li>\n<li>Consume map, video, search and data services from providers such as Google and Yahoo!<\/li>\n<li>Or any combination of protocols and services for media-rich, collaborative learning interactions. The sky&#8217;s the limit.<\/li>\n<\/ul>\n<h3 style=\"text-align: justify;\"><strong>How can I use the developer preview?<\/strong><\/h3>\n<p style=\"text-align: justify;\">This is where I need your help. I&#8217;d like this module to be tested in as many environments as possible except, of course, public servers so if you are a developer and have a development server with Moodle installed, this is where you can help. Installation instructions are included in the <a title=\"SWF Activity Module developer preview download\" href=\"http:\/\/swf-activity-module.googlecode.com\/files\/SWF_Activity_Module_installer_2010-02-10.zip\">developer preview package<\/a> and the Flash Remoting gateway comes pre-configured for Moodle. There&#8217;s also a sample &#8220;<a title=\"Grade Pusher | Flash Application Download\" href=\"http:\/\/swf-activity-module.googlecode.com\/files\/grade_pusher.swf\">Grade Pusher<\/a>&#8221; Flash application that simply pushes grades into Moodle&#8217;s grade book. Please try it out on your development servers and let me know if you encounter any problems with it.<\/p>\n<p style=\"text-align: justify;\">The SWF Activity Module is proud to be open-source.<\/p>\n<p style=\"text-align: justify;\"><a href=\"http:\/\/www.gnu.org\/licenses\/gpl-3.0-standalone.html\"><img loading=\"lazy\" class=\"alignnone\" title=\"GPL Open Source Software Licence\" src=\"http:\/\/www.gnu.org\/graphics\/gplv3-127x51.png\" alt=\"\" width=\"127\" height=\"51\" \/><\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>OK, this is going to be a very techie post as it&#8217;s aimed exclusively at developers who are interested in integrating Flash and Moodle. If you&#8217;ve never written a line of computer code, then this article will most probably bore you to death! What is the SWF Activity Module? The SWF Activity Module deploys Flash&hellip; <a class=\"more-link\" href=\"https:\/\/matbury.com\/wordpress\/index.php\/2010\/02\/11\/moodle-swf-activity-module-developer-preview\/\">Continue reading <span class=\"screen-reader-text\">Moodle SWF Activity Module developer preview<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":642,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[10],"tags":[13,14,15,19,27,35,46,49,59,65,71,99,104,106,107],"_links":{"self":[{"href":"https:\/\/matbury.com\/wordpress\/index.php\/wp-json\/wp\/v2\/posts\/551"}],"collection":[{"href":"https:\/\/matbury.com\/wordpress\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/matbury.com\/wordpress\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/matbury.com\/wordpress\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/matbury.com\/wordpress\/index.php\/wp-json\/wp\/v2\/comments?post=551"}],"version-history":[{"count":0,"href":"https:\/\/matbury.com\/wordpress\/index.php\/wp-json\/wp\/v2\/posts\/551\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/matbury.com\/wordpress\/index.php\/wp-json\/wp\/v2\/media\/642"}],"wp:attachment":[{"href":"https:\/\/matbury.com\/wordpress\/index.php\/wp-json\/wp\/v2\/media?parent=551"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/matbury.com\/wordpress\/index.php\/wp-json\/wp\/v2\/categories?post=551"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/matbury.com\/wordpress\/index.php\/wp-json\/wp\/v2\/tags?post=551"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}