took google docs TOC and put into sdocs

This commit is contained in:
Al Tsang 2013-08-12 10:40:50 -07:00
parent 5407416309
commit 1820fb7013
7 changed files with 72 additions and 18 deletions

1
.gitignore vendored
View File

@ -1,6 +1,7 @@
.idea
.project
.DS_Store
*.sublime*
*.seed
*.log
*.csv

View File

@ -1,7 +1,11 @@
{
"title": "LoopBack",
"content": [
"docs/loopback.md",
"docs/intro.md",
"docs/quickstart.md",
"docs/gettingstarted.md",
"docs/resources.md",
"docs/concepts.md",
"docs/api.md"
]
}
}

View File

@ -1,31 +1,50 @@
## Concepts
##Concepts
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
###What is a Model?
### Structuring your app
LoopBack is centered around models. A model is an object that encapsulates data. A model is usually named after its real life counterpart. Like its real life counterpart a model has properties or attributes.
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
### Data and security
Example)
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
model = person
a person model has properties such as a First Name and Last Name
### Reactivity
A model can also do things as actions and behavior.
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
Example)
### Live HTML
model = person
a person model can speak and say his/her Full Name
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
When developing your mobile applications, think of models being the "M" in your MVC framework. Models in LoopBack have backend connectivty built in already, so that you can save data back to your backend and call actions or functions run on the backend seamlessly from your mobile application.
### Templates
###What is LoopBack Definition Language (LDL)?
All models in LoopBack can be represented as JSON objects. LoopBack has utilized and extended JSON to define a model's properties and structure. The JSON that is utilized to help define a model's properties and stucture or schema is called LoopBack Definition Language (LDL). LDL is a type of domain specific language <insert link>
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
Example)
### Smart packages
model = person
{firstname : string, lastname : string, age: number}
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
###What is a Datasource and Connector?
### Deploying
LoopBack allows you to connect to many sources of data and services in the cloud and on premise in your datacenter. These sources of data and services are called Datasources.
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
Datasources are accessed through a plugin called a Connector in LoopBack. Plugins are highly customizable and extensible. Unlike other mobile backend, LoopBack can leverage your existing data and organize them in the form of models.
#### Discovery
#### Supported Connectors
#### Connector Spec
### REST
Everything defined in LoopBack is availabe to you as a REST endpoint. For every model that is created in LoopBack, a REST endpoint is automatically created for you. You can see and experiment with your REST api using the <insert link>> LoopBack API Explorer.
LoopBack also supports other protocols for your API as well. Socket.io is another protocol that is currently being developed.
### Mix In
### Remoting
---

6
docs/gettingstarted.md Normal file
View File

@ -0,0 +1,6 @@
##Getting Started
Placeholder for LoopBack Getting Started Guides
---

15
docs/intro.md Normal file
View File

@ -0,0 +1,15 @@
##LoopBack
v1.0.0
###What is LoopBack?
LoopBack is a mobile backend framework that puts you in control. As a mobile developer you decide where to run your mobile backend - in the cloud or on permise.
LoopBack is built on open source Node.js and leverages the power of Node and the community that stands behind Node.
###Why use LoopBack?
LoopBack is here to help you develop mobile applications with rich functionality and data that is in your datacenter and the cloud.
Since LoopBack is built on open source, it is highly extensible and familiar with developers already using Node.
Node.js leverages Javascript. The ubiquituous language of the web that most developers have already had familiarity with it's ease of use.
---

4
docs/quickstart.md Normal file
View File

@ -0,0 +1,4 @@
##Quick Start
Placeholder for LoopBack quick start - 0-60 5 min experience

5
docs/resources.md Normal file
View File

@ -0,0 +1,5 @@
##Resources
LoopBack was started by StrongLoop. For more information, check out the Node Republic - a community around Node and StrongLoop products.
---