Commit Graph

2025 Commits

Author SHA1 Message Date
Victor Woeltjen
86df248096 [Framework] Add angular-route
Add angular route library and utilize when instantiating
framework-driven module. This allows invocation of ng-view
by way of defined routes. WTD-518.
2014-11-04 14:38:49 -08:00
Victor Woeltjen
f16fa32b68 [Framework] Fix error in custom registrars
Fix error in CustomRegistrars; return a function when
creating general-purpose registration code for
Angular built-ins which follow the normal pattern
(directives, controllers, services...)

WTD-518.
2014-11-04 14:35:22 -08:00
Victor Woeltjen
126b515782 [Framework] Fix code style for ExtensionRegistrar
Satisfy code style standards in ExtensionRegistrar.
WTD-518.
2014-11-04 13:54:14 -08:00
Victor Woeltjen
78effaa09f [Framework] Fix code style in BundleLoader
Fix code style and remove unuseful code from BundleLoader,
WTD-518.
2014-11-04 13:51:53 -08:00
Victor Woeltjen
19bfeb4d03 [Framework] Wire up framework layer
Wire up and invoke framework layer components for
application start up, from main point-of-entry.
WTD-518.
2014-11-04 13:46:17 -08:00
Victor Woeltjen
8e31b2b6e0 [Framework] Add bootstrapper
Add an application bootstrapper, responsible for
handling the Angular bootstrapping phase of
framework layer initialization. WTD-518.
2014-11-04 13:00:12 -08:00
Victor Woeltjen
24591c67dd [Framework] Add custom registration types
Add custom registration for Angular's directives and
controllers. WTD-518.
2014-11-04 12:48:16 -08:00
Victor Woeltjen
9541d6716a [Framework] Custom route registration
Add custom extension registration code for routes,
using these to configure Angular's routeProvider.
WTD-518.
2014-11-04 09:55:03 -08:00
Victor Woeltjen
306d8ae9db [Framework] Add bundle resolver; normalize initialization
Simplify the extension initializer by putting each
phase's responsibilities into a specific class.
WTD-518.
2014-11-04 08:35:06 -08:00
Victor Woeltjen
d8eb72621b [Framework] Simplify custom registration
Handle the iteration over extensions which have a
custom registration mechanism (directives, services)
at the same level that general registration is handled.
WTD-518.
2014-11-04 08:06:44 -08:00
Victor Woeltjen
00de789f5e [Framework] Intermediary commit; registration phase
Continue implementation of registration phase of framework layer.
Begin adding some custom registration behavior for specific
Angular concepts, such as services and directives. WTD-518.
2014-11-03 13:55:02 -08:00
Victor Woeltjen
650969d9c5 [Framework] Begin adding registration phase
Begin implementation registration phase of framework
layer initialization process. This phase is responsible
for registering resolved extensions with Angular, in a
manner than individual extensions can later request
dependencies from. WTD-518.
2014-11-03 13:29:59 -08:00
Victor Woeltjen
eba3e47182 [Framework] Implement ExtensionResolver
Initial implementation of class responsible for
resolving extensions (that is, loading modules
associated with defined extensions.)

Also, add methods to Bundle and Extension classes
to support logging performed during the extension
resolution phase. WTD-518.
2014-11-03 10:14:13 -08:00
Victor Woeltjen
a940d1a460 [Framework] Begin work on extension resolution
Begin work on extension resolution phase of
the framework layer. WTD-518.

Introduce an implementation loader which wraps
RequireJS, and a skeleton class for extension
resolution.
2014-11-03 09:44:16 -08:00
Victor Woeltjen
0e82250c84 [Framework] Continue implementing fundamentals
Continue implementing classes which represent fundamental
concepts within the framework layer. WTD-518.

In particular, add methods which will be useful during the
extension resolution phase of framework start up.
2014-11-03 08:45:14 -08:00
Victor Woeltjen
12f43d1c8d [Framework] First-pass implementation of bundle loader
Begin implementing the bundle loader component of the
framework layer, responsible for taking a list of
included bundles and exposing their contents in a
useful manner. WTD-518.
2014-10-31 16:45:08 -07:00
Victor Woeltjen
2719dea775 [Framework] Add constants
Add AMD module to store Constants used in framework.
WTD-518.
2014-10-31 16:43:52 -07:00
Victor Woeltjen
de409fd8e7 [Framework] Begin work on main point-of-entry
Add main point-of-entry script for framework layer; performs
only minimal tasks of loading framework dependencies
and demonstrating that bundle list can be loaded
using these. WTD-518.
2014-10-31 16:43:18 -07:00
Victor Woeltjen
b55c6b8bce [Framework] Initial skeletons for framework
Initial skeletons for framework classes, WTD-518.
2014-10-31 13:58:56 -07:00
Victor Woeltjen
83d06b6f8f [Framework] Add Promise polyfill
Add Promise polyfill to version control. Promise objects
are included in ECMAScript 6 and browser support is
present, but non-universal. Using the polyfill approach
permits the use of Promise directly throughout the
application without relying on bleeding-edge browser
support.

Promises are useful at the framework level particularly
because of the number of asynchronous calls made when
assembling bundles. Framework layer is WTD-518.
2014-10-31 13:14:34 -07:00
Victor Woeltjen
047d56d662 [Structure] Add comments to temporary files
Add clarifying comments to temporary files, to
ensure they are distinguishable as placeholders.
Part of developing project folder structure and
build for WTD-519.
2014-10-31 09:49:09 -07:00
Victor Woeltjen
0bf0912bf8 [Tests] Initial spec runner
Initial spec runner; looks in bundles, assumes conventions.
Supports initial repository set up and build scripts, for
WTD-519.
2014-10-30 17:24:30 -07:00
Victor Woeltjen
a753818b24 [Build] Initial test dependencies
Initial commit of test dependencies, as brought over
from prototype, to continue establishing build. WTD-519.
2014-10-30 16:04:38 -07:00
Victor Woeltjen
bd9f90428c [Framework] Add Angular, Require libraries
Add libraries for Angular and Require. This expands
folder structure to support initial build (WTD-519)
and also directly supports implementation of a
framework layer (WTD-518).
2014-10-28 08:28:18 -07:00
Victor Woeltjen
42bc4599b8 [Structure] Add platform structure
Add general structure for Open MCT Web, including
top-level and second-level directory structure.
README files are included to explain the role of
each directory; markdown is used to allow for
richer display when viewer support is present.

WTD-519.
2014-10-27 18:18:50 -07:00