For many websites a static site is absolutely sufficient. They offer a number of advantages: Undemanding hosting, secure against malicious content changes, short loading times. Various tools are available to generate these static pages. One of them is Gatsby, which is characterized by the optimization for low latency by creating the website as a so-called progressive web app: The first time you open it, only the required content is loaded to display the page. Further information is then saved in the browser in the background, so that further page changes are possible without waiting time.
Other innovations of the last years are used as well: React as component-based framework for the user interface, GraphQL as query language, Webpack for the bundling. In addition to static files, external sources or CMS can also be used for the content via APIs.
qnipp has built an atlas showing the childcare facilities of the Austrian state Burgenland using Gatsby (Kinderbetreuungsatlas der Arbeiterkammer Burgenland). He showed at the Linuxwuochen in Eisenstadt and Vienna the possibilities and shared his experiences.
The presentation is available for Download. This is the video in German language:
App development divides the developers into three groups: The iOS developers, the Android developers and the group of developers, who try their best using Apache Cordova (former PhoneGap). The first two groups concentrate on own mobile OS, the third tries to build platform-independent apps. The latter one leads to disadvantages, as only a browser component is used.
React Native – an Open Source framework created by Facebook – tries to combine the advantages of both worlds: Instead of different languages only one is used, but the created programs use native UI components and do not have to hide behind the native app in terms of performance.
Franz Knipp showed at the Linuxwochen in Eisenstadt the first steps to create such an app und spoke about his experiences.
The presentation is available on Prezi. The video is in German:
How would an economy look like, where the primary objective of economic activity is not the money, but the common good?
Following this questions I created my first common good bilance for my company qnipp – not alone, we’ve been a group of four entrepreneurs, who discussed the topics of the economy for the common good. We rated our companies in the fields of human dignity, solidarity, environmental sustainability, social justice, democratic participation and transparency. We thought of the supply chain, the funders, the staff, the customers and the social environment.
Finally, a score is determined using a matrix, which is evaluated by an external auditor, who creates an official certificate. You can find an English translation of the matrix here.
So, I reached 483 of 1.000 points. For me, the score is not as important as the confrontation with the theme and the detection of fields for improvement.
The Common Good Bilance (available in German) gives a deep insight into the company qnipp as well as into my role as founder and CEO. It is our first step towards Corporate Social Responsibility.
If you want to find out more about the economy for the common good, visit the website www.ecogood.org, which is also available in English.
A few weeks ago we delivered the Meteor application Teams & Scores to the Regional association of sport clubs for target shooting in Burgenland.
The main target of the application was to provide an easy way to collect the results of competitions. Flexibility was a core quality, as the score calculation is different from discipline to discipline in target shooting. So, the application can be used for other sport activities as well.
It includes the management of the associated clubs and their members. The permission model is based on the email address of the members and allows the editing depending on their role, e.g. the director of a club may create and edit club members, a club member may edit his own entry, etc.
The customer is very happy with the new application, is it offers an up-to-date user experience for the competition directors, who enters the results, as well as for the users, who want to look up their scores and standing.
The next step is the implementation of team-based championships.
The application is available at http://bsslv.meteor.qnipp.com
Meteor downloads all the packages in the user directory in ~/.meteor/packages. There is no command to clean up this directory, as Meteor doesn’t know the dependencies of all the applications on your computer.
As my partition is always too small, I just wrote a one-liner to solve this problem:
cd ~/.meteor/packages; for i in * ; do pushd $i > /dev/null; ls | sort -V | head -n-1 | while read v ; do rm -rf $v .$v* ; done ; popd ; done
This will delete all but the newest version of every package. If an application needs an older version, it will be downloaded and re-installed by the next start of this application.
It saved me 2.5 GB today. The script works very well in Linux, it should work on Mac OS X as well.
If you delete the link to the meteor command line tool by mistake (it happened to me in the first version of the line above, which contained a bug), you can use the following command to recreate it from the newest version available:
cd ~/.meteor/packages; ln -sf `ls -d packages/meteor-tool/* | sort -Vr | head -n1`/mt-os.linux.x86_64/meteor .
Use all the commands with caution and at your own risk.
You want to start a new Meteor project? Instead of starting from scratch with an empty directory and no packages, you could take an existing boilerplate. There’s no official boilerplate, but a number of them are provided by the community.
The list contains at least the link to the respective Github page. I haven’t tested them, as I created the list as starting point to find a suitable boilerplate for my next Meteor project.
| Author || Latest Commit || Language || Router || Template || Design || SEO || Autoform || Table View || User and roles administration || CLI |
| yogiben (MeteorFactory) || 15.01.2016 || CoffeeScript || Iron || Blaze || Bootstrap || ms-seo |
| webtempest || 04.09.2015 || CoffeeScript || Flow || Blaze || Bootstrap |
| AdamBrodzinski || 25.09.2015 || JSX || Flow || React |
And what else?
The boilerplate by @matteodem contains the command line utility orion to generate the folder structure for the application.
iron-cli is a scaffolding tool for Meteor, which generates the directory structure for Blaze templates, collections, routers, etc. (Tutorial)
Yeoman is a tool for all kinds of web applications, and Google finds various generators for Meteor applications, e.g. for Angular (very active project) and React.
A different approach ist taken by Meteor Kitchen. The complete application including views, models, navigation structure is generated by a single configuration file. Unfortunately, the project is not published as open source (yet).
I’m still choosing the starting point. Let me know your opinion by commenting on this post.