Friday hacks Talk

25
SYNC SINK SYNC Mohit Singh Kanwal

Transcript of Friday hacks Talk

Page 1: Friday hacks Talk

SYNC SINK SYNCMohit Singh Kanwal

Page 2: Friday hacks Talk

• Year 3 Undergraduate

• Mozilla Calendar Dev

• SE Dev as my hobby

• Trying out new things

Page 3: Friday hacks Talk

My Journey

Page 4: Friday hacks Talk
Page 5: Friday hacks Talk

Result

Page 6: Friday hacks Talk

Voila!

Page 7: Friday hacks Talk

The next bit…

Page 8: Friday hacks Talk
Page 9: Friday hacks Talk

Calendar

Lightning Extension

Page 10: Friday hacks Talk

My GSoC Project

1. Adding an offline mode

2. Allowing Changes to be made to calendar in offline and

sync them

3. Helps the use case when you want to travel for days

without Internet connectivity

4. A long standing bug in Mozilla since 2008

Page 11: Friday hacks Talk

DEMO

Page 12: Friday hacks Talk

How did we do it?

• Wrote functions on top of the Caching Wrapper

• Modified the data layer to recognize offline flags

• Caching code handles the provider actions

• Don’t get it?

Page 13: Friday hacks Talk

Architecture

calCachedCalendar

Provider

CalStorage

Page 14: Friday hacks Talk

DEMO AGAIN

Page 15: Friday hacks Talk

Current Issues

• Not implemented for all providers

• Difference between ICS and CALDAV

• Other protocols like Microsoft Exchange, Google Cal

• Memory Leakages

Page 16: Friday hacks Talk
Page 17: Friday hacks Talk
Page 18: Friday hacks Talk

IVLE File Sync

Want to be the “dropbox” of IVLE Workbin so that

you don’t need to download MBs of notes

everytime you feel like studying.

Page 19: Friday hacks Talk

DEMO

Page 20: Friday hacks Talk

How is it done

• Storing symlinks to the actual files

• Periodically update them if user has subscribed

User

Device

Device

Device

IVLE

Page 21: Friday hacks Talk

Current Status

• Backend is complete

• Client end is picking up heat

Page 22: Friday hacks Talk

Looking for Developers

• My UX skills suck!

• Contact me if you interested in taking the project forward

• Tons of endless possibility of applications

• Annotation

• Notification based

• Smart planning

Page 23: Friday hacks Talk

A Recap – Weekly Hacks

Visit http://roam7.com for details

Page 24: Friday hacks Talk

SO?What are you going to hack out?