Spelling & grammar

Using an automatic spell checker on web site pages seems to be very useful and I’ve always been proud when there are no words underlined in red.

I’m always typing in a hurry and give little time to proof reading and correcting what I’ve written.

I’ve now learned to not trust such tools at 100%.

I’ve just asked a professional to check over some of the pages on this site and was badly surprised at the very poor quality of text content. Some of the sentences just did not make any sense.

Since the corrections have been made, there is an improvement in visitor stats and contacts coming through the site, so it’s money well spent in my opinion.

Here is a link to the site correct-english.com which I highly recommend to you.

Create an Address Book with CakePHP 3+ & Netbeans

Using the CakePHP 3+ framework and Netbeans 8.1 to create a simple Address Book  web application.  I’m building this project locally with a XAMPP installation on a Win10 machine.

Basic requirements

You’ll need at least the following

  • Some PHP coding experience
  • Access to an Apache server with PHP & MySQL
  • Netbeans 8+
  • Happiness

Before we start the CakePHP project

You’ll need to install Netbeans IDE with PHP support .

Install the Netbeans plugin for CakePHP.

If you are using XAMPP, you may have to verify your  PHP.ini settings and have the following
(i.e. uncomment the line)

I’m also using Composer, a dependancy manager, which is easy to install and very very helpful. So just go here  https://getcomposer.org/ and follow the instructions.

You must also be able to execute CLI  (Command Line Interface) PHP commands. This can be tricky to set up and is very dependant on your own environment. There is plenty of information on the web about this, search for  CLI PHP and or go to the PHP site.

Creating your Address Book

We should now be about ready to create the project, we’ll try and create a simple web based address book. Let’s see if we have the same screen shots in the following steps.

Step 1: Click File -> New Project

Create the project selecting the CakePHP 3 framework
Create the project selecting the CakePHP 3 framework
Address book project
Address book project

Step 2 : Let’s call the project addressbook and the location for all the files should be accesible through your server, so set the paths correctly.

Step 3: Click on finish and then Composer kicks in and starts to do it’s magic.

Composer downloads the latest files
Composer downloads the latest files

Once Composer has finished your address book should have this structure in the Project tab.

The address book project
The address book project

Step 4: Check what the server dishes up in your browser, you should see something very similar to the screen  below

CakePHP default home page
CakePHP default home page

If you have some other strange errors, such as vendor/autoload.php not found, try using Composer to update your project. !To do so, follow the next screen .

Keeping it all upto date
Keeping it all upto date


Let’s start editing the files

Step 6 : Create a database and name it addressbook , then open /config/app.php and set the necessary values  for connecting to your database.


This should remove the “CakePHP is NOT able to connect to the database” error message.

Make sure you have ‘debug’ => true, refresh the home page and you should have no errors.

Now before continuing, click on the  yellow icon located bottom right by default (it used to be top right in Cake2).

Click the icon to open the Debug

Once you’ve clicked, the debug plugin will open as shown below.

debug- interface
Debug interface



Data and databases

More coming soon.

MEMO : Where is the iTunes home icon ?

At home I use a NAS and have all my audio files stored there.

I really think the top 2 media players suck and this feeling has been confirmed today when I wanted to play some music over the lap top using Windows 10 and iTunes.


In the top left corner of iTunes, you should see a “Home” icon, so that you easily switch between your pc and other local network devices that are streaming (in my case the NAS with it’s iTunes server).


With a new up to date installation and making sure the Shared Libraries is checked, the icon will not show.  I’ve tried logging in, logging out, restarting etc.

Searching for support is no easy task and often consists of stupid things to do with your Apple account or firewall settings, however after some digging there is simple  solution of switching off IPv6  in your network adapter.

So close the program on your PC, change your network settings, restart iTunes and you’ll see the Shared Libraries button. I’m not sure how long it will remain there.