logo

Web 2.0 Layouts - A Working Demo

Moving faster than I can hope to at the moment (sooo much going on) Jack Slocum has released part 2 of the web 2.0 layouts I mentioned yesterday.

In this part, as well as the download, there's a working demo application — Ajax RSS Feed Viewer. Take a look. It's brilliant.

To add a new feed, try pasting mine in - http://www.codestore.net/store.nsf/rss.xml

Now I'm even more enthusiastic about getting this working in a real Domino demo database. You'll just have to wait until I find the time. The bathroom has to take priority on this one I'm afraid. The floor's tiled and there's a toilet in there now. Just need to get some water to it so it flushes. Oh, and put the sink, shower and bath in too...

Comments

  1. Hey Jake,

    That guy, Jack Slocum, certainly is on top of this Web 2.0 stuff.

    I especially like the way you can add comments to his pages... Makes his site very clean!

    As for an idea of how to use his code.... a simple one would be for your email!

    Later

    Patrick

    • avatar
    • carcomaidon
    • Tue 31 Oct 2006 11:32 AM

    Phwoar!!!

    Just wondering how to load docs in new tabs using AJAX in Domino, as OpenDocument returns the whole HTML stream and can't be moved to a DIV ... or am I wrong?

  2. Carcomaidon,

    I always do something like this in the functions (AJAX ones mind you) that I know will be returning HTML content that I'll want to use inline in a div or something like that:

    targ.innerHTML = xmlhttp.responseText;

    ... where my targ is the DIV or another container-type element. Does that make sense?

    • avatar
    • carcomaidon
    • Tue 31 Oct 2006 12:48 PM

    Chris. I think we use to make Ajax calls targeting to elements which content will be treated as HTML - this is, not containing the <html> and </html> tags - In those cases what you scoped out above is OK, I do the same!

    The problem comes up when you try to do an AJAX call and the target returns a whole HTML page (with <html> , <head> , <body> and probably DOCTYPE tags). In that case you can't move this result HTML to a DIV, it will crash - well, it will do nothing - I am wondering how Jack Slocum did load codestore using Ajax in a new container-type element....was he using an iframe instead of a DIV? Not sure ...

    Thanks!

    • avatar
    • Jake Howlett
    • Tue 31 Oct 2006 01:43 PM

    Carcomaidon. I'd imagine Jack used an iframe. I can't see any other way he'd do it.

    Alternatively with Domino and DIVs you can use a View's Form Formula to use a "treat as HTML" form to display a document without all the extraneous tags.

    • avatar
    • Smicky
    • Wed 1 Nov 2006 02:39 AM

    Ok this seems to be very clean, but :

    - it's using the yahoo libs. So you get dependent on one more sotware layer. What happens if yahoo stops their dev effort, I doubt one can understand and support all their tremendous amount of code...at least it will require an enormous effort. What if you encounter a bug or your particular environment ? will you be able to fix ? or would it have been easier to fix building a simpler UI development ?

    - there is something that puzzled me : why permanently try to recreate "fat" client UI in a browser...what's the deal ? what's the benefit ? if you use yahoo mail : ok it's now very neat, but slow as hell, prone to browser upgrade bugs, requires an enormous bandwith...

    ps : I admire the work done on thoses libs...but not sure using them in custom dev is so smart that it may appear.

    • avatar
    • Jake Howlett
    • Wed 1 Nov 2006 04:23 AM

    Hi Smicky. I agree, in part. It's all a case of "horses for courses" though and making such decisions is all part of being a web developer. I'd be more concerned about using libraries owned by one man (Prototype.js for example). It's much more likely support will die for that before YUI. If you can't trust Yahoo who can you trust? They even build there own system on the libraries. I can't see development ceasing for some time yet.

    For me it's all about producing results and keeping customers and users happy. Concerns about technology life spans are secondary to this.

    • avatar
    • Ayhan
    • Wed 1 Nov 2006 05:54 AM

    Iam going to dev the new version of our web content management system with yahoo ui libraries and prototype. if there will be no support in the future - is this really a problem? there will be new stuff and challenges for web devs like us. live is a poker, boring if you dont risk smthg :-)

    • avatar
    • Jake Howlett
    • Wed 1 Nov 2006 06:27 AM

    Exactly Ayhan. What's the average life span of most web apps? Probably so small it's not worth worrying about support 5 years down the line.

    • avatar
    • Glyn
    • Wed 1 Nov 2006 12:47 PM

    Well Jake, at least you don't have to replace the soil stack (or do you?). I have a rotten cast iron one to get rid of, replace toilet and fix the plumbing leaks.

    Getting a water supply to a toilet as they say in Poland "Easy Peasy" (said with a heavy Polish accent) ensuring it stays there (soil stack seal) a little bit tougher. :-)

  3. Heya Jake, I'm writing a web based helpdesk app at the moment and I'm now using the Yahoo.ext libraries and the openntf !!HELP!! project to make it happen. I thought you were maybe looking at doing this a while back, so if you like I'll send you a copy when it comes along, and I'll probably send it off to the openNTF peeps too so they can do with it as they will.

    Oh, thanks for the webdav tip a while back - that totally made setting this up a breeze! Yay!

    • avatar
    • Niel
    • Sun 5 Nov 2006 09:12 PM

    Jake-

    This is awesome, thanks for pointing this out to us Domino Dorks. I've already used the yui-ext UI in an app and I've got a custom version of the data grid that sits on top of a notes view. If you're not already working on your own I'll be glad to share.

    Thanks

    Niel

Your Comments

Name:
E-mail:
(optional)
Website:
(optional)
Comment:


About This Page

Written by Jake Howlett on Tue 31 Oct 2006

Share This Page

# ( ) '

Comments

The most recent comments added:

Skip to the comments or add your own.

You can subscribe to an individual RSS feed of comments on this entry.

Let's Get Social


About This Website

CodeStore is all about web development. Concentrating on Lotus Domino, ASP.NET, Flex, SharePoint and all things internet.

Your host is Jake Howlett who runs his own web development company called Rockall Design and is always on the lookout for new and interesting work to do.

You can find me on Twitter and on Linked In.

Read more about this site »

Elsewhere

Here are the external links posted on the same day.

More links are available in the archive »

More Content