Programming standards with security and simplicity [closed]

2

Maybe this question sounds wide but deep down it is not, I'm still not formed in anything so I only have bad practices in the back and wanted to learn to program in a way not only "standard" but clear and clean .

Programming standards with security and simplicity

See, when I say programming patterns I mean how to write code in a healthy and simple way ... Reading and searching I found some tips that can help, such are:

  • Type the variables descriptively short and following the "camel hump" model Ex: $userBrowser = $_SERVER...
  • Comment the code, but make brief and descriptive comments for future maintenance
  • Being simplistic when it comes to making it happen, I say, make the code the easy way without losing your efficiency
  • I have known these three, they must have others .. If you know other cite maximum 3 that are not listed above ...

    and security, where do you go?

    Well, I have small ticks with security, fear maybe and as I'm always programming server side PHP and client (ex: JS)

    asked by anonymous 06.10.2015 / 23:59

    0 answers