פבר 02

Technology and Learning: Adding search to your plugin – Part three

Part Three – Indexing More of your Plugin

In the last post, I added more searchable content to my plugin’s search indexing function, so that additional information fields specific to each instance of a plugin were included. Now I’m going to try and add question content to the search indexing.

מקור: Technology and Learning: Adding search to your plugin – Part three

פבר 01

How to add renderers and templates to your Moodle Plugin – Tutorial by Mike Churchward #Moodledev – Moodle World

Introduced in Moodle 2.0, Moodle renderers are now expanded to make use of the templates, using the Mustache templating language. The use of templating language enabled the separation of HTML from PHP/JavaScript to allow the theme designers more creatively.

מקור: How to add renderers and templates to your Moodle Plugin – Tutorial by Mike Churchward #Moodledev – Moodle World

דצמ 31

Chartlets: Tiny charts for tablet and mobile web apps in Configurable reports block

What are Chartlets?

Chartlets are tiny charts without grids or legends, like Sparklines. They’re perfect for conveying simple relationships or trends, especially when space is scarce.

Chartlets uses the HTML5 <canvas> element for fast performance and is only 2.8k when minified and gzipped. It has no dependencies.

 <canvas class=”chartlet” data-type=”line” data-colors=”#ffcc00 #ff66cc” data-range=”0 10″ data-sets=”[1 5 3 9 4] [4 3 9 7 2]” width=”100″ height=”55″ data-opts=”stroke:2 shape:smooth cap:circle”></canvas>

שילוב מנגנון הגרפים לעיל בשאילתות SQL ב configurable reports block

מקור: Chartlets: Tiny charts for tablet and mobile web apps

דצמ 24

Moodle plugins directory: Graylog Logstore

Logstore plugin for moodle to ship logs to graylog or other log backends which supports the GELF format. This plugin requires that you have a working Graylog node. Open source Graylog can be downloaded for free from graylog2.org. Transport protocols TCP and UDP are supported.

Log timestamp in Graylog is directly taken from moodle log entry’s timecreated. Useful when importing logs from moodle to graylog in a live moodle installation.

The array in other column in standard logstore is sent as a JSON string as of now. Users can use the “JSON Extractor” feature of Graylog in the other field to store them as separate fields in Graylog.

מקור: Moodle plugins directory: Graylog Logstore

Installing Graylog on CentOS

 

דצמ 11

Bi-Directional Replication for PostgreSQL

Bi-Directional Replication for PostgreSQL (Postgres-BDR, or BDR) is the first open source multi-master replication system for PostgreSQL to reach full production status, developed by 2ndQuadrant and assisted by a keen user community. BDR is specifically designed for use in geographically distributed clusters, using highly efficient asynchronous logical replication, supporting anything from 2 to more than 48 nodes in a distributed database.

 

מקור: Postgres-BDR | 2ndQuadrant

דצמ 03

Adminer – Database management in a single PHP file

Adminer (formerly phpMinAdmin) is a full-featured database management tool written in PHP. Conversely to phpMyAdmin, it consist of a single file ready to deploy to the target server. Adminer is available for MySQL, PostgreSQL, SQLite, MS SQL, Oracle, Firebird, SimpleDB, Elasticsearch and MongoDB.

מקור: Adminer – Database management in a single PHP file

אוק 29

Moodle plugin skeleton generator

This tool allows developers to quickly generate code skeleton for a new Moodle plugin. Relevant code is generated according to defined list of requested plugin features.

The tool provides both web and command line interface.

See the page Plugin skeleton generator docs page for more details.

מקור: Moodle plugins directory: Moodle plugin skeleton generator