Wednesday, January 30, 2013

Node.js first experience and first simple project

From 2013 I've started to learn (as much as I've free time) Node.js. 'Domino/Notes' still my main, however it is always nice to learn something new.

Node.js is a platform built on Chrome's JavaScript runtime for easily building fast,
scalable network applications. Node.js uses an event-driven, non-blocking I/O model 
that makes it lightweight and efficient, perfect for data-intensive real-time 
applications that run across distributed devices.

Together with Andrew Kuba (who guide me how to 'node') we are doing simple website for one game which is very popular right now, we are aiming to have hundreds users/month :) at some points + it is always nice to do something that is real and online
We are using only couple modules for our first application:
  • Express - minimal and flexible node.js web application framework, providing a robust set of features for building single and multi-page, and hybrid web applications.
  • Underscore is a utility-belt library for JavaScript that provides a lot of the functional programming support that you would expect in Prototype.js (or Ruby), but without extending any of the built-in JavaScript objects
  • mustache is a logic-less templates.
  • yuicompressor compressor to minify our JS/CSS (we do compress all our CSS/JS and put it directly on page to avoid additional lookups)
  • html-minifier compressor to minify our HTML
We do not use database right now, however we are planning to use mongodb with mongoose in near future.

Pick LoL is our website (first version) we are working on to get some experience with Node.js

During next couple months I will write more posts about node.js which I'm going to like hopefully :).

Monday, December 17, 2012

First couple days with IBM Domino Designer 9.0 Social Edition

Worked 2 days already with Domino Designer 9 (I do not really care about changes in Notes 9, as I believe in 'web' direction). I did not find something really new/impressive for developers, however worked only 2 days and also I do not forget that it is just a beta. My impression:
  • It is fast enough, however I do not feel difference compare to my 8.5.3, perhaps my laptop just too good.
  • Ext Library is included by default.
  • I've also read that now we have an API (Java, LS, C API) for C&S, would be great to have it few years ago, now its too late :), but still thanks!
  • Special places for JAR, I guess it is only for xPages, but not for Java libraries/Agents, need to verify.
  • Server-side JavaScript debugger for use with xPages (need to verify how it works, but options are present, I saw that :))
  • $DesignerVersion still says: "8.5.3" when you save elements. I think that would be changed with Release candidate.
  • There are some new options to "Manage working sets drop-down" I really like, waited for those changes for a long time.
  • Application Properties got 'Xsp Properties'.
  • There are also changes to xPages, but I had no time to look on them.
  • All 'old staff': old window to work with @formula, properties dialog still looks same (and that is sad).
Some words about API for C&S.
I've been working on synchronization Lotus Notes 6.5-8.5 Calendar & Scheduling with huge CRM on my previous job (synchronization in 2 side, from LN to CRM and back) and we spent months to manage that correctly, oh dat recurrent events :), it would help us really a lot if we get such API earlier.

I've read also on some blogs that Domino 9 may have dojo 1.8. which would be nice to have and use.

That's all for now.

Sunday, December 16, 2012

Moved from Ukraine to Denmark


From 1-st December I work and live in Denmark. It's really interesting experience for me and my family. I had been working with e-conomic from Kiev for more than 3 years and at some point company decided that it had sense to invite me to work in main office. Now I'm here, so wanna tell 'hi' to those who live here :)

Couple fresh photos of Copenhagen.

City is ready for Christmas:
Now most funny thing :), we met hundred well organized girls, they marched along the main shop-street of the city and cried slogans about Justin Bieber. It was really funny.

Tuesday, October 09, 2012

What is comfort zone for Domino developers our days?

Lotus Script is no longer in my 'comfort zone' anymore but Java/JavaScript. That's actually it. We already moved all (well 90%) of backend to Java. Now Lotus Script serves only to provide validation/picklist/msgbox on forms/views for existing 'classic' applications. Now we are slowly moving everything to web and I like that.

We are aiming in few years to let our users to un-install LN and simply use browsers and that would be perfect. That time we should have no even 1 line LS and @Formula.

Friday, August 03, 2012

Exception occurred calling method NotesAgent.runWithDocumentContext(lotus.domino.local.Document) null

Tried to run agent with 'context document' in xPage (via SSJS) and got this problem. I did not find a way how to solve that except to enable checkbox 'Run as Web User' for agent, however I need to run agent from 'signer' as 'runner' has Reader access and my agent update should document. It's terrible with this problem (if it is problem ofc :)). What should I do know?