Reply
An AJAX widget interface like iGoogle?
Old 01-31-2008, 12:02 PM An AJAX widget interface like iGoogle?
Average Talker

Posts: 19
Hello all,

My company has decided that we are going to redo our website with widgets. What they want to basically do is set it up just like iGoogle, where we can make some widgets, and the user can drag them around how they want into predefined "square spaces", (so no widget overlapping, or dragging them around anywhere they want as if they were windows).

My boss tells me to figure out how to design a "widget API" where we can throw some widgets on it and they can interact with each other or a central widget manager.

So here's the thing, sounds complex right? Well I'm thinking it's not actually that hard. Thus far, I've found a drag and drop interface for objects (that I could simply stick a widget inside each one) Check out Demo #5 here

Is it REALLY as easy as this? So I could simply model it after Google's code using Google Web Toolkit?? (I used GWT for AJAX apps before..). Or am I overly simplifying things? I guess what I'm asking, is that if you were going to build something JUST like Google's iGoogle start page, would you simply use the GWT DnD extension to create something like Demo #5, and then from there make your own widgets (using script.aculo.us or GWT, YUI, whatever) and stick them inside the movable objects?ey
William Martin is offline
Reply With Quote
View Public Profile
 
When You Register, These Ads Go Away!
Old 02-01-2008, 12:17 PM Re: An AJAX widget interface like iGoogle?
Extreme Talker

Posts: 173
Drag-and-drop is simple when you use good libraries.

I like Script.aculo.us + Prototype, myself. ( sometimes jQuery )

http://script.aculo.us/

The complicated part will be building the API for people to interact with it. It sounds like users will only be using this stuff on your site. If that is the case, you don't really need to build an API. You will most likely just be remembering which widgets each user has chosen to hide/display, and where they are located.

Good luck, and have fun!
bhgchris is offline
Reply With Quote
View Public Profile
 
Old 02-02-2008, 03:11 AM Re: An AJAX widget interface like iGoogle?
ForrestCroce's Avatar
Half Man, Half Amazing

Posts: 3,024
Name: Forrest Croce
Location: Seattle, WA
Your demo is sweet.

It sounds like placement of the widgets is only half the battle, though...?
ForrestCroce is offline
Reply With Quote
View Public Profile Visit ForrestCroce's homepage!
 
Old 02-04-2008, 03:45 PM Re: An AJAX widget interface like iGoogle?
Average Talker

Posts: 19
Yeah sure is half the battle, but actually, since we're just currently working on how to implement this stuff, it's the whole battle, for now..

I had the same thoughts and feelings about the API thing, why would we even need one if we aren't sharing these widgets, right?

I think I'm going to use the dnd functionality, and simply place the widgets themselves inside the boxes & make the boxes auto-expandable, that way when the widget is resized/closed etc. the boxes will accommodate the user's activities.
William Martin is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to An AJAX widget interface like iGoogle?
 

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML

 


Page generated in 0.12173 seconds with 12 queries