Book Review: SugarCRM Developer’s Manual
October 25th, 2007 by James Gray in
The following is a review of the book SugarCRM Developer’s Manual: Customize and extend SugarCRM by Dr. Mark Alexander Bain. The book's publisher is Packt Publishing.
Editor's note: Originally this book review was intended to be a joint effort between myself and Chris Harrick, Senior Director of Product Marketing at SugarCRM. I sent Chris a few questions to get his take on the book from the perspective of a Sugar expert. What I got in return was the following, comprehensive review. So except for a small excerpt at the end, this review was generously provided by Chris Harrick, to whom we extend our thanks. -James Gray
The Review
With a CRM system that has grown to be as diverse and feature-rich as SugarCRM, creating an encompassing developer’s manual is no small task. The open-source nature of SugarCRM makes it a highly flexible application set, and the huge community around the product makes tracking all that is possible with Sugar, well, nearly impossible. However, Dr. Mark Alexander Bain comes pretty close in his SugarCRM Developer’s Manual, from Packt Publishing.
Written with PHP developers of all skill sets in mind, the book’s coverage area ranges quite widely in scope. The book quickly takes off from simple field-name changes in the application, all the way to customizing dashlets (areas of the interface with pockets of CRM data) and creating workflows from scratch. The heart of the book deals with the database schematics of SugarCRM. Bain does a good job of charting the relationships between each table in the database, as well as provides strong details on the individual tables themselves.
A good portion of the book is also dedicated to testing and optimizing the performance of the product. While less is included about customization that alters the way users approach CRM, there are some helpful hints designed to optimize a user's experience with the application. Some of the tuning tips might be helpful to PHP developers in general looking to speed up other applications built on PHP, not just Sugar.
The book spends some time dealing with third party modules, and bringing them into the application. The book seems to glaze over the process of adding third party modules via SugarForge.org or SugarExchange.com, but this is understandable. There are literally hundreds of extensions and third-party applications to be found on these Web communities, and an exhaustive explanation and guide could never be amassed for such a large inventory. The book does, however, present a nice introduction to creating custom modules from Sugar’s core business objects.
The main drawback of the book is that, given SugarCRM’s accelerated development model, some of the information is a little out-of-date. As Sugar is presently releasing version 5.0 of its product, there is a lot more customization and other features not covered. For example, while the book gives great visual examples of customizing fields and workflows, the new Module Builder tool in Sugar 5.0 allows a lot of this to be done without code-level changes. And from a security perspective, the new field-level ACLs in 5.0 open up a lot of opportunity for roles-based customizations not covered in Bain’s text.
But as SugarCRM evolves as a product and application platform, it is including a lot of Web 2.0 and Visual Studio environments in its construction. So, while Bain’s book leaves out a lot of these new features (through no fault of its own – simply a timing issue here), a lot of what is new from a customization standpoint is aimed at business users and not necessarily developers. SugarCRM is democratizing the concept of customization, so a more business-level manual for Sugar’s Module Builder might be in order soon as well.
All told, this is a fine start for someone new to the application and with a decent background in PHP. The book uses many great screen shots to illustrate its points and takes the reader through many core customization tasks in a close, step-by-step manner. And for developers, the book is valuable for its data dictionaries and database table schematics alone. It is definitely a must-read for anyone looking to learn how a highly customizable CRM application is architected.
About the author
Dr. Mark Alexander Bain began working with CRMs back in the 1990s when he started using Clarify CRM while at the Vodafone Cascade Project in the UK. He says that his team turned it into a "radio base station planning application, complete with a workflow engine for passing jobs between the different departments involved in the planning building and implementation of a radio network." Since then he has been a lecturer at University of Central Lancashire (also in the UK) and now is a freelance editor covering Linux and Open Source for various publications, including Linux Journal.
Book details
SugarCRM Developer's Manual: Customize and extend SugarCRM
by Dr. Mark Alexander Bain
Copyright 2007, Packt Publishing
First published, June 2007
ISBN 978-1-847192-06-6
You can learn more at Packt Publishing's Web site: http://www.packtpub.com
__________________________
Special Magazine Offer -- 2 Free Trial Issues!
Receive 2 free trial issues of Linux Journal as well as instant online access to current and past issues. There's NO RISK and NO OBLIGATION to buy. CLICK HERE for offer
Linux Journal: delivering readers the advice and inspiration they need to get the most out of their Linux systems since 1994.
Sorry, offer available in the US only. International orders, click here.
Subscribe now!
The Latest
Featured Videos
Email is one of the least private and least secure forms of communication, although few people realize this. MixMaster is one way to allow secure, anonymous communication even over the very public medium of email. This tutorial will get you started with MixMaster quickly and easily.
In case you were wondering about the fun side of Linux World Expo, we thought we'd give you a peek at our shenanigans. We at Linux Journal love what we do so much, that we can't help but have a ball wherever we go.
Recently Popular
From the Magazine
September 2008, #173
Feeling a bit like a Thermian? Never give up, never surrender! Someday, you could go from underdog to top dog. Just take a look at a few of the underdogs we highlight in this issue: Mutt, djbdns, Nginix, Gentoo, Xara and the program voted mostly likely to fail just a few years back—Firefox. If Firefox is not radical enough for you, check out Chef Marcel's column for some more alternatives. Having trouble mapping your program data to your relational database? If so, Rueven Lerner shows you some tricks in his At The Forge column.
Need to run GUI applications on your server in the next state? In his Paranoid Penguin column, Mick Bauer shows you how to do it securely. Kyle Rankin keeps hacking and slashing and shows you a few split screen secrets you may not be familiar with. Finally, we all know what happens next February, but only Doc knows what happens afterward.
Delicious
Digg
Reddit
Newsvine
Technorati







What's the deal with Sugar?
On November 2nd, 2007 Anonymous (not verified) says:
I don’t think sugarCRM is all that great in the first place. Trying to get through to my rep and had to deal with 3 reps so far and tired of it. Seems like they have huge turnover rate according to Janelle Martin and every rep I have worked with at Sugar has been a resident for less than a year or has terminated themselves. Seems very unstable and scary thought to even imagine them going public with support sharing my experience as a customer. Anyone have a better platform? I don't care if it's online but would like to bypass sugar as my boss is on my ass about backup problems and the amount we paid for support that is not going anywhere.
What's the deal with Sugar?
On August 18th, 2008 The Sugar Refinery (not verified) says:
Might I suggest, if you want professional SugarCRM hosting, customization or integration services, try one of the companies dedicated to providing these services such as the sugar refinery.