Jump to content

Karma:Meeting 21 December 2009: Difference between revisions

From Sugar Labs
BryanWB (talk | contribs)
No edit summary
BryanWB (talk | contribs)
No edit summary
Line 1: Line 1:
Agenda
Agenda
# Coding Style  
# Coding Style  
  when in doubt, use camelCase
  constants in all CAPS, w/ _ separating multiple words --> COUNT_ERRORS = 10;
  boolean variables should be prefixed w/ "is" "can" or "should"
  prefix counters with "count" or "num"
# common HTML mistakes
# common HTML mistakes
# Let's try to use a common js coding pattern
# Let's try to use a common js coding pattern
Line 8: Line 12:
   3) method calls
   3) method calls


   Unobtrusive JavaScript
   Unobtrusive JavaScript -- let's try to stick to it
# common js problems, no blocks around ifs, '  ' eval, ==, var methodName = function(){}
# common js problems, no blocks around ifs, '  ' eval, ==, var methodName = function(){}
# managing code for lessons in repos, versioning
# managing code for lessons in repos, versioning
  Bryan will create karma-lesson repo
  lessons will have two states "stable" or "unstable", the "stable" commit is tagged "stable"
    everything else is unstable
  will use repo-naming convention from E-Paath but prefixed w/ "karma_"
# Using draggable()?
# Using draggable()?
   Vaibhaw will take look at jquery UI's draggable and see if useful
   Vaibhaw will take look at jquery UI's draggable and see if useful
Line 16: Line 24:
   Bryan will look at dialog for help, playAgain
   Bryan will look at dialog for help, playAgain
   Bryan will add shuffle() to Karma
   Bryan will add shuffle() to Karma
# layout of karma lesson
# timeline? milestones?
# timeline? milestones?
   Vaibhaw will complete all 60 by March
   Vaibhaw will complete all 60 by March
Line 22: Line 29:
   Bryan will check w/ Om to see if lesson dimensions will be part of UI design
   Bryan will check w/ Om to see if lesson dimensions will be part of UI design
# Workflow - have Om review it?
# Workflow - have Om review it?
  opyadav will review the finished activities

Revision as of 07:22, 21 December 2009

Agenda

  1. Coding Style
  when in doubt, use camelCase
  constants in all CAPS, w/ _ separating multiple words --> COUNT_ERRORS = 10;
  boolean variables should be prefixed w/ "is" "can" or "should"
  prefix counters with "count" or "num"
  1. common HTML mistakes
  2. Let's try to use a common js coding pattern
 Put code in following order
 1) variable declarations
 2) method declarations
 3) method calls
 Unobtrusive JavaScript -- let's try to stick to it
  1. common js problems, no blocks around ifs, ' ' eval, ==, var methodName = function(){}
  2. managing code for lessons in repos, versioning
  Bryan will create karma-lesson repo
  lessons will have two states "stable" or "unstable", the "stable" commit is tagged "stable"
   everything else is unstable
  will use repo-naming convention from E-Paath but prefixed w/ "karma_" 
  1. Using draggable()?
 Vaibhaw will take look at jquery UI's draggable and see if useful
  1. Create common widgets? Scorebox? timer? -- yes we need all of them
  Bryan will look at dialog for help, playAgain
  Bryan will add shuffle() to Karma
  1. timeline? milestones?
  Vaibhaw will complete all 60 by March
  1. We need resolution help! at least I do
  Bryan will check w/ Om to see if lesson dimensions will be part of UI design
  1. Workflow - have Om review it?
  opyadav will review the finished activities