-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathTest Description.txt
121 lines (92 loc) · 3.08 KB
/
Test Description.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
Carlos Iván Mercado Test
April 27th, 2015
Test Description:
This project was created as a test to appy for a front end position;
The source code, demo page and more details can be found here: [ https://github.com/civanm/PL_CIM ]
Why these Widgets:
The idea was to take the widgedts I though were related and make a page functional, the choosen ones were:
-> The profile card: the page has the main information of the user 'logged in'
-> Form: user can send emails to his/her contacts and the ability to see the already sent
-> Charts tabs -> detailed statistics information related with the data usage, seemed to be a good widget to have in the page.
-> Top-Nav: it allows to the user to navigate between site's pages it is necessary in any page, it changes location and styles on mobile devices.
Technologies:
- Angular JS as single page application aproach
- Gulp to run automated task needed to the site develoment.
- browserify used to require the application modules and node vendor files.
- karma, jazmine, for unit testing and tdd.
- angular-material, for the visual and grid layout
- less, css pre-processor,that extends the CSS language, adding features that allow variables, mixins, functions and more.
Files Structure:
PL_CIM
API --> Mocked JSON files to simulate server responses
email
- get-sent-items.json
profile
- get-info.json
statistics
- get-data-transfer.json
app --> all of the source files for the application
js --> application javascript files
index.js --> loads all modules needed for application
mocks --> helper files to mock services when unit testing
- mocks.js
modules --> different modules for the app
core --> core functionality
- core.module.js
- dataservice.js
- dataservice.spec.js
- router.js
- translate.js
- translate.spec.js
layout --> application layout related files
- footer.js
- layout.module.js
- shell.js
- shell.spec.js
widgets --> components treated as directives
- cimChartTabs.js
- cimForm.js
- cimProfileCard.js
- cimSentItems.js
- cimTopNav.js
- widgets.module.js
less --> less application related files
components --> here goes the less widget's files
widgets
- all.less
- form.less
- profile.less
- tabs.less
- top-nav.less
- animations.less
- base.less
- graphics.less
- icons.less
- icons.less
- layout.less
utilities --> less mixins and helpers
- constants.less
- helpers.less
- imports.less
- resets.less
app-styles.less --> main less files to be exported as css for the site
static_content --> files that are not modified regularly
fonts
images
views --> html related files
layout
- footer.html
- header.html
- side-nav.html
pages
- account.html
- events.html
- home.html
- settings.html
widgets
- cimChartTabs.html
- cimForm.html
- cimProfile.html
- cimSentItems.html
- cimTopNav.html
index.html