Commit d36bdd404c69569b9b3f12de537604bfde231489
1 parent
9d4e5d35b6
Exists in
master
Update README.md to acknowledge switch to JavaScript.
Showing
1 changed file
with
20 additions
and
19 deletions
Show diff stats
README.md
... | ... | @@ -11,7 +11,6 @@ For more detail on updates, [read the Changelog](https://github.com/themeteorche |
11 | 11 | - Audit Argument Checks - `meteor add audit-argument-checks` |
12 | 12 | - Bootstrap 3 - `meteor add pinglamb:bootstrap3` |
13 | 13 | - Check - `meteor add check` |
14 | -- CoffeeScript - `meteor add coffeescript` | |
15 | 14 | - Handlebars Server - `meteor add cmather:handlebars-server` |
16 | 15 | - Iron Router - `meteor add iron:router` |
17 | 16 | - jQuery - `meteor add jquery` |
... | ... | @@ -28,23 +27,23 @@ Base comes with a pre-defined file structure common to all projects along with s |
28 | 27 | ---/client |
29 | 28 | ------/controllers |
30 | 29 | ---------/authenticated |
31 | -------------header.coffee | |
30 | +------------header.js | |
32 | 31 | ---------/public |
33 | -------------login.coffee | |
34 | -------------signup.coffee | |
35 | -------------recover-password.coffee | |
36 | -------------reset-password.coffee | |
32 | +------------login.js | |
33 | +------------signup.js | |
34 | +------------recover-password.js | |
35 | +------------reset-password.js | |
37 | 36 | ------/helpers |
38 | ----------helpers-ui.coffee | |
37 | +---------helpers-ui.js | |
39 | 38 | ------/includes |
40 | 39 | ---------_header.html |
41 | 40 | ------/layouts |
42 | 41 | ---------layout-default.html |
43 | 42 | ------/routes |
44 | ----------filters.coffee | |
45 | ----------routes-global.coffee | |
46 | ----------routes-authenticated.coffee | |
47 | ----------routes-public.coffee | |
43 | +---------filters.js | |
44 | +---------routes-global.js | |
45 | +---------routes-authenticated.js | |
46 | +---------routes-public.js | |
48 | 47 | ------/stylesheets |
49 | 48 | ---------/sass |
50 | 49 | ------------/globals |
... | ... | @@ -66,15 +65,15 @@ Base comes with a pre-defined file structure common to all projects along with s |
66 | 65 | ------------reset-password.html |
67 | 66 | ------------signup.html |
68 | 67 | ---/collections |
69 | -------example.coffee | |
68 | +------example.js | |
70 | 69 | ---/lib |
71 | 70 | ---/packages |
72 | 71 | ------ (See List Above) |
73 | 72 | ---/public |
74 | 73 | ---/server |
75 | 74 | ------/admin |
76 | ----------accounts.coffee | |
77 | ----------startup.coffee | |
75 | +---------accounts.js | |
76 | +---------startup.js | |
78 | 77 | ------/data |
79 | 78 | ---------/insert |
80 | 79 | ---------/update |
... | ... | @@ -82,12 +81,14 @@ Base comes with a pre-defined file structure common to all projects along with s |
82 | 81 | |
83 | 82 | ---------/send |
84 | 83 | ---------/templates |
85 | -------------reset-password.coffee | |
84 | +------------reset-password.js | |
86 | 85 | ------/publications |
87 | 86 | ``` |
88 | 87 | |
89 | -### Language & Formatting | |
90 | -There are two considerations when using Base: JavaScript is written in [CoffeeScript](http://coffeescript.org) and CSS is written using [Sass](http://sass-lang.com). I prefer this setup because it allows me to move a little quicker than I do when writing in the native languages. This may not be for everybody, but I recommend giving both a shot because they make it much easier to write code. | |
88 | +### JavaScript & CSS | |
89 | +Prior to v2.0.0, Base was written in CoffeeScript. At the request of the community, Base was ported _back_ to native JavaScript. | |
90 | + | |
91 | +CSS in Base is written using [Sass](http://sass-lang.com). | |
91 | 92 | |
92 | 93 | ### Functionality |
93 | 94 | |
... | ... | @@ -114,11 +115,11 @@ A complete authentication pattern complete with: |
114 | 115 | |
115 | 116 | - Signup (at /signup) |
116 | 117 | - Login (at /login) |
117 | -- Logout (no path, implemented as a dropdown item/click event in /client/controllers/header.coffee) | |
118 | +- Logout (no path, implemented as a dropdown item/click event in /client/controllers/header.js) | |
118 | 119 | - Password Recovery (at /recover-password and /reset-password) |
119 | 120 | |
120 | 121 | ###### Validation |
121 | 122 | Validation via [jQuery Validation](http://jqueryvalidation.org). This applies to all of the public templates: login, signup, recover password, and reset password. |
122 | 123 | |
123 | 124 | ###### Automatic Admin User Creation |
124 | -When developing, having a handful of user accounts to test your application with can come in handy. Base comes with an automated account generation script located in `server/admin/startup.coffee` that creates accounts based on an array of specified users. **Note: by default this creates one Admin user on server startup, so make sure to customize or remove this user so the public can't access your app**. | |
125 | +When developing, having a handful of user accounts to test your application with can come in handy. Base comes with an automated account generation script located in `server/admin/startup.js` that creates accounts based on an array of specified users. **Note: by default this creates one Admin user on server startup, so make sure to customize or remove this user so the public can't access your app**. | ... | ... |