Blueprint changed by Jakub Jankiewicz:

Whiteboard changed:
  http://www.aikiframework.org/wiki/HOWTO_Develop_Aiki_Framework#Coding_Style
  
  I have better proposal, it's code style I always use, the same as
  Inskape, but without this spaces around compound statement it look kind
  of weird to me.
  
  $a = (foo == bar ? "is" : 'isn't");
  if (foo == bar && baz == quux) {
      foo($a);
  }
  
  I think that we should also use Emacs defaults for indentaion (4 spaces)
  in all of them
  
  and in CSS we should use every rule in separeted line indented by 4
  spaces.
  
+ For SQL - keywords uppercase
+ 
+ SELECT userid FROM aiki_users WHERE username = 'foobar'
+ 
  ###
  
  I update the wiki, Do you agree? I can clean the code to match this
  coding style. - @jcubic

-- 
Define coding standards or guidelines for PHP, JavaScript, CSS, HTML and SQL
https://blueprints.launchpad.net/aikiframework/+spec/coding-standards

_______________________________________________
Mailing list: https://launchpad.net/~aikiframework-devel
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~aikiframework-devel
More help   : https://help.launchpad.net/ListHelp

Reply via email to