The power of Twitter

Ultimamente visto che non ho più un vasto pubblico ( vedi openspace AST ) mi sono rivolto a twitter per regalare al mondo le mie assurde esclamazioni.

Oggi dopo un accesa discussione sulle basi della sicronizzazione dei dispositivi mobili ( soprattutto tramite ssl ) insieme a due dico due consulenti certificati microsoft ( tra cui uno ha fatto pure  il corso aggiuntivo per  l’unified messaging ), ho meditato  su quante cose ho visto grazie a funambol ed ho scritto il seguente post su twitter.

tweet

Una volta tornato a casa apro il portatile e noto qualcosa di strano all’interno della timeline di gwibber

gwibber

Non ci posso credere … Fabrizio Capobianco in persona … cioè il capo di funambol fà un bel reply su al primo fannullone ( per non dire di peggio ) di turno che fa un esclamazione attraverso twitter  …  mica mi vorra citare in tribunale per il sync ’em all ?

Screenshot della pagina twitter del Capo di Funambol

fabricapo

Morale della favola ? …. beh nessuna ! Questo evidenzia come anche il primo “fannullone” che passa oggi ha i suoi 45 secondi di notorietà come prevedeva Handy Wharrol.

Per finire  questo lagnosissimo post e da un po che mi pongo la seguente domanda ma perchè  di ogni componente o servizio con cui abbiamo a che fare lo conosciamo in modo così viscerale ?  Solo perchè andiamo una spada?

Aspetto impaziente un vostro commento.

If your Nokia mobile is a test device…

then you need to backup your data frequently. Testing funambol ldap and caldav connector with my E65 makes me happy, but I always love to ensure never miss my data during tests.

So I saved my addressbook on memorycard (on linux I got no Nokia PC Suite) in that way:

1- go to addressbook, then Options > Select All

2- then Options > Copy > To Memory Card

Now you got your backup: let’s safely start our tests!

Peace, R.

beanshell: scripting for java

Ok, I never really liked java – as I think it moves problem from developers to sysadmin ;) but I have to say that there are very nice java things: beanshell is one of this.

The problem I face was the post-processing of funambol output to a mobile device, shortly I had to filter an xml (syncml) response, regexp-replacing some values if the client was a Nokia mobile.

Doing it in the webapp code was ugly and leaves the webapp jars Nokia-dependant :(
So I decided to look at synclets (the way as Funambol uses beanshell for this kind of job) and quick-and-dirty write those lines.

What’s a synclet?
1- Funambol extends BeanShell with BeanShellSynclet
2- a BeanShellSynclet is a java-bean (an object), configured by an xml file
3- the xml refers to a .bsh file which includes methods and attributes written in java
4- the xml contains a User-Agent string

How Funambol use Synclets
Synclets are used when a User-Agent connects to the server (ex. a Nokia Mobile)
1- Funambol stores synclet’s XMLs configuration files in a proper directory
2- create a synclet object for each configuration file whose matches the User-Agent connected
3- before passing syncml streams to clients, parse it with all those synclets

Advantages
1- your webapp code is clear and rfc-compliant
2- writing synclet is easy
3- synclets applies only to the right User-Agent
4- you don’t have to re-deploy webapps, as synclets are instantiate at runtime

Have your say & Peace,
Rob

Google adds Caldav support to GCalendar!

It’s official: Google Calendar supports Caldav!
http://code.google.com/apis/calendar/developers_guide_caldav.html

Now you can connect to gcalendar using sunbird|lightning referring to url:
https://www.google.com/calendar/dav/UserName@gmail.com/events

Above all, you can have your gcalendar on your mobile using our Funambol Connector
http://sourceforge.net/projects/funambol-caldav

VaUnaSpada!