Andrew Pollack's Blog

Technology, Family, Entertainment, Politics, and Random Noise

XPages continues to impress the heck out of me

By Andrew Pollack on 06/17/2008 at 03:27 PM EDT

So today I'm taking a pretty deep dive into XPages development as it currently exists in the Domino Designer 8.5 Beta. What continues to impress me is the success of Phillipe and Maureen -- and of course their entire teams -- at integrating the things learned in the process of building newer things like Portal with Maureen's unrivaled depth of understanding when it comes to the root core problems we struggle with in Domino and Notes development. There are dozen or so places as you get deeper and deeper into doing development with XPages where you realize "oh, that's what ______ should have been!"

For example, the idea of a "Custom Control" is what a "Subform" would be if it could really start all over. It is an entirely self contained XPage in its own right, but designed to be placed directly into or on other XPages -- and you can use it multiple times on the same XPage without conflict because it is self contained. It can expose properties to the parent page so that the control handles different things on the page according to what your code wants it to handle. So, its a bit like a subform except that is totally self contained, applicable multiple times on the same XPage, externally controlled by its parent page, able to contain its own bound data sources.

One example might by to create a custom control which is designed to show data from a single document from a view. It may have a much more complex layout than you could do as a view row. The specific document to show could be tied to an externally exposed property so that when you embed the control on an XPage (remember, the control is itself just an Xpage) you can define from the parent page at runtime the column key or the unid or whatever.

Then, expand that by putting your custom control on an XPage in a panel that you then define as repeated for each document in the view. BANG, you've just created the most complex view you can imagine on the XPage.

There is so much seriously cool stuff in XPages that as far as I'm concerned, if you're writing Web Based applications on an 8.5 server they're the only way to go. They deprecate about 80-90% of the way you write Domino web apps before XPages. I suspect that when they finally work in the Notes client, they'll have the same impact.


  • car icon

    Server Performance

    Are your servers underperforming? Just buying new boxes isn't the answer. If you want to get better performance from your existing servers, Contact Me.
  • There are  - loading -  comments....



    Other Recent Stories...

    1. 09/04/2008If you could pick the topic you wanted from me at LS09, what would it be?Fall is here. Lotusphere 2009registration is open now, as is the call for abstracts. If you could pick my topic, what would you want me to cover? In the past, the Security Jumpstart I do with Gab has been very well attended with a repeat and both sessions really full, so we'll update that with all the new 8.5 stuff and submit that one for sure. Other than that, there's a ton of stuff I'm thinking about. Is there one you've seen me do that you think is worth repeating? Is there a new topic you think I ...... 
    2. 09/03/2008Trendspotting: What Google is really starting with ChromeAside from being a fairly cool -- if a bit undercooked -- new browser, Chome has another lesson for us. Google has very specifically NOT created an incremental bloatware version of existing code. They've built something new from nearly the ground up, embedding the proven technologies they needed -- javascript by V8, and rendering by Webkit. Only by starting from scratch were they able to get some of the size, memory management, and security enhancements that form the core of their promising new ...... 
    3. 09/03/2008Using the management of their campaigns to learn about the candidatesSome things about these two political campaigns have struck me recently as glimpses of what to expect from an administration led by either candidate. It isn't a perfect picture, but it is telling in a way. It also matches what I think about these two men so clearly my own viewpoint is mixed in richly in the interpretation. To be clear about that bias, I should state here that I am currently planning to vote for Obama, though will not vote an entirely Democratic party ticket. We have some very good ...... 
    4. 09/02/2008Chrome - Google's new Web Browser. Super tool, still needs a few things. 
    5. 08/30/2008Notes 8.5 Public Beta 2 - First impressions 
    6. 08/28/2008Have you used the Asus EEE PC? I've got a couple of unusual questions 
    7. 08/28/2008Blogging Respite - A long couple of weeks 
    8. 08/23/2008The disturbing case of the Fridge, and cabinets built by Dr. Seuess. * Updated with pictures 
    9. 08/17/2008From Caitlin: "Dad, are the Olympic medals solid gold?" The answer is interesting... 
    10. 08/12/2008The mis-use of Twitter as a chat room - and what to do about it 
    Click here for more articles.....


    pen icon Comment Entry
    Subject
    Your Name
    Homepage
    *Your Email
    * Your email address is required, but not displayed.
     
    Your thoughts....
     
    Remember Me  

    Please wait while your document is saved.