Book Image

Easy Web Development with WaveMaker

By : Edward Callahan
Book Image

Easy Web Development with WaveMaker

By: Edward Callahan

Overview of this book

Developers of all levels can now easily develop custom, responsive, and rich web application clients with secure, scalable servers utilizing relational databases and RESTful services using WaveMaker Studio. Whether you need a departmental business application or a form application for your weekend club, this book will show you how to design, develop, and deploy professional grade web applications with WaveMaker. Easy Web Development with WaveMaker will help you use WaveMaker to design, develop, and deploy rich, responsive web applications, even if you are not a programmer. If you need to build a data-driven web application, but you only know ‘enough to be dangerous,' you need this book. This book examines every angle of using WaveMaker to build applications, from dissecting examples to customizing, deploying, and debugging your own applications. This book enables the non-professional programmer to become comfortable not only with using WaveMaker Studio itself, but also with the artefacts produced by the studio as well as the runtime and services provided by the WaveMaker framework. You will learn everything, from how customize the user experience with JavaScript and CSS to integrating with custom Java services and the Spring Framework server-side. Easy Web Development with WaveMaker 6.5 is packed with examples, code samples, screenshots, and links to equip you to be successful with WaveMaker Studio.
Table of Contents (23 chapters)
Easy Web Development with WaveMaker
About the Author
About the Reviewers
Styling the Application
Working with Databases
Utilizing Web Services

Chapter 7. Working with Databases

We have seen how WaveMaker makes it easy to build JavaScript applications. The primary function of these applications is almost always to find, display, edit, update, create, and/or delete data of some form or another. A commonly used data source is relational databases.

Databases work particularly well with WaveMaker. The structure of the data is well defined. This enables WaveMaker to generate types directly from the database schema. The operations allowed by a relational database are limited to what is referred to as CRUD (Create, Read, Update, and Delete). Combined with the type information, Studio can then generate fully-functional database forms that users can customize.

In this chapter we will look at how databases are used in WaveMaker applications. We'll start with the generated hibernate data model. The most common way to use the data model is with the live panels generated by dragging a database type from the palette. We'll dissect these generated...