357 Lotus blogs updated hourly. Who will post next? Home | Downloads | Events | Pods | Blogs | Search | myPL | About 
 
Latest 7 Posts
Call for abstracts for ICONUK
Fri, Jun 6th 2014 1196
CSC Event 2
Thu, Jun 5th 2014 1271
Oh yes, we'll need a database
Fri, May 30th 2014 442
Jade HTML Template Engine
Thu, May 29th 2014 487
Express web application framework
Wed, May 28th 2014 631
NPM or Node Module Packages
Tue, May 27th 2014 696
But first the development environment
Mon, May 26th 2014 880
Top 10
CSC Event 2
Thu, Jun 5th 2014 1271
Call for abstracts for ICONUK
Fri, Jun 6th 2014 1196
Git cloning of very large repo's in Windows
Tue, May 13th 2014 1125
Getting started with node.js
Fri, May 23rd 2014 1103
jQuery UK Conference
Mon, May 19th 2014 902
But first the development environment
Mon, May 26th 2014 880
NPM or Node Module Packages
Tue, May 27th 2014 696
Express web application framework
Wed, May 28th 2014 631
XPages and IE11
Wed, Feb 19th 2014 489
Jade HTML Template Engine
Thu, May 29th 2014 487


Dojo 1.7.2 in XPages
Matt White    

I had need to make use of some of the more advanced Dojo Mobile controls for a project last week which ship with Dojo 1.7.2. For various reasons I needed the Dojo files inside the nsf rather than on the file system, and if you've had to do that before you'll know what a massive pain it is to get the files loaded. So I thought I'd share a simple nsf with the files loaded.

You can either clone the database from Github here: https://github.com/whitemx/Dojo172XPages

Or you can download the nsf here: Dojo172.nsf.zip 

The other changes I've made to the database are to disable the standard Dojo libraries (1.6.1 in 8.5.3) in the xsp.properties file and also turned off the default theme settings as well so no CSS will be downloaded unless you manually specify it in the resources.



---------------------
http://mattwhite.me/blog/2012/4/3/dojo-172-in-xpages.html
Apr 03, 2012
93 hits



Recent Blog Posts
1196


Call for abstracts for ICONUK
Fri, Jun 6th 2014 4:00a   Matt White
Are you registered for ICONUK 2014 yet? Tim Clark is running the event this year, but we still need speakers. It's that time of year again when we ask you to throw your hat into the ring if you want to speak at ICONUK. I'm running the Dev track, and I just thought it would be useful to run through the process of how we choose the sessions.Firstly I move all of the session titles and abstracts into a spreadsheet and remove any names from the list to try and avoid falling into the trap of automa [read] Keywords:
1271


CSC Event 2
Thu, Jun 5th 2014 4:00a   Matt White
We’re very pleased to announce our 2nd CSC Event taking place this time in the evening of July 16th. It will still be at the fantastic Soho Hotel in London which everyone thought so successful last time but this time we’re trying something a little different.The event begins at 6pm and will run until 9pm with only two sessions followed by drinks and possibly further drinks afterwards.Last time our biggest feedback was that it was shame to choose between sessions and that it would be good to [read] Keywords: ibm
442


Oh yes, we'll need a database
Fri, May 30th 2014 4:00a   Matt White
I suppose this is the biggie. Since 1996 my database of choice has been the venerable NSF http://en.wikipedia.org/wiki/Notes_Storage_Facility#Database which is a Document Oriented Database. Coincidentally the rest of the world has now caught up and there are some more modern options available to achieve the same things now. The real flavour of the moment is MongoDB http://www.mongodb.org, like the NSF it’s document based and can be replicated between multiple locations. Unlike the NSF it is mu [read] Keywords: application database development server wiki
487


Jade HTML Template Engine
Thu, May 29th 2014 4:00a   Matt White
In the last post I mentioned that when you start using Express, you are nudged towards Jade to create your HTML.At its simplest, Jade provides a way to make your HTML more terse. To produce HTML like this:We would only need to enter Jade like this:We can break up the contents of our pages, so in this example the head contents are defined in a different file and can be shared across multiple pages. The syntax is very simple, indentation is used to nest elements within each other and you can add I [read] Keywords: application css database development javascript
631


Express web application framework
Wed, May 28th 2014 4:02a   Matt White
Having created a simple application and installed our first NPM package, now things start to get serious. We want to start building out our real application, there will be more than one page, we’ll need client side JavaScript and CSS files. Organising all of this is important, you will have hundreds of files before you know it. This is where Express comes in.If we install the basic Express npm package then we can get one of the biggest advantages for us, that is routing. I can define URLs and [read] Keywords: application css javascript security server xml
696


NPM or Node Module Packages
Tue, May 27th 2014 4:01a   Matt White
After getting your development environment set up and your fancy schmancy Hello World application running what next?Let’s say we want to display a nicely formatted version of the current date and time. The current best of breed for date and time handling in JavaScript is called Moment and we can choose to use it either server side or client side. For our purposes here, we’ll use it server side, which means we need to install it into our application.First we’ll want to create a file called [read] Keywords: application development javascript server xml




880


But first the development environment
Mon, May 26th 2014 4:01a   Matt White
I started a series of blog posts about my work with node.js last week. And of course the thing I forgot to mention is the actual process of development. A lot of people seem to really like using Webstorm from Jetbrains. and it’s certainly a full featured tool. I tried it for ten days and just couldn’t get used to it. So I now spend my days living inside three different windows: Sublime Text for editing, Chrome for browser testing and the Terminal for running node.js.If you’ve not yet used [read] Keywords: application css development mobile server
1103


Getting started with node.js
Fri, May 23rd 2014 6:40a   Matt White
As you may know I've been writing Domino web applications in one form or another for 18 years now (good God that's a long time). But over the last few months I've been working on a node.js application. I've learned a huge amount, but am still really a newb when it comes to node, so bear that in mind when you read my blog posts over the next few weeks and months.The first question, I suppose, is "What is node.js?". Well, the simple answer is that it's a JavaScript engine that will do whate [read] Keywords: domino xpages application applications community database email integration java javascript linux mac server
902


jQuery UK Conference
Mon, May 19th 2014 4:03a   Matt White
I realised while sat in the main room at jQuery UK that I hadn't been to a conference as an attendee without speaker or organiser duties for years. It made a nice change.jQuery always feels like one of those utility things, I use it every day on pretty much every project I do, but I don't feel like I really know everything about it, this was the main reason for attending and boy was I right. There was so much to learn here that it was slightly scary. During the day I attended eight sessions an [read] Keywords: ibm google javascript twitter
1125


Git cloning of very large repo's in Windows
Tue, May 13th 2014 1:53p   Matt White
I'm working on a node.js project at the moment, and for various reasons I'm spending part of my time working in Windows rather than the usual Mac environment. It shouldn't be a problem, and generally it's not. Once the node environment is set up on Windows it works just the same. But one problem I have encountered is with the depth of my repo.Some of the folders have very many levels of nesting, due to the joys on npm. When I was trying to clone the repo to my Windows machine I was getting e [read] Keywords: development mac microsoft network




Created and Maintained by Yancy Lent - About - Blog Submission - Suggestions - Change Log - Blog Widget - Advertising - Mobile Edition