- MTA in CoffeeScript
- Todo in Backbone
- Redo Joel's Latin phrases site with Backbone and Wikipedia API
- CoffeeScript CodeSchool tracks
- Backbone CodeSchool tracks
- Read the Backbone.js file
- Fix bug in Sparkr
- Show profile pic after upload in Sparkr
- Specify to upload 3 moment in Sparkr
- Burning Airlines
#WDI Week 10 Notes
#Monday
##Burning Airlines demos
https://github.com/amysimmons/burning-airlines
##Closures
#A team
##What is Rails?
Rails is an open source web application framework written in Ruby. It is a full-stack framework that has been optimised for programmer happiness and sustainable productivity. It emphasises the use of well-known software engineering patterns and paradigms, including convention over configuration (CoC), don't repeat yourself (DRY), the active record pattern, and model–view–controller (MVC).
Extra: David Heinemeier Hansson (DHH) is the creator of Rails, having extracted it from his work on Basecamp. He first released Rails as open source in July 2004.
Useful Links:
#WDI Week 11 Notes
##Monday
##Warmup
https://github.com/wofockham/wdi-8/commit/ea0dc92974fe41b5d4cf2dc473b5ee483849b2f6
##DEMOS
#Final project notes
##The problem
Music hogs
##The solution
Democratically chosen playlists
class FooController | |
def index | |
# The controller is responsible for gathering the things needed | |
# to make the response. This should be a single line of code | |
@things = Foo.things | |
# The controller is responsible for sending the view back to the user. | |
# the view uses our instance variable above to render @things | |
render :some_view | |
end |
#SQL Notes
##Source: http://techcitynews.com/2013/10/24/why-you-should-learn-some-sql/
"Once you can write SQL there are literally no questions you cannot ask of your data."
"When you use SQL to ask questions of a database that you control you can ask any question you want."
Basic exmaple:
#C# Fundamentals with C# 5.0
##Introduction to C#
To create a new project in Visual Studio:
File, new, Visual C# , Console Application
In the command prompt, cd to the project folder, obj, debugg, and run the .exe file
#LevelUp Backbone Overview
Backbone gives us structure to our code
It has views, models, a router and the html
When dealing with code that works with data, we will deal with the model
When dealing with the logic for each page in the application, we will deal with the view
#Determining how to access data based on the object type
- Call .class on the object that we have to see what type it is
- If it is an array, we can use the array methods (ie .first, .sort [])
- If it is a hash, we can use the hash methods (ie .fetch, h[:foo])
- If it is something else, we can ask what methods it responds to by doing foo.methods - Object.methods