193 Lotus blogs updated hourly. Who will post next? Home | Blogs | Search | About 
 
Latest 7 Posts
What to expect in upcoming SmartNSF Beta 3 release?
Mon, Mar 20th 2017 341
Re: Domino REST performance analysis
Wed, Mar 15th 2017 34
SmartNSF Beta 2 released
Tue, Mar 7th 2017 6
Get ready for Java 8 in Domino/Notes
Mon, Feb 6th 2017 8
IBM Champions 2017 - welcoming new Czech one!
Thu, Dec 15th 2016 9
[In Czech] GeeCON 2016 - Praha
Mon, Oct 24th 2016 7
The 8th SUTOL Technical Conference: Nov 10-11, 2016, Prague
Thu, Oct 13th 2016 7
Top 10
What to expect in upcoming SmartNSF Beta 3 release?
Mon, Mar 20th 2017 341
Re: Domino REST performance analysis
Wed, Mar 15th 2017 34
Family reunion 2016 (also known as Engage)
Tue, Mar 29th 2016 9
IBM Champions 2017 - welcoming new Czech one!
Thu, Dec 15th 2016 9
Social Connection VI
Fri, Jun 20th 2014 8
Bye bye Domino!
Mon, Aug 22nd 2016 8
A quick follow up on last post
Fri, Aug 26th 2016 8
Java 8 in 9.0.1FP7? Not likely.
Fri, Sep 2nd 2016 8
Get ready for Java 8 in Domino/Notes
Mon, Feb 6th 2017 8
Agenda for 7th SUTOL Technical Conference
Fri, Oct 2nd 2015 7


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
342 hits



Recent Blog Posts
342
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
34
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
6
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
8
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
9
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
7
[In Czech] GeeCON 2016 - Praha
Mon, Oct 24th 2016 4:16a   Martin Jinoch
Na úvod je asi vhodné uvést, že s organizováním a přednášením na konferencích nějaké zkušenosti mám a ačkoliv se v následujících řádcích někde vyjadřuji kriticky, tak celkově byl GeeCON výborně zvládnutý a přes hodně slušnou návštěvnost jsem nikde nezaznamenal výraznější problémy. Konečně se mi zadařilo mít čas zajít na GeeCON. A navíc díky Romanu Pichlíkovi z CZ Podcastu jsem měl volný vstup, takže dokonalá win-win situace. O to více, že js
7
The 8th SUTOL Technical Conference: Nov 10-11, 2016, Prague
Thu, Oct 13th 2016 3:36a   Martin Jinoch
SUTOL (Czech Lotus User Group) has published agenda for its annual event in Prague. I think the lineup of speakers is great - with one exception :) - and conference will be full of interesting information and cool technologies. After successful last year's event we are doing it again in English, day and a half instead of one day, with three tracks instead of two. You can find additional info about the event on SUTOL website. I really do hope to meet as many of you as possible in Prague on Nove
7
Domino/Notes support extended to (at least) 2021
Tue, Sep 13th 2016 9:10a   Martin Jinoch
IBM has officially announced that it will support IBM Domino/Notes 9.0.1 until September 2021. Although the announcement does not specifically say so, IBM was communicating it as AT LEAST until 2021. Which is good news, regardless if your plan is to migrate off the platform or to stay there. FixPack 7 for 9.0.1 is now in Stage 4: Gold Build and list of fixes now has 81 entries (well those two regarding Java 6 are technically the same change, so 80). Still no sign of Java 8 being added in FP7 an
8
Java 8 in 9.0.1FP7? Not likely.
Fri, Sep 2nd 2016 5:11a   Martin Jinoch
According to these two documents in fix list database 9.0.1 FP7 is not bringing Java 8: SPR # KLYHAC4JS8 fixed in 9.0.1 FP7 release SPR # KLYHA9KMNR fixed in 9.0.1 FP7 release
8
A quick follow up on last post
Fri, Aug 26th 2016 8:34a   Martin Jinoch
A lot of things happened since Monday morning. It turned out I was not at all alone in thinking this. So there are some other posts on the subject, much better than my rant. And most importantly you can find Ed Brill's comment under Darren's post. (I tried to sort them chronologically, not 100 % sure I did it right, though) Oliver Busse Paul Withers Darren Duke Volker Weber - reacting to Ed's comment, read the comments here as well Heiko Voigt So we now know IBM will support Domino/Notes unti




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