The document discusses the history and challenges of front-end development. It notes that initially there were many different front-end tools that made selection difficult. Frameworks became popular but could be incompatible and difficult to decouple. It suggests that ES6 and React provide a good foundation for building front-ends, as React code can be written in ES6 and they avoid issues of other frameworks.
58. Data Handling
企殊伎誤語 燕 JavaScript Object螳
覯蟾讌 覲 蠏碁襦 . (ORM )
Create Object
from Client (Browser)
Web
Server
NoSQL
Database
Pass-thru without converting!!
59. Cli/Server Network
Socket Communication
on螻 emit 襷覯
Client Code
socket.emit(sendMessage, data);
socket.on(receive, function(){
alert(Server received Message);
});
socket.on(sendMessage, function(data){
socket.broadcast.emit(receive);
});
Server Code