sabato 28 aprile 2012

Developing a CMIS portlet for Liferay

Liferay Portal has many powerful tools for content’s authoring. Despite of this tools, it’s difficult to imagine that on the long term the Enterprise Portal built with Liferay can be the only place where contents are produced (while probably it will still be the main channel for publication and fruition of the content itself).

In my company (www.qbreng.it) we are currently working on a content production & delivery architecture that provides our Customers a Collaboration Platform (Alfresco Share) to organize workflows for the digital asset production. The assets produced in the workflow are (generally) very low- coupled to the final delivery channel (web, mobile, disk etc).

To simplify the interaction between the internal Collaboration Platform (Alfresco Share) and the WCM (Liferay), some ECM products provide good portlets that, after a small configuration work, make able Liferay’s users to browse, inspect and download the artifacts produced and stored on the ECM.

But sometimes this portlets are not able to fully address all configuration needs for the final customer, so sometimes we need to abandon this kind of (native ECM supported) approach and proceed to develop our integration solution “from scratch”. Now we have to justify our decision with the classic “buy vs build” pattern. This is the question: “I must use native tools, cheap and configurable but limited in flexibility, or we must develop a new (costly) integration component from scratch that I can totally dominate in functions?”

Costly? No more guys. Thanks to the adoption by many ECM vendors of the CMIS (Content Management Interoperability Services) communication protocol, it is very cheap and affordable today the development of new components with very high integration capabilities.

In this article we demonstrate, with an easy exercize, how simple is to write a good customized integration solution to let Liferay and Alfresco easily communicate with each other. We will realize a small portlet that we can use to browse contents on a remote CMIS Repository (Alfresco). This portlet (evolved) is today part of our document management suite Beefly developed by my company qbreng.it.




This portlet – that we can call a “semifinished” component – can represent the first part of a more complex,  CMIS-based, integration platform, very flexible and useful to address the Client’s customization’s needs.

Main features of the portlet
  1. Browsing a remote repository tree with AJAX
  2. Setting the portlet’s root folder (from wich you start the browsing actions) with the standard configuration tools of Liferay.
  3. Download of remote contents trough direct repository connection or with a proxy servlet.
  4. Support to multi-instance. It’s’ possible to create more instances of this portlet (also on the same page), each one with a different root folder.
 Download the source code

View the full article here

venerdì 20 aprile 2012

Beefly Touch – Touch Screen Document Management System developed on Alfresco

Beefly Touch

BEEFLY
is an innovative Document Management system, developed on the Alfresco platform that includes a very intuitive touch screen user interface, called BEEFLY TOUCH.

BEEFLY uses CMIS protocol to communicate with the Alfresco platform. BEEFLY allows users to store digital documents in the Alfresco repository, by simply using a TWAIN compatible scanner. Users can also index, share, version, number and search for different kinds of documents and contents (images, videos, e-mails, faxes, etc…).

Beefly Touch – Gestore Documentale Touch Screen sviluppato su Alfresco

Beefly Touch

Beefly Touch è un software per la dematerializzazione dei documenti sviluppato sulla piattaforma Open Source Alfresco e dotato di una semplice e intuitiva interfaccia utente Touch.L ‘interfaccia Beefly permette all’utente di effettuare l’archiviazione dei documenti in Alfresco tramite uno scanner o una stampante multi-funzione compatibile con il protocollo Twain. Il prodotto permette un processo di digitalizzazione, protocollazione, classificazione, archiviazione e ricerca dei documenti distribuito.


Dettagli del prodotto

Beefly permette all’utente di velocizzare e automatizzare le attività di dematerializzazione, archiviazione e consultazione documentale, il tutto grazie ad una interfaccia utente Touch semplice e intuitiva.
Beefly è una applicazione web di tipo Rich Internet Application creata per essere utilizzata attraverso un dispositivo Touch acreen. Il prodotto permette all’utente di effttuare la classificazione e indicizzazione dei documenti archiviati in pochi passi. L’interfaccia RIA Touch è stata sviluppata in Flash/Flex ponendo massima attenzione all’usabilità dell’applicativo.
Per la gestione dei tipi di documenti (Custom Type) nel Beefly l’utente amministratore ha a disposizione l’applicativo web based ADAMO(Alfresco DAta MOdel) che consente di creare dei Custom Model ad hoc allo scopo di customizzare le tipologie di documenti del gestore documentale con i relativi metadati che possono essere di tipo testo, data, o multivalore.


Una postazione pc collegata ad uno scanner costituisce una vera e propria postazioni di dematerializzazione distribuita. Differenti persone possono effettuare contemporaneamente le attività di digitalizzazione, classificazione e indicizzazione dei documenti cartacei ed elettronici. La classificazione e l’indicizzazione dei documenti può essere svolta sia in fase di archiviazione del documento elettronico da file system che in fase di scansione.


Il Beefly presenta le seguenti caratteristiche:


  • Preview dei documenti integrata per i formati PDF, MS Office, Open Office, immagini, xml e testo.

  • Informazioni di dettaglio relative ai documenti, alle pratiche e ai fascicoli selezionati

  • Funzione di Remote Scan dei documenti da scanner o multi-funzione compatibile con il protocollo Twain. Scansione multiDocumento attraverso un Barcode Page Separator.

  • Upload dei documenti nell’archivio documentale da file system

  • Protocollo elettronico dei documenti archiviati, sia in fase di upload che in fase di scansione a norma CNIPA

  • Ricerca full-text dei documenti archiviati

  • Ricerca avanzata dei documenti per tipologia documentale e per metadati specifici

  • Funzionalità di Copia e Sposta di un documento

  • Cancellazione di un documento selezionato in fase di archiviazione o di ricerca

  • Salvataggio e visualizzazione dell’ultima ricerca eseguita dall’utente

  • Tastiera alfanumerica e numerica completamente touch per migliorare la User Experience dell’utente

  • Creazione di Pratiche nell’archivio dotati di attributi ad hoc

  • Ricerca di Pratiche archiviati attraverso l’inserimento degli attributi cercati

  • Configurazione dei parametri di scansione dello scanner (Twain): modalità di scansione Colore/Bianco e Nero, selezione della risoluzione e selezione del formato di output (Tiff, Pdf, Jpeg)

  • Rubrica dei contatti (Mittenti/Destinatari) integrata

  • Interfaccia utente localizzata in Inglese, Francese e Italiano con la possibilità di aggiungere altre lingue

  • OCR dei documenti in fase di scansione

Installazione su macchina virtuale (VIRTUAL BOX)


Gestione dei moduli applicativi con Apache Maven

Vedi l'articolo completo qui