SugarCRM using multiple MySQL databases

Let’s assume you currently have a MySQL Setup with one “Master” and multiple “Slaves”, and you do want to make sure your Sugar system uses the “Slave” instances for reading purposes. Alternatively, if you are looking at deploying MySQL Master/Slave instances with a click of a button to test this out, you can achieve the same setup using Amazon AWS RDS, by deploying one MySQL database with additional read replicas.

SugarCRM commercial editions already have a feature that allows to connect Sugar to a slave database for Reports and/or an additional one for module’s ListViews, providing additional performance and scalability to the application. The feature is provided out of the box and it is available by changing a configuration file, for self hosted systems.

Read moreSugarCRM using multiple MySQL databases

Can I remove Team Security from SugarCRM?

Any SugarCRM Commercial Edition has a great feature for segmenting data, called Team Security.

In a nutshell, all non Administrator Users can only see SugarCRM records associated with at least one of the Teams they are part of.

…but what if in my organisation I do not want to limit who can see which records on the CRM system? Keep reading to find out the answer!

Not everybody knows that SugarCRM recently introduced the Visibility and ACL Layer that gives Partners and tech savvy End Users, a great granular control when customising record visibility and permissions.

Read moreCan I remove Team Security from SugarCRM?

I discovered the fascinating world of hydroponics!

A couple of months ago, I was watching random YouTube videos and I found myself discovering what hydroponics is.

Since that moment, I was totally in love. I have been growing quite successfully small plants (and some not so small ones, like tomatoes) in my Sydney apartment’s balcony. I was definitely ready for my next challenge!

In just few minutes I got into even more “troubles” when I discovered aquaponics… I guess that would be the natural evolution of hydroponics!

It was so fascinating watching videos of people building those self-sustaining ecosystems, integrating those with techie stuff… and I had to give it a try!

Read moreI discovered the fascinating world of hydroponics!

Upgrading CodeIgniter

I finally had an afternoon free, to test the upgrade of the base PHP framework CodeIgniter, on one of my websites.

CodeIgniterThe first operation we need to do (especially if the initial coding started long ago) is to find out which version of CodeIgniter we are currently using.

We need to search for the constant “CI_VERSION” defined inside the code. In my case the starting point was version 1.7.2.

Now we neet to understand which one is the latest version in the download section (currently 2.1.3) of CodeIgniter’s website.

The next step is to find out our upgrade path defined on the upgrade page and to download the required packages.
CodeIgniter Upgrade Path

In my case I downloaded my current version 1.7.2 and the latest 2.1.3.

NOTE: If for any reason you are still running PHP 4, you will not be able to upgrade to CodeIgniter 2.x. It only supports PHP 5.1 and above.

Read moreUpgrading CodeIgniter

CRM, SugarCRM and a RESTful integration

At InsightfulCRM I have been involved with SugarCRM projects of various sizes for quite few years, and I was recently asked to present at the Sydney PHP Meetup group about SugarCRM and REST integration.

Let me share the presentation I prepared for the Meetup on my blog as well:

To give you an overview, the presentation starts with an introduction about CRM and why businesses that do not have a CRM strategy should definitely consider implementing one.

Read moreCRM, SugarCRM and a RESTful integration

California Trip – SugarCON 2012 – InsightfulCRM MVP 2011

In April I went to San Francisco to attend SugarCON 2012, representing InsightfulCRM. It was actually my first time in the United States!

InsightfulCRM is currently part of the SugarCRM Partner Advisory Board, formed by 12 partners worldwide.

The aim of the PAB is to communicate to SugarCRM executives feedback and guidance from the partner community (currently there are over 400 SugarCRM partners!).

It is awesome for us to be part of the Board!

Read moreCalifornia Trip – SugarCON 2012 – InsightfulCRM MVP 2011