ada-developers-academy / textbook-curriculum Goto Github PK
View Code? Open in Web Editor NEWAda Developers Academy Online Curriculum
Home Page: http://adadevelopersacademy.org/
License: Other
Ada Developers Academy Online Curriculum
Home Page: http://adadevelopersacademy.org/
License: Other
The custom method one can be validated with inclusion
:
class Item < ActiveRecord::Base
validates :kind, inclusion: { in: %w(Movie Book Album) }
end
Similarly, the one for conditional validations could be achieved with allow_nil
and allow_blank
:
class User < ActiveRecord::Base
# If the user provided a username, it must be at least 8 characters
validates :username, length: { minimum: 8 }, allow_nil: true, allow_blank: true
end
Something should be done!
Not a priority now - leaving this here for C7.
Would be cool to bring the examples more in line with
https://docs.google.com/presentation/d/1QboS170RoaKq2dVwLgXmUZHhzz8I5Cs1H08w0euvmY8/edit?usp=sharing
One example that's not in the slides: right now we use sorting w/ a comparator as an example of passing a function to a function. Students don't have any context for this. Charles recommends we just implement forEach instead, and I agree.
Assuming we stick with Backbone for a cohort or two, I'd like to suggest we revise the materials to separate reference material & Live-Code Material.
Also I'd suggest pulling Underscore Templates out and doing a bit more with them before we get to Backbone, maybe with AJAX.
Example:
02-Backbone-views.md - reference material for Backbone development
02a-Backbone-views-Livecode.md - Walkthrough instructions and code.
The documentation for CSS Frameworks in section 5 of the textbook curriculum discusses how Foundation works as a CSS framework.
Because the majority of our projects after StaticSite are going to be Rails projects, should we include a section on how to easily get the Foundation framework into a Rails application?
Zurb has created a gem for just that, with fairly straight forward instructions on how to use it: https://github.com/zurb/foundation-rails .
update Dan's gist to be more like:
https://gist.github.com/bennettrahn/0aa23587abff1d25df55f49527d70f7d
I'm pretty sure that you need to run Rectangle before it will let you assign permissions?
& further path info [System Preferences -> Security & Permissions -> Privacy -> Accessibility] might help other folks not have to scroll up and down through the whole list.
Add methods for stacks and queues to notes along with a description of what each does.
Also make comprehension questions match those in the AdaGold/stacks-queues comprehension questions
We should remove the comment about hashes not having a fixed order. Since Ruby 1.9 hashes retain their insertion order.
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.