cmis 2.0.0

  • README.md
  • changelog.md
  • Installing
  • Versions
  • 6

CMIS - A browser based CMIS client written in Dart

This package allows browsing of and data manipluation in CMIS V1.1 specification browser binding compliant CMIS servers such as the one hosted at Alfresco.

This version of the implementation allows only data inspection, querying and Create/Delete of folders and documents. An implementation Matrix mapping functionality of this package to the CMIS specification is provided in the file 'doc/CMIS Implementation Matrix'.

It is envisaged that this clients functionality will be expanded as future versions are released.

The specification used is supplied in the 'doc/specification' folder.

The main API is contained in the Cmis and CmisSession classes along with usage information.

Testing is achieved via an interactive test suite, full details are contained in the '/test/doc/Using The Test Suite document'. Detailed usage information and result parsing can be obtained by inspecting the test/src files that drive the test suite. The 'test/output/ pictures' directory contains several screenshots of the output from the Alfresco test server above.

Being browser based CORS restrictions apply, all testing was done via an Apache proxy server configuration of which is supplied in the 'test/doc/httpd-vhosts.conf' file. Please be aware of this before using thsi package.

NOTE: This client does not currently parse CMIS ATOM feeds, this has been raised as an issue and will be addressed in the next release. Also several 'helper' utilities can be added to aid with result parsing, these also will be added in a later release.

Although this package can be used as a standalone entity it is envisaged that this client will form a core package that higher level clients will wrap around to achieve more intelligent CMIS interfacing.

2.0.0

Updated for Dart 1.0 release Test html updated to use latest bootstrap

Use this package as a library

1. Depend on it

Add this to your package's pubspec.yaml file:


dependencies:
  cmis: "^2.0.0"

2. Install it

You can install packages from the command line:

with pub:


$ pub get

Alternatively, your editor might support pub get. Check the docs for your editor to learn more.

3. Import it

Now in your Dart code, you can use:


      import 'package:cmis/cmis.dart';
  
Version Uploaded Documentation Archive
2.0.0 Nov 21, 2013 Go to the documentation of cmis 2.0.0 Download cmis 2.0.0 archive
1.0.0 Sep 12, 2013 Go to the documentation of cmis 1.0.0 Download cmis 1.0.0 archive

Analysis

We analyzed this package on Jun 19, 2018, and provided a score, details, and suggestions below. Analysis was completed with status completed using:

  • Dart: 2.0.0-dev.63.0
  • pana: 0.11.3

Scores

Popularity:
Describes how popular the package is relative to other packages. [more]
0 / 100
Health:
Code health derived from static analysis. [more]
18 / 100
Maintenance:
Reflects how tidy and up-to-date the package is. [more]
0 / 100
Overall score:
Weighted score of the above. [more]
6
Learn more about scoring.

Platforms

Detected platforms: web

Primary library: package:cmis/cmis.dart with components: html.

Suggestions

  • Package is too old.

    The package was released more than two years ago.

  • Fix analysis and formatting issues.

    Analysis or formatting checks reported 113 errors 18 hints.

    Strong-mode analysis of lib/src/CmisSession.dart failed with the following error:

    line: 838 col: 10
    The setter 'includePropertyDefinitions' isn't defined for the class 'JsonObject'.

    Strong-mode analysis of lib/src/CmisTypeCache.dart failed with the following error:

    line: 102 col: 27
    The getter 'id' isn't defined for the class 'JsonObject'.

    Similar analysis of the following files failed:

    • lib/src/httpAdapters/CmisNativeHttpAdapter.dart (error)
    • lib/src/httpAdapters/CmisXmlHttpAdapter.dart (error)
    • lib/cmis.dart (hint)
    • lib/src/Cmis.dart (hint)
    • lib/src/CmisException.dart (hint)
    • lib/src/CmisOperationContext.dart (hint)
    • lib/src/CmisPagingContext.dart (hint)
    • lib/src/CmisUserUtils.dart (hint)
    • lib/src/httpAdapters/CmisHttpAdapter.dart (hint)
  • The description is too short.

    Add more detail about the package, what it does and what is its target use case. Try to write at least 60 characters.

  • Maintain an example.

    Create a short demo in the example/ directory to show how to use this package. Common file name patterns include: main.dart, example.dart or you could also use cmis.dart.

Dependencies

Package Constraint Resolved Available
Direct dependencies
Dart SDK >=0.8.10+6 <2.0.0
browser >=0.6.19 <0.6.20 0.6.19 0.10.0+3
json_object >=1.0.16 <2.0.0 1.0.19+1
mime >=0.6.21+3 <0.6.22 0.6.21+3 0.9.6+1
Dev dependencies
bootjack any
scheduled_test any