examples

package
v0.27.7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 25, 2023 License: MIT Imports: 3 Imported by: 0

README

model

The model package here has been copied from the model package that gets generated for the
goradd sample database. It has been modified so that the examples code will compile even if the database
is not loaded. Normally you would refer directly to the model package in your goradd-project
directory.

db

This directory contains the sample database code that is used by some of the tutorials and examples.
To make these work, you will need to:

1) Install the database that is in the examples/db directory, and
2) Make the database available to the application by configuring it in goradd-project/config/db.go.

controls

The controls directory contains usage examples of the supported base controls provided by the goradd package.
The goal of the package is to be as comprehensive as possible in showing all the different options that
a control has, and the many different ways to use a control. It also includes brower-based tests that are
part of the continuous-integration tests.

The base controls are foundations on which more elaborate controls can be built. But they also
provide enough support that a basic data-driven website can be built with only these controls.

Documentation

Overview

Package examples contains the example and tutorial code for learning how to use GoRADD.

The gen/goradd/model here has been copied from the model package that gets generated for the goradd sample database. It has been placed here so that the examples code will compile even if the database is not loaded. Normally you would refer directly to the model package in your goradd-project/gen directory.

The db directory has the source code for creating the database that goradd uses for testing and for the examples.

Directories

Path Synopsis
Package controls contains example pages that demonstrate how to set up and use various Goradd controls.
Package controls contains example pages that demonstrate how to set up and use various Goradd controls.
gen
goradd/model
Package model contains the ORM for objects for the goradd database.
Package model contains the ORM for objects for the goradd database.
Package tutorial contains the tutorial for learning about GoRADD.
Package tutorial contains the tutorial for learning about GoRADD.
orm

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL