Changes between Version 104 and Version 105 of DeveloperGuidelines/Tips


Ignore:
Timestamp:
07/21/10 09:21:53 (11 years ago)
Author:
Fran Boon
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • DeveloperGuidelines/Tips

    v104 v105  
    11DeveloperGuidelines
    2 
    32----
    4 ==== Python debugging ====
     3== Python debugging ==
    54 * WSGI likes print statements to go to {{{sys.stderr}}} not {{{sys.stdout}}}: http://code.google.com/p/modwsgi/wiki/DebuggingTechniques
    65 * use Web2Py shell: http://www.vimeo.com/879939
     
    1716  * Using with Web2Py: http://www.wingware.com/doc/howtos/web2py
    1817 * [DeveloperGuidelinesEclipse Eclipse] IDE
    19 ==== CSS & Javascript debugging ====
     18
     19=== Reserved Keywords ===
     20 * 'request' -> web2py internal use
     21 * 'key' as a db row name -> MySQL confuses it with internal keyword KEY
     22 * http://dev.mysql.com/doc/mysqld-version-reference/en/mysqld-version-reference-reservedwords-5-0.html
     23 * http://www.postgresql.org/docs/8.1/static/sql-keywords-appendix.html
     24
     25== CSS & Javascript debugging ==
    2026 * use Firebug: http://code.google.com/support/bin/answer.py?answer=77412&topic=12044
    2127 * use Venkman: http://www.mozilla.org/projects/venkman/
    2228 * http://pastebin.me (allows edits of HTML & previews)
    2329 * IE6 cheatsheet: http://www.virtuosimedia.com/tutorials/ultimate-ie6-cheatsheet-how-to-fix-25-internet-explorer-6-bugs
    24 ==== Web2Py ====
     30
     31== Web2Py ==
    2532 * http://web2py.com/examples/default/docs
    2633 * Prevent HTML tags being escaped in views: {{{{{=XML("<p>Not escaped!</p>")}}}}}
     
    9299 * Use the StatusBar for dynamic status updates
    93100 * http://code.google.com/p/web2pyorm/
    94 ==== !JavaScript ====
     101
     102== !JavaScript ==
    95103 * http://trac.openlayers.org/wiki/Documentation#BeforeGettingStarted--TheTechnologiesBehindOpenLayers
    96104 * http://eloquentjavascript.net
     
    101109  * JS: {{{var RE_JSVAR = new RegExp("\W", "g"); var variable_name = string.replace(RE_JSVAR, '_');}}}
    102110 * Loop timings: http://blogs.sun.com/greimer/entry/best_way_to_code_a
    103 ===== jQuery =====
     111
     112=== jQuery ===
    104113 * http://www.tvidesign.co.uk/blog/improve-your-jquery-25-excellent-tips.aspx
    105114 * http://james.padolsey.com/javascript/things-you-may-not-know-about-jquery/
     
    111120 * Web2Py HTML Helper: http://groups.google.com/group/web2py/browse_thread/thread/ec63ee9af3ee659f
    112121 * jqGrid in Web2Py: http://groups.google.com/group/web2py/browse_thread/thread/2caa0e4e0161bb8d
    113 ===== Ext =====
     122
     123=== Ext ===
    114124 * http://extjs.com/learn/Tutorial:Introduction_to_Ext_2.0
    115125 * http://extjs.com/learn/Manual:Basic_Application_Design
     
    120130  * http://blog.extjs.eu/know-how/mastering-ext-direct-part-1/
    121131
    122 ==== HTML/CSS ====
     132== HTML/CSS ==
    123133 * http://enhance.qd-creative.co.uk/2008/06/28/the-misunderstood-div/
    124134 * http://enhance.qd-creative.co.uk/2008/10/14/7-things-you-can-do-so-your-users-wont-leave/
     
    132142  * http://webtips.dan.info/graceful.html
    133143
    134 ==== SQL ====
     144== SQL ==
    135145Basics of Design:
    136146 * http://www.simple-talk.com/sql/database-administration/ten-common-database-design-mistakes/
     
    157167 * Especially useful for USB (minimise disk access): http://web.utk.edu/~jplyon/sqlite/SQLite_optimization_FAQ.html
    158168
    159 ==== XSLT ====
     169== XSLT ==
    160170 * XPath: http://www.w3schools.com/xpath/default.asp
    161171 * XSLT: http://www.w3schools.com/xsl/default.asp
    162172
    163 ==== GIS ====
     173== GIS ==
    164174 * http://linfiniti.com/dla/ (includes videos, etc)
    165175 * http://desktopgisbook.com/
     
    174184Print
    175185 * http://www.amazon.com/Primer-GIS-Fundamental-Geographic-Cartographic/dp/1593855656
    176 ==== Misc ====
     186
     187== Misc ==
    177188 * Bugmail add-on for Thunderbird: https://addons.mozilla.org/en-US/thunderbird/addon/9584
    178189
    179190----
    180 
    181191DeveloperGuidelines