5 ms·
As a anecdata-point, Stanford's CS 142: Web Applications course was previously focused on Rails, now it teaches a MEAN stack: http://web.stanford.edu/class/cs1
by danso 10y ago
As a anecdata-point, Stanford's CS 142: Web Applications course was previously focused on Rails, now it teaches a MEAN stack:
http://web.stanford.edu/class/cs142/ http://web.stanford.edu/class/cs142/
It requires students to test on Chrome:
> Unfortunately, Web browsers are still not 100% identical in their behavior, so Web pages may behave differently on different browsers. For this class, the reference browser is Chrome: your project solutions must work on Chrome, and the CAs will use Chrome to test them. Your solutions need not work on any browser other than Chrome. You may use a different browser to develop your solutions if you wish (Chrome, Firefox, and Safari all have very similar behavior), but please test on Chrome before submitting. We do not recommend that you use Internet Explorer for development: historically, its behavior has been quite different from the other browsers, so things that work on IE may not work on Chrome, and vice versa.
I have mixed feelings on this. Sure...open web, and everything. But in academia, Chrome is one of the more ubiquitous dev environments to be used...I remember being locked into Visual Studio. And purportedly, the class isn't just about job skills...it's attempting to teach HTML/CSS/HTTP/JS to students who may have not had real exposure to any of those concepts, on top of Angular/Mongo/Node/Express. Restricting the environment allows at least for more consistent instruction/grading.
- nathancahill 10y agoI don't have mixed feelings about this. A course name "Web Applications" should start by explaining the fundamental difference between "Applications" and "Web Applications", the second of which is accessed via browsers, which the developer has no control over. It's a pretty crucial concept. As far as grading, I wouldn't expect responsive design or old IE support, but it should work in all current, major desktop browsers. It's really not hard, you just have to be conscientious of the fact that there are multiple browsers out there.
- danso 10y agoTo use another technical analogy...I teach data analysis using SQLite...the purpose of the course is for students (most of who have never actually programmed) to be introduced to SQL, but more fundamentally, the concepts of databases and data joins. Ignoring the profound differences in database architecture...SQLite follows most of the SQL standard [0]...but I think there are enough syntax differences between it and Postgres that the gulf might be roughly comparable to at least the disparity in vendor prefixes on the browser side. As for SQLite vs. MySQL...well, I used to teach lessons that allowed the use of either SQLite and MySQL, and gave that up after a year. In addition to being SQLite focused, I tell students to just use one open-source, cross-platform client: http://sqlitebrowser.org/ http://sqlitebrowser.org/ Sure, you could make the argument that I'm woefully preparing my students for jobs in which PG/MySQL/MSSQL is by far the standard...whether you're talking about web applications or dealing with legacy data files. But job viability is not in my scope...I argue that I'm teaching students the fundamentals of data and logical joins...that I use SQLite is merely an implementation detail. That's how I feel about the CS 142 class...if students come out of that class being able to understand even an intermediate level of all those concepts...when they get out into the "real world", learning how to write for cross-browser compatibility will be well within what they can learn on the job. Just like it's trivial to learn the other variants of SQL once you've grokked SQL itself. [0] https://www.sqlite.org/lang.html https://www.sqlite.org/lang.html
- nathancahill 10y agoI understand what you're saying, but I think you're confusing tools and deliverables. If I hired someone to do data analysis, and they delivered accurate results using SQLite, I could not fault them since the deliverable is correct, whether they used SQLite or PG. If I hired someone to build a web application, and then found out that it only worked in Chrome, that's a broken deliverable. The specific tool (SQLite/PG/etc or Chrome/FF/Lynx/etc) used for creating each deliverable doesn't matter.
- softawre 10y agoThe point was made that, in one course, they're already learning JS/HTML/CSS and the full MEAN stack. Adding on the requirement that it work in each browser is just too much, especially when you consider how you'd want to grade such a thing. FeatureA works in Chrome/FF but looks weird in Safari and is outright broken in IE. 7.346/10?
- nathancahill 10y agoIt's not "make it work in each browser", and it's not "just too much". If you spend an additional couple minutes per assignment checking functionality in major browsers (ignoring IE), you're set. For your FeatureA, I'd ignore IE (that's a whole college course in itself), but I'd grade that 9.8/10. -0.2 cause it looks weird in Safari.
- foota 10y agoThat's not entirely true, what about when you bring someone in and say "here's my mysql server that I haven't upgraded in years, analyze the data in it"
- ACow_Adonis 10y agoAs a real world analyst, I'd love a job where you just sit there and pay me to come up with "insights/deliverables" and not have to worry about implementation details. Indeed, in my experience, the thought that this is how it's done/what analysts should do is a chief complaint about academic-esque analysts, because they can't actually implement anything or their solution is completely unworkable for real scale/tech environment/software stack. But I would happily take a job where I can be paid to live in my ivory tower if you know a place that views that as the deliverable of analysis :p Indeed, I think the comparison of someone delivering a webpage that doesn't run on other browsers is quite an apt analogy...
- RodericDay 10y agoChrome, Angular, Mongo, Node, and Express? To teach HTML/CSS/HTTP/JS? Damn. I would definitely not take that class.
- nathancahill 10y agoAt least it's not Rails anymore /s
- striking 10y agoRight? Angular is far from regular HTML. It makes sense to use, when you want people to get started with interactivity in the web... after that, though, playing with "dependency injection" and "transclusion" is just not good for you.
- TeMPOraL 10y ago> It makes sense to use, when you want people to get started with interactivity in the web... I don't think it makes sense even then. The toolset is just way too complex both for teaching, and even for practical use for small projects. I mean, when people are supposed to learn about things like HTTP, or the idea that server-side programming involves writing programs (the normal, regular kind) that output text - which will later be sent over the wire to the browser. Or even how the control flows through your application. You know, the basic, fundamental stuff - understanding of which is kind of required to do this job well. All the "we'll teach non-programmers coding with current framework du jour" courses and classes I've seen involve typing in magic invocation that generate shit ton of folders and files that nobody tells you what they do or - more importantly - why they're even there, and that's all for a "hello world" app. I feel that all the current sexy web classes are aiming to produce code monkeys, not programmers. Which might be an effective way to get someone to bullshit their way into the first job - but I doubt it serves the students long term. Personally, when I'm teaching someone server-side development, I start with simple programs that print stuff to terminal using the regular printf()/whatever calls, and then show them that websites is what you get when you send that text to a browser instead...
- 10y ago
- AndreyErmakov 10y agoNot the first time that I see academia teaching their students the wrong way of doing things. I had to work with some graduates with certain strange ideas about approaching the work and tried to teach them an alternative, at least open their eyes and consider the possibility that what they are doing might not be the right way. Tough job. Sometimes it feels easier to hire somebody with no programming skills and teach them from scratch than to change the mental pathways of stubborn graduates. On that note, my experience has been that academic environment often does more damage than good to its students. It sometimes takes a monumental effort to make the graduates unlearn all the wrong things they learned in the academic environment before they can proceed further in their professional development without all that bad baggage that keeps pulling them in the wrong direction. It's like children mistreated by their parents in their youth who will carry their psychological trauma from the childhood through the years and that would detrimentally affect their lives until they get some professional help from a skilled counselor.
- danso 10y agoI currently work in academia so I'm obviously biased, but I'll argue that wrong things learned in college is quite a bit different paradigm than child abuse. Hard to unlearn child abuse, it seems.
- pc86 10y agoAnd apparently hard for the GP to unlearn his academic abuse.
- AndreyErmakov 10y agoWhat/who does "GP" refer to?
- phkahler 10y ago>> What/who does "GP" refer to? Grandparent. Two posts up the hierarchy from the person who used the term "GP".
- sotojuan 10y agoThis is really bad considering MEAN is a) much less popular (IMO it's dying down), b) much less beginner friendly, c) much less easy to work with than Rails. And I say this as a JavaScript dev.
- Yhippa 10y agoI was surprised by your statement of MEAN dying down but I checked out Google Trends and it seems you're right: https://www.google.com/trends/explore#q=%2Fm%2F0_v9b5j https://www.google.com/trends/explore#q=%2Fm%2F0_v9b5j. I wonder why that is and what's taking its place?
- timv 10y agoI don't see anything dying down in that trend. The last point on the graph is for July which is very partial data, so it's probably best to ignore it. Without that point, the trend seems to be upwards. I wish it was dying down - I do not have much love for any part of that stack - but Google trends does not tell us that.
- sotojuan 10y agoHonestly just personal experience as someone who's heavily in the more "cutting-edge" JS world. While Angular 1.x is still big, most new things are made with React. Mongo has gotten a ton of bad press over the last few years that it's hard to find positive things about it any more. This has more of an effect that you'd think. Express and Node are fine though. What I mean is that Rails, though older, is still much more popular than MEAN. Ironically my work place uses Express and Mongo, but React!