329 Lotus blogs updated hourly. Who will post next? Home | Downloads | Events | Jobs | Twitter | Bookmarks | Pods | Blogs | Search | myPL | About 
 
Latest 7 Posts
How I Got XPiNC Run-On-Server With SSO Working
Fri, May 17th 2013 166
Public Service Announcement - NotesIn9 is down.
Tue, May 7th 2013 328
My Latest Programming-Technique Improvements
Tue, Apr 23rd 2013 187
Java Traps and Misconceptions
Tue, Apr 23rd 2013 186
Fun With Old XML Features
Tue, Apr 2nd 2013 219
Release M1 of org.openntf.domino
Tue, Apr 2nd 2013 203
We Have The Technology: The org.openntf.domino API
Thu, Mar 21st 2013 208
Top 10
"Controller" Classes Have Been Helping Me Greatly
Wed, Dec 26th 2012 681
Putting Apache in Front of Domino
Sat, Dec 8th 2012 675
Programming Tips: Implied Booleans and the Ternary Operator
Tue, Dec 11th 2012 485
Moving From Ruby-in-XPages to Polyglot
Wed, Dec 12th 2012 475
More On "Controller" Classes
Mon, Jan 7th 2013 447
Quick-and-Dirty CKEditor Toolbar Setup for XPages
Tue, Sep 4th 2012 380
Building XPages servlets with FacesContext access
Thu, Sep 6th 2012 337
Faking Sortable View Data
Sun, Jul 22nd 2012 335
My Current Data-Source Musings
Mon, Nov 26th 2012 328
Public Service Announcement - NotesIn9 is down.
Tue, May 7th 2013 328


Jesse Gallagher
 
Blog Title frostillic.us
Blog Description No blog description listed in the feed.
Blog URL http://frostillic.us
RSS Feed http://frostillic.us/f.nsf/feed.xml
PlanetLotus Feed http://planetlotus.org/profiles/rss/jesse-gallagher
Validate Feed feedvalidator.org or validator.w3.org
Feed Last Checked May 24, 2013 12:18:53 AM EST. Realtime Update:
Landed Here Nov 22, 2011
Location Lansdale, PA, USA
Posts: # / 1st / Latest - -
Total Hits 18,165. myPL RSS Selections: 7


Recent Blog Posts
166


How I Got XPiNC Run-On-Server With SSO Working
Fri, May 17th 2013 5:14p   Jesse Gallagher
Among the new features in Domino 9 is this little guy, found on the Launch pane of a database's properties when you set it to open an XPage: If you've ever used an XPiNC application before, you'll know this is a godsend, promising the vast performance benefits of running an app on a server combined with the "the users are stuck using the Notes client" benefits of XPiNC. I turned this on for a new app on one of my client's servers (let's say the server name is ClientName-2/ClientNa [read] Keywords: admin domino notes notes client policies sametime xpages application database desktop network properties server
328


Public Service Announcement - NotesIn9 is down.
Tue, May 7th 2013 11:16a   Jesse Gallagher
David Leedy has run into some trouble with NotesIn9.com being down and he asked if I could help him get the word out about it, which I'm more than happy to do:     Hi - Just wanted to drop a note out there about my NotesIn9.com website.  Currently it's redirecting to someplace else for some unknown reason.  I assume it's been php hacked but I don't know.   My Wordpress site is generously hosted by Chris Miller and I've sent him a note.  Though since he's in the middle of the [read] Keywords: xpages bug
187


My Latest Programming-Technique Improvements
Tue, Apr 23rd 2013 9:18a   Jesse Gallagher
Over the past couple weeks, I've been trying out some new things to make my code a bit cleaner and I've been having a good time of it, so I figured I'd write up a quick summary. Composed Method First and foremost, I've been trying out the Composed Method of programming. This is not a new idea - indeed, it's a pretty direct application of general refactoring - but the slight perspective change from "factor out reused code" to starting out with clean, small blocks has been a pleasan [read] Keywords: agent domino ibm lotusscript xpages application database eclipse java openntf
186


Java Traps and Misconceptions
Tue, Apr 23rd 2013 6:16a   Jesse Gallagher
I wrote a post over at the Social Biz UG site covering a number of traps and conceptual hurdles I frequently see people running into when it comes to Java: https://www.socialbizug.org/blogs/gidgerby/entry/java_traps_and_misconceptions?l ang=en_us [read] Keywords: java
219


Fun With Old XML Features
Tue, Apr 2nd 2013 11:18p   Jesse Gallagher
One of the side effects of working on the OpenNTF Domino API is that I saw every method in the interfaces, including ones that were either new to me or that I had forgotten about a long time ago. One of these is the "parseXML" method found on Items, RichTextItems, and EmbeddedObjects. This was added back in 5.0.3, I assume for some reason related to the mail template, like everything else added back then. Basically, it takes either the contents of a text item, the text of a rich text ite [read] Keywords: domino ibm notes rich text xpages java javascript openntf xml
203


Release M1 of org.openntf.domino
Tue, Apr 2nd 2013 9:17p   Jesse Gallagher
Yesterday, we released milestone 1 of our improved Domino API. This is our first tagged release meant for proper testing - all of the classes are implemented, many of the banner features are in there, and we've been using it in various real-world situations. I switched a couple of my side projects over - my portfolio site, the code for this blog (though I haven't deployed the template yet), and a couple personal game-related apps. That kind of testing is going to be crucial in getting us [read] Keywords: domino openntf
208


We Have The Technology: The org.openntf.domino API
Thu, Mar 21st 2013 7:13p   Anonymous
As Nathan and Tim posted earlier today, a number of us have been working recently on a pretty exciting new project: the org.openntf.domino API. This is a drop-in replacement/extension for the existing lotus.domino Java API that improves its stability and feature set in numerous ways. The way I see it, there are a couple main areas of improvement: Plain Old Bug Fixes doc.hasItem(null) crashes a Domino server. That's no good! We've fixed that, and we're going through and fixing other [read] Keywords: agent domino dxl lotus notes bug database java openntf server xml
252


A Mini-Vacation With Ruby and the Domino Data Service
Sat, Mar 2nd 2013 4:11p   Jesse Gallagher
Since I've been neck-deep in LotusScript and Java for the past couple weeks, I decided to take a bit of a sanity break today and play around with Ruby. Specifically, I wrote a skeletal wrapper for the Domino Data Service in the ExtLib and the first steps of a Rails app using it a bit. I don't expect this to actually be useful down the line, or even necessarily to get any more work put into it, but it was a fun diversion. The API takes the same general shape as the normal Domino API, exce [read] Keywords: domino lotusscript database java server




268


I Know Some Guys
Tue, Feb 26th 2013 12:09p   Jesse Gallagher
I've been a bit quiet lately, but that's mostly because I've been pretty busy lately. After my old company began closing down, I started going whole-hog in my consulting company, I Know Some Guys. Naturally, I can't go TOO much into it, but the general gist is "so far, so good." We have a couple clients so far and they've been keeping me busy indeed. A lot of that has involved classic Notes client and web development, but I guess that serves me right for snickering at people work [read] Keywords: domino notes notes client consulting database development
289


