- Building Single:page Web Apps with Meteor
- Fabian Vogelsteller
- 372字
- 2021-08-06 19:29:34
Preface
Thank you for buying this book. You made a great choice for a new step in frontend and JavaScript technology. The Meteor framework is not just another library that aims to make things easier. It is a complete solution for a web server, client logic, and templates. Additionally, it contains a complete build process, which will make working for the Web by chunks faster. Thanks to Meteor, linking your scripts and styles is a thing of the past, as the automatic build process takes care of everything for you. Surely, this is a big change, but you will soon love it, as it makes extending your app as fast as creating a new file.
Meteor aims to create single-page applications where real time is the default. It takes care of the data synchronization and updating of the DOM. If data changes, your screen will be updated. These two basic concepts make up a lot of the work we do as web developers, and with Meteor this happens without any extra line of code.
In my opinion, Meteor is a complete game changer in modern web development. It introduces the following patterns as defaults:
- Fat clients: All of the logic resides on the client. HTML is only sent on the initial page load
- JavaScript and the same API are used on both the client and the server
- Real time: Data synchronizes automatically to all clients
- A "database everywhere" approach, allowing database queries on the client side
- Publish/subscribe patterns for web server communication as the default
Once you have used all these new concepts, it is hard to go back to the old way of doing things where so much time goes only into preparing the app's structure while linking files or wrapping them into Require.js modules, writing endpoints, and writing code to request and send data back and forth.
While reading this book, you will be introduced step by step to these concepts and how they connect together. We will build a blog, with the backend to edit posts. A blog is a good example, as it uses listings of posts, different routes for each post, and an admin interface to add new posts, providing all we need to fully understand Meteor.
- Python自然語言處理實(shí)戰(zhàn):核心技術(shù)與算法
- Web Scraping with Python
- 自己動手寫Java虛擬機(jī)
- Vue.js 2 and Bootstrap 4 Web Development
- 算法基礎(chǔ):打開程序設(shè)計之門
- Web交互界面設(shè)計與制作(微課版)
- 從學(xué)徒到高手:汽車電路識圖、故障檢測與維修技能全圖解
- 實(shí)戰(zhàn)Java高并發(fā)程序設(shè)計(第3版)
- Unity 2D Game Development Cookbook
- 計算機(jī)應(yīng)用基礎(chǔ)教程(Windows 7+Office 2010)
- 深度探索Go語言:對象模型與runtime的原理特性及應(yīng)用
- 遠(yuǎn)方:兩位持續(xù)創(chuàng)業(yè)者的點(diǎn)滴思考
- Neo4j 3.x入門經(jīng)典
- Software Architecture with Python
- Android從入門到精通