-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdjentle-django-day-1.html
162 lines (112 loc) · 7.71 KB
/
djentle-django-day-1.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
<!DOCTYPE html>
<html lang="en">
<head>
<title>Djentle Django Day 1</title>
<meta charset="utf-8" />
<link rel="stylesheet" href="./theme/css/main.css" type="text/css" />
<link href="http://blog.novapython.org/feeds/all.atom.xml" type="application/atom+xml" rel="alternate" title="NOVA Python Atom Feed" />
<!--[if IE]>
<script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script><![endif]-->
<!--[if lte IE 7]>
<link rel="stylesheet" type="text/css" media="all" href="./css/ie.css"/>
<script src="./js/IE8.js" type="text/javascript"></script><![endif]-->
<!--[if lt IE 7]>
<link rel="stylesheet" type="text/css" media="all" href="./css/ie6.css"/><![endif]-->
</head>
<body id="index" class="home">
<header id="banner" class="body">
<div style="height:60px">
<h1 style="float:left"><a href=".">NOVA Python </a></h1>
<div class="social" style="float: right">
<ul>
<li><a href="http://blog.novapython.org/feeds/all.atom.xml" type="application/atom+xml" rel="alternate">atom feed</a></li>
<li><a href="http://twitter.com/NOVAPython">@NOVAPython</a></li>
</ul>
</div><!-- /.social -->
</div>
<nav><ul>
<li ><a href="./category/meetups.html">Meetups</a></li>
<li class="active"><a href="./category/workshops.html">Workshops</a></li>
</ul></nav>
</header><!-- /#banner -->
<section id="content" class="body">
<article>
<header>
<h1 class="entry-title">
<a href="djentle-django-day-1.html" rel="bookmark"
title="Permalink to Djentle Django Day 1">Djentle Django Day 1</a></h1>
</header>
<div class="entry-content">
<footer class="post-info">
<abbr class="published" title="2012-08-11T00:00:00">
Sat 11 August 2012
</abbr>
<address class="vcard author">
By <a class="url fn" href="./author/ryan-day.html">Ryan Day</a>
</address>
<p>In <a href="./category/workshops.html">Workshops</a>. </p>
<p>tags: <a href="./tag/python.html">python</a><a href="./tag/django.html">django</a><a href="./tag/meta.html">meta</a></p>
</footer><!-- /.post-info -->
<p>Day #1 of Djentle Django is complete. We did seriously well. Our class has a very diverse range of skills. There are some who are installing their favorite IDE and running through the Django tutorial. There are a couple who have not used a command line before.</p>
<p>Even those with no linux experience were looking at DEBUG dumps, and finding the problem in their code. Fixing the problem, then restarting the Django server. Thats pretty good. The amount of knowledge required to bring up a Django web site is pretty astronomical.</p>
<p><strong>Yes!</strong> It really is when you think about it.</p>
<p>With the push to teach everyone to code, you have to look at exactly what it takes to code. You have to have a text editor. Ubuntu doesn't have gedit on the standard toolbar. So just open a terminal and run gedit. But how do you know gedit exists? What are you even editing? Oh you should run django-admin.py? Whats a terminal?</p>
<p>Today's biggest issues:</p>
<ol class="arabic simple">
<li>Editing the text, by far. Moving from text editor to command line was time consuming and complex for those who had never done it before. This is where I would focus most of the setup time. An editor that autocompletes Python code, and can highlight syntax errors as you code. However! I have been told that these IDEs (Eclipse, looking at you) are pretty easy to "accidentally" break. Somebody changes a setting somewhere, and now you are out 10 minutes trying to figrue out what went wrong. Also, how does the student simulate that environment when they get back home? How do you load a virtualenv into the Eclipse configs, when you are just barely understanding what a virtualenv even is? You know what always works though? Vim :) <esc>i just keep typing<esc>:wq. And it works when you get home as well. You don't need to master anything. If something is weird, <esc>i. And you're back.... just a thought.</li>
<li>Typos. This could be addressed by the IDE though. Highlight unknown variables. This would save a LOT of time, trying code paths until you hit that one typo, and then have to navigate your way back to that file. If you don't do this everyday, this is time consuming and frustrating.</li>
</ol>
<p>So we need a better editor. I think that would increase enjoyment. I'll have to wait for the post-workshop surveys to come back as well though.</p>
</div><!-- /.entry-content -->
<div class="comments">
<h2>Comments !</h2>
<div id="disqus_thread"></div>
<script type="text/javascript">
var disqus_identifier = "djentle-django-day-1.html";
(function() {
var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true;
dsq.src = 'http://novapythonblog.disqus.com/embed.js';
(document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
})();
</script>
</div>
</article>
</section>
<section id="extras" class="body">
<div class="blogroll">
<h2>blogroll</h2>
<ul>
<li><a href="http://novapython.org/">NOVA Python</a></li>
<li><a href="http://vmware.com/">VMWare (Sponsor!)</a></li>
<li><a href="http://excella.com/">Excella (Sponsor!)</a></li>
<li><a href="http://www.willowtreeapps.com/">Willow Tree (Sponsor!)</a></li>
</ul>
</div><!-- /.blogroll -->
</section><!-- /#extras -->
<footer id="contentinfo" class="body">
<address id="about" class="vcard body">
Proudly powered by <a href="http://getpelican.com/">Pelican</a>, which takes great advantage of <a href="http://python.org">Python</a>.
</address><!-- /#about -->
<p>The theme is by <a href="http://coding.smashingmagazine.com/2009/08/04/designing-a-html-5-layout-from-scratch/">Smashing Magazine</a>, thanks!</p>
</footer><!-- /#contentinfo -->
<script type="text/javascript">
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
</script>
<script type="text/javascript">
try {
var pageTracker = _gat._getTracker("UA-28498410-3");
pageTracker._trackPageview();
} catch(err) {}</script>
<script type="text/javascript">
// Test
var disqus_shortname = 'novapythonblog';
(function () {
var s = document.createElement('script'); s.async = true;
s.type = 'text/javascript';
s.src = 'http://' + disqus_shortname + '.disqus.com/count.js';
(document.getElementsByTagName('HEAD')[0] || document.getElementsByTagName('BODY')[0]).appendChild(s);
}());
</script>
</body>
</html>