-
Notifications
You must be signed in to change notification settings - Fork 1
Project Style Guide
| Version | Date | Description | Responsable |
|---|---|---|---|
| 0.1 | 22/03/2017 | Document creation and adaptation | Luiz Guilherme |
-
This is an adapted guide based on the coding standard used by Airbnb and Google Style Guide. It's utilization was adapted for utilization in the project found here. This guide can be used openly, even if is this version, an adaptation of the project cited above.
-
The reading and consult of this guide can be somewhat confusing for users that are not acquainted with Java, Javascript, ReactJS, JSX and HTML/CSS. It is recommended that you study them before utilizing this guide.
-
It's also recommended the utilization of the Eclipse IDE for Java development during the process of development and for ReactJS development it's recommended a text editor like Atom, Sublime or Webstorm because it is more intuitive, easy to use and well documented. As a web browser, we recommend Google Chrome.
-
If you have any doubts in relation of a code pattern, utilize the search function from your browser(CTRL+F on Google Chrome) before start coding!
-
Alterations can be made without previous warning.
- Only include one React component per file.
- However, multiple Stateless, or Pure, Components are allowed per file. eslint: react/no-multi-comp.
- Always use JSX syntax.
- Do not use React.createElement unless you're initializing the app from a file that is not JSX.
- Do not use displayName for naming components. Instead, name the component by reference.
// bad
export default React.createClass({
displayName: 'ReservationCard',
// stuff goes here
});
// good
export default class ReservationCard extends React.Component {
}
- Management Plan
- Requirements Management Plan
- Non Functional Requirements
- Entity Relationship Model
- Risk Plan
- Chronogram
- Costs
- Scenarios and Lexicons
-
C1UC3 - Maintain Clinical Record
