Contact Information

Chris Toohey

Like what you see? Help feed-the-beast by donating to the site and it's humbly thankful author!

    Examples & Downloads
    xCopy v0.2 - OS xcopy Client for Lotus Notes 08/07/2008
    Examples and Downloads
    xCopy - Local Archiving and File Copying Utility for Lotus Notes 07/22/2008
    Examples and Downloads
    SOTU - Remote Console Reporting v0.2 07/11/2008
    Products
    Self-Discovery leading to more content, downloads, and examples 07/01/2008
    Examples and Downloads
    Sorting Hat v0.1 06/30/2008
    Lotus Notes
    Site Resources

    RSS Site Content
    Syndicate This Site!
    DG Banner Logo
    BleedYellow.com Dogears
    Advertisements

    IBM Lotus Notes and Domino 7 now available

    RAD of Tomorrow

    06/26/2008 12:55:50 PM | Chris Toohey | Bethlehem, PA

    I was in the middle of writing this arm-length article on why you should know XML and XSLT... and realized that I was well onto writing a book on the subject. Wanting to get the point across, here's the highlights on "Why you should know XML and XSLT as a Domino and Lotus Notes Client developer":

    First, the more "in general" thoughts:

    XML, which is nothing more than structured text, can be translated on-the-fly via XSLT into anything that is "text"-based - HTML, XHTML, JavaScript, CSS, ... etc., so let's keep that in mind.

    Now for something more Domino/Lotus Notes Client friendly:

    If you take only one thing away from this post, be it that the conventional way we all develop applications is changing - evolving - and we're finally on the way to getting what we've always wanted out of the platform: control.


    Like what you see? Help feed-the-beast by donating to the site and it's humbly thankful author!

    Comments

    John Head
    06/26/2008 01:42:49 PM

    or you can just build in XPages and have them hide the majority of this stuff for you ...


    Chris Toohey
    http://www.dominoguru.com
    06/26/2008 02:08:17 PM

    @John:
    Yeah, okay - but that's a house on a sand foundation to me. You want to know what's the catch for me? Putting in this up-front time to build the data store properly, and build the - ahem - logic broker to facilitate data management. When done right, you get an API for your application - allowing you to easily integrate existing and future technology investments, pretty-easily create new UI entry points into your application, and easily expand the scope and functionality of your applications.

    Maybe I should just write a public version of this logic broker I keep talking about and put it out there for mass consumption...


    Nathan T. Freeman
    http://nathan.lotus911.com
    06/26/2008 02:21:34 PM

    "Maybe I should just write a public version of this logic broker I keep talking about and put it out there for mass consumption... "

    Yeah, that would probably help your case quite a bit. :-)

    But you're still confused about how xpages IS a broker, man. XSP is basically a Java class generator on a Domino servlet engine.


    Dan Sickles
    06/26/2008 03:00:59 PM

    but can I use the XPages business logic without the UI? Let's say I build an XPages app then I want to use some of the app logic and data for an RCP app. Does XPages provide a clean separation of UI, Logic and Data that can be repurposed? How tightly bound is the UI to the schema and logic?

    For the record, XPages rocks and keeps the RAD while moving Domino web apps in to this century.


    Chris Toohey
    http://www.dominoguru.com
    06/26/2008 03:12:16 PM

    @Nathan:
    Well, until XPages make it into the Lotus Notes Client - which can't happen soon enough - I think having such a logic broker in today's available elements will allow people to start architecting their current projects better in-line with to-be-released functionality.

    @Dan:
    I think that you can... but I'm a noob when it comes to XPages. Maybe it's just a matter of putting the XPages on it's ear and not considering it UI-only... as I'm pretty sure that you can 1) control the Content Type and 2) use them to broker messages to and responses from an application.


    Nathan T. Freeman
    http://nathan.lotus911.com
    06/26/2008 03:44:22 PM

    Tragically, you cannot control the ContentType in xpages yet. :-( The response I got from the xpages team was "why would you want to do that?" It's not 100% clear that there IS a circumstance where I'd want to. The only scenario I could come up with was to use xpages to do a view JOIN, and then feed that as XML to a data grid widget. The response seems to be that the data grid widget would itself be a custom control in an xpage anyway, so the data feed can be constructed and managed server-side -- which I had to admit was a good answer.

    And that's really why it's hard to wrap your head around how game-changing xpages are. So many old techniques are just obsoleted right away. Xpages don't have a steep learning curve; they have a steep UNlearning curve!

    @Dan - no, you can't use app logic directly. But if you coded your logic in Java or Javascript libraries as a specific layer, then you could reuse them. But you can't tell an RCP "use this xpage custom control in this Eclipse widget." Not YET anyway. :-)


    Chris Toohey
    http://www.dominoguru.com
    06/27/2008 03:59:15 PM

    Well, this goes to show you how much I know about XPages. I'll try to take a further deep-dive into it this weekend...

    The one thing that scares me is the mention of not being able to control the Content Type in XPages (yet)... and from the sounds of it there's no foresight into the need for such ultimate flexibility.

    Now I know that there are untold treasures that await us in XPages... but hearing that I can not control the Content Type like I can with every other major Design Element today puts me off a little. Hopefully this is just something that we're all overlooking here.



    Add a New Comment


    (Not Published/Public)
    Remember my Information!

    (Enter the text from the image to proceed)

    (Full markup allowed in the comment field below; play nice!)

    Live Comments Preview