Convert XUL application to web app - xul

Is it possible to convert an existing XUL application to a pure web application without a complete rewrite? Are there any existing guides on doing this?
There is an existing project based on XUL / Mozilla Application Framework that I would like to see as a web application. But it seems that with FF4 this would no longer be possible.

You can use XUL Runner if you like to keep it like a desktop app or use the Ample SDK which supports XUL in HTML pages and it does a rendering using HTML and JavaScript.

Related

Netflix Client on VB.NET, How to make it run Silverlight and needed extensions?

I'm developing a netflix client on vb.net, and i need it to run silverlight and needed extensions that netflix requires to display the video stream.
how can i change webbrowser from default to another one that works with my needs, and what browser is that?
If you're looking for a different web rendering engine you should try the Gecko web engine. From my experience it is much faster than the traditional IE engine and more compatible with plugins and web content. The engine integrates well into VB.NET applications so using it in your program should work. The engine itself does stream videos from netflix if that's the intent. you can download this rendering engine just from searching it but for convinience I'll put a link to a site where you can find it here.

Display Web page inside a mono application

Is there a way to display a web page inside an application done with mono framework. It is a cross platform application, so it would be great if the solution is in mono. It need not be a generic browser, i just need to display the web pages from my own server. The number of pages is too much also it will be updated often, so cannot include it in the app itself.
Any help would be really great. BTW the app will be for most of the mobile platforms, like android and iPhone.

How to embed an office document in a Metro App?

Is it possible to embed an office document in a Metro app without having to parse it manually?
I'm thinking about a preview or even a the possibility to make small changes to it. I'm not asking about starting it externally but using it directly in a Metro app.
You cannot embed directly into a Metro style app. It may be possible to do something with the Skydrive API and embedding documents, but more research would be required. Here is an example on using the Live SDK from a Metro style app.
I would just use webview controller and open the document from Skydrive with it.
That way you can open the document as editable or just show it.

How to develop apps using PhoneGap or AdobeAir?

I'm trying to understand how programs like PhoneGap and Adobe Air work, that allow you to 'write once and run anywhere' on mobile platforms. The way I understand it now is that you build your application as a web app using either HTML5, or flash, or I don't know what, and it takes in those files and converts them to the proper types for each mobile OS. Assuming this is correct, what I would like to know is, what the options for developing web apps that are able to be converted into apps are; and what the most popular platforms to use/learn flash, or html5, or JavaScript, or I have no idea what are.
I want to build a web app to deploy across multiple phone platforms, but I don't know where to start. Thanks for the help!
You use tools like PhoneGap to access native device API's through JavaScript. If you don't need access to these API's you can write a HTML5 app and install it using "Add to home screen" etc.
As HTML5 matures, more and more of the device API's are actually directly available through HTML5 (for instance GPS), so depending on what you want to do access it might be in/scheduled to be part of the Device API.
Write once and run anywhere
There are different frameworks that lets you deploy to multiple platforms through the device specific install process. These tools usually work in 2 ways. Run in an embedded browser, or compile to native code.
PhoneGap runs the HTML5 part of your app in an embedded browser. Other tools like MonoTouch actually cross-compiles to native code, so they run on the bare metal.
Cross platform using HTML5
There are plenty of frameworks you can use to make mobile apps with HTML5. These usually help make the app "feel native", and includes abstractions over device specific idioms that differ between the different devices.
Popular frameworks includes Sencha Touch, JQuery Mobile and a bunch of others.
If you want the users to install the app through the AppStore/Market etc. then a solution like PhoneGap is a good option. If you don't care about that you can write your app and add a meta tag like
<meta name="apple-mobile-web-app-capable" content="yes">
and when you add it to the home screen it'll look just like any other app and run in an embedded browser without the browser window etc. You can add offline capabilities using HTML5 and synch when users go on-line etc. all just using HTML5.
Have a look at the Sencha touch app gallery to see what is possible with this technology.

How to run dojo on php pages

I have implemented some tutorials of dojo all this tutorials work on html web pages. Is there any way to implement dojo on php pages.
Dojo is a javascript framework that can be used with any server technology. If you have some static html pages with dojo, the only thing you need to do is to rename them to .php.