Getting Started

Installation

Using a generator

To quick a start a project, we recommend using a UGF generator--a Yeomanarrow-up-right.

Follow these steps:

  1. First install Yeoman and its related generators herearrow-up-right.

  2. Then follow the steps from Generate Your App to generate the whole framework and its required items.

  3. Your app should be running!

If you'd like to learn more, you can add your generated code into your IDE, and start from [project name]/index.tsx.

I would like to build blocks

If you would like try to build the whole thing by yourself, here are the required technologies:

  1. Nodejs 8.11+

  2. git

  3. create-react-app

After you have acquired the required technologies, follow these steps:

  • Initialize a project using create-react-app

  • Using npm tool to install all your required softwares

  • Create the basic folder and file structure under the source folder, see referencearrow-up-right

  • Setup bootstrap file using a10-gui-framework

  • Try to import a widget from a10-gui-widgets

Development Tools

IDE setup

Use any text editor like VSCode, Sublime Text, Hbuilder, Notepad++.

A10 Onbox GUI team uses VSCode since it's lightweight , stable, and has higher code performance. In our GUI git repository, we have already setup all the VSCode running environment configurations, so all you need to do is to pull it down, add it into your VSCode editor, and VSCode will help you startup GUI team's dev environment. The VS Code configuration files are under [your_project_root]/.vscode/

If you have your favorite IDE, we suggest you install basic plugins such as eslint and tslint. To highlight your code, please install Typescript and ES6 relevant plugin.

For coding style, we are using tslint:recommended and tslint-react. For more information about this topic, please see tslint.jsonarrow-up-right.

Browser extensions recommend

For debugging React and Redux, we suggest installing the following two extensions on Chrome or Firefox, as it can help you debug React's Virtual DOM hierarchy and Redux store data.

Examples

For more examples, please read Examples page.

Learn

Just the Basics

We have 3 main design documents that include the basic concepts of our framework, widget, and container, please click the following links to read.

Real-World Usage

If you'd like to learn how it works in the real-world , please contact ax-web-dl@a10networks.comenvelope to gain permission to access the production code.

Help and Discussion

You can send an e-mail to ax-web-dl@a10networks.comenvelope or join our slack discussion grouparrow-up-right,

For a10-gui-framework issues, you can directly connect our framework maintainer Roll envelope and Chrisenvelope.

For a10-gui-widgets issues, please connect Ruienvelope.

Permissions needs to be granted in order to access the frameworks' source codes. Email / connect with Yushanenvelope and the aformentioned maintainers to be granted permission.

An alternative is to post your issue(s) to the relevant git repository issue boards; we will answer your questions ASAP.

Should You Use?

This is currently not an open source project, as it is only used in A10networks Corp. You are welcome to use this framework and code as a A10networks GUI developer, but please don't distribute the source code to anywhere outside of A10networks.

Repositories Access Permission

As an A10 GUI internal project, you have no permission to access the framework repositories outside A10networks Corp.

To access those frameworks' source code, you need to be grant permissions, so you need connect Yushanenvelope and the relevant maintainers mentioned above.

Last updated

Was this helpful?