Sha256: 01b0e0c75f850ff2cece069181a3c118c7915bbf70b2f64a0fb48a750b3e87f3

Contents?: true

Size: 1.01 KB

Versions: 1

Compression:

Stored size: 1.01 KB

Contents

# The `src/common/` Directory

The `src/common/` directory is reusable components that serve as the business logic of the application. They may be specific to this application, but should be organized so that they can be easily copied and reused in another application. In general user visible components like directives, controllers, states, and templates should not live here.

```
src/
  |- common/
  |  |- resources
  |  |- components
  |  |- config.js
  |  |- environment.js
  |  |- AppBackend.js
```

- `resources` - this houses sub-classes of BackendResource which provide an object oriented interface to backend data
- `components` - reusuable UI components, usually directives, that do not make up an entire new view on the page that would change the URL
- config.js - contains important configuration variables used throughout the app
- environment.js - DON'T EDIT THIS FILE. it gets regenerated. instead, edit the individual environment files in frontend/config
- AppBackend.js provides app specific endpoints to the backend

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
xing-framework-0.0.2 default_configuration/base_app/frontend/src/common/README.md