Web Basics

447567-the-best-web-hosting-services-for-2014
1. authentication: who you are
authorization: what you can do

cookie: more physical

session: context (teaching – learning, lecturing)
session cookie (bank login)
persistent cookie (remember me option)
token – certificate

2. multi-thread

context thread
thread pool
blocking I/O
single thread
non-blocking I/O (then go to end of queue)
3. Semantic Versioning
breaking . feature . fix (1.3.1)
~ (tilde): update to the latest fix version
^ (caret): update to the latest feature and fix versions
4. Socket vs Port
A socket represents a single connection between two network applications.
A port represents an endpoint or “channel” for network communications.
5. NoSQL is not schema free, but dynamic schema (implicit structure/schema, row and column, match to code expectation)

6. Reactive Programming

a sequence of data stream
cancellable (subscription)
used in both frontend and backend, stream data is like audio, video, stock ticket info, twitter tweets, IoT data, etc.
Pull vs Push
Pull: consumer, function, iterators, active
Push: producer, Promises, Observables, passive
Observable: play from beginning for every subscriber
Subject: on live, no replay
7. SQL vs NoSQL
MySQL (Netflix user info, movie info, payment)
need transaction (transfer money), strong consistency (no same name in system), well structured
MongoDB (Comments)
more flexible, frequent write
S3 (movie data)
huge size, no need mutation
replica (whole data)
shard (partial data)

 

8. Apache Benchmark (A/B test)
ab -c 100 -n 1000 https://www.google.com/
9. Code Editor
Brackets (friendly to front end development)
10. ECMAScript 6 equivalents in ES5 (link)
11. Regular Expression
online tool: RegExr
12. 在 2016 年学 JavaScript 是一种什么样的体验?(link)

Donate $5 to me for a coffee with PayPal and read more professional and interesting technical blog articles about web and mobile development. Feel free to visit my web app, WhizWallet, to apply for credit, store or gift cards, DealsPlus to browse daily deals and store coupons to save money.Follow me @Yaoli0615 at Twitter to get latest tech updates.

Advertisements

About liyao13

Yao Li is a web and iOS developer, blogger and he has a passion for technology and business. In his blogs, he shares code snippets, tutorials, resources and notes to help people develop their skills. Donate $5 to him for a coffee with PayPal at About Me page and read more professional and interesting technical blog articles. Follow him @Yaoli0615 at Twitter to get latest tech updates.
This entry was posted in CS Research&Application, IT, Uncategorized and tagged , . Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s