Adobe flex or WPF to write a visually rich desktop application
By : user2644032
Date : March 29 2020, 07:55 AM
I think the issue was by ths following , Be suspicious of anyone who will give you an answer like "Definately use xyz" to this question. There are pros and cons to both sides. First, I think you might be confusing what WPF and Air are... WPF is a presentation layer on top of the .Net framework, where Air is a framework by itself. Apples and Oranges. If you want an analog to what Air is for the .Net stack, you probably want to look at Silverlight Out-Of-Browser, which is a much closer comparison to Air.
|
Working with both adobe flex web and desktop application
By : sally zhao
Date : March 29 2020, 07:55 AM
will be helpful for those in need Your approach is correct. You will need to create an abstraction of the services you want the application to talk to and then provide 2 different implementations: 1 for the web app, which might use remoting via AMF, webservices or http services and 1 for the desktop app, which will have a SQLite implementation. This approach is basically an implementation of the strategy pattern, which is a core pattern in the Spring ActionScript framework. Included is an Operation API that will help you with creating the interfaces for the service classes, as these will have asynchronous signatures. The nice things is that there is also support for creating stub service implementations so you can test your application without relying on an actual implementation for the web or the desktop client. The framework also provides different configuration mechanism, so that you can deploy your application and provide the strategy that must be used at runtime. code :
// interface
public interface IUserService {
function getUserByID(id:String):IOperation;
}
// implementation A
public class UserServiceA implements IUserService {
public function getUserByID(id:String):IOperation {
// return implementation specific operation
}
}
// implementation B
public class UserServiceB implements IUserService {
public function getUserByID(id:String):IOperation {
// return implementation specific operation
}
}
|
Adobe Flex ToggleSwitch alternative for desktop applications
By : Guruprasad Iyer
Date : March 29 2020, 07:55 AM
|
Test desktop app with Retina images without Retina display
By : Watson
Date : March 29 2020, 07:55 AM
|
Open Webpage in Adobe Flex Desktop Application
By : Eugene
Date : March 29 2020, 07:55 AM
fixed the issue. Will look into that further You can do that using the HTML control. Take this example :
|