TK Live View
No edit summary
No edit summary
Line 1: Line 1:
I have been showing what has been growing slowly in the designing of the web UI and while the app is running and then this is more of the same we have taken it a bit further and consolidated some of the functions that I think one needs when fine-tuning the look and feel of a web application.  
I have been showing what has been growing slowly in the designing of the web UI and while the app is running. This is more of the same. We have taken it a bit further and consolidated some of the functions that I think one needs when fine-tuning the look and feel of a web application.  


We have a new icon that call the Turnkey Live Editor. It resembles the ViewModel Editor and is a combination of the run button which we had before where you prototype and start the system in either WPF or in the local Turnkey prototyper. When the icon is pushed, you get a corresponding ViewModel connected to it because they share some of the logic.                 
There are four foldup sections in the TK Live View: Live Edit, Server Setup, Assets TK Synk, and Debug Information.                 


There are four foldup sections in the TK Live View: Live Edit, Server Setup, Assets TK Synk, and Debug Information.                
=== Live Edit ===
We have a new icon that calls the Turnkey Live Editor. It resembles the ViewModel Editor and is a combination of the run button which we had before where you prototype and start the system in either WPF or in the local Turnkey prototyper. When the icon is pushed, you get a corresponding ViewModel connected to it because they share some of the logic.  


=== Live Edit ===
The new button looks like the play button and you can check if you have the current Turnkey core installed. It is optional; you can run it either towards a local XML file or use the MDriven server which will use the settings from the cloud connection for data. If you choose the MDriven server, the "Settings for MDrivenServer" button will light up. Click on it and it will open a new window labeled CloudForm where you can set the server you want to run against.       
The new button looks like the play button and you can check if you have the current Turnkey core installed. It is optional; you can run it either towards a local XML file or use the MDriven server which will use the settings from the cloud connection for data. If you choose the MDriven server, the "Settings for MDrivenServer" button will light up. Click on it and it will open a new window labeled CloudForm where you can set the server you want to run against.        
 
Using a standard model to demonstrate, a new icon calls the Turnkey Live Editor. (Besides it is the ViewModel Editor - they resemble each other.) It is a combination of the run button, which we had from before, where you prototype and start the system in either WPF or in the local turnkey prototyper. This is sort of a hybrid between the ViewModel Editor, where you change the definition of the views, but this way, you run the application.
 
It is basically an embedded browser, the new WebView2, Microsoft's embedded Edge browser, which is replacing the old Internet Explorer and Edge. What happened there was they said there's no connection to the target machine.  What we want to do is to set up a server.
 
This is something that looks very much as it did in the play button, and we can check if we have a current turnkey core installed. We need one of those - that we can use. This is new and optional.
 
You can either run it towards a local XML file, or you can use the MDriven server, which will use the settings from the cloud connection for data. So, and if you choose that one, this button lights up, and you get to this one where you actually can set the server that you want to run against.
 
For now, I'm going to use the XML. What I want to do is restart the turnkey core, and this new text highlights in red when it discovers there is a server running, or the settings from before don't match the file that we're working on. I'm working on a file that's stored in the internet cache here - sample model for association.
 
I'm going to restart the server, and once that is done, I can fold this tab again, and then this one is started with our application. So, this is basically just the application in the browser, nothing to it so far. But when we choose to fold down this live edit tab, we get the view model tree, and also some a few of the settings that are interesting per viewmodel column.
 
When I click here, all things, I can see that this is positioned at the position 0x and 0y. If I were to change this to 10 instead, this would immediately jump, and I don't have to refresh, and that's the beauty of us running within a harness like this - because we can do the push and refresh for you, to make things move smoother. As I've shown before, we can also move things around like this, and since this is the running application, I can expect to find the actions, I can create a new thing, and I can save that.


=== Server Setup      ===
=== Server Setup      ===

Revision as of 06:13, 6 March 2024

I have been showing what has been growing slowly in the designing of the web UI and while the app is running. This is more of the same. We have taken it a bit further and consolidated some of the functions that I think one needs when fine-tuning the look and feel of a web application.

There are four foldup sections in the TK Live View: Live Edit, Server Setup, Assets TK Synk, and Debug Information.

Live Edit

We have a new icon that calls the Turnkey Live Editor. It resembles the ViewModel Editor and is a combination of the run button which we had before where you prototype and start the system in either WPF or in the local Turnkey prototyper. When the icon is pushed, you get a corresponding ViewModel connected to it because they share some of the logic.

The new button looks like the play button and you can check if you have the current Turnkey core installed. It is optional; you can run it either towards a local XML file or use the MDriven server which will use the settings from the cloud connection for data. If you choose the MDriven server, the "Settings for MDrivenServer" button will light up. Click on it and it will open a new window labeled CloudForm where you can set the server you want to run against.    

Using a standard model to demonstrate, a new icon calls the Turnkey Live Editor. (Besides it is the ViewModel Editor - they resemble each other.) It is a combination of the run button, which we had from before, where you prototype and start the system in either WPF or in the local turnkey prototyper. This is sort of a hybrid between the ViewModel Editor, where you change the definition of the views, but this way, you run the application.

It is basically an embedded browser, the new WebView2, Microsoft's embedded Edge browser, which is replacing the old Internet Explorer and Edge. What happened there was they said there's no connection to the target machine.  What we want to do is to set up a server.

This is something that looks very much as it did in the play button, and we can check if we have a current turnkey core installed. We need one of those - that we can use. This is new and optional.

You can either run it towards a local XML file, or you can use the MDriven server, which will use the settings from the cloud connection for data. So, and if you choose that one, this button lights up, and you get to this one where you actually can set the server that you want to run against.

For now, I'm going to use the XML. What I want to do is restart the turnkey core, and this new text highlights in red when it discovers there is a server running, or the settings from before don't match the file that we're working on. I'm working on a file that's stored in the internet cache here - sample model for association.

I'm going to restart the server, and once that is done, I can fold this tab again, and then this one is started with our application. So, this is basically just the application in the browser, nothing to it so far. But when we choose to fold down this live edit tab, we get the view model tree, and also some a few of the settings that are interesting per viewmodel column.

When I click here, all things, I can see that this is positioned at the position 0x and 0y. If I were to change this to 10 instead, this would immediately jump, and I don't have to refresh, and that's the beauty of us running within a harness like this - because we can do the push and refresh for you, to make things move smoother. As I've shown before, we can also move things around like this, and since this is the running application, I can expect to find the actions, I can create a new thing, and I can save that.

Server Setup      

Assets TK Synk

Debug Information

Watch the video to learn more

(Video)

This page was edited 54 days ago on 03/26/2024. What links here