329 Lotus blogs updated hourly. Who will post next? Home | Downloads | Events | Jobs | Twitter | Bookmarks | Pods | Blogs | Search | myPL | About 
 
Latest 7 Posts
locating XPage components with XspQuery
Sun, Apr 14th 2013 247
your how is not your what
Wed, Apr 3rd 2013 356
Developer2013 and IamLUG
Mon, Apr 1st 2013 196
my new favorite quote
Sat, Mar 23rd 2013 327
Taking the scary out of Java in XPages: fixing the API
Thu, Mar 21st 2013 236
Taking the scary out of Java in XPages: knowing the entry points
Sat, Mar 2nd 2013 408
Taking the scary out of Java in XPages: Prologue
Tue, Feb 26th 2013 349
Top 10
I have seen the future, and it is phabulous
Sat, Dec 8th 2012 677
SSJS is a crutch
Fri, Feb 22nd 2013 671
the next step in the journey
Wed, Jan 9th 2013 646
org.openntf.xsp.extlib
Mon, Jan 21st 2013 530
Needle in the Stack Part 2: talk to data, not to components
Thu, Jan 17th 2013 431
Passthru vs. component - my perspective
Sat, Feb 16th 2013 415
Taking the scary out of Java in XPages: knowing the entry points
Sat, Mar 2nd 2013 408
your how is not your what
Wed, Apr 3rd 2013 356
Taking the scary out of Java in XPages: Prologue
Tue, Feb 26th 2013 349
fasten your seat belt, Dorothy
Thu, Oct 11th 2012 331


DIY
Tim Tripcony    

B&W Hammer
In lieu of a review of Lotusphere 2011, which would likely just repeat much of what many of you have already seen elsewhere, I'd like to explain an upcoming shift in the focus of this blog. While for years I've tried to stay true to the site's title - "Tip of the Iceberg" - by posting primarily a quick look at concepts that I feel have the potential to have a huge impact, rather than attempting to exhaustively illuminate the entirety of each, of late I have observed that the bulk of my posts have arguably centered around a single common theme. This theme, unsurprisingly, mirrors the comparatively recent shift in the nature of my work at GBS. Until midway through Lotusphere, however, I hadn't boiled that theme down to a single acronym; now I have: DIY.
 
The term DIY ("Do It Yourself") is typically applied to home improvement projects, like remodeling your own bathroom without hiring someone else to do it for you, the self-construction of custom electronics, and so forth. Reflection upon how I have spent my time since my last trip to Orlando, and what I have been speaking and writing about during that time, revealed an unmistakeable parallel between my professional focus and some of the principles of the DIY movement.
 
Following last year's conference, I noticed that I was not alone in complaining to IBM that there was no debugger for XPages, but nobody was actually doing anything about it... we were all just waiting for IBM to give us one. So Nathan and I wrote one. And gave it away for free. 8.5.2 broke it (primarily because the way we designed it turned out not to be as forward-compatible as we would have liked), but that will soon change.
 
Since April, literally every line of code I have written at work has been part of an Eclipse plugin or a custom XPage component, or part of a larger product that relies very heavily upon both. This product was originally inspired by an observation that many were complaining about the lack of a rapid and easy way to move to XPages while still leveraging a longstanding investment in previous custom application development, but nobody was doing anything about it. So we did something about it. That something won the CTO award last week.
 
For years, I've heard others complain (and complained myself) about the lack of young attendees at Lotusphere, but every year, nobody did anything about it. So, while I personally had nothing to do with the "GROUP College" initiative, I was extremely proud last Monday to be a part of the organization that facilitated the attendance of 500 college students for the first full day of the conference. Time will tell whether the phrase on the shirt each of them was wearing - "the future of Lotus" - turns out to be true, but at least somebody finally did something, instead of just complaining and waiting for someone else to take the initiative.
 
Should IBM have done each of these things for us? Maybe. But what kind of "partner" would we be if we didn't meet them halfway? If all we did was stand off to the side and tell them what to do, then bash them for not doing it fast enough, we're not a partner... just a critic.
 
