cancel
Showing results for 
Search instead for 
Did you mean: 

Prototype: Alfresco Web Scripts + extjs ajax lib

jpfi
Champ in-the-making
Champ in-the-making
Hi,

Along with a colleague I played around with Web Scripts and extjs (a fabulous ajax lib).
After a couple of days we've finished a first prototype of a ajax-based Alfresco repository browser - we named it opsoro.

    feature overview:
    - ria-feeling (sortable & movable columns, view/hide components, async loading…)
    - live Search (search as you type)
    - folder browser
    - category browser
    - tag cloud browser
    - My Alfresco portal (draggable portlets)
    - document tagging
    - embedded preview (crop content & image preview)
    - inline view (text, pdf, images … IE only: ms office et. al.)
You find a flash screemcam here: http://opensource-ecm.com/opsoro/opsoro.html

This Web Script API is truly first-rate! It is impressive to find out how easy  and rapid to develop things can be;-)
71 REPLIES 71

janvg
Champ in-the-making
Champ in-the-making
When I use the opsoro client and select "my alfresco" I can see a Panel 3 with lorem ipsum content. I was wondering where this content is managed ?

jpfi
Champ in-the-making
Champ in-the-making
Hi, noop, this is hardcoded demo-text. It should show that a my alfresco portal can contain more than just a fwe document lists. I' d like to convert my alfresco to a real system entry point with a lot of different portlets/dashlets, e.g.:
  • My files (created by me / modified by me, owned by me…?)

  • My Working Copies

  • RSS-Feeds, e.g. documents changed in my projects

  • My Tasks

  • my appointments

  • Ticker...html/wiki files

Cheers, Jan

janvg
Champ in-the-making
Champ in-the-making
Jan,
I can see that the opsoro Air in fact is a desktop application but I suppose the webscripts can be called by an webclient too.
I was wondering what you you see as the main advantage from the opsoro air desktop compared to an online service ? Does this open the door to more functionalities ?

best regards,

jpfi
Champ in-the-making
Champ in-the-making
Hi,
yeb, for the moment opsoro AIR is the same client as the "normal" opsoro webclient.
But, Adobe AIR is more than a tool to use web technology in a rich client environment.
Using AIR we'll getting native drag'n drop and file system support and a included SQLite database.
With the help of this database you could realize nice offline features:
  • right click on a folder –> mark as offline available

  • a sync activity downloads the documents inside of this folder and their metadata and stores them in the SQLite database (content as BLOB)

  • If you are offline - no connection to repository - you can browse your offline contents, ad new documents etc.

  • Going online again –> sync
Cheers, Jan

stevereiner
Champ in-the-making
Champ in-the-making
For example of what you can do with AIR see FlexSpaces+AIR, air specific features 
(which you can do with the AIR  Javascript api with Ajax/HTML in addition to the AIR ActionScript api with Flex+AIR)

http://forums.alfresco.com/viewtopic.php?f=36&t=11876
1. AIR specific features (FlexSpaces+AIR)
http://integratedsemantics.org/__oneclick_uploads/2008/04/air-features2.html

Jan: I think it would be better to have files offline on the local filesystem and use the SQLite  only for offline metadata  (although SQLite does have good blob support).
(I currently have some simple offlining of files to the local filesystem (no syncing). Haven't done any metadata in SQLite yet.
AIR 1.0 can't launch apps without launching through another another browser  (not with the webkit  built in with air)
Also with offline files on the local filesystem you can get to  them with regular OS folders etc.

Steve

jpfi
Champ in-the-making
Champ in-the-making
Hi Steve,
yub, you're right. Storing offline content as files is even better then storing as BLOB.
Cheers, Jan

ronnyt
Champ in-the-making
Champ in-the-making
I am trying to download the s.gif image from suversion but :

An Exception Has Occurred
Python Traceback

Traceback (most recent call last):
  File "/opt/viewvc/lib/viewcvs.py", line 3483, in main
    request.run_viewcvs()
  File "/opt/viewvc/lib/viewcvs.py", line 370, in run_viewcvs
    self.view_func(self)
  File "/opt/viewvc/lib/viewcvs.py", line 2168, in view_checkout
    path, rev = _orig_path(request)
  File "/opt/viewvc/lib/viewcvs.py", line 719, in _orig_path
    pathrev, rev)), rev
  File "/opt/viewvc/lib/vclib/svn/__init__.py", line 116, in get_location
TypeError: Expected a pointer

jpfi
Champ in-the-making
Champ in-the-making
Hi Ronny,
this seems to be an error within the subversion.
I just tried out and it is working again now. Please just try out again.
I'll build a corrected release in the next days…but regrettably I'm currently very busy, so I can't promise.
Cheers, jan

flm
Champ in-the-making
Champ in-the-making
Hi Ronny,

You can find the s.gif here: http://extjs.com/s.gif

It's just a 1 x 1px transparent gif and is provided with extjs.

Regards,
Florian

ricard
Champ in-the-making
Champ in-the-making
Hi all

I attended Jan demo in Barcelona last Tuesday and became amazed with Opsoro.

I have downloaded it and tried to install in a machine with Alfresco Enterprise 2.2. I have patched alfresco.war with opsoro_AMP.amp but the new Crop Function is giving errors at Alfresco logs and some functionality is not working.

There are also several warnings with Context.JavaToJs function.

Has anyone got the same problems I am having? Does anyone know how this can be fixed?

Thanks and regards