Home » Development » PHP » Page 8
In the past 2 years, the e-Learning market has been exploding. Online Learning Management Systems (LMS) have become very popular, to build e-learning platforms.
They not only offer text based content, quizzes, assignment management, course evaluation, social features, but also allow the integration of video, audio and other linked content. Many support SCORM (Sharable Content Object Reference Model), allowing the exchange of learning content and results.
Over the past few years, I have been helping clients to build or transform their e-learning platforms. Sometimes its better to build a customized LMS solution from scratch :), than tweak or customize an offered solution. It all depends on the features you want to see integrated and on the budget available ;)
In this article I want to share current solutions offered for WordPress.
I will divide them into themes and plugins for now. In the future I plan do some feature comparison as well :
These are standalone plugins, that provide LMS functionality and integrate into your WordPress themes. Ease of integration and options differ.
These themes mostly dependent on one of the plugins above or offer only a simple subset of LMS functionality.
Integrated solutions, that are supposed to offer a tight integration of WordPress, theme and its own plugins.
IoT is the current buzz word and I will be doing some more tinkering with current solutions this year. I have done projects with Arduino , Raspberry Pi and looking into relayr / Wunderbar right now.
relayr provides a tech stack with Wunderbar, that easily connects included sensors with the cloud. They provide a wide range of API endpoints to collect data and even integrate hardware solutions like Arduino orRaspberry Pi.
“The WunderBar is built for software developers. It is a powerful rapid prototyping and product development tool that enables developers to immediately start creating products and solutions that utilise the Internet of Things, without any prior hardware knowledge. No soldering or electronic engineering experience is needed. Just choose what sensors you need for your project and start coding.”
relayr / Wunderbar
Starterkit should arrive next week …
CSS Crush is a standards inspired CSS pre-processor that is written in PHP from scratch.
For a current project I am adding CSS Crush side by side to Sass. Lets see which of them sticks around in the end :) Might be keeping them both, as CSS Crush provides some nice options.
CSS Crush @ Github
“Hybridauth enables developers to easily build social applications and tools to engage websites visitors and customers on a social level by implementing social sign-in, social sharing, users profiles, friends list, activities stream, status updates and more.
The main goal of Hybridauth is to act as an abstract API between your application and various social apis and identities providers such as Facebook, Twitter and Google.”
Hybridauth 2.x was the best option for nicely aggregated social logins so far, but some of the social “Providers” are outdated or no longer working. Version 3.0 is still in development, but providing a complete rewrite.
Hybridauth 3.0 Remake @ Github
For Facebook , Twitter and Google+ I still use my own little wrappers, but if you want more this is the way to go in the future :)
Currently refreshing my list of options to document projects and APIs.
I will use this page to keep a list of possible tools & solutions.
Really cool interface to test and debug Regex. The website also includes a nice regex library.
“WP-CLI is a set of command-line tools for managing WordPress installations”
Using WordPress as a headless system, is nothing new. You can easily build out your own REST API or use the long available HTTP REST API 1.0+ for WordPress.
But with the new HTTP REST API 2.0+ its getting really easy to build out your own REST API Namespace and assign routes for all your JSON needs.
The new REST API will make its appearance in WordPress 4.4, but you can start now by adding the plugin to your system. When the plugin detects 4.4+ it will only load functionality not already present in the core.
A route tells the API to respond to a given request with a specific function (endpoint). This adds the permalink structure to WordPress so that your functionality can be accessed via an url like this: http://yourdoman.com/wp-json/yourplugin/v1/myfunction/your_parameter
The Endpoint is the callback handled by the route. Each endpoint can have additional parameters attached:
The return values from the endpoint are converted into JSON. You can use the WP_REST_Response object , this wraps normal body data and allows you to return a custom status code.
Really powerful stuff, that makes it easy to detach WordPress and the actual client using the data provided by it.
You can read more about it here.
Some options to get those translatable strings out of your templates. I will be adding new things, as I discover them :)
Flarum is new elegant next-generation forum software. It provides a touch optimized two pane layout with floating composer.
The backend runs on PHP/MySQL.