ESN
How to implement inline validation
What is inline validation ? Inline validation is the name of a reactive validation system applied to some fields. In real life, it’s when you are typing “John Smith” in a nickname registration field and the service, after an awkward slight cough, turn everything on red and suggest you “john_smith_983543″ instead. Or maybe not. John […]
I18n: Let’s talk about AngularJS and Internationalization
Developping an Enterprise Social Network demands a lot of translated things so we can touch more people. Using AngularJS as our main frontend framework, I’ve had to seek for a good solution to internationalize our ESN. First we should define some problematics and set up a little glossary. There are 5 main problematics here : […]
Brainstorm session : How to properly use Websockets in the ESN ?
At Linagora, we want to build a rich an functional ESN, which means it must have cool features like server notifications, instant messaging, video chat… This bidirectional clien-server communication can be done using different technologies. Among these technologies we decided to use Websockets which can be a powerful and efficient way to implement these features. […]
Brainstorming session: XMPP integration into real time web application
We, at @linagora, are currently developing a new open source project: OpenPaaS (@awesomepaas). One of the component of this platform is an Enterprise Social Network (ESN), ie the Facebook++ for the enterprise. When it comes to social stuff, we first think about sharing statuses, connecting to people and messaging. And since we are open, XMPP […]
Deploy MongoDB – Replication – Sharding

This page describe how to deploy MongoDB with Replication and Sharding. Replication (Replica Set) Create the necessary data directories for each member by issuing a command similar to the following: mkdir -p /srv/mongodb/rs0-0 /srv/mongodb/rs0-1 /srv/mongodb/rs0-2 Start your mongod instances in their own shell windows by issuing the following commands: First member: mongod –port 27017 –dbpath […]
A strategy for i18n in node.js server templates
A website development nowadays requires to support multiple languages. This article describes the goal we want to achieve, existing tools in the node.js ecosystem and propose a strategy. We’ll explore what experience we want to bring to our users, the server side features we need. What user experience do we want ? I was never […]
Browsers technologies we can use in a new project
Introduction With the beginning of a new project, targeting a modern web interface (SPA), we should list what emerging technologies we decide we can use. This list is issued from the data of http://caniuse.com/ . Responsive design The responsive design is a key to create adaptive layouts without creating an army of distinct templates. technology […]
State of distributed events in node.js
Context Application scaling in the cloud The cloud technologies brings exciting new challenges for application developers, in order to achieve horizontal scalability, remove all single points of failure, gracefully handle the load. It’s fun, but it’s a challenge, because it raises many complex problems. One big category of problems are information sharing between application instances. […]