An old adage states that, "if you want something done right, do it yourself". I disagree. If IBM were to release their own debugger for XPages, for example, I have little doubt that it would be superior to what we created with Medusa. Additionally, that adage flies in the face of the focus of our Experts division (of which I was, until April, a member), demonstrably one of the best Lotus-centric consulting teams on the planet. Closer to the truth, in my opinion, is: "if you want something done on your own terms, do it yourself". Nathan occasionally reminds us in the office that another common saying does not apply to us: "you can have it good, fast, or cheap, but you can only pick two". In our organization, individual and collective standards dictate that, if we're going to do it, "good" is mandatory, so the only variables available for negotiation are "fast" or "cheap". Hence, if a customer wants fast and cheap at the expense of good, those are terms that dictate that the customer should probably just do it themselves. 
 
When dealing with IBM, fast is often simply not an option. They are well aware of this, and in recent years have taken significant steps - at least, as far as Notes and Domino are concerned - to empower us to bridge the gap between our desire for a given feature or fix and the timeframe in which they will be able to implement it. The two most significant, in my opinion, are the porting of the Notes client and Domino Designer to Eclipse (allowing us to write plugins that implement features we wish were already part of the product) and the addition of the Extensibility API to the XPage runtime framework (allowing us to write custom components that we wish were already part of the product). In the latter example, this is bolstered by the open source Extension Library, which not only shows us powerful examples of how to extend the platform, but provides us useful, functional extensions to the product that (in most cases) will eventually become part of the core product... but IBM has chosen to make them available to us now, instead of having to wait to use them until they have gone through the rigorous process necessary for making them officially supported features of the platform.
 
Even this has been spun to somehow be a net negative: IBM is too lazy to implement what we want, so they spend all their time turning the platform into an avenue for others to do their job for them. But despite what Microsoft's marketing team would have us believe, Domino still has a very large customer base. IBM has a huge amount of people to keep happy. In, like, 73 languages. If they constantly tried to cater to every blogger's personal preferences, how stable would the platform be? How rapidly would it advance? And how many end users without heavily trafficked blogs would they piss off in the process? Wouldn't it be better if we proved ourselves to be the cream of the crop that we'd like our readers to believe we are by contributing actual solutions instead of just bitching?
 
For the record, I cut admins a lot of slack in this area. For instance, there's precious little that Marie Scott can do about the stability of Domino's IMAP stack. She doesn't have the option of just fixing it herself. All she can do is keep that issue on IBM's radar until they do something about it, and she has been quite diligent in raising awareness of the need for something to change. Besides, she and Tom Duff did something that most of us only bitch about: there aren't enough books about Lotus products, so they actually wrote one (BTW: in the coming weeks, you'll be hearing about another book that's in the works... one that I'll be co-authoring). But, again, in general I don't mind admins complaining about missing features or stability issues: IBM needs to address those for them. But those of us who are developers that have individual pet peeves frequently have the power to address those pet peeves ourselves, and very few of us do.
 
In that vein, I'd specifically like to call attention to one member of our community for whom I harbor an enormous amount of respect: Declan Lynch. When XPages first hit the scene two years ago, he didn't cling to the old ways of doing things, or mock those who were excited about the biggest evolution in Domino development in a decade. He dove right in and explored the new features... and took us along for the ride, composing what remains to this day the most epic saga freely available on the journey of learning XPage development. With his excellent OpenNTF projects xTalk, fileSendr, and the new version of Blogsphere, he's provided the community functional examples of some of the amazing things that XPages can do that were difficult, hacktastic, or just plain impossible in previous versions of Domino.
 
While I'm on the topic of Declan's involvement with OpenNTF, I'd like to specifically call attention to something that I feel, in retrospect, I responded to poorly last year. As OpenNTF was making changes to how donated source code was stored and distributed, primarily in an attempt to shield project authors, project consumers, and the site itself from potential litigation due to unclear licensing terms, Declan identified something about their proposed implementation that he didn't like. So he got all up in their grill about it. At the time, I viewed his response purely as counter-productive negativity. That couldn't have been further from the truth. He had constructive, tangible, and feasible suggestions to offer. So OpenNTF made some changes in an attempt to address his concerns. Was the implementation of those changes perfect? Maybe not. But Declan single-handedly prompted that change of direction by contributing feedback that wasn't just bitching: he offered a specific suggestion for what should change. I respect that.
 
