sugar and spice - linking sugarcrm with funambol

29
Sugar and Spice Linking SugarCRM with Funambol Phil Shotton November 2008

Upload: funambol

Post on 19-Jun-2015

2.376 views

Category:

Education


1 download

TRANSCRIPT

Page 1: Sugar and Spice - linking SugarCRM with Funambol

Sugar and SpiceLinking SugarCRM

with Funambol

Phil ShottonNovember 2008

Page 2: Sugar and Spice - linking SugarCRM with Funambol

2

Agenda

IntroductionCompany BackgroundRequirements for SyncWhy SugarCRM and Funambol?Taking it onConnector architectureChallengesFuture plansValue proposition

Page 3: Sugar and Spice - linking SugarCRM with Funambol

3

Introduction – Phil Shotton

□25+ years in software industry□Specialise in high-performance distributed systems development□Java, C++, C, Unix/Linux□'Bedrock' software□Founder and principal PSJ Solutions

Page 4: Sugar and Spice - linking SugarCRM with Funambol

4

Other Talents!

Page 5: Sugar and Spice - linking SugarCRM with Funambol

5

Introduction - PSJ Solutions

□Founded 2005□High performance custom solutions□Finance (pricing and trading)□Telecoms□Fortune 100 companies□Java and Open Source

Page 6: Sugar and Spice - linking SugarCRM with Funambol

6

Software/Platforms

□Java J2SE / JEE□Spring□Hibernate□Javaspaces / Gigaspaces□Eclipse RCP□Linux / Solaris / Microsoft

Page 7: Sugar and Spice - linking SugarCRM with Funambol

7

Typical Projects

□Order Management and Pricing for Asian Broker□Order Process Management for major UK Mobile Telecoms Company□Mobile / Backoffice integration for large multi-national corporate

Page 8: Sugar and Spice - linking SugarCRM with Funambol

8

Business Requirements

□ Client Management□ Shared and Personal Calendars□ Shared and Personal Contacts□ Contact and Calendar

Synchronisation□ Centralised Repository (under our

control)□ Low-cost

Page 9: Sugar and Spice - linking SugarCRM with Funambol

9

Technical Requirements

□ Linux Server□ Multiple client devices

◊ Windows, Linux◊ Mobile phones/palmtops

□ Multiple client software◊ Outlook, Thunderbird

□ Remote-accessible

Page 10: Sugar and Spice - linking SugarCRM with Funambol

10

Why Funambol/SugarCRM?

□ New company, new infrastructure□ Heterogenous environment□ Embracing Open Source Solutions

◊ Cost, flexibility□ Requirements fit□ Interesting technologies□

Page 11: Sugar and Spice - linking SugarCRM with Funambol

11

SugarCRM Home

Page 12: Sugar and Spice - linking SugarCRM with Funambol

12

SugarCRM Dashboard

Page 13: Sugar and Spice - linking SugarCRM with Funambol

13

Taking It On – Jun 2005!

□Problems with sync:◊ Dates, missing fields◊ Failed syncs

□New versions of SugarCRM and Sync4J not supported□But of course – we have the Source!□Oct '05 - become project maintainer

Page 14: Sugar and Spice - linking SugarCRM with Funambol

14

Overall Architecture

file:///usr/share/icons/gnome/48x48/apps/visor.png

file:///usr/share/icons/gnome/48x48/apps/palm-pilot.png

file:///usr/share/icons/Human/48x48/apps/kscreensaver.png

file:///usr/share/icons/Human/48x48/devices/gnome-dev-keyboard.png

file:///usr/share/icons/Human/48x48/devices/computer.png

file:///usr/share/icons/Human/48x48/devices/gnome-dev-keyboard.png

??

Page 15: Sugar and Spice - linking SugarCRM with Funambol

15

SugarCRM SOAP API

□49 methods□Connector uses 5

◊ get_entry_list◊ get_entry◊ set_entry◊ login◊ logout

Page 16: Sugar and Spice - linking SugarCRM with Funambol

16

Connector Architecture

Page 17: Sugar and Spice - linking SugarCRM with Funambol

17

Authentication

□SugarcrmOfficer – implements Officer□Uses Funambol credentials to attempt login to SugarCRM□Session used for all further SugarCRM calls

Page 18: Sugar and Spice - linking SugarCRM with Funambol

18

Administration

Page 19: Sugar and Spice - linking SugarCRM with Funambol

19

Admin Implementation

□Primarily to manage differences between different versions of SugarCRM.

Page 20: Sugar and Spice - linking SugarCRM with Funambol

20

Challenges

□Multi-layer – which one is the problem?□Debugging php, SOAP, Funambol□Understanding multiple technologies□Database use□No test harnesses□Build, release process□Multiple versions of EVERYTHING

Page 21: Sugar and Spice - linking SugarCRM with Funambol

21

Testing

file:///usr/share/icons/gnome/48x48/apps/visor.png

file:///usr/share/icons/gnome/48x48/apps/palm-pilot.png

file:///usr/share/icons/Human/48x48/apps/kscreensaver.png

file:///usr/share/icons/Human/48x48/devices/gnome-dev-keyboard.png

file:///usr/share/icons/Human/48x48/devices/computer.png

file:///usr/share/icons/Human/48x48/devices/gnome-dev-keyboard.png

??

Eclipse AxisTCPMonitor

Page 22: Sugar and Spice - linking SugarCRM with Funambol

22

SugarForge POM

Page 23: Sugar and Spice - linking SugarCRM with Funambol

23

Future Plans

□ General◊ Code cleanup, test harnesses, better

logging□ Selective sync, personal and/or

group calendar, contacts□ Email address handling□ Email sync

Page 24: Sugar and Spice - linking SugarCRM with Funambol

24

Making my life easier

□Documentation◊ Server call sequence and expected

behaviour◊ Utility API features◊ Howtos and examples◊ Database format, installation routines

□Test harnesses□Version change information

Page 25: Sugar and Spice - linking SugarCRM with Funambol

25

The Costs for PSJ

□Time, time and more time!□ file:///usr/share/icons/gnome/48x48/stock/generic/stock_alarm.png

Page 26: Sugar and Spice - linking SugarCRM with Funambol

26

The Benefits for PSJ

□Warm, fuzzy feeling :-)□Control of our own utility software□Exposure to potential client base□Exposure to interesting (marketable) technologies□Potential business from commercial support offerings

Page 27: Sugar and Spice - linking SugarCRM with Funambol

27

The End

Page 28: Sugar and Spice - linking SugarCRM with Funambol

28

Overview

□Outline 1□Outline 2□Outline 3

Page 29: Sugar and Spice - linking SugarCRM with Funambol

29

Overview

□Outline 1□Outline 2□Outline 3