Dev.Opera - Follow the standards, break the rulesDev.Opera - Follow the standards, break the rules

Login

Lost password?

Forums » Article Discussions

Discuss the articles posted on Dev.Opera.

Note: You need to login to post in the forums. if you don't have an account you first need to sign up.

By For_d O anchor Tuesday, 16. June 2009, 07:01:45

Opera Unite developer's primer

Opera Unite puts a Web server inside your Opera browser, allowing you to share files and applications with your friends and colleagues directly off your hard drive! This tutorial shows you how to get started on the road to Opera Unite Service development by making a simple Opera Unite blog service. It introduces some of the basic ways of interacting with the web server and how to start creating Opera Unite Services.

( Read the article )

By mohitraghav anchor Tuesday, 16. June 2009, 07:20:37

avatarSomething to dig! Keep up the good work :smile:

By Skythe anchor Tuesday, 16. June 2009, 09:26:36

avatarThere's a typo in the first anchor link "Basic concepts". :wink:

By chrismills O anchor Tuesday, 16. June 2009, 10:02:05

avatar

Originally posted by Skythe:

There's a typo in the first anchor link "Basic concepts".



Fixed - cheers!

By chaz6 anchor Tuesday, 16. June 2009, 13:03:56

avatarI hope that Unite will soon support IPv6 so that the Opera proxy is unnecessary!

By morno anchor Tuesday, 16. June 2009, 13:20:08

avatarLooking good! i like the new look and all!

By opasek anchor Tuesday, 16. June 2009, 18:11:41

avatarModerator note: This post has been removed for violating our Terms of Service. Duplicated posts are not allowed.

Post edited Saturday, 20. June 2009, 12:23:27

By thomaszak anchor Tuesday, 16. June 2009, 18:52:39

avatarOh god, global warming trolls on a web browser dev site. Tisk tisk.

Really though, people leave their machines on all the time, might as well use that power to do something productive rather than indexing the hard-drive over and over.

Good primer, but really short. I guess it's time to dive more into the API.

By eestlane anchor Wednesday, 17. June 2009, 02:49:40

avatarIt seems that Unite means more of the action you want to be involved into.

For example telling your friend:
Listen to the new album I have NOW, look my new photos NOW, let's chat NOW, look my awesome html pages NOW. The Fridge however does not have that NOW feeling, so I would say it doesn't actually suit Opera Unite.

All the other things however means you can turn off your computer later and the services should run only temporarily.

This also means, Unite is meant for quite small concurrent users not for serving 1000 people at once.

That's how I see it.

By Schoberegger anchor Wednesday, 17. June 2009, 21:41:21

avatarGreat tool!

I hope that the final version of Unite will work as own process in the task list (Windows).

By porneL anchor Thursday, 18. June 2009, 11:42:54

avatar
response.write('<!DOCTYPE html>'
        + '<html><head><title>'+entry.title+'</title></head>'


This allows XSS. All plaintext strings used in response.write must be HTML-escaped, and I'm disappointed that article doesn't even mention that.

By chrismills O anchor Friday, 19. June 2009, 09:58:50

avatar

Originally posted by porneL:

response.write('<!DOCTYPE html>'
+ '<html><head><title>'+entry.title+'</title></head>'
This allows XSS. All plaintext strings used in response.write must be HTML-escaped, and I'm disappointed that article doesn't even mention that.



Very good point. I've added a note to the article to cover this. Thanks!

By L2D2 anchor Friday, 19. June 2009, 20:44:10

avatarI have just been talking to an Opera friend who installed Opera Unite. She invited me to talk to her in her lounge. We have been doing that. The concept is great, but there were a few bugs.

One. About half the comments I typed and sent were not delivered. Guess they are floating around somewhere in cyberspace.

Two. The thing just quit working and logged us out. Would have had to log back in and start all over.

Buggy

By jax anchor Saturday, 20. June 2009, 10:57:53

avatar

Originally posted by thomaszak:

Oh god, global warming trolls on a web browser dev site.

Tisk tisk.Really though, people leave their machines on all the time, might as well use that power to do something productive rather than indexing the hard-drive over and over.



Energy use is a valid concern, but it is mostly a user issue, not a developer issue. This has been discussed in another thread, and may warrant a thread of its own. As far as energy use is involved, only marginal use matters.

In other words, will people keep their computers on more if they use Unite, and will the energy use increase while using it? Apart from the planet and the electicity bill, it will matter for battery life.

By haavard O anchor Saturday, 20. June 2009, 12:20:29

avatar

Originally posted by chaz6:

I hope that Unite will soon support IPv6 so that the Opera proxy is unnecessary!


The proxy is only a fallback in case NAT traversal fails.

By kiseok7 anchor Tuesday, 23. June 2009, 08:09:56

avatarthis page have a broken link for "Upload page". :smile:

By chrismills O anchor Tuesday, 23. June 2009, 08:29:05

avatar

Originally posted by kiseok7:

this page have a broken link for "Upload page".



I've fixed it now! This page was changed before release, and I forgot to change the URL ;-)

Thank you.

By SolidSlug anchor Wednesday, 29. July 2009, 20:52:13

avatarI think this has potential, but it must allow integration of existing servers.

How can I from a Unite service interact with a regular Web server hosted anywhere else on the Web?

Nevermind, I just figured out you can basically use any JavaScript, including XMLHttpRequest and some JSON library.

Post edited Wednesday, 29. July 2009, 22:03:34

By klusmen anchor Wednesday, 14. October 2009, 07:58:12

avatarSpeedDial
http://img114.imageshack.us/img114/5466/opera105.jpg
conception like Iphone

Moderators: pepelsbey | dstorey | mcx | operadev | chrismills | shwetankdixit | brucelawson | iheni | andreasbovens | zibin | mollydotcom