193 Lotus blogs updated hourly. Who will post next? Home | Blogs | Search | About 
 
Latest 7 Posts
Speaking at Engage 2017 about SmartNSF
Thu, May 4th 2017 5
What to expect in upcoming SmartNSF Beta 3 release?
Mon, Mar 20th 2017 10
What to expect in upcoming SmartNSF Beta 3 release?
Mon, Mar 20th 2017 8
Re: Domino REST performance analysis
Wed, Mar 15th 2017 6
Re: Domino REST performance analysis
Wed, Mar 15th 2017 8
SmartNSF Beta 2 released
Tue, Mar 7th 2017 7
SmartNSF Beta 2 released
Tue, Mar 7th 2017 4
Top 10
A quick follow up on last post
Fri, Aug 26th 2016 10
What to expect in upcoming SmartNSF Beta 3 release?
Mon, Mar 20th 2017 10
Java 8 in 9.0.1FP7? Not likely.
Fri, Sep 2nd 2016 9
[In Czech] GeeCON 2016 - Praha
Mon, Oct 24th 2016 9
Get ready for Java 8 in Domino/Notes
Mon, Feb 6th 2017 9
Automatic building of NSF from (git) repository
Thu, Feb 6th 2014 8
Call for abstracts for 7th SUTOL conference is open
Mon, Jun 1st 2015 8
Let's Encrypt certificates and BlackBerry
Mon, Feb 15th 2016 8
What to expect in upcoming SmartNSF Beta 3 release?
Mon, Mar 20th 2017 8
Re: Domino REST performance analysis
Wed, Mar 15th 2017 8


What to expect in upcoming SmartNSF Beta 3 release?
Twitter Google+ Facebook LinkedIn Addthis Email Gmail Flipboard Reddit Tumblr WhatsApp StumbleUpon Yammer Evernote Delicious
martin jinoch    

Changes

We've decided to rename strategies to make the names shorter, yet still descriptive enough. We've basically removed all SELECT_ and ALL_ parts of the names. For example SELECT_ALL_DOCUMENTS_FROM_VIEW is from now on DOCUMENTS_FROM_VIEW. Extending the life of your keyboard is just a positive side effect of this change.

Bug fixes

Date format of returned DATETIME items was broken, so we fixed it. Bigly!

ARRAY_OF_DOUBLE data type was returning array of nulls instead of array of actual double values. Not exactly convenient, especially when you hadn't stored nulls there in the first place.

New features

For DOCUMENTS_FROM_VIEW_BY_KEY and DOCUMENTS_FROM_VIEW_BY_KEY_PAGED strategies you can now specify mode('exact') in routes.groovy. Use it when you want to get just those documents exactly matching that specified key, same as calling view.getAllDocumentsByKey(key, true). If omitted, partial mode is used - so like view.getAllDocumentsByKey(key, false).

VIEWENTRIES and VIEWENTRIES_PAGED strategies has been added and they are quite fast. These allow you to define which view columns from the view you want to return, by programmatic name. Example routes.groovy can look like this:

router.GET('entries') {
  strategy(VIEWENTRIES_PAGED) {
    viewName('ByTopic')
  }
  mapJson 'Subject', json: 'title', type: 'STRING'
  mapJson '$101', json: 'created_date', type: 'DATETIME'
  mapJson '$110', json: 'price', type: 'DOUBLE'
}

Note the need to escape $ when programmatic name of the column contains it.

You can only use these strategies to read (GET) data from view, no formulas can be used and supported datatypes are STRING, DATETIME and DOUBLE. For multi-value columns use ARRAY_OF_STRING, ARRAY_OF_DATETIME and ARRAY_OF_DOUBLE.

As usual (well not so usual, to be frank, but we are working on it), you can find all these changes and more documentation in project wiki https://wiki.openntf.org/display/XRAPI/SmartNSF



---------------------
http://jinoch.cz/what-expect-upcoming-smartnsf-beta-3-release
Mar 20, 2017
11 hits



