User Tools

Site Tools


dev:browser_staff:manifesto

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
dev:browser_staff:manifesto [2014/01/08 10:39] ericksondev:browser_staff:manifesto [2022/02/10 13:34] (current) – external edit 127.0.0.1
Line 28: Line 28:
     * For example, in the prototype the URL "staff/circ/patron/123" draws information for patron id=123.  It is normally accessed via routing, with data already fetched.  When loading this page directly, the UI is forced to fetch patron 123 (and associated data), since the patron data will not already be loaded within in a new page.     * For example, in the prototype the URL "staff/circ/patron/123" draws information for patron id=123.  It is normally accessed via routing, with data already fetched.  When loading this page directly, the UI is forced to fetch patron 123 (and associated data), since the patron data will not already be loaded within in a new page.
   * Use angular and angular-ui only.  Avoid loading new 3rd-party libraries without community approval.   * Use angular and angular-ui only.  Avoid loading new 3rd-party libraries without community approval.
-  * Avoid adding items to the controller's $scope that are not needed by the UI.  This causes unnecessary overhead. +  * Avoid adding items to the controller's $scope that are not needed by the UI.  This causes unnecessary overhead.  Specifically, avoid linking large nested objects to the scope, since each $digest run has to clone and compare versions of the object as part of the $watch process.
  
  
Line 37: Line 36:
     * if something doesn't look/work right, document it in the code and fall back to stock Bootstrap markup.       * if something doesn't look/work right, document it in the code and fall back to stock Bootstrap markup.  
   * Do not use HTML tables for page layout.  Use Bootstrap rows and columns instead.   * Do not use HTML tables for page layout.  Use Bootstrap rows and columns instead.
 +  * Actions which modify the URL should be presented as text links (a/href), while controls which perform in-page actions (e.g. open a modal dialog) should be rendered as buttons.
  
          
dev/browser_staff/manifesto.1389195540.txt.gz · Last modified: 2022/02/10 13:34 (external edit)

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki

© 2008-2022 GPLS and others. Evergreen is open source software, freely licensed under GNU GPLv2 or later.
The Evergreen Project is a U.S. 501(c)3 non-profit organization.