Events of recent months have brought into sharp focus for me the gaping void between that approach to dissatisfaction and the decision to simply criticize with nothing constructive or useful to offer. As previously mentioned, there aren't enough books about Lotus products; how many have you written? Not enough young people know about Domino; how many have you introduced to the platform or brought to Lotusphere? Too many people think Notes is ugly; how many have you shown the current version, or an application that exemplifies how beautiful a Notes app can be? Designer doesn't include every feature we wish it did; how many have you added by writing plugins to implement those missing features? Similarly, the core XPage runtime doesn't include every component that would be useful in a Domino application; how many of those missing components have you developed?
 
This theme was the entire reason I asked Maureen to co-present with me. It drives everything I do at GBS. And, while I hope this post doesn't rescind my status as "the only nice guy at GROUP" (yes, for those of you participating in the group chat that has of late devolved into a "let's bitch about GROUP" chat, you do have a mole... but I'm not going to Valerie Plame him), I will not apologize for any success that our organization may occasionally experience as a result of taking the initiative to do what others just bitch about. I'm proud of the contributions we've already made due to our management's willingness to invest in our "so crazy it just might work" ideas. I'm proud of the contributions I personally make to our own products and, hopefully, even IBM's products. Even if you resent the success of our organization and, by extension, resent me for being a member of it, I will not apologize for making a personal, and repeated, decision to stop bitching and start doing. Yes, for those of you who saw a few people wearing that shirt last week, it was my idea. As this post has no doubt by now made clear, I am extremely passionate about this.
 
But make no mistake: I am not telling you what to do. A previous paragraph contained question marks and not exclamation points for a reason. Your response to any dissatisfaction you might have is entirely your decision and there is nothing I can do to influence that decision. The purpose of this post has been to explain why you're likely to see me using #DIY frequently as a tag - both on blog posts and on tweets. So if I start to post examples of how to tweak Designer to make it do what I want it to do, I'm going to tag those posts #DIY. Similarly, if I continue to post examples of writing custom XPage components that I feel provide features that are missing from the core XPage runtime, from now on, I'm going to tag those posts #DIY. And... if I see a tweet asking why some open source project is missing some feature, and my response is: "it's open source #DIY"... now you know why.


---------------------
http://xmage.gbs.com/blog.nsf/d6plinks/TTRY-8DTCLD
Feb 06, 2011
150 hits



Recent Blog Posts
247


locating XPage components with XspQuery
Sun, Apr 14th 2013 12:00a   Tim Tripcony
Several years ago, I wrote a utility Java class designed to make it easy to search for components within the current XPage instance based on various criteria. I've found it enormously useful, and, apparently, so has Keith Strickland, because he added it to org.openntf.xsp.extlib, complete with a few refinements. As an example of how you might use this, examine the following line of code: List requiredFields = new XspQuery() .addInstanceOf(UIInput.class) .addEquals("required", true) .loc [read] Keywords: ldd lotus dojo java javascript openntf oracle server
356


your how is not your what
Wed, Apr 3rd 2013 11:36a   Tim Tripcony
I've noticed a pattern emerging when I'm asked for help with XPages. Here's a representative conversation: "I'm trying to do [X] and it's not working. How can I do that?" "What are you trying to accomplish?" "I already told you. I'm trying to do [X]." "No, that's how you're trying to do it. What are you trying to do?" For example, replace "[X]" with "reach into a repeat control from outside it" (since this has become the most frequent topic I'm asked about [read] Keywords: xpages application
196


Developer2013 and IamLUG
Mon, Apr 1st 2013 7:33a   Tim Tripcony
I will be presenting at two upcoming conferences, Developer2013 and IamLUG. Developer2013 will be held at the MGM Grand in Las Vegas April 30 to May 2, and is organized by THE VIEW. I will be presenting the following sessions: Doing more with less code in XPages "Work smarter, not harder." We're all expected to, but are rarely told how. In XPages, however, we have many opportunities to do precisely that. This session will equip you with techniques for writing less code to achieve th [read] Keywords: domino lotus notes notes client xpages application applications desktop development facebook interface laptop linkedin mobile twitter
327


