Interlude. After Meteor
When I left Meteor, the first thing I discovered was how much I would now have to assemble myself. In Meteor the client, the server, data delivery and screen updates were one system, and someone had decided for me how these parts fit together. Outside, each part had to be chosen separately, and a couple of years later chosen again, and that is mostly how the next several years went for me.
How I moved from React to Vue I already told in the thirteenth chapter. On Vue I rewrote the cryptocurrency wallet I was working on at the time, which had previously been written in React. The wallet needed mobile versions, and through Vue I came to know NativeScript, which Telerik released in the spring of 2015. Cordova, which Meteor used to build mobile apps, shows a web page on the phone inside an embedded browser. NativeScript runs a JavaScript engine on the phone and lets code reach the platform’s native classes directly, so that from JavaScript you can create a real Android button or call an iOS system method as if it were an ordinary object. To make this possible, at build time NativeScript walks through the platform’s libraries and records which classes and methods they contain, and the runtime uses these records to build wrappers for the code. The interface came out native, with no browser inside, and we still wrote it in Vue, through NativeScript-Vue.
On the server I started with Express. Express accepts requests, parses routes and passes a request through a chain of middleware functions, and can do little else. Where the models live, how input is validated, how one part of the application gets hold of another, every team decides for itself, and every project ends up different. When a project grows, bare Express starts to feel cramped, because everything it lacks has to be built around it by hand.
Gratis, solo falta un paso
El resto del libro es gratis
Deja tu correo y te mando un enlace para confirmarlo. Después del clic, todos los capítulos se abren aquí, en este dispositivo, durante un año. Cuando salga un libro nuevo, escribiré a esa dirección; responde “basta” a cualquier correo y no vuelvo a escribir.
¿Tienes cuenta INITE? Entra y el libro se abre sin correo.
No se cobra nada por el libro. Si quieres apoyarlo, puedes donar desde cualquier capítulo.
Cómo se guarda la dirección