A crash course in app development using Axino (step-by-step tutorial).
Link : Axino vs Vue, React, Angular.
Axino is a component library, alternative to frameworks like Vue, React, Angular for front-end app development. Small footprint. Pure HTML5 / CSS / TS.
If you come from the Java world, think “Swing” GUI components library.
If you come from the Python world, think “Tkinter”.
Introducing the Axino Widget model, Channels and state handling.
https://serge-hulne.github.io/Axino-example-TODO-list/
Frameworks (such as Vue, React, Angular, Svelte, etc…) can be used to build web apps, but they require a knowledge of CSS, JavaScript, and HTML, thereby imposing more requirements on the developer, mixing imperative and declarative languages, and mixing business logic with the presentation. The Axino widgets lib on the other hand uses Typescript only, a safer way to generate portable JavaScript, which allows the developer to build a web app using only one simple clear, robust, easy to debug language (moreover an imperative and typed language: https://youtu.be/zQnBQ4tB3ZA).
https://serge-hulne.medium.com/getting-started-with-axino-4584bcdb99ca
The aim of the npm package vector-ts is twofold:
It can be installed from npm with the…
Here is the recipe:
Tool 1: npm
Npm is required to install Axino, Typescript and Parcel:
npm is installed as explained on the npm homepage: https://www.npmjs.com/get-npm
Be sure to download the version of npm which is compatible with your platform: Mac, Windows or Linux.
Tool 2: Typescript
Once npm is installed on your system, all the other tools can be installed via npm:
Typescript is installed by entering the following npm command in a terminal:
npm install -g typescript
Tool 3: Parcel
Parcel is installed in the same way by entering:
npm install -g parcel-bundler
mkdir myapp (Linux and Mac)
or use your favorite “file manager” to create a dedicated directory. …
Developing, testing, debugging a desktop app the easy way.
git clone https://github.com/electron/electron-quick-start
This will install a minimalist in myapp, like so:
- myapp/
¦- electron-quick-start/
The app is initialized with the following command (in the directory : electron-quick-start):
npm install
This command triggers the download of Electron and it’s dependencies in the node_modules sub-directory of the current working directory (“electron-quick-start”).
The configuration of the project is now:
- myapp/
¦…
Context: Link: Getting started wih Axino
Vue:
// HTML<div id="app">
{{ message }}
</div>// JSvar app = new Vue({
el: '#app',
data: {
message: 'Hello Vue!'
}
}
Axino:
Vue:
// HTML
<div id="app-4">
<ol>
<li v-for="todo in todos">
{{ todo.text }}
</li>
</ol>
</div>
// JS
var app4 = new Vue({
el: '#app-4',
data: {
todos: [
{ text: 'Learn JavaScript' },
{ text: 'Learn Vue' },
{ text: 'Build something awesome' }
]
}
})
Axino:
Vue:
// HTML<div id="app-5">
<p>{{ message }}</p>
<button v-on:click="reverseMessage">Reverse Message</button>
</div>
// JSvar app5 = new Vue({
el: '#app-5',
data: {
message: 'Hello Vue.js!'
},
methods: {
reverseMessage: function () {
this.message = this.message.split('').reverse().join('') …
Link: Getting started with Axino (A quick introduction to Axino)
2. Avoiding outlandish pseudo-html constructs, such as JSX used in React or in Angular.
// JSX:const element = (
<h1 className="greeting">
Hello, world!
</h1>
);// HTML:<h1 class="greeting">
Hello, world!
</h1>
Which is problematic, because it looks like HTML, but it is not quite HTML (for instance, “class” has to be renamed “className” in order to distinguish it from the “class” reserved keyword from JavaScript). …
What did we really “see”?
What was observed in reality?
https://www.space.com/black-hole-star-death-spaghettification
Astronomers see a star ‘spaghettified’ by a black hole | EarthSky.org
The video illustrating this article is in fact a simulation (“ an artist’s impression”).
Apart from the sun, and the closest stars ( https://en.wikipedia.org/wiki/List_of_stars_with_resolved_images ) stars -even when watched via the largest telescopes- are only points seen seen through these optical telescopes, so one could not have filmed this kind of video in reality with a telescope.
The detected signals, suggesting that this event took place, are actually radio signals, so our understanding of this phenomenon is at least as much of a deduction (if not more) as it is an observation. …
Qu’est ce que l’on a observé en réalité?
https://www.space.com/black-hole-star-death-spaghettification
La vidéo illustrant cet article est une simulation (« artist’s impression »).
A part le soleil, et les étoiles les plus proches (https://en.wikipedia.org/wiki/List_of_stars_with_resolved_images) ne sont que des points vues au télescope optique, donc on n’aurait pas pu filmer ce genre de vidéo en réalité au télescope.
Les signaux détectés depuis la terre, qui donnent à penser que cet événement à eu lieu, sont des signaux radio en fait, donc c’est au moins autant une déduction (sinon plus) qu’une observation.
C’est la malédiction de la science contemporaine, on investigue des phénomènes qui sont d’une taille tellement extrême (particules élémentaires, phénomènes cosmétiques) que les détecteurs utilisés nous ne nous fournissent que des indications très indirectes de la nature réelle du phénomène; on ne peut donc se faire une « image » mentale de la réalité physique sous-jacente supputée que par le truchement d’une armada d’outils théoriques, à grand renfort de physique théorique (et donc de maths avancées que peu de personnes sur Terre ne sont capables de comprendre). …
Les EnR : « Énergie renouvelables » (panneaux photovoltaïques (PV), éoliennes) sont souvent présentés comme des pistes de solutions pour l’après-pétrole.
En particulier, le sophisme suivant semble être à la base de ces faux raisonnements : « Ca ne dégage pas de CO2 et ne consomme pas de pétrole en fonctionnement, donc c’est écologique et on pourra l’utiliser dans un monde futur sans pétrole.»
Penser que ce raisonnement tient la route revient à croire qu’on pourrait produire des PV ou des éoliennes dans un monde simple, rural, désindustrialisé, en dehors d’un réseau de systèmes de production industriel, gigantesque et interconnecté, tant au niveau des ressources que des infrastructures, des matières premières, des transports, et des nombreuses dépendances ancillaires, etc. …
About