Skip to content

Joshua-Barclay/wcomponents

 
 

Repository files navigation

wcomponents

Accessible Web UI Framework for Enterprise

Born in 2005 - Open source since August 2015

WComponents is an opinionated Java framework for building accessible web applications for enterprise and government.

Its goal is to enable Java developers to build AJAX enabled, WCAG 2.0 compliant web applications without the need for expertise in accessibility or client side technologies.

Status

Build Status PMD Checkstyle Findbugs Coverage Codacy

Frontend Tests: Sauce Test Status

Contributing

Contributions welcome: Contributing

Join the chat at https://gitter.im/BorderTech/wcomponents

Why Use WComponents

WComponents is yet another Java UI framework, so why would you bother?

  1. WComponents is designed to make it possible to build applications which meet WCAG 2.0 at level AA or better. This is a mandatory requirement for Australian Government web-based applications which is where WComponents started life in 2005.
  2. WComponents is extremely scaleable: we have had very large applications running thousands of components per view and still functioning in IE6!
  3. WComponents based applications can be pure Java: it is possible (though not mandatory) to build an application with no browser code in the application space. Someone who can build a Java application can build a Java web application without a need to know extensive web-client libraries etc.
  4. WComponents makes it easy to implement a common corporate style because every client side aspect of every component is controlled within the theme, even to the extent of being able to prevent the use of templates, inline HTML or some of the Java API designed to allow overrides of themes. A common look & feel for a suite of applications should lead to lower development and maintenance burden and lower training costs for users of intranet applications.
  5. We are nice so you would like to use this framework just because of that.

Supported Browsers

Out of the box WComponents supports all modern desktop and mobile browsers including:

Mobile

  • Mobile Safari
  • Chrome
  • Mobile Firefox
  • UC
  • Mobile IE (Windows Phone) and Edge (Windows 10 mobile)

Desktop

  • Chrome
  • Firefox
  • Safari
  • Microsoft Edge
  • Internet Explorer 11

WComponents client side code is extensible and configurable therefore it is perfectly feasible to add support for older browsers not listed above.

Building

If you wish to build WComponents you will need Apache Maven installed.

Run these commands to fetch the source and build:

  1. git clone https://github.com/bordertech/wcomponents.git
  2. cd wcomponents
  3. mvn install

Running the Examples

Running the executable jar file

After following the steps above to build WComponents you may run the wcomponents-examples-lde

  1. cd wcomponents-examples-lde/target/
  2. java -jar wcomponents-examples-lde-VERSION-jar-with-dependencies.jar (replace VERSION with the version you built, e.g. 1.0.0-SNAPSHOT)

Note: you may also be able to simply double-click the jar file.

Running the examples project

The examples project is most easily run from the project view of your IDE.

For example:

  1. Right click the wcomponents-examples-lde project.
  2. Select the main class to run: com.github.bordertech.wcomponents.examples.lde.PlainLauncherProxy

About

Accessible Web UI Framework for Enterprise

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 68.4%
  • JavaScript 21.9%
  • XSLT 5.5%
  • CSS 2.9%
  • HTML 1.3%