You are previewing Easy Web Development with WaveMaker.
O'Reilly logo
Easy Web Development with WaveMaker

Book Description

A practical, hands-on guide for amateur developers to design, develop, and deploy web and mobile applications using WaveMaker

  • Develop and deploy custom, data-driven, and rich AJAX web and mobile applications with minimal coding using the drag-and-drop WaveMaker Studio

  • Use the graphical WaveMaker Studio IDE to quickly assemble web applications and learn to understand the project’s artefacts

  • Customize the generated application and enhance it further with custom services and classes using Java and JavaScript

In Detail

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

  1. Easy Web Development with WaveMaker
    1. Table of Contents
    2. Easy Web Development with WaveMaker
    3. Credits
    4. About the Author
    5. Acknowledgement
    6. About the Reviewers
    7. www.PacktPub.com
      1. Support files, eBooks, discount offers and more
        1. Why Subscribe?
        2. Free Access for Packt account holders
    8. Preface
      1. What this book covers
      2. What you need for this book
      3. Who this book is for
      4. Conventions
      5. Reader feedback
      6. Customer support
        1. Downloading the example code
        2. Errata
        3. Piracy
        4. Questions
    9. 1. Getting Started with WaveMaker
      1. Setting up your workspace
        1. Getting the right version
        2. Being browser smart
        3. Installing locally using a release package
        4. Building a Studio from GitHub
        5. Setting up the examples
          1. Importing the database
      2. Introducing CRM Simple
        1. Exploring the sample application
      3. Summary
    10. 2. Digging into the Architecture
      1. The big picture
      2. Getting comfortable with the JavaScript client
        1. Dojo Toolkit
        2. Dojo made easy
        3. Binding and events
        4. Loading the client
      3. Springing into the server side
        1. Starting from web.xml
      4. Client and server communication
      5. Types
      6. Studio is also an application
      7. Summary
    11. 3. Using Studio
      1. Welcome to projects
      2. Hello WaveyWeb
      3. Adding services
      4. Inserting components
      5. The canvas
      6. Working on the canvas
      7. Source editors
        1. The Script tab
        2. The other source panels
        3. The resource manager
      8. The palette
      9. The Properties panel
        1. The page and project properties
      10. Binding dialog
      11. Using revision control software
      12. Summary
    12. 4. Designing a Well-Performing Application
      1. Begin with the end in mind
      2. Leveraging layouts
      3. Screen-sizing strategies
        1. Multiple versions of an application or all in one?
        2. One screen for all devices
        3. A screen for each screen size
        4. The hybrid approach
      4. Going faster
        1. Using page containers effectively
        2. How many page containers?
        3. Reducing module loading
      5. Optimizing the use of data and service calls
        1. Beware of autoUpdate
        2. Controlling the result set size
        3. Client-side querying of variable results
        4. Live views and related data
        5. Lazy loading
        6. Related editors
      6. Summary
    13. 5. Navigating towards Reusability
      1. Navigation, layers, and page containers
      2. Simple notifications
        1. Alert!
        2. Toast
        3. Confirmations
        4. Warn and prompt dialogs
      3. Dialogs
        1. Generic dialog
        2. Loading dialog
        3. The designable and page dialogs
      4. Published page properties
      5. Accessing components of a page container page
      6. History and back button
      7. URL management
      8. Summary
    14. 6. Styling the Application
      1. CSS in WaveMaker
      2. Tooled styling
      3. Defining classes
        1. Avoiding !important
        2. Testing rules with dojo.query()
      4. Themes
        1. Subthemes
        2. Managing themes
          1. Importing and exporting themes
      5. Importing CSS
      6. Borrowing parts
      7. Other styling tools
      8. New in WM 6.6
      9. Summary
    15. 7. Working with Databases
      1. Generating the data model
        1. Importing an existing database
          1. Importing the sample database
        2. Creating a new schema
        3. Exporting a schema
        4. Making project-only schema changes
        5. Examining the service
        6. Customizing database services
        7. Re-import
      2. Live data components
        1. Form creation using database objects
        2. Dissecting the live panel
        3. Related data
          1. Live views
        4. Query by example
      3. HQL
      4. Mixing HQL and live data
      5. Calling SQL and stored procedures from Java
      6. Summary
    16. 8. Utilizing Web Services
      1. Installing wsdl4j-bin.jar
      2. Feed services
        1. Binding the feed
      3. SOAP
        1. If service generation is not successful
      4. REST
        1. REST services returning XML
        2. REST services returning JSON
          1. The XHR proxy
      5. Summary
    17. 9. Custom Java Services
      1. Java or web service
      2. Adding a custom service
      3. Dissecting the template class
      4. The classpath
        1. JAR and class files
        2. Java source files
      5. Using an external editor
        1. NetBeans
        2. Eclipse/STS
        3. Compiling external edits
      6. RuntimeAccess
        1. Access other service beans
        2. Server-side validation
      7. Dependency injection
      8. Logging
      9. Summary
    18. 10. Customizing the User Interface with JavaScript
      1. Important warning for browser-executed code
      2. Events
        1. Asynchronous events
        2. Event handlers
      3. Binding expressions
      4. Setting and getting values
        1. JavaScript variables
        2. wm.Variable
          1. Simple types
          2. EntryData
          3. Complex types
      5. Filters
      6. Resources
        1. The console
        2. Trees
          1. Completions
          2. JS reference
          3. JavaScript toString()
          4. Source code
      7. Summary
    19. 11. Mastering Client Customization
      1. Formatters
        1. useLocalTime
        2. Custom Function
      2. DojoGrid
        1. Display expressions
      3. Custom columns
      4. LiveForm
        1. Validation
        2. onBeforeServiceCall
      5. Dynamic page content
        1. Reflow
        2. createComponent()
      6. Custom components
      7. Summary
    20. 12. Securing Applications
      1. Security in WaveMaker
      2. Configuring security
        1. Security providers
        2. Roles
        3. Setup Services
      3. Widget RBAC
      4. Multitenancy
      5. The security service
      6. Customizing the configuration
        1. URL access
          1. Page access control
        2. Service operation access
          1. Using code
          2. Using XML
      7. Securing runtime service
        1. Disabling live saving
      8. Troubleshooting
      9. Summary
    21. 13. Deploying Applications
      1. Deployment requirements
      2. Preparing for deployment
      3. The deployment dialog
      4. WAR/EAR
      5. Tomcat
        1. JVM configuration
        2. Mod_proxy
      6. Cloud deployment
        1. Cloud Foundry
        2. Amazon EC2
      7. Summary
    22. 14. Mobile Deployment
      1. The mobile hybrid
      2. Before you begin
      3. Cordova API
      4. PhoneGap build
        1. Local build
        2. Cloud build
        3. Configuring the build
      5. Uploading the ZIP
      6. Customizing the ZIP file
      7. Summary
    23. 15. Debugging
      1. General troubleshooting
        1. Logging output
        2. Clearing the cache
        3. Resetting WEB-INF
        4. Restarting the server
        5. Undeploying old applications
      2. Watching the network
      3. Client
        1. Logging
          1. Built-in debugger
        2. Developer tools
          1. Closure Compiler
          2. Chrome Developer Tools for WebKit
          3. Tools for other browsers
          4. Mobile debugging
          5. Weinre
        3. At the console
          1. No this keyword
          2. Debugger
          3. Useful tool features
      4. Server
        1. Logging
        2. Starting with JPDA
        3. Attaching with Eclipse
      5. Summary
    24. Index