Recent Blog Posts
5
Speaking at Engage 2017 about SmartNSF
Thu, May 4th 2017 1:02p   Martin Jinoch
I think I can call it a tradition now, as I every year since 2011 travel to Belgium (or Netherlands) to attend and sometimes even to speak at Engage (formerly BLUG) user group event. This year the latter applies. Christian Guedemann and I will be presenting SmartNSF (https://wiki.openntf.org/display/XRAPI/SmartNSF) and its role in application modernization "movement". The session is scheduled for Monday, May 8 from 11:45 to 12:30 in room D. Gorilla. Looking forward to meeting yellowverse peop
11
What to expect in upcoming SmartNSF Beta 3 release?
Mon, Mar 20th 2017 11:35a   Martin Jinoch
Changes We've decided to rename strategies to make the names shorter, yet still descriptive enough. We've basically removed all SELECT_ and ALL_ parts of the names. For example SELECT_ALL_DOCUMENTS_FROM_VIEW is from now on DOCUMENTS_FROM_VIEW. Extending the life of your keyboard is just a positive side effect of this change. Bug fixes Date format of returned DATETIME items was broken, so we fixed it. Bigly! ARRAY_OF_DOUBLE data type was returning array of nulls instead of array of actual doubl
8
What to expect in upcoming SmartNSF Beta 3 release?
Mon, Mar 20th 2017 10:35a   Martin Jinoch
EDIT: Beta 3 has been released: https://openntf.org/main.nsf/project.xsp?r=project/SmartNSF/releases/CCB... Changes We've decided to rename strategies to make the names shorter, yet still descriptive enough. We've basically removed all SELECT_ and ALL_ parts of the names. For example SELECT_ALL_DOCUMENTS_FROM_VIEW is from now on DOCUMENTS_FROM_VIEW. Extending the life of your keyboard is just a positive side effect of this change. Bug fixes Date format of returned DATETIME items was broken, so
6
Re: Domino REST performance analysis
Wed, Mar 15th 2017 7:18a   Martin Jinoch
Csaba Kiss has published blogpost http://xpagexplorer.org/domino-rest-performance-analysis/ about his findings regarding performance of various REST technologies available on Domino now. Just a couple of remarks: use case for reading 10000 documents at once is probably very far from most real world scenarios some may argue ReadViewEntries method is not REST service per se. And it is a core function deep in the HTTP server, probably developed in C. That's something we can't beat I guess SmartN
8
Re: Domino REST performance analysis
Wed, Mar 15th 2017 7:18a   Martin Jinoch
Csaba Kiss has published blogpost http://xpagexplorer.org/domino-rest-performance-analysis/ about his findings regarding performance of various REST technologies available on Domino now. Just a couple of remarks: use case for reading 10000 documents at once is probably very far from most real world scenarios some may argue ReadViewEntries method is not REST service per se. And it is a core function deep in the HTTP server, probably developed in C. That's something we can't beat I guess SmartN
7
SmartNSF Beta 2 released
Tue, Mar 7th 2017 9:50a   Martin Jinoch
You may have noticed that there is new project available on OpenNTF.org site. It is called SmartNSF (https://openntf.org/main.nsf/project.xsp?r=project/SmartNSF/summary) and it aims to help developers build REST services on top of the Domino databases. Unlike other approaches I am aware of, this project adds Designer integration and smart definition of routes, data retrieval strategies and returned values in one place. And this definition is made using Groovy syntax. How cool is that?:-) You can
4
SmartNSF Beta 2 released
Tue, Mar 7th 2017 8:50a   Martin Jinoch
You may have noticed that there is new project available on OpenNTF.org site. It is called SmartNSF (https://openntf.org/main.nsf/project.xsp?r=project/SmartNSF/summary) and it aims to help developers build REST services on top of the Domino databases. Unlike other approaches I am aware of, this project adds Designer integration and smart definition of routes, data retrieval strategies and returned values in one place. And this definition is made using Groovy syntax. How cool is that?:-) You can
9
Get ready for Java 8 in Domino/Notes
Mon, Feb 6th 2017 10:42a   Martin Jinoch
Java 8 is coming to Domino/Notes. First just runtime environment for server and client in FP8 and later this year hopefully to Designer as well. That will be huge improvement for developers, because it means - apart from Java 8 new features - we'll get newer Eclipse, newer OSGi etc. Yay! At the same time I feel like admins are not going to be that happy. Change of Java runtime from 6 to 8 should - in theory - be safe. Chances are, however, some stuff will be broken. A really really thorough te
1
Get ready for Java 8 in Domino/Notes
Mon, Feb 6th 2017 9:42a   Martin Jinoch
Java 8 is coming to Domino/Notes. First just runtime environment for server and client in FP8 and later this year hopefully to Designer as well. That will be huge improvement for developers, because it means - apart from Java 8 new features - we'll get newer Eclipse, newer OSGi etc. Yay! At the same time I feel like admins are not going to be that happy. Change of Java runtime from 6 to 8 should - in theory - be safe. Chances are, however, some stuff will be broken. A really, really thorough t
7
IBM Champions 2017 - welcoming new Czech one!
Thu, Dec 15th 2016 8:39p   Martin Jinoch
I am very very happy that my friend and real yellowbleeder Jan Krejc√°rek has been named IBM Champion in ICS for 2017. He is the third one from Czech Republic (in ICS) and it is a well deserved achievement. I do not have any real statistics (apart from those I am just making up), but I think we might be the best in "champion per capita" ratio. There might be some smaller country though, I really should check it before writing it in the blogpost. But we have post-fact era after all :-) Thanks




Created and Maintained by Yancy Lent - About - Planet Lotus Blog - Advertising - Mobile Edition