LOB application with Aurelia Vs WPF - aurelia

I'm working on a WPF project that uses Microsoft Ribbon control, docking panel. The app is very similar to the Visual Studio IDE. The user can open multiple documents and work on it. They will all open as multiple documents in different windows as MDIs. Any state change made on one document can be seen on the other immediately. The technology being used are Prism 5.0, DevExpress MVVM and controls.
There are few reasons to move away from the WPF application due to the lack of availability of the developers and to reach more devices and not just windows.
My questions are:
Does Aurelia provide event aggregation as in Prism, so a subscriber in one module which has Screen B can be notified from a publisher in another module which has Screen A? As an example, I have two screen open. One screen is the customer and his orders and the other is the shipping. When I ship the order on the shipping screen, the order status of the customer on the other screen will be immediately updated?
Can Aurelia be used to data bind HTML 5 DevExpress controls?
Does Aurelia provide type safety?
Is Aurelia suitable for building financial LOB applications where rich UX and complex UI are the requirements? The main requirement of a LOB application is multi document interface.

Yes, Aurelia has an EventAggregator. You can see an example of its use in this demo app: https://github.com/aurelia/app-contacts
It looks like the DevExpress controls utilize knockout for data binding. Aurelia's binding engine can be taught to work with Knockout. Here is an example adapter: https://github.com/jdanyow/aurelia-knockout
Aurelia is written in ES6/7 and does not provide type safety. We have .d.ts files to use with TypeScript. Or are you wanting runtime type safety?
Aurelia should be well suited to this type of application.

Related

Desktop admin panel for web app

I'm building a eCommerce web application for shops using Laravel/Foundation/PostgreSQL, and it will provide them (shop owners) with web based admin panel. My question is, can I make the super admin panel (the tool that I use to control everything) using desktop technology such as VB.net (or anything similar) so the desktop app control the database and maybe some configuration files. Is this considered good way to do things, and do anyone have a similar experience here?
Yes,it's possible to create such application.This kindda application can be called somewhat 'Database Applications'...Let me explain :
1 • You can develop such app in either C#/Vb.NET
2 • Basically, what you need is an app which will let you modify the database(e.g. Product name/Price/Quantity)
3 • For this, you need to first set up a connection between your app and your PostGre database.Take a look at [this)
4 • Then you can use textboxes,checkboxes,Listboxes and other controls you want to edit/delete/update the database . For this, take a look at this for inserting data and this for updating data .They are in c# but can easily be converted to vb.net using converter.telerik.com or simillar conversion tools
I guess that's all you need for now.Leave a comment for further assistance .

How To Open A Meeting Page Client Side

I'd like to open a SharePoint 2010 meeting page from a client side, Win form, C# application. How is this done? There is plenty of documentation to open a site and a List page but almost nothing on this. Can anyone help?
I think you cannot open the page per se (unless you use a internet explorer wrapper). But you can get all the underlying data from that meeting (all data in sharepoint lives in lists) and render it in your winform page by rebuilding the page with winform layout, controls etc,
To extract the data you have a variety of options:
Client Object Model (check the item under building a console app) - http://msdn.microsoft.com/en-us/library/ee857094(v=office.14).aspx
Using Sharepoint Web services - http://msdn.microsoft.com/en-us/library/office/ee705814(v=office.14).aspx
Using the REST API - http://msdn.microsoft.com/en-us/library/ff798339.aspx
In your particular scenario I would go with the first option since it provides a more streamlined api for .net apps and allows among other goodies batching of commands which will improve the performance of your comms with the sharepoint server.

BURN User Interface using External Theme

I created a bootstraper, that checks the registry and UI components before installing the desired component.
I have an issue, I am using an External theme, I want to display BULK ( Alot of Data about the pre and post requites ) of my application. I need to display the information on the install page. Even a scroll bar would work i.e. Bulk data using tags but a scroll-bar.
The important thing here is ( I am using an External Theme ) , So I have an XML for the interface.
Can you kindly give me an example, that how to display large information in Bootstraper Applications.
You'll need to write a custom Bootstrapper Application to represent your data. There isn't anything in wixstdba that would meet those sorts of requirements. You can write your custom BA in native or managed code and use all the UI widgets you want to display the UI how ever is best for your needs. You can see that the WiX toolset installer's UI is extremely custom (although it's more to show off that you can do something really different than for any practical purposes :).

how to get embedded flash movie to communicate with .net winforms app

Hi I've used the shockwave flash com object to embed my flash file. I have buttons you can click on within the flash movie. Is it possible to get flash to notify my winform app which button has been pressed. It's developed using actionscript3. I'm using the latest vb.Net.
You can either use FSCommand, or use ExternalInterface. The later is better, although it may be harder to understand at first because of the format it uses, although if you've already solved the CallFunction (or SendFunction?) method argument, it's the same.
There are documentation and a sample C# project in Adobe's site, but I don't know the exact URL.
EDIT: To catch FSCommand and ExternalInterface calls there are two events you can subscribe to.
Also, you could also use sockets (either binary or XML).
That's a very open question as there would be many ways to do this depending on how your website and winforms applications are setup.
My initial suggestion would be to have your flash movie call some client side javascript on the button clicks. The javascript could post to a .Net SOAP webservice for instance which logs the button interaction to an associated database. Then your winforms application could finally check the database for the presence of new button click records.
This is just one high level suggestion based on the very high level question asked. If there's more specific information available then this can be refined.
Brian.

Obtain control names in Windows application

Haven't found this in my search on Stackoverflow - I know I've seen a tool like it before, for obtaining control names or IDs in Windows apps which can then be used for reference in automated testing, in tools like AutoIt. Can anyone suggest one?
I've tried the OLE/COM Object Viewer and while it has control lists, there's no interactive method with it. Like the web developer toolkit in Firefox where you can click a control and get all the information about it, I'm after a similar app for Windows testing.
It's called Spy++.
Found the tool I wanted, either NUnitForms - which means you can use the NUnit Framework to access windows forms, and includes a Recorder tool for identifying the controls, as well as Managed Spy for giving the individual component names as well as every bit of other info - font, color, size. Very nice.
NUnitForms : http://nunitforms.sourceforge.net/
ManagedSpy: http://msdn.microsoft.com/en-us/magazine/cc163617.aspx