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

Login

Lost password?

Forums » Opera Dragonfly Discussions

Discuss Opera Dragonfly, Opera's new developer tools.

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

By DanielHendrycks anchor Sunday, 13. September 2009, 00:51:03

avatar

Dragonfly Launch from Source File

When launching Opera Dragonfly Opera renders this page. Since Opera Dragonfly is a web page Opera must load Opera Dragonfly every time it is launched. Rather then being able to debug instantly we must wait... seconds for dragonfly to load. :bomb:

So I thought of a possible solution to eliminate this waiting time. Store dragonfly's source file in a folder and update it. When you launch dragonfly Opera will render the app then it will save source to a folder. Every launch of dragonfly afterward Opera fetch the source file from the folder and render it rather then accessing it from the server when launching. Then while debugging Opera will silently overwrite the previous source file in the folder and replace it with the new source file (whether it is new or not, this will eliminate designing a complex update system).

Launch Dragonfly>Access source file>Render>Tada

(Update: Lucideer pointed out it is possible to launch dragonfly from a folder already, but setting that up is not out-of-the-box and you must manually check for updates :frown: .)

This would answer or "dragonfly loading..." woes. bye

Edit: You should be able to turn off "silently overwrite source file" in opera:config.

By fearphage anchor Thursday, 24. September 2009, 12:18:26

avatar+1 great idea. Internet access should not be required to debug a page.

By fearphage anchor Friday, 13. November 2009, 15:45:55

avatarThis should never be able to happen:

By DanielHendrycks anchor Friday, 13. November 2009, 19:14:57

avatar

Originally posted by fearphage:

This should never be able to happen:



I concur

By fearphage anchor Tuesday, 15. December 2009, 16:20:13

avatar

Originally posted by fearphage:

This should never be able to happen

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