ContextInstitute / bfcom

http://bfn.context.org
GNU General Public License v3.0
4 stars 1 forks source link

Create standards cheatsheet #35

Open rgilman opened 5 years ago

rgilman commented 5 years ago

We need to gather up all of the standards we've discussed in Game Plan for CI Web Dev/Ops and BFCom style guide (and anywhere else).

It would be great to have a summary cheatsheet at least of the main points.

Here's a start on gathering the standard but not really a cheatsheet yet (which will need more specifics):

I'll start by creating a google doc that we can all contribute to and comment on.

iangilman commented 5 years ago

Sounds good.

BTW, your markup links are broken... you don't need the url part.

rgilman commented 5 years ago

I've started this at CI Web DevOps Standards Cheatsheet. Please take a look. In the text I ask for comments but you here should also feel free to just add things.

@iangilman, thanks – fixed.

rgilman commented 5 years ago

One of the standards for PHP that's news to me is to end each file with a blank new line. It's just a warning but recommended. My git client Tower is flagging this.

iangilman commented 5 years ago

The cheat sheet looks good; I've added some comments.

The newline at the end of each file is a UNIX thing, and its part of Git in general; nothing to do with PHP specifically. We'll set our editors up to take care of this automatically.