Loading...
iHome · 《Redefined Technology of Development》
《Redefined Technology of Development》· iHome
SUMMARY
About this book
1. BACKEND SOLUTION
1.1.
Introduction
1.1.1.
What is X-Server?
1.1.2.
Introduction to Key Features
1.1.2.1.
Create Web App or Mobile App Using X-Server
1.1.2.2.
Create Realtime Chat App or Game Using X-Server
1.2.
Overview
1.2.1.
HTML code
1.2.2.
Javascript code
1.2.2.1.
Create a client instance
1.2.2.2.
Using eXtend feature
1.2.2.3.
Sign Up a new user
1.2.2.4.
Login code
1.2.2.5.
Logout code
1.2.2.6.
Monitor user registration
1.2.2.7.
Get example
1.2.3.
Operators of Get Method
1.2.3.1.
Equals a Specified Value
1.2.3.2.
$max
1.2.3.3.
$sort
1.2.3.4.
lessThan
1.2.4.
Catch an exception
1.2.4.1.
Asynchronous catch
1.2.4.2.
Synchronous catch
1.3.
Getting Started
1.3.1.
Start and Connect to X-server
1.3.2.
Using X-Server in Pure HTML
1.3.3.
Insert Documents
1.3.4.
Query Documents
1.3.4.1.
Select All Documents
1.3.4.2.
Match an Embedded Document
1.3.4.3.
Match a Field in an Embedded Document
1.3.4.4.
Match an Element in an Array
1.3.4.5.
Match an Array Exactly
1.3.5.
Next Steps
1.4.
Database
1.4.1.
Collection and Documents
1.4.2.
Select a Collection
1.4.3.
Create a Collection
1.4.4.
Document Validation
1.4.5.
Modifying Document Structure
1.4.6.
Automatic Unique Identifiers
1.5.
CRUD Interface
1.5.1.
New()
1.5.2.
_id Field
1.5.3.
Get()
1.5.4.
ID()
1.5.5.
Set()
1.5.6.
Mix()
1.5.7.
Del()
1.6.
Query Parameter
1.6.1.
Query Filter
1.6.2.
$type Operator
1.6.3.
$go
1.6.4.
$max ( $max )
1.6.5.
$sort
1.6.6.
$fit
1.6.7.
$sip
1.6.8.
Pagination function
1.6.9.
Query Efficiency
1.7.
Query Selectors
1.7.1.
Comparison Operators
1.7.2.
Logical
1.7.3.
Element
1.7.4.
Evaluation
1.7.5.
Geospatial
1.7.6.
Array
1.7.7.
Bitwise
1.7.8.
Comments
1.7.9.
Projection Operators
2. Query and Projection
2.1.
Comparison Operators
2.1.1.
Comparison Operators List
2.1.2.
$eq
2.1.2.1.
A collection for Examples
2.1.2.2.
Example of Equals a Specified Value
2.1.2.3.
Example of Field in Embedded Document Equals a Value
2.1.2.4.
Example of Array Element Equals a Value
2.1.2.5.
Example of Equals an Array Value
2.1.3.
$gt
2.1.4.
$gte
2.1.5.
$in
2.1.5.1.
Use the $in Operator to Match Values
2.1.5.2.
Use the $in Operator to Match Values in an Array
2.1.5.3.
Use the $in Operator with a Regular Expression
2.1.6.
$lt
2.1.7.
$lte
2.1.8.
$ne
2.1.9.
$nin
2.2.
Logical Operators
2.2.1.
Logical Operators List
2.2.2.
$and
2.2.2.1.
AND Queries With Multiple Expressions Specifying the Same Field
2.2.2.2.
AND Queries With Multiple Expressions Specifying the Same Operator
2.2.3.
$not
2.2.4.
$nor
2.2.4.1.
$nor Query with Two Expressions
2.2.4.2.
$nor and Additional Comparisons
2.2.4.3.
$nor and $exists
2.2.5.
$or
2.2.5.1.
$or Clauses and Indexes
2.2.5.2.
$or and text Queries
2.2.5.3.
$or and GeoSpatial Queries
2.2.5.4.
$or and Sort Operations
2.2.5.5.
$or versus $in
2.2.5.6.
Nested $or Clauses
2.3.
Element Operators
2.3.1.
Element Operators List
2.3.2.
$exists
2.3.2.1.
Definition
2.3.2.2.
Example of Exists and Not Equal To
2.3.2.3.
Null Values
2.3.2.4.
$exists: true
2.3.2.5.
$exists: false
2.3.3.
$type
2.3.3.1.
Definition
2.3.3.2.
Behavior
2.3.3.3.
Available Types
2.3.3.4.
MinKey and MaxKey
2.3.3.5.
Example of Querying by Data Type
2.3.3.6.
Querying by Multiple Data Type
2.3.3.7.
Querying by MinKey and MaxKey
2.3.3.8.
Querying by Array Type
2.4.
Evaluation Operators
2.4.1.
Evaluation Operators List
2.4.2.
$expr
2.4.2.1.
Behavior
2.4.2.2.
Example of Compare Two Fields from A Single Document
2.4.2.3.
Using $expr With Conditional Statements
2.4.3.
$jsonSchema
2.4.3.1.
Behavior
2.4.3.2.
Available Keywords
2.4.3.3.
Omissions
2.4.3.4.
Example of Schema Validation
2.4.4.
$mod
2.4.4.1.
Example of Use $mod to Select Documents
2.4.4.2.
Not Enough Elements Error
2.4.4.3.
Array with Single Element
2.4.4.4.
Empty Array
2.4.4.5.
Too Many Elements Error
2.4.5.
$regex
2.4.5.1.
$options
2.4.5.2.
$regex vs. /pattern/ Syntax
2.4.5.3.
Implicit AND Conditions for the Field
2.4.5.4.
x and s Options
2.4.5.5.
PCRE vs JavaScript
2.4.5.6.
Index Use
2.4.5.7.
Examples
2.4.5.8.
Perform a LIKE Match
2.4.5.9.
Perform Case-Insensitive Regular Expression Match
2.4.5.10.
Multiline Match for Lines Starting with Specified Pattern
2.4.5.11.
Use the . Dot Character to Match New Line
2.4.5.12.
Ignore White Spaces in Pattern
2.4.6.
$text
2.4.6.1.
Behavior of Restrictions
2.4.6.2.
$search Field
2.4.6.3.
Phrases
2.4.6.4.
Negations
2.4.6.5.
Match Operation
2.4.6.6.
Case Insensitivity
2.4.6.7.
Case Sensitive Search Process
2.4.6.8.
Diacritic Insensitivity
2.4.6.9.
Diacritic Sensitive Search Process
2.4.6.10.
Text Score
2.4.6.11.
Examples
2.4.6.12.
Search for a Single Word
2.4.6.13.
Match Any of the Search Terms
2.4.6.14.
Search for a Phrase
2.4.6.15.
Exclude Documents That Contain a Term
2.4.6.16.
Search a Different Language
2.4.6.17.
Case and Diacritic Insensitive Search
2.4.6.18.
Perform Case Sensitive Search
2.4.6.19.
Diacritic Sensitive Search
2.4.7.
$where
2.4.7.1.
Definition
2.4.7.2.
Behavior of Restrictions
2.4.7.3.
Considerations
2.4.7.4.
Example
2.5.
Geospatial Operators
2.6.
Array Operators
2.7.
Bitwise Operators
2.8.
Projection Operators
3. FRONTEND SOLUTION
3.1.
Cascading Style Sheets
3.2.
Local Storage
3.2.1.
TML.bag.Out()
3.2.2.
TML.bag.In()
3.2.3.
TML.bag.No()
3.2.4.
Default Local Storage of Build-in
3.2.4.1.
Prefix of Data
3.2.4.2.
WebSocket Address
3.2.4.3.
Token
3.2.4.4.
User ID
4. EXAMPLES
4.1.
Sign Up
4.1.1.
Prerequisites
4.1.1.1.
Dependent Libraries
4.1.1.2.
Create a client instance
4.1.1.3.
Sign Up a new user
4.1.1.4.
Monitor user registration
4.1.2.
Catch Sign Up's exception
4.1.2.1.
Asynchronous catch
4.1.2.2.
Synchronous catch
4.1.3.
Complete codes of Sign Up
4.2.
Sign Up Without Password
4.2.1.
Prerequisites
4.2.1.1.
Dependent Libraries
4.2.1.2.
Create a client instance
4.2.2.
Sign up a new user without password
4.2.3.
Complete codes of Sign Up without password
4.3.
Log In
4.3.1.
Prerequisites
4.3.1.1.
Dependent Libraries
4.3.1.2.
Create a client instance
4.3.1.3.
Log In code
4.3.1.4.
Logout code
4.3.1.5.
Get user example
4.3.2.
Catch Log In's exception
4.3.2.1.
Asynchronous catch
4.3.2.2.
Synchronous catch
4.3.3.
Complete codes of Log In
4.4.
Counter
4.4.1.
What is counter
4.4.2.
How to create a counter
4.4.3.
Complete codes of a counter
4.4.3.1.
Complete HTML codes with JavaScript
4.4.3.2.
Another Method: Complete HTML codes with TuringLanguage
4.4.4.
Run
4.4.5.
Refresh
4.4.6.
Refresh second time
4.4.7.
Usage Case
4.5.
Comment
4.5.1.
What is comment
4.5.2.
How to create a comment
4.5.3.
Complete codes of a comment
4.5.3.1.
Complete HTML codes with JavaScript
4.5.3.2.
Another Method: Complete HTML codes with TuringLanguage
4.5.4.
Usage Case
4.6.
Run Example on Local
4.6.1.
Method 1. Using Text Editor
4.6.2.
Method 2. Creating HTML files in NotePad
4.6.3.
Method 3. Using the vi Editor console
4.6.4.
Viewing HTML File In a Web Browser
5. PROJECT
5.1.
Structure
5.1.1.
/src
5.1.1.1.
/src/index.html
5.1.1.2.
/src/index.js
5.1.1.3.
/src/app
5.1.2.
/p.sh
5.1.3.
/iOS
5.1.4.
/docs
5.1.5.
/android
5.2.
Run
5.2.1.
Local web server
5.2.2.
Terminal web server
5.2.3.
Remote web server
5.2.4.
Xcode build-in web server
5.2.5.
iPhone build-in web server
5.3.
Deploy
5.3.1.
Deploy Web
5.3.2.
Deploy iPhone
5.3.3.
Deploy Android
6. PLATFORM
6.1.
iHome
7. PRINCIPLE
7.1.
Review
8. APPENDIX
8.1.
FAQ
8.1.1.
Is X-Server offered as a hosted service?
8.1.2.
How does a collection differ from a table?
8.1.3.
How do I create a database and a collection?
8.1.4.
Does X-Server support SQL?
8.1.5.
How much is this book?
8.2.
Glossary
8.2.1.
X-Server
8.2.2.
TuringLanguage
8.2.3.
V8
8.2.4.
Backend
8.2.5.
_id
8.2.6.
API
8.2.7.
Agent
8.2.8.
Authorization
8.2.9.
Back-end
8.2.10.
BaaS
8.2.11.
CAP Theorem
8.2.12.
Cardinality
8.2.13.
Checksum
8.2.14.
CRUD
8.2.15.
Component
8.2.16.
CSV
8.2.17.
Cursor
8.2.18.
Client-side
8.2.19.
CDN
8.2.20.
Cloud
8.2.21.
CMS
8.2.22.
CI
8.2.23.
Client
8.2.24.
Collection
8.2.25.
Concurrency Control
8.2.26.
Commit
8.2.27.
CSS
8.2.28.
Data-center awareness
8.2.29.
Database
8.2.30.
Deployment
8.2.31.
Election
8.2.32.
Eventual consistency
8.2.33.
Expression
8.2.34.
Environment
8.2.35.
Failover
8.2.36.
Field
8.2.37.
Field path
8.2.38.
Firewall
8.2.39.
Front-end
8.2.40.
Frontend
8.2.41.
Git
8.2.42.
Geohash
8.2.43.
GeoJSON
8.2.44.
Hub
8.2.45.
HTML
8.2.46.
Hashed shard key
8.2.47.
Haystack index
8.2.48.
Hidden member
8.2.49.
IaaS
8.2.50.
Idempotent
8.2.51.
Index
8.2.52.
Initial sync
8.2.53.
IPv6
8.2.54.
JSON
8.2.55.
JSON document
8.2.56.
JSONP
8.2.57.
JavaScript
8.2.58.
Journal
8.2.59.
Least privilege
8.2.60.
LVM
8.2.61.
Map-reduce
8.2.62.
Mapping type
8.2.63.
MIME
8.2.64.
MD5
8.2.65.
MarkDown
8.2.66.
Module
8.2.67.
Node.js
8.2.68.
npm
8.2.69.
Namespace
8.2.70.
Natural order
8.2.71.
Network partition
8.2.72.
Overloaded
8.2.73.
Operator
8.2.74.
Ordered query plan
8.2.75.
PID
8.2.76.
Pipe
8.2.77.
Primary
8.2.78.
Primary key
8.2.79.
Primary shard
8.2.80.
Priority
8.2.81.
Privilege
8.2.82.
Pipeline
8.2.83.
Pre-splitting
8.2.84.
PaaS
8.2.85.
Query
8.2.86.
Query optimizer
8.2.87.
RDBMS
8.2.88.
Read concern
8.2.89.
RSA keys
8.2.90.
Read lock
8.2.91.
Read preference
8.2.92.
Record size
8.2.93.
Resource
8.2.94.
Role
8.2.95.
Rollback
8.2.96.
Runtime Error
8.2.97.
Server-end
8.2.98.
Server-side
8.2.99.
Service
8.2.100.
Story
8.2.101.
Story Shell
8.2.102.
Server
8.2.103.
SSR
8.2.104.
Security
8.2.105.
SSH
8.2.106.
sudo
8.2.107.
SaaS
8.2.108.
Syntax
8.2.109.
Secondary
8.2.110.
Secondary index
8.2.111.
SQL
8.2.112.
SSD
8.2.113.
Tag set
8.2.114.
TSV
8.2.115.
TTL
8.2.116.
TS
8.2.117.
UI
8.2.118.
UGC
8.2.119.
Unique index
8.2.120.
Unix epoch
8.2.121.
Unordered query plan
8.2.122.
Virtual memory
8.2.123.
Write lock
8.2.124.
WriteBacks
8.2.125.
W3C
8.2.126.
Web 1.0
8.2.127.
Web 2.0
8.2.128.
Web 3.0
8.2.129.
Webview
8.2.130.
YAML
8.3.
Reference
Published By TML, Inc.
results matching "
"
No results matching "
"
6.1.
iHome
6.1.iHome
31VC79XIP9A5Q6LJ
Display after paying.
Read
Like
Like & Donate to support author
小礼物刷一波,打赏作者
Paypal Donate
Venmo Donate
WeChat微信打赏
Alipay支付宝打赏
Question & Feedback
Previous page: Deploy
Next page: Review