Events and EventEmitter in Node.js

|
| By Sahil Kumar

What Are Events in Node.js? Node.js is designed around an event-driven architecture. This means that instead of waiting for tasks like file operations or HTTP requests to finish, Node.js uses events to signal when these tasks are complete. To manage

Call third party JSON webservice in cakephp 3.0

| By Webner

To call third-party web service in CakePHP 3.0. You can use Http client available in CakePHP core lib (CakeNetworkHttpClient). Include CakeNetworkHttpClient in your controller. use CakeNetworkHttpClient; Here is the method to call third-party web service. You can use this method

Cakephp | URL routing using prefix after domain name

| By Webner

Routes in an application are configured in app/Config/routes.php. Defining your own routes allows you to define where your application will take the control to for a given URL. Default routing is like this: domain/controller/action Ex. www.xyz.com/user/login Prefix routing will add

Moodle / PHP | The uploaded file exceeds the upload_max_filesize directive in php.ini

| By Webner

How to increase the value of ‘upload_max_filesize’ variable to upload a file/plugin of larger size. We were trying to install a new plugin with size of approx 3.5 mb in our moodle site. It was showing an error:“The uploaded file