The Bean-Backed Table Design Pattern
Tue, Jan 22nd 2013 4:13p   Jesse Gallagher
First off, I don't like the name of this that I came up with, but it'll have to do. One of the design problems that comes up all the time in Notes/Domino development is the "arbitrary table" idea. In classic Notes, you could solve this with an embedded view, generated HTML (if you didn't want it to be good), or a fixed-size table with a bunch of hide-whens. With XPages, everything is much more flexible, but there's still the question of the actual implementation. The route I've bee [read] Keywords: domino notes xpages database development java
447


More On "Controller" Classes
Mon, Jan 7th 2013 6:14p   Jesse Gallagher
Since my last post on the matter , I've been using this "controller" class organization method in a couple other projects (including a refresh of the back-end of this blog), and it's proven to be a pretty great way to go about XPages development. As I mentioned before, the "controller" term comes from the rough equivalent in Rails. Rails is thoroughly MVC based, so a lot of your programming involves creating the UI of a page in HTML with a small sprinkling of Ruby (the "view"), ba [read] Keywords: xpages development java javascript properties server
681


"Controller" Classes Have Been Helping Me Greatly
Wed, Dec 26th 2012 3:14p   Jesse Gallagher
I mentioned a while ago that I've been using "controller"-type classes paired with specific XPages to make my code cleaner. They're not really controllers since they don't actually handle any server direction or page loading, but they do still hook into page events in a way somewhat similar to Rails controller classes. The basic idea is that each XPage gets an object to "back" it - I tie page events like beforePageLoad and afterRenderResponse to methods on the class that implement [read] Keywords: domino ibm xpages interface java server
475


Moving From Ruby-in-XPages to Polyglot
Wed, Dec 12th 2012 1:18p   Jesse Gallagher
I've tweeted about this a couple times, but in some of my spare time lately I've put together a new, cleaner implementation of the generic-scripting-language support I first created back when I did my original work with Ruby. I named the new project "Polyglot" and it has two facets: The aforementioned generic-scripting-language support, done more cleanly and with better capabilities. A method for storing standalone page-generating scripts as documents in the database that are executed [read] Keywords: domino formula language lotus xpages database java
485


Programming Tips: Implied Booleans and the Ternary Operator
Tue, Dec 11th 2012 7:21a   Jesse Gallagher
This isn't Domino- or XPages-specific per se, but I figured I'd make a post about some of my favorite stylistic bits in many programming languages: implied boolean values and the ternary operator, which are distinct but often used together. What I mean by "implied boolean values" is when a language lets you use things that aren't strictly comparisons or boolean values in if/then tests. The best example for this is probably C (and no doubt the languages that came before it): for a lon [read] Keywords: domino xpages java javascript properties
675


Putting Apache in Front of Domino
Sat, Dec 8th 2012 1:10p   Jesse Gallagher
The other day, for my side-project company, I wanted to set up hosting for a WordPress site, ideally without setting up another whole server. The first two ideas I had were pretty terrible: Hosting it on Domino directly with PHP via CGI. Even if this worked, I assume the performance would be pretty poor and I'd have no confidence in its general longevity. Hosting it on Apache on another port and using Domino to proxy through. While Domino does have some minor proxy capabilities, they didn [read] Keywords: domino css linux server
328


My Current Data-Source Musings
Mon, Nov 26th 2012 5:10p   Jesse Gallagher
My quest to find the ideal way to access data in XPages continues. Each time I make a new project, I come up with a slight variation on my previous theme, improving in one or more of the various conflicting factors involved. The problem, as always, is that the standard xp:dominoView and xp:dominoDocument data sources alone are insufficient to properly separate business logic from presentation. On the other hand, accessing view data in a way that is both efficient and flexible via just the [read] Keywords: ibm xpages java
305


A Couple Blog Matters
Mon, Nov 26th 2012 5:10p   Jesse Gallagher
I've made a couple structural changes to the blog here. Normally, I wouldn't make a fuss over things like that, but they're pertinent to the overall theme. First off, I changed the links over on the right, adding a link to the in-progress home page of my side-project company, I Know Some Guys. We're in the market for contracts - web site projects, internal apps, and the like. I may have more about that later. I also promoted the link to my portfolio page to its own category. Since the [read] Keywords: ibm xpages application widgets
272


The Ruby Builder for XPages
Wed, Nov 7th 2012 12:14p   Jesse Gallagher
After I got Ruby in XPages to the point where it's generally working enough to power this blog, I set my sights on an even-more-important goal: being able to write backing Java classes in Ruby. While replacing SSJS is quite handy, my general use of inline scripting like that has declined significantly in favor of Java classes. Fortunately, JRuby has a language cross-compiler and some hooks to write Java-compatible Ruby classes. Unfortunately, I was repeatedly stymied by a couple things: [read] Keywords: ibm xpages application eclipse interface java
174


Self-Aggrandizement for Fun and Profit
Mon, Nov 5th 2012 8:15p   Jesse Gallagher
As I alluded to in my previous post, I decided to set up a "portfolio" site to house a list of projects I've made or collaborated on and my recently-updated resume: http://portfolio.frostillic.us The site itself is intentionally quite simple: it's meant to house clear content, while further details are available on linked pages. Nonetheless, despite its simplicity, it's allowing me to further refine a couple things I've been tinkering with lately: Bootstrap. Collaboration Today cam [read] Keywords: collaboration domino xpages applications database mobile
287


Taking a Swing at the URL Problem
Sun, Nov 4th 2012 6:13p   Jesse Gallagher
In the new portfolio web site I'm setting up for myself, I've decided to see what I can do about Domino's, and XPages' specifically, tendency towards ungainly URLs. An XPage URL, particularly an auto-generated one from, say, a view panel, can quickly become filled with undesirable elements - namely, ".nsf", ".xsp", "$$OpenDocument", "action=", and "documentId=". They all make sense and serve important purposes for the server, and to a certain extent URLs other than the main o [read] Keywords: domino xpages database server
223


Improving My Development Process: Source Control
Mon, Oct 22nd 2012 2:11p   Jesse Gallagher
I think it's fair to say that most professional programmers know that they should use source control, but, unless you work for a company that mandates it, you treat it like flossing or going to the gym. However, unlike your personal health and well-being, using source control is very important and can improve your life noticeably. I'm a recent convert, in part due to Domino's historic hostility to proper source control. However, since 8.5.3 and its inclusion of the surprisingly good So [read] Keywords: domino notes xpages application database development
207


A Couple Things I've Been Trying Out Lately
Tue, Oct 16th 2012 12:09p   Jesse Gallagher
I'm always trying to figure out new tricks and (groan) patterns for my XPages development, and I've had a couple trends and experiments lately that I think are worth mentioning. First off, I've been doing a lot of source control stuff lately, but that's a topic for another post, currently in crummy-draft form. Beyond that, I think I'll just start a list: The joys of ExtLibUtil. Historically, I've had a general "JSFUtil" class (with the name and original code copied from here), but [read] Keywords: domino lotus xpages database development java
337


Building XPages servlets with FacesContext access
Thu, Sep 6th 2012 7:11a   Jesse Gallagher
I have a confession to make: I'm not crazy about XAgents. Don't get me wrong - they do everything they're supposed to and do it well. However, it's always kind of bothered me that you take a visual design element like an XPage and turn off all the higher levels to get back down to the core servlet. Plus, it muddies the list of XPages in the DB - some are actual XPages, some are just wrappers for scripts. So my objection is essentially pedantry. However, the fact that my objection is wildly [read] Keywords: ibm xpages application database google java openntf
272


A Custom Control for dojox.widget.Toaster
Wed, Sep 5th 2012 8:14a   Jesse Gallagher
Update: Looks like Chris Toohey beat me to this by a couple months: http://www.dominoguru.com/pages/04092012113950.html Marky Roden did a presentation at MWLUG that included, among other things, a demonstration of Pines Notify, a jQuery plugin that provides Growl-style notifications - something that could come in tremendously handy in a lot of situations. I wanted to use something like this, but I decided to check to see if there's an equivalent in Dojo already, so I don't have to start incl [read] Keywords: css dojo properties widget
380


Quick-and-Dirty CKEditor Toolbar Setup for XPages
Tue, Sep 4th 2012 5:14p   Jesse Gallagher
A while back, I got annoyed by the lack of a "Source" button in the default rich text editor in XPages. After a bit of digging, I found that there is indeed one (not to mention a whole world of CKEditor toolbar plugins and enhancements) - just not by default. I think there's a way you can pick from a couple named "stock" toolbar layouts, but I ended up going the route of defining my own, naming each button in a group. In CKEditor, at least pre-3.6 (and I guess it works later too), toolbars [read] Keywords: domino rich text xpages xml
145


A Couple Updates to My Domino-One-Offs Repository
Tue, Sep 4th 2012 4:16p   Jesse Gallagher
I realized earlier that I let a couple of the classes in Domino-One-Offs stagnate relative to the versions I currently use. Since originally posting my convenience XML library and, more usefully, the DynamicViewCustomizer, I've tweaked both in my various projects to add more features I ended up needing. com.raidomatic.xml DynamicViewCustomizer SortableMapView The DynamicViewCustomizer has gone further down the path of Notes-client fidelity at the expense of a bit more overhead, doing things [read] Keywords: domino notes java xml
170


An Extended Document Data Source To Support MIMEBean
Wed, Aug 22nd 2012 5:11p   Jesse Gallagher
Ever since I personally came up with the idea of storing serialized Java objects in Notes documents via MIME, I've been trying to use the technique all over the place, since it's basically the best thing since sliced bread. My latest notion was that the pattern would be all the cooler if the serialized Java objects could be referenced directly in EL, so you could do something like #{doc.LineItems[3].cost}, pulling directly from a more-or-less normal Domino document. I decided to give implemen [read] Keywords: domino notes database java
169


Starting With Java Classes First
Mon, Aug 20th 2012 6:11p   Jesse Gallagher
Every time I make a new XPages app, I start by using the normal xp:dominoView and xp:dominoDocument data sources, on the theory that building with the standard set of components will keep things clean while I build on top of that. However, with each successive app, the time before I get annoyed at how messy the code has to be and start writing Java wrapper and management classes gets shorter and shorter. For example, in my Forms 'n' Views mini-Designer app, I have the sidebar list of database [read] Keywords: xpages database java javascript server
153


I Started Another Side Project
Thu, Aug 9th 2012 7:12a   Jesse Gallagher
While working on the view indexer thing (which seems to be taking the form of "yet another SQL exporter for Domino", but with some advantages), I started thinking about how I often want a nice, quick way to edit some views, forms, or stylesheets without having to launch Windows and Designer. The Mac client is there for views, but the experience still leaves something to be desired. In addition, I do very little lately that's intended to be seen directly in the Notes client - most views are se [read] Keywords: domino dxl notes notes client xpages dojo mac sql widgets
131


This View Indexer Thing Might Be Worth Some Time
Sun, Aug 5th 2012 2:16p   Jesse Gallagher
I've put a little more time into my small view indexer from the other day, and it seems even more promising now. The editor I made for it might give you some idea of the potential: Since the view building is all being done in Java, I decided to toss in the list of available JSR-223-compliant scripting languages currently available. The scripting context is given a variable "doc" that's a DocumentWrapper class I wrote that implements Map to make its use a bit easier. For added fun, I baked [read] Keywords: application java server
177


I Went Crazy and Made a Small View Indexer
Sat, Aug 4th 2012 9:12a   Jesse Gallagher
Warning: this post is almost entirely pie-in-the-sky nonsense, untethered from reality. Probably. So yesterday, for some reason, I got to thinking about Domino's view indexing and whether or not it can be readily done better. The current view indexer does its intended task with aplomb (most of the time), but it has its problems. For one, iterating over view indexes in Java (read: everything you should do in Domino today) is dog slow. More theoretically, since it deals only with summary data fo [read] Keywords: domino rich text database java oracle server wiki
188


Mixing Dojo's BorderContainer with OneUI
Tue, Jul 31st 2012 7:14p   Jesse Gallagher
Chris Toohey's post earlier today reminded me of a technique I've been using in some of my apps lately. Since most of what I've been doing has been for internal and admin/reporting-type apps, I've been using OneUI extensively - it's straightforward with the Extension Library, looks pretty good, and the consistency of UI works for that type of application. However, I ran into a problem with large views: putting a very horizontally-large table into the content area of OneUI breaks it horribl [read] Keywords: admin notes notes client application dojo
335


Faking Sortable View Data
Sun, Jul 22nd 2012 1:11p   Jesse Gallagher
There's a point in most decent-sized XPages apps I write where I switch from using standard data sources like xp:dominoView to writing Java classes that implement List, usually due to some multi-source data merging I have to do that would be extremely cumbersome or slow to do otherwise. This works well, but one problem is that view data sources have special powers that plain-Jane Lists lack, such as easy sortable column headers. Having encountered TabularDataModel a bit ago when making an acti [read] Keywords: domino ibm lotus notes xpages database development java oracle server
171


A Prototype In-App Messaging System for XPages
Mon, Jul 9th 2012 12:12p   Jesse Gallagher
Sven Hasselbach's post about ApplicationListeners the other day and the notion of post-MVC methods of app architecture got me thinking about the notion of generic messaging/events inside an XPages app. The first example that comes to mind is a project-tracking database where there may be events like "new task created" or "delivery ready for review" - business logic stuff where the fact that it's a document being modified is an implementation detail. In my actual project-tracking database a [read] Keywords: agent notes xpages application database interface java javascript openntf oracle properties xml
145


Using Lombok to Write Cleaner Java in Designer
Fri, Jul 6th 2012 4:15p   Jesse Gallagher
Java, as a language, has a number of admirable qualities, but succinctness is not among them. Even a simple "Person" class with just "firstName" and "lastName" properties can boil over with at least a dozen lines of boilerplate to add constructors, getters, setters, and equivalency testing. Fortunately, Project Lombok can help. Their main page contains a good video of the basics, while the Feature Overview page covers the rest. If you've written a lot of Java classes, I suspect that the v [read] Keywords: ibm lotus notes eclipse java properties server
176


Basic Org Charts With xe:navigator and xe:beanTreeNode
Fri, Jul 6th 2012 7:14a   Jesse Gallagher
The topic of generating org charts on an XPage came up recently, and I decided to try my hand at making a pretty basic one using a technique similar to my re-use of Outline design elements from the other week. Not only are the generated hierarchies potentially useful, but it ended up providing a much cleaner example of how to recursively generate an Extension-Library tree. To get started, I mocked up some basic data: I created a standard Domino directory database and created users with unique S [read] Keywords: domino database server
199


Using dojo.behavior
Tue, Jul 3rd 2012 6:16a   Jesse Gallagher
JavaScript in a browser is a messy business. While you can generally avoid writing a lot of client JavaScript when doing XPages development, it will eventually be necessary to get your hands dirty. While a bit of XSP.openDialog() here and there, things can get hairy when you want to start including the same or similar code everywhere. You can move the code blocks themselves off to a script library, but then you're still stuck including function calls inline. Enter dojo.behavior. I ran across d [read] Keywords: domino script library xpages css development dojo javascript
124


Book Review: XPages Extension Library
Mon, Jul 2nd 2012 4:14p   Jesse Gallagher
Unlike many development environments, there are only a handful of books about XPages. Combined with the historical lack of documentation, that makes all three - Mastering XPages, XPages Portable Command Guide, and XPages Extension Library - essential. In that sense, the quality of the book is a less important purchasing-decision factor than its mere existence. Fortunately, XPages Extension Library doesn't skimp on quality or breadth of coverage. The sections of the book track the natural progr [read] Keywords: xpages application development dojo eclipse java
122


Use Interfaces All The Time
Wed, Jun 27th 2012 6:15a   Jesse Gallagher
In addition to being useful concepts generally, Java interfaces can be used literally in code as a way of keeping your code as clean and generic as possible. While you can't ever create a new object based on an interface, you CAN use interface names as object types for variables and parameters. For example, this is a legal way to create a Vector of Objects: List someList = new Vector(); "That's great and all," you say, "but why bother doing that?" And indeed, in a simple case like a most [read] Keywords: agent domino ibm lotus notes xpages database interface java javascript oracle xml
177


Putting java.util to Use
Fri, Jun 22nd 2012 9:16a   Jesse Gallagher
I'm in the process of figuring out a good way to combine data from several sources into a single activity stream, which means that they should be categorized by date and then sorted by time. While that's a piece of cake with a single view, it gets hairy when you have several views, or perhaps several different types of sources entirely. Fortunately, abstract data types are here to help. You're already using Lists and Maps, right? For this, I decided to use Maps and one of my personal favorit [read] Keywords: interface java oracle wiki
216


Re-using Classic Domino Outlines, Rough Draft
Tue, Jun 19th 2012 3:14p   Jesse Gallagher
My current big project at work involves, among many other things, viewing individual project databases through a centralized "portal". These all use the same base template, but can be individually customized, usually with new or changed views. Additionally, I'm going to be granting web users varying roles that correspond to existing or planned access roles in the target database. The result is that I'm spending a good amount of time trying to dynamically adapt some classic Notes elements to [read] Keywords: domino ibm lotus notes xpages database java javascript openntf server
118


Reverse-Engineering File Formats for Fun
Mon, Jun 11th 2012 6:16a   Jesse Gallagher
Well, okay, it wasn't for fun; it was for work. About a year and a half ago, I had occasion to parse the contents of shared object files from a Flash Media Server ("*.fso" files), and I figured it might be interesting to go back over the kind of things I had to do to accomplish that. The first thing I did was to search around to see if anyone else had solved the same problem. However, while there are plenty of parsers for "Flash shared objects", not the least of which is in Flash itself, i [read] Keywords: java server wiki
119


Ruby Builder First Draft: Intriguing Failure
Sat, Jun 9th 2012 7:14a   Jesse Gallagher
For a while now, I've been fiddling with trying to make an Eclipse builder that smoothly translates Ruby files into Java classes and adds them to the project to be compiled, the idea being that, rather than only using Ruby inline in XPages or via "script libraries", you'd be able to write all of your supporting Java classes in it as well. I'd been giving it about an hour or so of frustration every couple of weeks, but yesterday I decided to hunker down and make it work. After patching the [read] Keywords: xpages eclipse java openntf
152


XPages MVC: Experiment II, Part 4
Mon, Jun 4th 2012 5:12p   Jesse Gallagher
To finish up my series on the infrastructure of my guild forums app, I'd like to mention a couple of the down sides I see with its current implementation, which I'd generally want to fix or avoid if re-implementing it today. Roll-Your-Own One of the strengths of this kind of MVC setup is that it works to separate the front-end code from the data source. It would be (relatively) easy for me to replace the model and collection classes with versions that use a SQL database or non-Notes document [read] Keywords: domino formula language notes rich text xpages bug database java javascript server sql
147


Ruby for XPages Programmers, Part 1
Wed, May 30th 2012 8:11p   Jesse Gallagher
Since I'm always gabbing on about Ruby, I figured it'd be useful to give an overview of the language and, in future posts, why it's worth using for XPages scripting. I don't plan to write an exhaustive tutorial for the language (they're aplenty on the web), but I'll go over the basic concepts and some of how it compares to EL, Server JavaScript, and Java. Ruby is a dynamic, object-oriented language with functional-programming features and syntax designed for programmer-friendliness. In te [read] Keywords: formula language lotusscript xpages java javascript server
250


XPages MVC: Experiment II, Part 3
Mon, May 28th 2012 5:11p   Jesse Gallagher
Continuing on from my last post, I'd like to go over a couple specifics about how I handle fetching appropriate collections of objects from a view and a couple areas where I saved myself some programming hassle. As I mentioned before, both the "manager" and "collection" classes inherit from abstract classes that handle a lot of the dirty work. The AbstractCollectionManager class is by far the smaller of the two, containing mostly convenience methods and a couple overloaded methods for gene [read] Keywords: rich text xpages database interface java properties
103


XPages MVC: Experiment II, Part 2
Thu, May 24th 2012 6:12p   Jesse Gallagher
Continuing on from my last post, I'd like to go over the collection and model structures I used in my guild-forums app. I set up the data in the Notes DB in a very SQL-ish way (in part because I considered not using Domino initially). Each Form has a single equivalent view (for the most part), which is uncategorized and sorted by default by an ID column. There is one column for each column that I want to sort by and, in the case of simple documents, one for each applicable field, containing on [read] Keywords: domino ldd lotus notes xpages database java javascript server sql
153


XPages MVC: Experiment II, Part 1
Wed, May 23rd 2012 1:07p   Jesse Gallagher
As I've mentioned a couple times, my largest XPages app to date is the site I did for my guild's forums. The forum part itself isn't particularly amazing, considering it's almost harder to NOT write a forum in Domino than it is to write one, but it gave me a chance to try my hand at abstracting data access away from the XPage. I put "Part 1" in the title because I figure it will be best to break the topic up into at least three parts: the overall idea and the result, the structure of the [read] Keywords: domino rich text script library xpages interface javascript server
114


Optimizing for the Wrong Thing
Wed, May 23rd 2012 6:13a   Jesse Gallagher
My apartment has a core logistical issue: it has two floors and the connection is a spiral staircase. This is generally fine for normal use, but it's a giant hassle when moving in or out: the building has to hire some guys to essentially dismantle the stairs to turn each step to one side so they can hoist large objects like bookshelves and beds up and down. In order to make this mildly more practical, the building decided to replace one of the upstairs windows in each apartment with a model th [read] Keywords:
142


XPages MVC: Experiment I
Tue, May 22nd 2012 3:12p   Jesse Gallagher
Now that I've had a bit of time, I've started trying out some ideas for new ways to do XPage development. Specifically, I'm trying out the "XPages as the Controller" setup I pondered last time. The general goal is this: There would be one XPage for each zone of concern (I don't know the right terminology): Posts.xsp, Users.xsp, etc. The XPage itself would have almost nothing on it - it would exist as a trigger for the server to load an appropriate Controller class, which would in turn [read] Keywords: domino xpages development server sql
188


More Musing About Controllers
Sun, May 13th 2012 6:12a   Jesse Gallagher
I've been thinking more about this MVC thing, thanks to re-learning Rails. I'm fairly convinced that moving as much code as possible out of the XPage and into wrapper objects is a big improvement (convinced enough that it feels silly that wasn't doing it already), but it still feels not quite right. Two parts of the MVC trinity are straightforward in modern Domino development: Forms and wrapper objects are the Model and XPages are the View. The Controller is where things get muddy. Off the t [read] Keywords: domino xpages application development server
139


The Language of the Platform
Thu, May 10th 2012 5:12p   Jesse Gallagher
The most recent episodes of Hypercritical and Build and Analyze discuss a new third-party iOS development environment called RubyMotion. Essentially, RubyMotion is an iOS version of MacRuby: an implementation of Ruby on top of the native Objective-C runtime, allowing programmers to write native apps in Ruby. This is similar in nature to JRuby and the like, in that the Ruby objects you deal with are real objects in the underlying platform, and you manipulate them in the same way, at near-native s [read] Keywords: domino lotusscript notes development java javascript mac server
118


Separation of Concerns
Wed, May 9th 2012 5:12p   Jesse Gallagher
A while back, I wondered about the right way to write XPages. Things have changed a bit since then - Domino has gotten a bit better, the Extension Library exists and is great, and I'm a bit more adept with the environment. The forum app, which I should probably write a post explaining one day, came together kind of like how I mentioned there - Java classes to wrap all of the Domino access, which dramatically reduced the amount of code in the XPages themselves. Still, I'm not sure I'm doing i [read] Keywords: domino xpages java properties widgets xml
127


Swapping Between JRuby Embed Methods
Tue, May 8th 2012 7:12a   Jesse Gallagher
When going about making Ruby in XPages work, I had to figure out which of the three JRuby embed methods to use: Core, JSR 223, and BSF. For my purposes, it seems like the need for BSF was obviated by JSR 223 (there are some differences, but I'm not sure they matter to me), so it's really a choice between the first two. I've tried both, and I keep swapping between them (the next beta, if things stay stable, will likely switch back to Core) and between various configurations inside them, due to [read] Keywords: xpages javascript openntf server wiki
216


A Quick-and-Dirty "$$ViewTemplateDefault" (-ish) for XPages
Thu, May 3rd 2012 6:11p   Jesse Gallagher
8.5.3 brought with it the very-handy "Display XPage Instead" property for views. It's great! That way, you can keep more of your existing URLs in old apps or just generally use cleaner ones in new apps - XPages are awesome, but ".xsp" in the URL is not. In a full-blown app, you're probably going to point each view to its own XPage containing the hand-crafted fancified version. Sometimes, though, you just want to toss a xe:dynamicViewPanel on a page and that's good enough. However, unlike [read] Keywords: domino xpages database java javascript server
138


The Greatest Domino Poster of All Time
Fri, Apr 20th 2012 5:13p   Jesse Gallagher
My company is moving out of the offices it has inhabited for... longer than I've been alive, basically. During this move, we've had plenty of opportunities to come across relics of its past form as an instructor-led training location: old courseware, ancient versions of Windows, NetWare, and Notes/Domino (from before it was Domino), and some priceless marketing materials. Some of the posters we've found are worth a good chuckle or two (a NotesMail poster boasting "Finally, a mail system you [read] Keywords: domino ibm lotus notes notesmail exchange exchange server wiki
204


LotusLearns did a poor job copying my post
Fri, Apr 20th 2012 5:13p   Jesse Gallagher
So apparently, this site LotusLearns has been re-posting quite a few Lotus blogs without permission, and my recent Ruby action plan post made the cut. It's bad enough to see my post aggregated without permission and plastered with ads that don't make me any money, but it's even worse that the replica of the post is thoroughly corrupt. For one, it leaves of the "S" in the opening "So". Additionally, the XSP markup I posted is passed through to the browser unencoded, leaving a bunch of bla [read] Keywords: lotus ntf xpages
161


Arbitrary Scripting Languages in XPages
Thu, Apr 19th 2012 7:12p   Jesse Gallagher
I think I've settled on JSR 223, the generic "Scripting in Java" specification, as the likely best way to embed Ruby. It seems like the "correct" way to do it and generally the cleanest. I don't like the notion that the way to customize the runtime is by setting system properties, so I'm still a little wary, but it'll do for now, in any event. The side benefit of JSR 223 (and this would be true of BSF as well) is that it supports a crapload of languages, and it does so in a very unified [read] Keywords: xpages java openntf properties server wiki
35


An Action Plan for Ruby-in-XPages
Fri, Apr 13th 2012 8:12a   Jesse Gallagher
[read] Keywords: xpages
115


Wherein I Go A Tad Insane
Wed, Apr 11th 2012 6:12p   Jesse Gallagher
A bit of conversation earlier about Rails set my brain onto a disastrous course. Since I've been doing so much with Ruby lately, it's only natural to have the question of whether anything can be done related to Rails hovering nearby at all times - Rails brought Ruby to prominence and is itself an amazing piece of software with a lot to teach. It's not, however, a natural fit for Domino - Rails, to my knowledge, wears its SQL proudly, and any attempt to use Domino as a backing data source woul [read] Keywords: acl domino ibm ntf xpages database eclipse java server sql websphere xml
165


Making A Project Out Of The Blog and Ruby
Tue, Apr 10th 2012 5:12p   Jesse Gallagher
Now that I have the blog in Domino and acting as an accelerating incubator for Ruby-in-XPages (man, I need a better name for that), I decided I may as well put 8.5.3's filesystem synching to good use and put the whole thing up on GitHub with everything else: https://github.com/jesse-gallagher/frostillic.us-Blog I've also started keeping a todo list in the README file there with my notes and future plans for the blog, the Ruby runtime, and a tentative "Misc" section. As for the interpreter [read] Keywords: domino notes xpages application server
151


File Under "Man, I Hope Designer Still Works After This"
Sun, Apr 8th 2012 4:12p   Jesse Gallagher
Well, I think the new blog has gone relatively smoothly, other than my accidental re-posting of my SQL-migration post (which oddly seems more popular than its first run, just one day earlier). That means it's time to get started on the next phases. Other than the mundane setting-up-a-blog stuff like implementing search and proper draft posts, I have a lot of work to do surrounding my Ruby bindings. Since I'm going to eventually want Ruby "script libraries" and other handy non-inline uses, I [read] Keywords: domino eclipse sql vm
163


Import from SQL to NSF: It's So Easy!
Sat, Apr 7th 2012 9:12p   Jesse Gallagher
I decided I should probably finally get around to moving this blog from WordPress to Domino, if for no other reason than to have a perfect testbed for the weird stuff I've been doing lately. The first task is to write an importer, so I decided to just do a straight SQL rows -> Domino documents import. This couldn't be easier if you follow this simple guide: Write a Java agent that uses the appropriate JDBC connector for your database. In my case, it's MySQL, so I had it do a "show tabl [read] Keywords: agent domino database java mysql sql
108


Making the Dogfooding Switch
Sat, Apr 7th 2012 9:12p   Jesse Gallagher
I've finally done it: I've switched my blog over to Domino. I did it for a couple reasons: To silence the voice in the back of my head constantly saying "why are you using WordPress? You're a freaking web programmer! Write your own!" To put my Ruby-in-XPages code through its paces in the way only a live site can. I've already had to fix a couple holes in my Ruby adapter, mostly revolving around the fact that I haven't bothered to properly handle serialization and JSF's StateHolder in [read] Keywords: domino notes notes client xpages blogging javascript
140


Import From SQL to NSF: It’s So Easy!
Fri, Apr 6th 2012 6:13a   Jesse Gallagher
I decided I should probably finally get around to moving this blog from WordPress to Domino, if for no other reason than to have a perfect testbed for the weird stuff I've been doing lately. The first task is to write an importer, so I decided to just do a straight SQL rows -> Domino documents import. This couldn't be easier if you follow this simple guide: Write a Java agent that uses the appropriate JDBC connector for your database. In my case, it's MySQL, so I had it do a "show tabl [read] Keywords: agent domino database java mysql sql
107


Ruby-in-XPages is Inching Towards Practicality
Wed, Apr 4th 2012 7:12p   Jesse Gallagher
I've made some more encouraging progress today in my quest to be able to actually use Ruby when doing XPages development. I implemented method binding (as opposed to just value binding) and found a way to shim in the interpreter so that Ruby can be used for early events like beforePageLoad. The revised code is up on my GitHub profile: https://github.com/jesse-gallagher/Domino-One-Offs That last part was kind of tough - I found structures for custom Application objects in the XSP Starter Kit, [read] Keywords: domino xpages application development java javascript openntf profile properties server xml
86


#{ruby: ‘it’s a start’}
Tue, Apr 3rd 2012 5:13p   Jesse Gallagher
Oh man, I think this might actually work. Feeling adventurous this evening, I decided to look into the XPage runtime's expression language handler. After poring through tons of methods, interfaces, implementation classes, EXTENDED implementation classes, and disparate JARs, I narrowed the prefix handler down to the "FactoryLookup" property of the IBM-specific variant of facesContext's Application. With that, which is basically a hash, you map a prefix to a handler factory (it's always facto [read] Keywords: domino ibm application java
120


Putting the Domain Catalog to a Bit of Use
Tue, Apr 3rd 2012 11:13a   Jesse Gallagher
Since I kind of backed my way into Domino development and administration, there are a number of areas of the server's functionality that I'm either unfamiliar with or casually brushed off as unreliable or not overly useful. The Domain Catalog is one such area: I've been vaguely familiar with it, but have never bothered to tend to it or use it to solve problems. Fortunately, a problem it's perfectly suited to fell into my lap. In an overarching administration database, I want to get from a d [read] Keywords: admin administration dblookup domino database development properties server
96


What Makes the Hassle Worthwhile
Mon, Apr 2nd 2012 8:13p   Jesse Gallagher
I've been toying with my Ruby servlet a bit this evening and it didn't take long to start having some fun. For example, here's a snippet from a page I'm building with Markaby, which is an aging little library that makes building HTML pages declaratively a cinch: $database.views.sort { |a, b| a.name b.name }.each do |view| li { a view.name } unless view.name =~ /^\(.*\)$/ end That prints out the names of all the non-hidden views in the database, sorted alphabetically, inside an HT [read] Keywords: agent database java javascript server
165


My Recurring Ruby/Domino Dream
Sun, Apr 1st 2012 4:11p   Jesse Gallagher
As is no doubt clear by now, one of my obsessions when it comes to Domino is trying to make my programming life better, and one of the best ways I can think of accomplishing that is if I can make it so I can program in Ruby instead of one of the godforsaken languages natively supported. In general, my attempts towards this goal have fallen into three categories: Accessing Domino from Ruby as one might a normal database. The very-much-in-progress fruit of this is my Domino API for Ruby projec [read] Keywords: agent domino dxl ibm notes rich text xpages database eclipse java password properties server
135


In Between My Project and XPages
Thu, Mar 15th 2012 1:13p   Jesse Gallagher
Despite my grousing about the state of programming for Domino in general and Designer in particular, I'm still mostly a fan of XPages. I use it for my guild's web site and pretty much every new project at work. However, I haven't been able to crack migrating my main work database template over. Without getting too much into it, the point of the template is to create one database per project to act as a project web site listing online events with arbitrary registration forms and exit evaluati [read] Keywords: domino dxl notes notes client rich text rich-text xpages database java javascript server
143


Basic Eclipse Plugin Installation in Designer
Thu, Mar 15th 2012 12:12p   Jesse Gallagher
Since Domino Designer is based on Eclipse, one of the nifty advantages is that you can use some of the same plugins as vanilla Eclipse. That "some of" is a big caveat, since Designer's base isn't the latest Eclipse, so some plugins won't install, won't work, or will even cause Designer to stop launching until you manually remove them. So... proceed with caution. The first thing you have to do is to enable Eclipse plug-in installation, which is something you've likely done if you've inst [read] Keywords: domino application eclipse vm workspace
102


Quality of Life: Eclipse Color Themes
Sat, Mar 10th 2012 5:12p   Jesse Gallagher
Well, this is a nice quality-of-life improvement: the plugin Eclipse Color Themes, which (so far) works just fine in Designer (8.5.3). Having to go through every single editor type and manually pick each color for each code element every time I wanted to change a color theme was always a huge annoyance, particularly compared to other editors. Fortunately, that plugin handles it pretty well, though it unsurprisingly doesn't support LotusScript, so that's still manual. I installed it without pro [read] Keywords: domino lotusscript eclipse
112


How I Want To Use Domino
Wed, Mar 7th 2012 9:11a   Jesse Gallagher
From my perspective, there are three main problems with Domino: the limits, the client, and the server. Now, that's a lot of stuff... most of the product, in fact. However, the facts that I'm still programming for it and that my company's 16GB project-tracking database is as snappy as it was when it was empty attest to the core quality of the product. Off the top of my head, I can think of a number of things that make Domino salvageable: Reader fields. These are hard to beat and hard to fi [read] Keywords: domino ibm xpages database integration java javascript password security server sql wiki
93


Some Niceties of Implementing a Notes API
Mon, Feb 20th 2012 6:11a   Jesse Gallagher
There are a couple things about writing my Ruby wrapper for the C API that make it particularly fun, mostly related to getting to add abilities that I desperately wish were there in the normal APIs. Ruby-style (forall) looping. Anyone who has iterated over a NotesDocumentCollection knows the drill: set a variable to the first element, start a while loop, and make sure to set the variable to the next one at the end. Writing it one time isn't so bad. Writing it hundreds of times, though? It ge [read] Keywords: dxl ldd lotus notes rich text database java
114


Started Work on a Ruby Wrapper for the C API
Wed, Feb 15th 2012 6:13p   Jesse Gallagher
As I had mentioned before, I've been tinkering about with the Domino C API, specifically with Ruby. Although I'm not sure I'll actually have a use for it (from what I can tell, the C API is very tied to ID files and threads, which would make a multi-user web server thing cumbersome), I've decided to go for it and write a wrapper for the API generally based on the Java/LotusScript API. This is serving a number of purposes: It gets me off my (metaphorical) duff and in front of a text editor [read] Keywords: domino lotusscript java server wiki
142


This Dynamic View Customizer Is Getting Into Shape
Mon, Feb 13th 2012 8:12a   Jesse Gallagher
Since last week, I've made two nice improvements to my dynamic view customizer: I added some support for twistie images when the referenced DB is on the same server. The code assumes that the referenced images are image wells with at least two entries, but I can't imagine why that wouldn't be the case in practice. I vastly improved my handling of color columns. Previously, I had been resorting to hacky methods like hidden s read by JavaScript or surrounding s styled to take up the whole c [read] Keywords: domino css java javascript server xml
255


Enhancing xe:dynamicViewPanel For My Own Purposes
Thu, Feb 9th 2012 7:11a   Jesse Gallagher
I think I have my view rendering problem licked. To recap, I've been working on a way to show views in XPages that met a couple requirements: Entirely dynamic. Since this will be for a combined reporting site that will show views from customized project databases of wildly varying needs, I couldn't make any assumptions about view layout, categorization, or content. It should pull as much display information from the view design as possible. Fast. Some of these views have thousands of rows, [read] Keywords: domino dxl ibm ldd lotus notes notes client xpages database java javascript xml
169


Formatting View Content on the Web
Wed, Feb 1st 2012 8:11a   Jesse Gallagher
My current work project involves displaying arbitrary views from various databases into a combined reporting site (written in XPages). This has presented me with two hurdles: pulling in the data completely and accurately and then figuring out a good way to format it. The former problem is one of the few areas where it seems like "classic" Domino development has an edge: views render rapidly and, as long as you've configured the server to display lots of rows or add in pager controls, complet [read] Keywords: domino dxl ibm notes xpages css development dojo java server
147


Getting My Feet Wet With Ruby and the Domino C API
Thu, Jan 26th 2012 2:13p   Jesse Gallagher
My search for a useful way to use Domino as a database back-end for a Ruby front-end has continued and, more specifically, has continued to be difficult. I gave a shot to the Java CORBA API. Initially, that went well: after grabbing NCSO.jar from my Designer installation, enabling DIIOP on the server, and setting up JRuby, I was able to connect to the server using the host name, canonical user name, and password. Great! However, once I exported my app's Java model classes (modified to use Note [read] Keywords: domino lotusscript notes notes client R5 database development java password server
122


A Couple Handy Domino Java String Utils
Wed, Jan 25th 2012 10:12a   Jesse Gallagher
As most developers probably do, I have a grab bag of "utility" functions/methods I use across various projects, and I figured I'd post a few of the handier ones. The first is a basic XML-encoding function that just takes a string and returns something suitable for putting into an XML or HTML file. I've been too lazy to figure out if the standard Java library has an equivalent that doesn't involve creating an actual XML document in memory, so I just took the one I use for LotusScript and po [read] Keywords: domino lotusscript notes java xml
97


Confound It; That’s Two APIs Down
Sun, Jan 22nd 2012 9:13p   Jesse Gallagher
In the interests of getting crap done, as soon as I was finished with my previous post, I fired up TextMate and a couple Terminal windows to start writing a Ruby wrapper for the DAS API. It started out great! Wanting to avoid the minor hassle I ran into before with Ruby's built-in Net::HTTP library, I did a quick search for Ruby HTTP/REST libraries and picked one that worked well, named HTTParty. Before long, I had the rudimentary elements of a Notes API working, with classes to represent the [read] Keywords: domino notes xpages database java server sql xml
98


More Idle Complaining About Designer
Sun, Jan 22nd 2012 8:12p   Jesse Gallagher
As more and more of my Domino development has been with XPages, my databases have filled up with XPages, Custom Controls, and Java design elements. However, the more I use these, the more of a pain Designer becomes. It gets into its head on a regular basis the notion that it needs to recompile every single such design element - when I open the app in Designer (whether or not it was "greyed out" in the sidebar from before), whenever it "forgets" that I have it set to Automatically Recompile a [read] Keywords: domino xpages bug css database development exchange exchange java javascript office server sql
120


Keychain DB: Very Rough First Script
Sun, Jan 15th 2012 3:12p   Jesse Gallagher
I've had a chance to start on my Keychain project from last week, enough to put together a thoroughly rough and unmaintainable script to do the uploading. It has all kinds of horrible properties: it doesn't do the Keychain dump itself (instead reading from a hard-coded file containing a keychain dump from the "security" tool), it doesn't abstract away any of the Domino DAS access, it doesn't check for existing versions of the items, it doesn't handle field data types properly, and it even [read] Keywords: domino database properties security
91


A New Personal Project With Keychain and DAS
Wed, Jan 11th 2012 6:11p   Jesse Gallagher
With Apple's transition to iCloud, they're getting rid of Keychain sync. This is too bad, since that was one of the MobileMe features I actually used, loved, and never had problems with. Fortunately, all is not lost: worse comes to worse, I can pick up a copy of 1Password, which has the advantage over MobileMe of being cross-platform. But I'm a programmer, right? Why buy something - especially for $50+ - when I can just write something myself? My needs at the moment are fairly simple - I onl [read] Keywords: domino notes apple database mac password podcast security server
104


So here’s a strange new problem in my XPages forum app
Thu, Dec 29th 2011 8:10p   Jesse Gallagher
The other day, I set out to put some work into my guild's forum site. Immediately, though, I noticed that the main forum page was taking significantly longer to load on my development server than on my production server. Specifically, it was taking about five minutes to load, as opposed to about a second. That seemed... problematic. Looking at the profiler, I saw that the page was somehow making 38 million calls to Document.UniversalID, which was slightly out of proportion to the two forums lis [read] Keywords: xpages development interface java server
124


Pondering RSS Syncing
Wed, Nov 23rd 2011 11:13a   Jesse Gallagher
I was listening to the latest episode of Build and Analyze on the way home from work yesterday and, as I am wont to do, I started yelling at my iPhone when they started talking about Google Reader and the difficulty of syncing. Admittedly, at the end, they got to the fact that, even if you could do it technically, it'd be tough to make money off of providing an RSS sync server. That part is fair enough, but I still can't let the technical difficulties stand, and I've been thinking more about [read] Keywords: agent domino notes database google iphone server
86


That Counts as Progress
Tue, Nov 22nd 2011 3:28p   jesse
A while back, I described the problem I'm having in my guild-forums XPages app, which is that it very easily gets its environment out of whack, to the point where changing any design or data note from outside the XPages environment caused an "X is incompatible with X" ClastCastException. This improved gradually over time. At some point in 8.5.2, I started being able to modify data documents again without the problem. When 8.5.3 came out, it improved again: I can now replicate over changes fro [read] Keywords: ibm xpages application development eclipse java properties server
172


That’s Weird
Wed, Nov 9th 2011 7:35a   jesse
Yesterday, I started working on a small sidebar widget app using an XPage, after finding out that XPages can now (as of 8.5.3) be used in the Notes sidebar in the same way that Forms could before. It's quite a simple page, very Twitter-like: one text input field and then a list of posts. However, even though it's very simple, I ran into two annoying bugs quickly. The first of them is a Schrödinbug. I set up some code in the "onClientLoad" event to start a setInterval to do a partialRefres [read] Keywords: notes xpages bug css firefox javascript security twitter widget wiki
253


Trying To Escape From Designer
Tue, Nov 8th 2011 9:14a   jesse
Though I've grown to more or less enjoy writing Domino applications, I always feel like this is in spite of the tools, namely Designer. In a lot of ways, Designer has improved significantly over the last couple versions: as long as you ignore the speed, the Eclipse-ified Java and LotusScript editors are miles ahead of the antiquated previous ones, and it's handy to be able to switch to the Java perspective. However, so much else makes it a drag: It's a Windows app. I use a Mac, so there's [read] Keywords: domino dxl ibm lotusscript notes notes client nsd xpages applications database eclipse java mac server xml
114


So Here’s Why I Hate LotusScript
Sat, Oct 29th 2011 10:44a   jesse
For the most part, writing agents in LotusScript is the best way to go (at least when it can't be done in formula language), mostly for smoothness of interaction with the built-in libraries (no .recycle()) and because it's less prone to running into memory problems when other agents go wonky than Java agents are. That doesn't mean I have to like it, though. If there's one thing that drives me nuts about LotusScript more than any other aspect, it's its handling of arrays. This came to the f [read] Keywords: domino formula language lotusscript java
113


Sync
Tue, Oct 25th 2011 6:52p   jesse
So there's a new round of talk lately about syncing and the trouble involved, thanks to some changes in Google Reader's behavior and the desire to find a new safe haven for RSS syncing. The best example is, unsurprisingly, from Brent Simmons: Google Reader and Mac/iOS RSS readers that sync However, the whole time I was reading this article, my brain kept yelling at me, louder and louder as time passed: This is Lotus Notes! The system you're describing is Lotus Notes! It does syncing and de [read] Keywords: domino lotus notes notes client database google mac server
125


The Domino Data Service
Wed, Oct 5th 2011 7:22a   jesse
Though I don't have a use for it currently, I can't help but get kind of excited about the Domino Data Services in 8.5.3 and the Extension Library. If you're writing a normal Domino application - using either legacy elements or XPages - you probably won't have terribly much use for it. However, the really cool aspect of it is that it significantly smooths the process of using Domino as a backing data store for another front end written in PHP, Ruby, or anything else. This has always been so [read] Keywords: domino ibm xpages application java openntf password server
98


My next two favorite features of 8.5.3
Wed, Oct 5th 2011 5:07a   jesse
Since 8.5.3 has been out for about 24 hours now, I naturally rolled it out on both my development and production servers. Fortunately, my irresponsibility was greatly rewarded: the largest problems I've had so far were a change in the way Java classes are accessed in JavaScript (I could no longer just call methods on non-public classes defined in the same file as a public one, so I had to split them out into their own files... which is what you're supposed to do anyway) and a minor CSS change [read] Keywords: agent domino ibm notes css database development dojo java javascript properties server
89


My Favorite Minor Feature in 8.5.3
Wed, Sep 28th 2011 3:23p   jesse
I don't have access to the beta versions of new Notes/Domino versions, so I haven't been able to tinker around with all the cool new things that are slated to appear in 8.5.3, but that hasn't stopped me from getting pretty excited about some of them. The big-ticket items are clear: the new Domino Data Services and relational database access (through the Extension Library, which may as well be standard) could make practical very different ways of using Domino either as a standalone data source [read] Keywords: domino notes database exchange exchange
97


Getting Domino LDAP to Work for Authentication
Thu, Aug 25th 2011 1:23p   jesse
Recently, I've been toying with the idea of setting up a couple extra services on my guild's Domino server - voice chat, non-Sametime chat, what have you - and I figured I should give a shot to LDAP authentication with the Domino directory for these. However, this is something I've never done, and the documentation is a little rough - most LDAP info on the web refers to non-Domino servers, while most Domino-specific information was written in about 1996. I'll leave out the depressing detail [read] Keywords: domino sametime archive linux server
158


.recycle() in Back-end Java Classes in XPages
Tue, Aug 2nd 2011 11:12a   jesse
Though most of my Domino programming has been done in LotusScript (since it's one of the two "real" Domino languages), I had worked with Java here and there before diving into XPages, at least enough to know about recycle(). recycle() is a strange beast, a visitor from a non-memory-managed language popping up inside a famously memory-managed one. I get, conceptually, why it exists - since Lotus doesn't control the Java object lifecycle, Domino can never know when an object is garbage collect [read] Keywords: agent domino ldd lotus lotusscript xpages bleedyellow bleedyellow.com database java oracle




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