Convenient way to navigate throught views on uno-platform [closed] - uno-platform

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 2 years ago.
Improve this question
I am very new to UnoPlatform. I am trying to create a new application. Yet for some time I am stuck at creating convenient way to navigate through views.
I searched through webs and forums. I found that the best design pattern would be MVVM. Demo Apps on platform.uno seems to be implemented using this pattern as well. However some approaches i found online are not possible with unoplatform, as far as I understand it.
To give an example:
The app starts at LoginPage. On successful login I want to be taken to a completely different view with different controls. One of the approaches I found is by holding currently active viewmodel and render pages accordingly.
Is there some approach you would recommend for navigating through views? Or some material I could read to understand this concept better?

Using MVVM Light, the navigation needs to be performed using the NavigationService, as you'll find in this documentation: http://www.mvvmlight.net/doc/nav5.cshtml.
You can also use Prism for Uno, which handles navigation per regions. You can find documentation here https://prismlibrary.com/docs/ and samples here: https://github.com/PrismLibrary/Prism/blob/c71957ad56c0cfedf479d46dcb1870c96232d86c/e2e/Uno/HelloUnoWorld.Shared/ViewModels/ShellViewModel.cs#L30

Related

Testing the design of a page every time a new code is pushed [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 6 years ago.
Improve this question
I am looking for a testing framework to kind of test the front end and design of my application. I am building an angular application and we are using Protractor for the end to end tests, however I was wondering how do we test the design and the actual layout.
For instance when my partner pushed code last week he broke the navigation menu barand we want to make sure we have automated test that makes sure that the css is not broken before we push it in to prod. I am open to all suggestions. I was wondering if protractor can be used for this or is there a a better tool?Protractor does give you ability to localte css elements by id etc but not sure if this is a smart approach.
It might not provide everything you need, but BackstopJS seems to be capable of handling CSS breakage:
https://garris.github.io/BackstopJS/

How to scrape data off websites that require validation code? [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 4 years ago.
Improve this question
Is it possible to scrape data automatically from websites that require a validation code each time a webpage is accessed? Such as the case when the website shows you a picture of the code and asks you to enter what is shown in the picture. I'm using the rvest package. Is this possible to do?
What you're trying to do is beat CAPTCHAs. That's possible but very hard. This is a spammer's hardest job - to come up with an algorithm smart enough to fill out those fields correctly. It's not something you're supposed to do, the whole point of those validation codes is to prevent access from non-humans. If you're smart and motivated enough to figure out how to answer those questions programatically, you can probably make more money doing that than whatever you're trying to do :)
Some websites offer a direct API, which is the way you're supposed to interact with their data. But getting past a CAPTCHA by scraping is not an easy deed.

What's new in Razor 3? [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
I can't find what's new in Razor 3. It seems like a silly question, but I can easily find what's new in MVC 5, in EF 6, etc. - but I tried to google it, I tried asp.net, I tried Scott's blog - nothing. So I'm curious, does anyone actually know what's new in Razor 3? Thanks!
Here is a list of all the bugs fixed in Razor 3.
https://aspnetwebstack.codeplex.com/workitem/list/advanced?keyword=&status=Closed&type=All&priority=All&release=v5.0%2bPreview%7cv5.0%2bRC%7cv5.0%2bRTM&assignedTo=All&component=Web%2bPages%252fRazor&reasonClosed=Fixed&sortField=LastUpdatedDate&sortDirection=Descending&page=0
The three highlights are:
Support for editing with tabs in VS2013.
Support for URL rewrite
Removing of the security transparent attribute.
The official release notes are coming out shortly.
There are no new features added in Razor 3 or Web Pages 3 - just some bug fixes. Given that, I have no idea why Microsoft haven't publicised any release notes specific to these two products. I have reached out to them on that. I shall update the answer when I get a response.
UPDATE
Yishai has kindly come back to me and provided details below as well.

GUI internals, looking for turorials [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
There are tons of resources on how to program using the APIs of various widget toolkits but I can't seem to find much in the way of a tutorial on how to create widget toolkits themselves or how they work n detail. They are basically just black boxes to me right now.
There is some info on QT:
http://qt-project.org/wiki/Category:QtInternals
but it seems quite specific to QT and not geared towards general theory.
Could anyone point me to some resources?
Thanks for reading
There are powerpoint presentaion slides on the following link:
http://aplcenmp.apl.jhu.edu/~davids/605741/handouts/6_SWT_Programming.pdf
Also you may have a look on pdf given on the following link:
http://www.loria.fr/~dutech/DDZ/SWT.pdf
It would have been great to know which programming language you are using (or you'll use) to develop widgets.
Anyways,there is a link which shows the basic concepts behind widgets and also their creation:
http://star.pst.qub.ac.uk/idl/Widget_Programming_Concepts.html
Go through the tutorial/description to see if it meets your need.
Hope it'll help you.

windows 8 style API for ASP.NEt (websites) [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 9 years ago.
Improve this question
I've heard that Microsoft has unleashed a windows 8 style (previously known as metro) API for ASP.NET
Does anyone knows anything about it? What is it called? Where to get it from?
Unfortunately I don't have any link about that API. I've tried searching for it but didn't get any luck.
I have found some JQuery APIs, but I'm asking about the one done by Microsoft itself. Is there any?
I was hoping that there's a simple way of creating "metro look" without having to reinvent any wheel (if there's already an API for it)
That's not called an API, that's ususally called a theme: a set of stylesheets and images.
I think you are looking for Metro UI CSS. It's got little to do with Microsoft though.

Resources