WaveMaker Sample Applications

Basic Sample Applications
These applications give a good overview of how to work with WaveMaker. Each one includes source code and a detailed "cookbook" describing how the application was built:

Advanced Sample Applications
These applications use advanced features such as Role-Based Access Controls and multi-tenancy:

All Sample Applications

WaveMaker User Management Template

This template demonstrates basic user management. Features include:

  • New account registration with integrated email workflow
  • Email address verification
  • Lost or forgotten password management
  • Remember username using cookie
The wiki page for this project includes detailed instructions to create the database (default database is MySQL), import the project and set up the email service to use your choice of email systems.

http://dev.wavemaker.com/wiki/bin/download/dev/User+Management+template/processnewuser.png

User Management Template Home Page

WaveMaker Application Showcase

A WaveMaker application that lists a catalog of sample applications built using WaveMaker. Demonstrates use of the back button and bookmarking using dojo.back (runs on WM5).

Running Application

Application Showcase Template Home Page

Showcase Application (minus screenshots to save space)

WaveMaker HR Vacation Management Application

The HR Vacation Management app shows how to build a more advanced form-driven application with WaveMaker. It uses the built-in hrdb database and highlights the following capabilities:

  • Link one grid to the selection of another grid. Selecting a department shows the employees for that department
  • Navigation upon selecting a grid row. Selecting an employee navigates to an employee detail form that also shows all vacations for that employee
  • Database Widget LiveForm with dialog boxes. User can double click a vacation to update it or use the new/update/delete buttons to manage vacations
  • Grid data management. Don't show employees if no department is selected
  • Default dates. Set default start and end dates for a vacation
  • Multi-field form validation. Validate that vacation end date is not earlier than start date
HR Vacation Management app

WaveMaker Anonymous User Login Template

This template demonstrates how to manage security for an application where anonymous users are able to see certain data without logging in. Features include:

  • Anonymous users can see database information without logging in
  • User can login with user role to see department details
  • User can login with admin role to see user login details
Anonymous user login application

WaveMaker FaqApp Template

This template demonstrates how to implement a knowledge base application for managing Frequently Asked Questions Features include:

  • Anonymous users can see FAQs without logging in
  • Anonymous users can add comments to a FAQ
  • Rich text editor
  • Custom html formatting in a datagrid
  • Custom HQL join queries
  • A user who logs in and is authenticated can manage FAQs, comments and users
FaqApp Knowledge Management Application

WaveMaker IssueCloud Bug Tracking Template

This application can be easily customized to meet company-specific requirements for trouble ticketing and help desk applications.

This template demonstrates multi-tenant security and role-based access controls. Features include:

  • User management system: self-service login, email address verification, lost or forgotten password management, remember username using cookie
  • Multi-tenant management: self-service tenant administration and account signup, email signup invitation
  • Multi-tenant security: user is assigned a tenant id based on their. User only sees data associated with their company/tenant. All data security managed on server side
  • Role-based access controls: user is assigned a role based on their login. user sees only widgets and data that are authorized for their role.
  • Management dashboard: pie chart, bar chart, project drop-down selector, filtered list of open issues
  • Issue management: issue ids are auto-assigned, rich text editor, file upload and download
  • Automated email notification: emails sent automatically when issue is changed or comment is added
  • Complex search: multi-field text search, dynamic filtering of issues based on a variety of criteria.
Issue Cloud

WebServices Example

This is the WebServices example shipped with WaveMaker 6.2.5 and earlier.

Demonstrates RSS, Atom, Soap and REST web services.

WM 6.3 Export

Simple CRM

A CRM application with compound primary keys and many to many relationships

Running Application

WM619 Export, MySQL db included in export zip

NOTE: This example is out of date


Back to Top

HQL Tutorial Application

This application demonstrates a variety of HQL queries and provides an excellent reference tutorial introduction to Hibernate queries (runs on WM5). Features include:

  • Ability to specify HQL examples in the url
  • In depth introduction to HQL Concepts
  • Running on Cloud Foundry using MySQL
HQL Tutorial Application
Running Application on Cloud Foundry


Back to Top

Employee Directory

Source


Back to Top

WaveMaker Advanced Widgets Examples

Dojo Menu

Download the WaveMaker source project file for this example:

MenuTest WaveMaker Source Project

WM Blog

Shows simple content management.

Project Export

MySQL Export


Back to Top

Demo Example Project

The following project was created during a webinar on June 29, 2010. At the conclusion of the webinar participants requested the project. The project, built with WaveMaker Enterprise 6.1.9, demonstrates the following:

  • Database access - the project uses the HRDB database included with WaveMaker Studio. HRDB is an HSQLDB database, an embedded Java database.
  • Database relationships - Employee works in a Department
  • Binding of data to widgets, including Chart widget and Fisheye Widget, with expanding view of pictures
  • LiveForm
  • Web service access using Twitter widget
  • Events - for navigation to layer and to pages and for logout
  • Security - using database as authentication source
  • Multitenancy - Single application to provide services to many customers
  • Role Based Access Control (RBAC) - display specialized user interface for each user based on the user's role
Demo Project


Back to Top

Community Examples

Master - Detail

Training in Dojo

How to do Thumbs Rating with IP Address and additional filtering

Back to Top

Other Tutorials

Prerequisites: Introductory Tutorials, particularly Tutorial 1.

Tabs and Layers

An old version of the Tutorial is available here: Working with Live Forms. The concepts are accurate although the specific steps are no longer correct.

Stay tuned for a new version of this tutorial.

Duration: 10 minutes

Related Data

An old version of the Tutorial is available here: Working with Related Data. The concepts are accurate although the specific steps are no longer correct.

Stay tuned for a new version of this tutorial.

Duration: 10 minutes

Web Services

An old version of the Tutorial is available here: Working with Web Services. The concepts are accurate although the specific steps are no longer correct.

Stay tuned for a new version of this tutorial which will show how to incorporate web services into the application. The application will call a zipcode lookup web service to retrieve the city and state for the entered zip code.

Duration: 10 minutes

Deploying

Coming soon. Deploy to local server. Deploy to cloud server and spin up a new instance.

Duration: 10 minutes

Others to be added:

The following tutorials are coming soon:

Java Services

Add a Java service to the application. The Java service will perform a complex calculation and display the result to the web application.

Duration: 10 minutes

Adding More Features to the Application

  1. Add related editor to LiveForm and set data
  2. Using tabs

Making it look good / Formatting and Styling

  1. add graphic
  2. add attribution
  3. styling

Adding Pages

Security

Shows how to use WaveMaker Security features

  1. Role-based access control

Advanced Tutorials



Trouble running examples ? Example Help

MySQL Sample Database Exports


      Share/Bookmark
© 2012 VMware, Inc. All Rights Reserved.