getAllStatuses(); $renderer = get_active_status_renderer(); echo ''; } function topic_icons_css() { echo "\n"; } function topic_icons_label( $label ) { global $topic; if (bb_is_front() || bb_is_forum() || bb_is_view() || bb_is_tag()) { $icon_set_name = topic_icons_get_active_icon_set(); $icon_set_url = ICON_SET_URL_BASE . $icon_set_name; $status = get_active_status_interpreter()->getStatus(bb_get_location(), $topic); $renderer = get_active_status_renderer(); $image = $renderer->renderStatus($status); $tooltip = $renderer->renderStatusTooltip($status); $exists = file_exists(dirname(__FILE__).'/icon-sets/'.$icon_set_name.'/'.$image); if (!$exists) { return sprintf(__('
%s
%s'), get_topic_link($topic->topic_id), ICON_SET_URL_BASE.'/empty.png', ICON_WIDTH, ICON_HEIGHT, $tooltip, $label); } else if (strlen($tooltip) > 0) { return sprintf(__('
%s%s
%s'), get_topic_link($topic->topic_id), $icon_set_url.'/'.$image, ICON_WIDTH, ICON_HEIGHT, $tooltip, $tooltip, $label); } else { return sprintf(__('
%s
%s'), get_topic_link($topic->topic_id), $icon_set_url.'/'.$image, ICON_WIDTH, ICON_HEIGHT, $tooltip, $label); } } return $label; } function topic_icons_init( ) { remove_filter('bb_topic_labels', 'bb_closed_label', 10); remove_filter('bb_topic_labels', 'bb_sticky_label', 20); add_filter('bb_topic_labels', 'topic_icons_label', 11); add_action('bb_head', 'topic_icons_css'); add_action('bb_admin_menu_generator', 'topic_icons_admin_page_add'); add_action('bb_admin-header.php', 'topic_icons_admin_page_process'); topic_icons_register_status_interpreter('default', new DefaultStatusInterpreter(BUSY_THRESHOLD)); topic_icons_register_status_renderer('default', new DefaultStatusRenderer()); } topic_icons_init(); ?> Digital Humanities Questions & Answers » Topic: Resources/Strategies for teaching coding or programming to grad students? http://digitalhumanities.org/answers/topic/resourcesstrategies-for-teaching-coding-or-programming-to-grad-students Digital Humanities Questions & Answers » Topic: Resources/Strategies for teaching coding or programming to grad students? en-US Sun, 24 Mar 2019 23:11:58 +0000 http://bbpress.org/?v=1.0.2 <![CDATA[Search]]> q http://digitalhumanities.org/answers/search.php Wayne Graham on "Resources/Strategies for teaching coding or programming to grad students?" http://digitalhumanities.org/answers/topic/resourcesstrategies-for-teaching-coding-or-programming-to-grad-students#post-1524 Tue, 21 Feb 2012 18:35:22 +0000 Wayne Graham 1524@http://digitalhumanities.org/answers/ <p>This is actually a problem we have been wrestling with, and one of the inspirations of the <a href="http://praxis.scholarslab.org/">Praxis Program</a> we started here at UVa. The approach is really to teach how to management and implement a digital humanities project from the ground up, including the programming, budget management, and implementation aspects of a code. </p> <p>The way we've approached the programming is to teach how to think like a developer; our examples are in Ruby, but we could have just as easily done them in PHP, JavaScript, Python, or even C... We've focused a lot of attention on recognizing when to use particular coding principals (flow-control, looping, etc.), and a lot of muscle memory (e.g. exercises). </p> <p>For teaching Python, Zed Shaw's <a href="http://learnpythonthehardway.org/">Learn Python the Hard Way</a> is a good resource (actually all of the <a href="http://learncodethehardway.org/">Learn Code the Hard Way</a> series is pretty good). I have also seen a lot of new developers respond well to the various Koans out there (e.g. <a href="https://bitbucket.org/gregmalcolm/python_koans/wiki/Home">Python Koans</a>).</p> <p>I'll throw in a few other really good (and free) resources we've used in this program too:</p> <p>* <a href="http://eloquentjavascript.net/">Eloquent JavaScript</a><br /> * <a href="http://wiki.freegeek.org/index.php/Git_for_dummies">Git for Dummies</a><br /> * <a href="http://rogerdudler.github.com/git-guide/">Git - the simple guide</a><br /> * <a href="http://www.w3.org/MarkUp/Guide/">Getting Started with HTML</a><br /> * <a href="http://www.w3.org/Style/CSS/learning">Learning CSS: Cascading Style Sheets articles and tutorials</a><br /> * <a href="http://www.alistapart.com/articles/responsive-web-design/">Responsive Web Design</a></p> <p>Depending on what you're wanting to do, it may also be beneficial to use something like <a href="http://www.r-project.org/">R</a> to teach programming. This may look scarier (it is for quantitative analysis), but it does provide many of the same controls and approaches used in other realms of development, but within a limited domain. </p> <p>HTH,<br /> Wayne </p> Patrick Murray-John on "Resources/Strategies for teaching coding or programming to grad students?" http://digitalhumanities.org/answers/topic/resourcesstrategies-for-teaching-coding-or-programming-to-grad-students#post-1523 Tue, 21 Feb 2012 16:38:17 +0000 Patrick Murray-John 1523@http://digitalhumanities.org/answers/ <p>I'm curious about the choice of Python, actually. Any particular reason for choosing it?</p> <p>If not, I'd actually suggest Javascript instead. That way people can look at HTML/CSS/Javascript right in their browser with firebug or whatever in-browser tool is there. I also like Javascript because it is easy to do direct, kinda fun, manipulations of a web page, especially if you modify Greasemonkey scripts. </p> <p>The upshot strategy is that JS lets students get higher payback for their learning more quickly.</p> <p>HTH </p> Dorothea Salo on "Resources/Strategies for teaching coding or programming to grad students?" http://digitalhumanities.org/answers/topic/resourcesstrategies-for-teaching-coding-or-programming-to-grad-students#post-1522 Tue, 21 Feb 2012 16:37:51 +0000 Dorothea Salo 1522@http://digitalhumanities.org/answers/ <p>Perhaps <a href="http://niche-canada.org/member-projects/programming-historian/ch1.html">The Programming Historian</a> would be of help?</p> <p>If you care to go the TEI route at all, <a href="http://tbe.kantl.be/TBE/">TEI By Example</a> is pretty fabulous.</p> <p>For HTML, have a look at <a href="http://diveintohtml5.info/semantics.html">Dive Into HTML5</a> and see if it floats your boat. If not, <a href="http://www.w3schools.com/">w3schools</a> may be closer to what you need. </p> Roger Whitson on "Resources/Strategies for teaching coding or programming to grad students?" http://digitalhumanities.org/answers/topic/resourcesstrategies-for-teaching-coding-or-programming-to-grad-students#post-1521 Tue, 21 Feb 2012 16:30:32 +0000 Roger Whitson 1521@http://digitalhumanities.org/answers/ <p>Hi, does anyone know of any resources for teaching a short unit of a larger DH course on programming for graduate students? I'd like students to have basic skills in HTML/CSS/Python - but maybe that's asking too much. Any strategies? </p>