Posts tagged: AMFPHP

Flash Word Search learning application

In a previous article, I announced a developer preview of the SWF Activity Module for Moodle 1.9. This is a brief announcement to developers who are interested in trying out the developer preview.

This Flash learning application generates word searches as activities in Moodle courses. The word searches are automatically generated are are unique every time a user interacts with them.

What does the word search do in Moodle?

  • It’s quick and easy to deploy
  • It’s fully integrated with Moodle
  • It’s XML driven
  • It pushes grades, elapsed time and feedback into Moodle’s grade book

Where can I download it from?

Download the Flash learning application called “xml_word_search.swf” from the SWF Activity Module project downloads page. There’s instructions and an example XML file that you can copy and paste on this SWF Activity Module project Wiki page.

Other possibilities…

A possible extension of this learning application is to use the SWF Activity Module’s AMFPHP Flash Remoting library to pull vocabulary lists from other database tables in Moodle, such as Wikis and Glossaries, or 3rd party web services such as on-line dictionaries and encyclopedias.

VN:F [1.8.3_1051]
Rating: 0.0/10 (0 votes cast)
  • Share/Bookmark

Moodle SWF Activity Module developer preview

SWF Activity ModuleOK, this is going to be a very techie post as it’s aimed exclusively at developers who are interested in integrating Flash and Moodle. If you’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 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’s a quick, easy, reliable, and mostly importantly, non-techie method of embedding Flash.

What’s the developer preview?

I’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 Flash Remoting service library which handles communication between Flash and Moodle. The particular implementation of this is AMFPHP. 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.

What does it do?

So far, the activity module does the following:

  • Installation
  • Backup and restore
  • Creates and manages SWF Activity Module instances
  • Creates and manages grade items in Moodle’s grade book
  • Custom grade reports

The Flash Remoting service library does the following:

  • Establishes fast, lightweight, powerful two-way communication between Flash learning applications and Moodle
  • Handles user authentication, capabilities and permissions
  • Allows Flash learning applications to push and retrieve grades and user data in Moodle’s grade book
  • 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

Accurately track learners’ activities while on-line

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’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’ 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.

Open up Moodle to more web services

The SWF Activity Module is far more than we’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’s a few possibilities to consider:

  • Deploy web conferencing clients that use open VoIP and chat protocols. Here’s an example of an existing project could be leveraged.
  • Deploy Flash clients that leverage Google Wave’s open protocol, when it goes fully public, for real-time multimedia collaborative projects.
  • Consume map, video, search and data services from providers such as Google and Yahoo!
  • Or any combination of protocols and services for media-rich, collaborative learning interactions. The sky’s the limit.

How can I use the developer preview?

This is where I need your help. I’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 developer preview package and the Flash Remoting gateway comes pre-configured for Moodle. There’s also a sample “Grade Pusher” Flash application that simply pushes grades into Moodle’s grade book. Please try it out on your development servers and let me know if you encounter any problems with it.

The SWF Activity Module project site is at: http://code.google.com/p/swf-activity-module/ where you’ll find downloads, documentation, examples, source code and the issues tracker.

The SWF Activity Module is proud to be open-source.

VN:F [1.8.3_1051]
Rating: 9.0/10 (4 votes cast)
  • Share/Bookmark

New SWF Activity Module under development

Relates to: Moodle, Flash, SWFObject, AMFPHP

The most widely used and accepted platform for e-learning today is Adobe Flash. It brings the full power of multimedia (images, audio, video, text and animation) and dynamic interactivity to your computer. The most widely used open source platform for hosting and deploying e-learning resources is Moodle. Respectively, both platforms offer all the functionality you would expect for e-learning but there’s one major obstacle: they’re not very easy to combine.

What’s the new project?

I’ve started development on a new SWF Activity Module, a plugin for Moodle, that I hope will provide a comprehensive solution for Flash developers who want to create e-learning applications for Moodle and teachers and course content developers who want to create e-learning interactions that make full use of the possibilities offered by Flash.

Why develop this plugin?

In my opinion, this is something that has been long overdue and there have been previous attempts, most notably Jamie Pratt’s Flash Activity Module. Unfortunately, it was developed for Flash MX 2004 or Version 6.0, while we’re currently at Version 10, and is not forwardly compatible. So while e-learning and Flash speed ahead with ever more useful and powerful functions, anyone using this module gets left behind. The other solution currently available is an e-learning standard format developed by the US military called SCORM (Sharable Content Object Reference Model). While there is a lot of support available for this standard, it is very complicated and difficult to implement and it requires a high degree of specialist knowledge. Ask any IT support employee or e-learning developer about it!

How far has the project got?

So far, I have a working beta version that can deploy Flash e-learning applications of any version relatively simply and easily. A teacher or course content developer can now create e-learning interactions by combining Flash e-learning applications with media resource files. This is traditionally done with XML but the SWF Activity Module also supports a technology called Flash Remoting or AMF (Action Message Format) which is a very fast, efficient and versatile way for Flash e-learning applications to communicate with Moodle and other server-side applications. Learning applications will be able to retrieve all the data they need, i.e. images, audio, video, text and animations, to present sophisticated learning interactions and also pass back data about what learners do and how well they do it.

The SWF Activity Module learning interactions default database is organised so that one set of learning interaction data and media files, for example elementary vocabulary related to everyday objects, can be used by different Flash e-learning applications to dynamically create different learning interactions so that learners can practise and recycle the vocabulary in several different ways, i.e. matching images and recordings, dictations, questions and answers, word searches, etc. thereby consolidating their knowledge and skills.

What’s next?

There are two more main stages to the SWF Activity Module’s development. Firstly, to integrate the module with Moodle’s gradebook so that users’ grades can be recorded there along with other activities. I’ll most probably include a more comprehensive grading and results system specifically for Flash e-learning applications. And secondly, to provide a user-friendly interface for teachers and course content creators to create learning interactions by uploading the media files and entering data into Moodle’s database, or more simply put, putting images, audio, video, texts, questions and answers together so that Flash e-learning interactions can present lessons to learners.

Can I try it out?

You can see documentation for the SWF Activity Module here. There are some example learning interactions and video tutorial demonstrations available on a demo course my Moodle. Select “Login as a guest”. There is no need to create a user account. If you would like to see the editing controls in action and create a simple word search learning interaction for yourself, please contact me.

VN:F [1.8.3_1051]
Rating: 0.0/10 (0 votes cast)
  • Share/Bookmark

Video & Audio Comments are proudly powered by Riffly