my new favorite quote
Sat, Mar 23rd 2013 5:20p   Tim Tripcony
"We go about our daily lives understanding almost nothing of the world. We give little thought to the machinery that generates the sunlight that makes life possible, to the gravity that glues us to an earth that would otherwise send us spinning off into space, or the atoms of which we are made and on whose stability we fundamentally depend. Except for children (who don’t know enough not to ask the important questions), few of us spend much time wondering why nature is the way it is; where the [read] Keywords: wiki
236


Taking the scary out of Java in XPages: fixing the API
Thu, Mar 21st 2013 4:00a   Tim Tripcony
Suppose you had a motivation to learn a new spoken language. As an example, let's imagine that you live in the U.S., but your job requires you to occasionally visit Paris, so you've decided to learn French. But you're not planning to move there, just spend a week there every couple months. So you don't want to learn the entire language, just enough to facilitate basic interaction whenever you're there. So you briefly considered taking a semester-long course at a local community college, but [read] Keywords: domino ibm lotus lotusscript notes xpages application best practice community css database google java openntf oracle twitter wiki
408


Taking the scary out of Java in XPages: knowing the entry points
Sat, Mar 2nd 2013 3:02a   Tim Tripcony
Before we dive in to this first topic, I should mention Declan's series, "XPage Java Roots". Declan has been shifting more of his code to Java, so just as he did with his epic "Learning XPages" series, where he documented his initial experiences with XPages itself, he is now documenting his experience of learning how to take advantage of Java in XPage development. It's a safe bet that this series will be a very useful reference, so whether or not my own perspective on this topic prov [read] Keywords: admin agent domino ibm lotus lotusscript notes script library xpages application applications database development eclipse interface java javascript oracle server wiki xml




349


Taking the scary out of Java in XPages: Prologue
Tue, Feb 26th 2013 9:50p   Tim Tripcony
The discussion following my last post made stark the need for greater availability of information that makes the nature of Java more accessible to Domino developers. Credit for the title of this post goes to Declan, who is considering writing a series of blog posts on this topic. I will be doing the same; hopefully there will be a fair amount of duplication. As David Leedy is fond of stating, it's a good thing when several people share the same information, because that makes it easier for the [read] Keywords: domino xpages application java
671


SSJS is a crutch
Fri, Feb 22nd 2013 10:50p   Tim Tripcony
I've been debating for quite a while whether I should write this post. It obviously makes a potentially controversial statement. A fellow developer who knew I was drafting it put my hesitance into perspective: "you really want to be that guy?" This was my response: I want to be the guy who saves people pain. But sometimes to do that, you have to tell your friend if she wants to stop being punched in the face, she needs to leave the guy who keeps punching her in the face. This post is ju [read] Keywords: agent domino formula language ibm lotus lotusscript notes xpages applications development java javascript openntf wiki
415


Passthru vs. component - my perspective
Sat, Feb 16th 2013 9:40p   Tim Tripcony
Paul Withers posted a thorough article explaining the differences between namespaced XPage components (e.g. ) and their corresponding passthru elements (e.g. ), providing numerous examples of what actually happens when these objects are constructed. I've always heard (and often repeated) that passthru elements are more efficiently processed than their namespaced equivalents, so Paul's post inspired me to offer my own perspective. Simply put, there's practically no difference... but there a [read] Keywords: acl domino xpages application development properties security
530


org.openntf.xsp.extlib
Mon, Jan 21st 2013 5:20a   Tim Tripcony
About 18 months ago, I created an OpenNTF project called Community Control Library. The fundamental reason for creating the project was my belief that the single factor keeping the Domino community from realizing the true potential of the platform is the assumption that the XPages Extension Library is the extension library, not an extension library. Let's briefly revisit its history: IBM starts an internal project, code named "Porus" (in reference to the Greek / Roman god of plenty), inte [read] Keywords: domino ibm notes policies xpages application applications best practice community development openntf wiki




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