Archive for the ‘ActionScript’ Category

FlexSpaces Mobile

Wednesday, October 19th, 2011

FlexSpaces (open source Flex / desktop AIR application for Alfresco ECM) has been ported to Flex Mobile.

Here is a video of FlexSpaces Mobile for Alfresco running on an iPad2:

Here is a video of FlexSpaces Mobile for Alfresco running on an Android Tablet (ASUS Transformer):

FlexSpaces Mobile has the full features of desktop FlexSpaces AIR (creation and editing features, not just browsing and viewing).

The cool thing is FlexSpaces Mobile supports multiple mobile platforms from the same codebase (and has mostly the same code-base as the desktop AIR and browser versions).

Used Flash Builder 4.5.1 and Flex 4.5.1. (need to try with Flash Builder 4.6 / Flex 4.6 pre-release ).

All the features work (except favorites which should work if add at least one shortcut through the regular Alfresco client). More work still todo (performance, polish, etc.). Also need to add a preference dialog (for desktop version too) so things that are now in FlexSpacesConfig.xml can  be set without repackaging (or at least be able to set the repository url in the login dialog).

Changes for mobile have not been checked into the FlexSpaces google code project yet. Think FlexSpaces Mobile will be free and open source too. Also should have a commercial license / premium version too.

FlexSpaces doesn’t use CMIS (uses custom webscripts) so it can expose all the capabilities of Alfresco, not just what is in CMIS.

CMIS Spaces Mobile, based on FlexSpaces Mobile, is also up and running on Flex Mobile 4.5.1. This can support all repositories that support CMIS (Alfresco, Nuxeo, Microsoft SharePoint, EMC Documentum, IBM FileNet, OpenText, Adobe ADEP / Day CRX, etc.) Look for a future blog post with videos of CMIS Spaces Mobile in the near future.

These mobile apps are geared to the larger screens found on tablets (and desktops).  Having layouts for smart phones is not planned (some things could be done easily: tree navigation panel can be hidden already, smaller / less toolbar icons could be used. Other things would be more work: dialogs would need smaller layouts, multi-pane sections (version history, workflow attachments, etc.) would need to be done as overlays.

CMIS Spaces source code checked in, CMIS / AtomPub ActionScript API notes

Wednesday, March 4th, 2009

The source code for CMIS Spaces (both Flex+AIR and Flex+Browser) is now checked into
http://code.google.com/p/cmisspaces/

(2191 files, including 6 language translations, although some of the files for FlexSpaces parts (workflow, wcm) are not used in CMIS Spaces)

Previous blog post covers what is working at this point and some setup info http://integratedsemantics.org/2009/03/02/cmis-spaces-flexair-early-preview-download-available/

There are 4 Flex Builder projects:
1. CMISSpaces (for CMIS Spaces Flex+Browser)
2. CMISSpacesAir (for CMIS Spaces Flex+AIR)
3. FlexSpaces (some modifications to FlexSpaces base code for CMIS, don’t need to build, dir is just used by CMISSpaces, CMISSpacesAir)
4. FlexSpacesAir (some modifications to FlexSpaces AIR base code for CMIS, don’t need to build, dir is just used by CMISSpacesAir)

Notes on the CMIS “client api” (client side service/data api) used in the code:
1. main part is in CMISSpaces/src/org/integratedsemantics/cmisspaces/cmis/atom
This consists of CMISAtomClient, extended cmis entry and feed classes, port of Alfresco’s Abdera extension classes CMISObject, CMISProperty, etc. to ActionScript
2. CMISAtomClient extends AtompubClient from as3atompub. The modified code from as3atompub is in CMISSpaces/src/org/coderepos (modified to work with newer version of as3httpclientlib
/sockets HttpClient (in org/httpclient) and to work without sockets using HttpClient2 in org/integratedsemantics/util)
3. CMIS Spaces also has Cairngorm events/commands/delegates api in org/integratedsemantics/cmisspaces/control that uses CMISAtomClient / AtompubClient

Also there are two other Atom related ActionScript libs out there
1. as3syndicationlib
2. NoteTag Kiwi AtomProtocol Library

Also a CMIS Atom Flex library project has started