File API from MOODLE Documentation modified last May 22, 2012
File API is used
for managing all files, which is stored in MOODLE. These files are usually
stored in specific FILE AREAS and a file area are uniquely identified by the
following: (1) a context ID, (2) full component name like ‘course’, ‘mod_forum’ and others, (3)
file area type like ‘intro’, ‘post’ and (4) a unique itemID . Normally, the
itemID relates something depending on the file area type. (MOODLE, 2012). File
API provides functions that allow the user to browse the file from the
database, move files around and list area files. It also allows the user to
create, read and delete a file.
FACEBOOK
API gives the web developers an opportunity to create a FACEBOOK application
and access FACEBOOK data from a third party websites.
FACEBOOK API
uses different languages, (1) FACEBOOK Query Language (FQL) (2) FACEBOOK
Mark-up Language (FBML). FQL is a way to query the same FACEBOOK data accessed
through the other API functions, but with a SQL-style interface (Musser, 2007).
By default, the returned data from an FQL query is in JSON format. Last June 6,
2011, applications that use FBML will be removed on FACEBOOK. FBML applications
will no longer work in the platform (Gingerich, 2012). Instead of using FBML,
FACEBOOK developers suggested to implement the applications using HTML,
JavaScript and CSS formats. They also provide Javascript SDK and Social Plugins
to use when embedding some social features that are also available in FBML
(“FACEBOOK Developers”, 2012)
0 comments:
Post a Comment