יונ 04

Php Inspections (EA Extended) :: JetBrains Plugin Repository

This plugin is a Static Code Analysis tool for PHP (aka inspections in JetBrains products).

It covers:
– architecture related issues (e.g. design pattern violations)
– weak types control and possible code construct simplifications
– performance issues
– non-optimal, duplicate and suspicious “if” conditions
– validation of magic methods usage
– regular expressions
– validation of exception handling workflow
– compatibility issues
– variety of time-consuming bugs
– PhpUnit API usage
– security issues

מקור: Php Inspections (EA Extended) :: JetBrains Plugin Repository

אוג 26

Couchbase as Memcached Alternative | Couchbase

Replace Your Memcached Tier with #Couchbase Are you dealing with memcached problems like cold cache, heavy contention of RDBMS resources and lack of scale-out flexibility? Couchbase Server, a NoSQL database, can be used as a drop-in replacement for your memcached tier to address these challenges.

היה ב-Couchbase as Memcached Alternative | Couchbase.

אוג 03

How to load test your Moodle server using Loadstorm

Using this step by step ‘how-to’, you will be able to test how well your Moodle installation would be able to cope with a certain amount of users, using the loadstorm.com service. Whilst this is not a perfect representation of what real life usage of your Moodle installation would be like, it will still give you a very good idea of whether your system is good enough to run Moodle for your expected number of users.

ב-How to load test your Moodle server using Loadstorm | I Teach With Moodle | Sharing good practice using Moodle in and out of the classroom.

יול 18

Moodle in English: Using X-Sendfile to serve files in Moodle

Recently someone told me about the X-Sendfile support that was added to Moodle in version 2.3 and I just wanted to publicise the feature to let others know about it. 

I don’t believe that it’s currently well documented which is a shame, and something I’d like to improve when I have a few minutes. The current documentation that I’ve come across is all in config-dist.php (search for X-Sendfile).

The idea of the feature is to get the web server to serve files from moodledata rather than having it done using PHP. On the whole, this is a good thing for a number of reasons:
* php isn’t particularly efficient at serving files in this way (byte-serving) – it doesn’t cache files for starters (though your kernel should of course);
* while php is serving a file, it’s unlikely to fork in an effective manner so you’re also locking processes which could otherwise serve your users;
* your web server’s primary aim is to serve files – it’s designed for this and it is designed to do so in an extremely efficient manner. It’s also likely to handle caching much more efficiently.

ב-Moodle in English: Using X-Sendfile to serve files in Moodle.