This website is based on the upcoming changes of the elabs Rails engine. Everything's not fine, but you can see the changes coming in the next releases.

2019-01-15
08:39 AM

After testing Vuex(3.0.1) in a Nativescript-vue (2.0) app I noticed that when using ModalViews or ListViews, $store is not available in the list items components or modal component. For now, use a StackLayout for lists and I pass the $store as a prop to the ModalView:

<!-- Instead of a ListView -->
<StackLayout class="list-group">
  <MyComponent v-for="item in items" :item="item" :key="item.id" class="list-group-item"/>
</StackLayout>

In MyComponent, the method to open the modal is like:

import ItemForm from '../forms/ItemForm'

export default {
  name: 'MyComponent',
  props: {
    item: { required: true, type: Object },
  },
  methods: {
    openForm () {
      const props = {item: this.item, store: this.$store} // props for ItemForm
      this.$showModal(ItemForm, { props })                // Show ItemForm as a ModalView
    },
  },
}
2018-12-31
02:31 PM

Elabs engine has been updated with an announcement system and a totally new UI.

Updating to this version breaks the original style and layout.

Join the project !

2018-12-28
01:14 PM

A small tool to visually sort files in folders.

2018-12-01
04:01 PM
Project "Chatiments" has been updated
03:56 PM
This content might not be appropriate for every situation.
2018-11-23
05:51 PM
Project "Licenses fonticon" has been updated Add sample image to description
05:47 PM
2018-10-13
08:01 PM

Big libraries as FontAwesome or Glyphicons are all missing icons to represent licenses.

2018-10-10
10:59 PM

Elabs engine has been updated with a shortcodes system, slugs, RSS feeds and small improvements. Join the project !

2018-09-28
11:06 AM
10:45 AM
2018-09-27
04:31 PM

Following VueX Modulator - Part 1: generating VueX modules (en)

I tested the "modulator" on a Nativescript-vue application and it works well. Use it like this:

// app/store.js

import Vue from 'nativescript-vue'
import Vuex from 'vuex'

import Modulator from './modulator'

Vue.use(Vuex)

export default new Vuex.Store({
  state: {},
  modules: {
    users: Modulator.generateModule('users', 'user', 'users', false, false),
  },
})
04:30 PM
Note "27 Sep 2018 04:31 PM" has been removed from publication
03:02 PM

This article will be a step by step explanation of the creation of a VueX module generator. Other articles will follow concerning a data dispatcher and the usage of all this with Nativescript-Vue

2018-09-17
06:49 AM

Elabs engine has been updated with a simple notification system, user avatars and small improvements. Join the project !

2018-09-07
04:03 PM

ExperimentsLabs is going Rails !

The new version is going to be a Rails engine. A pre-release version is already available if you want to test it.

2018-06-30
07:57 PM

Counter caches are really useful to keep a track of the amount of related data a given record has. Unfortunately, it's a delicate setup for has_and_belongs_to_many relations

2018-06-10
09:39 AM
This content might not be appropriate for every situation.
09:38 AM
Project "VueJS - Calendar components" has been updated
2017-11-22
08:39 AM
Project "VueJS Elabs libraries" has been updated
08:38 AM

Collection of small pieces of code created for VueJS projects. This is a work in progress, the different pieces are tied together.

2017-11-14
01:42 AM
Project "JS map generation" has been updated
01:38 AM
2017-11-13
11:14 PM

Calendar components for VueJS 2; Work in progress for now