sf-wdi-labs / shared_modules Goto Github PK
View Code? Open in Web Editor NEWSF WDI shared lecture notes
SF WDI shared lecture notes
Model a Game with OO (happens to be proj 0 games…) (CF)
Paperclip instructions can (and should) point to general secret key hiding documentation (currently how-to/store-secrets-in-rails-using-env-vars.md).
Would like comments on:
I’m working on the iterators stuff right now. I’m considering converting everything from:
var numbers = [1, 4, 9];
var doubles = numbers.map(function(num) {
return num * 2;
});
to
var numbers = [1, 4, 9];
function doubler(num) {
return num * 2;
}
var doubles = numbers.map(doubler);
At least initially because I don't think they're really comfortable with those anonymous functions yet. Although I think maybe @bgveenstra may have used them briefly (wed).
thoughts?
generalassemb.ly no longer has jQuery
Express Docs, REST reading (CF)
We previously looked at 26's code and thought it was better organized. They have controllers for each route and use express.Router
. We also considered that this might be overly complicated especially on the first day.
Please discuss, should we:
server.js
. See also this lab solutionexpress.Router
resources
instead of controllers
:module.exports = function(app) {
app.get('/api/admin/unconfirmed-users', auth.ensureAuthenticated, auth.ensureAdmin, function (req, res) {
User.find({ confirmedAt: null }, '+email').exec(function (err, users) {
res.send(users)
})
})
}
Please note that this issue is time-sensitive. Next week's lessons are already due and last-minute changes are bad news bears. 🐻
add suggestions here
The image link on this page is dead :-(
Express build drills
CRUD/Query Method Reading (best of mongoose docs) (CF ask BV/NA)
OOP Readings (JC)
Leaning toward 25, they're all VERY similar:
https://github.com/SF-WDI-LABS/shared_modules/tree/master/01-front-end-basics/js-control-flow/25
One conceivable sequencing issue: We won't have taught chrome dev console yet, but the exercises require it.
the link to how to fork is broken
paperclip instructions need a rewrite after changes in configuration needs
HW / spotify?
It would be nice if we (mostly) only needed to look at Pull Requests to discuss/review them.
I suggest that instead of creating an issue, we can simply "stub" a branch by making a small change ( perhaps stubbing a folder with a .gitkeep
file). That way our conversation all happens in one place.
This would be especially nice for homeworks and lectures.
see #16 (comment)
add suggestions here
Nearly completed at: https://github.com/SF-WDI-LABS/letterCount
HTTP, HTML Forms & Query Params (TG/NA)
Expecting validation in user class, ie: http://stackoverflow.com/questions/4697536/validators-password-confirmation
Refactor & Debug Weekend Lab?, HTTP Readings? (TG)
Add homework suggestions here
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.