Coder's Challenge

Show how you are using qWikiOffice

Coder's Challenge

Postby cobnet on Wed Mar 04, 2009 6:17 am

Looking for a Challenge? I have one in mind. We need to see an example of 2 modules working together in the qWikiOffice environment! There have been several queries as to how one could accomplish this? Simple challenge? Well maybe not since the environment seems to change on each new release, but it can be done. It would give us some ideas for future releases?

As I said earlier I have one in mind. Goal: Plain and simple, 2 modules talking to one another in the desktop environment. My plan for this challenge is to have the browser/collaboration module accept request from other modules. I will be working on this one, but it may be a couple weeks before completion. Do you have a similiar example? Let's see what you got. This is more than a challenge, it will help us see where this can and can't be accomplished.

Just thinking on this topic, leads me to several ideas. First: will the results be saved where proof can be seen? Second: Can the this.app.connection work in this goal? Many more ideas come to mind but the last one has me wondering if we have the params in place for such a task? I see where this.app.connection can accept the module.id as a param, do we need to have permissions in place for each module to accept request for other modules?

Just alot of questions here and not alot of answers, but hopefully we can show where we need to focus on a desktop environment with modules talking back and forth with each other? To be continued............

Please feel free to show how you would accomplish such a task here in this thread. Indeed, I am looking for ideas here.............
The login Page of this demo uses Ext 3.1.0 now!
qWikiOffice 1.0 Pre Beta Demo with Ext 3.0.3 http://cobnet.com

Inside Facebook Demo: http://apps.facebook.com/cobnet_com
Outside Facebook Demo: http://cobnet.com/facebook
User avatar
cobnet
 
Posts: 234
Joined: Mon Feb 25, 2008 7:41 pm
Location: Nashville, TN

Re: Coder's Challenge

Postby cobnet on Sat Apr 03, 2010 5:24 am

More from the playground, lol!

Testing working with the Facebook login in the desktop. However rather use any of the qwikioffice versions. I am playing around with the ExtJS Desktop version so that I can take advantage of the latest ExtJS releases. Once qo gets to a stable point moving it over should be no trouble at all.

As I said playing around right now just seeing how everything works. Got the login connect functioning. Pulling friends over from a link. More to come.

At the moment still need to figure out the onlogout functions. There is a demo at:

http://cobnet.com/facebook

If you have a facebook account please give it a try and let me know the results. All I can say is that it works for me at moment. The Get Friends link is working as well. I hope to move the friends over to the Accordion Window, but this may be a bit.

Again pass along any ideas/suggestions/etc......... Feel to free to save the source coding and pass along your changes/improvements, NOTE: you should change the app id to your facebook app id.

Still to come:
1) Fix onlogout functions.
2) Move Friends to Accordion Window.
3) Move facebook javascript coding to its own file.
4) ......

Til next time, enjoy,
Mark
The login Page of this demo uses Ext 3.1.0 now!
qWikiOffice 1.0 Pre Beta Demo with Ext 3.0.3 http://cobnet.com

Inside Facebook Demo: http://apps.facebook.com/cobnet_com
Outside Facebook Demo: http://cobnet.com/facebook
User avatar
cobnet
 
Posts: 234
Joined: Mon Feb 25, 2008 7:41 pm
Location: Nashville, TN

Re: Coder's Challenge

Postby Relexx on Fri Apr 09, 2010 2:38 pm

You know that this would probably be not too hard if the applications in question were expecting interaction between each other. It is message passing after all. A crude method would be to set a timer on each app to check for a message in a dom variable or DB table, when found act accordingly.
Relexx
 
Posts: 193
Joined: Mon Jan 21, 2008 12:34 am
Location: Perth, Western Australia

Re: Coder's Challenge

Postby cobnet on Mon Jul 19, 2010 10:22 pm

Yes kinda of like message passing I guess.

I got another Facebook App running now. This one pulls your links from facebook. So far we got your user info, your friends and now your links from Facebook.

The new app is in the Tab Window, look for the FB Links tab.

http://cobnet.com/facebook/

Well I guess it is time to download Todd's latest and greatest and start turning these new apps into modules!!! Til next time,
The login Page of this demo uses Ext 3.1.0 now!
qWikiOffice 1.0 Pre Beta Demo with Ext 3.0.3 http://cobnet.com

Inside Facebook Demo: http://apps.facebook.com/cobnet_com
Outside Facebook Demo: http://cobnet.com/facebook
User avatar
cobnet
 
Posts: 234
Joined: Mon Feb 25, 2008 7:41 pm
Location: Nashville, TN

Re: Coder's Challenge

Postby sosy on Sat Jul 31, 2010 3:44 pm

Hi Cobnet,

i am actually working on that kind of challenge, and it is working.

I need it because different user can have opened an grid and change stuff in it,
then after saving this has to appeal to all opened grids which are
viewing the same fields to.

Did my first test, and it worked, now i am finetuning it. In fact i am using an autologoff system.

After an certain time of inactivity the user will be kicked out of the system.

Its quit simple actually, if you are interested i could pass you some ideas and structures. It uses the Extjs TaskMgr and MySQL.

Regards Sosy
I prefer a sister in the red-light district to an brother with Internet Explorer..
User avatar
sosy
 
Posts: 9
Joined: Tue Jul 06, 2010 6:42 am
Location: Oldenburg, Germany


Return to Examples

Who is online

Users browsing this forum: No registered users and 1 guest