Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Remodeling Antique Plumbing With Modern Tools

Remodeling Antique Plumbing With Modern Tools

Web development at the trailing edge! As presented at Drupal Camp Austin 2013.
Presentation with speaker notes available here:
https://github.com/milsyobtaf/prez/raw/primary/2013/DrupalCampAustin/remodeling-prez.pdf

E4dfe9e808d67748c3f876981fa4b9f3?s=128

milsyobtaf

June 23, 2013
Tweet

Transcript

  1. REMODELING ANTIQUE PLUMBING WITH MODERN TOOLS

  2. REMODELING ANTIQUE PLUMBING WITH MODERN TOOLS Web development at the

    trailing edge!
  3. DUSTIN YOUNSE

  4. DUSTIN YOUNSE University of Texas Libraries

  5. DUSTIN YOUNSE University of Texas Libraries Webmaster

  6. None
  7. None
  8. None
  9. None
  10. f

  11. None
  12. None
  13. None
  14. None
  15. None
  16. “LE MIEUX EST L'ENNEMI DU BIEN” Voltaire

  17. “THE BEST IS THE ENEMY OF THE GOOD” Voltaire

  18. body { background-color: Chartreuse; } body:before { content:"If you can

    see this, please contact the Webmaster"; }
  19. None
  20. None
  21. DON’T FORGET YOUR UNIX BASICS

  22. DON’T FORGET YOUR UNIX BASICS •Symlinks are your friend •Normalize

    the files if possible •Hardlink miscellaneous files to a master file, to keep changes in sync
  23. USE VERSION CONTROL

  24. USE VERSION CONTROL

  25. USE VERSION CONTROL

  26. USE VERSION CONTROL •SVN •GIT •MERCURIAL •FOSSIL

  27. None
  28. None
  29. VERSION CONTROL BOTH CLIENT SIDE AND SERVER SIDE

  30. None
  31. None
  32. NO

  33. Host internet.com ForwardAgent yes

  34. git config user.name "Your Name" git config user.email "you@example.com"

  35. CONVENTION VS CODE Borrow a trick from shared corporate Twitter

    accounts Identify yourself in the commit message
  36. git commit -m ‘Bug fix for last commit (DY)’ git

    commit -m ‘Greatest code ever written - ever!! (DY)’
  37. johndoe$ johndoe$./takecredit What is your number? 6 Welcome Number 6

  38. CONVENTION VS CODE Borrow a trick from shared corporate Twitter

    accounts Identify yourself in the commit message
  39. reset --soft HEAD^

  40. None
  41. uncommit = reset --soft HEAD^

  42. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http:// www.w3.org/TR/xhtml1/ DTD/xhtml1-

    strict.dtd">
  43. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http:// www.w3.org/TR/html4/ strict.dtd">

  44. ID AND NAMES VS CLASSES •id=”360link” •name=”360link” •class=”360link”

  45. <!DOCTYPE html>

  46. 31

  47. <!--[if lte IE 9]> • Limit of 31 stylesheets •

    dgo.to/ie_css_optimizer • Limit of 4095 CSS rules in a single CSS file • Limit of 288kb in a single CSS file
  48. PLAYING HIDE AND SEEK <pre> <?php print_ r($vars) ?> </pre>

  49. PLAYING HIDE AND SEEK Content: Nid (Nid)

  50. TECHNICAL DEBT

  51. SHAME.CSS •A dedicated CSS file to house your hacks •!important

    •overflow: hidden http://csswizardry.com/2013/04/shame-css/
  52. GPOL

  53. None
  54. A FINAL NOTE •Backup •Backup everything •Seriously, back it up

  55. @MILSYOBTAF