Sublime Text 2 – Useful Shortcuts (Mac OS X)
|⌘T||go to file|
|⌘⌃P||go to project|
|⌘R||go to methods|
|⌃G||go to line|
|⌘KB||toggle side bar|
REST stands for Representional State Transfer and is defined on Wikipedia as:
Representational state transfer (REST) is a software architectural style consisting of a coordinated set of architectural constraints applied to components, connectors, and data elements, within a distributed hypermedia system. REST ignores the details of component implementation and protocol syntax in order to focus on the roles of components, the constraints upon their interaction with other components, and their interpretation of significant data elements.
I think the second part of that explanation sounds like it could be quite interesting... but to me that all seems super complicated! So I've decided to try to simplify it for my own understanding. (If I have not understood something in this gist, please TELL ME!)
##Saving & Retrieving information For this section, think of a web application as a piece of software built to help people to store and access information online.
When developing websites for small to medium clients, often a decent CMS is needed to get basic CRUD functionality and authentication off the ground quickly.
I've done a little bit of research into some of the most popular CMS platforms. Here are my quick thoughts.
I used HAML on several client projects and I hated it every time. There are certainly some things that are nice about it, but overall it is a net loss.
##For abstraction’s sake Abstractions are a beautiful thing. The goal of an abstraction is to reduce or factor out irrelevant details. Removing details focuses you on the problem at hand and not the underlying implementation.
Many programming languages, including Ruby, have native boolean (true and false) data types. In Ruby they're called
false. In Python, for example, they're written as
False. But oftentimes we want to use a non-boolean value (integers, strings, arrays, etc.) in a boolean context (if statement, &&, ||, etc.).
If you want to use or share this material, please see the license file, below.