I have done some data analysis on R, Now I am willing to display the results & visualizations on Django Web application How should I do it.?
1) Save results in database and make a Django app independently while display results by fetching from database.
2) I am not sure but what what purpose rpy2 does here? Should I call my R function in python and make a Django app (pardon if this point doesn't make sense)
From experience, using Rpy2 is a bit of a mess. I would go with option 1 if you have time. If you're in a rush, you can use Rpy2, both techniques will work but the first one is less dirty probably.
You might want to take a look at some R to build web applications like this one?
Related
There is a piece of code, a webserver backend, thats written as a whole bunch of azure functions - and predictably its terribly slow - kind of the mistake that someone has pointed out in this blog - https://blog.maartenballiauw.be/post/2019/10/02/dont-use-azure-functions-as-a-web-application.html
Is there an easy way to convert an Azure functions based web server to a traditional simple .NET server ? I mean "magically" without rearchitecting the whole thing. Sorry I am a newbie to this whole web/azure thing and trying to find my way around an existing code base
As mentioned in comments, there isn't a easy way to convert the function to a web app directly. But I think it is not different for us to implement it. You just need to copy the copy the body of your function code and create some function or apis in your web app with the code which you copied from function. You may need to adjust some parameters in your apis in web app.
Apart from this, you can also call these functions in your new app code(without rewrite the function code in your new app). I think the whole process will not be difficult.
I wish to copy data from my desktop application to another web solution I'm using.
At the moment, I need to take each field and copy-paste it. Is there a way to map the desktop software and clipboard the data to an array/string that I can later use?
There aren't any API's around of course.
Thanks ahead!
If I understood correctly, what you could do is create a "hybrid" Desktop/Web automation script (say TestStack.White / Selenium) to get data from the Desktop Application and then copy it to the Web application; but as it may be a very complex development task (depending on the structure and functionality of both applications), it may not be cost effective.
We have numerous small applications in our organization, most of them .NET web applications. Each of these has a seperate authorization system.
I would like to create 1 library of functions to do authorization checks to use in all these applications.
I would like to have this library centralized, so that if i want to make changes to it, i don't have to go in each application seperatly and update the reference.
What would be a good way of doing this, or should I take a different approach?
PS: Since I will be looking to use this concept also for other situations, I'm not looking for authorization specific solutions.
Don't do this.
Everything will be fine for ages, and then an error will creep in and all your sites will go down at once. Instead look at automating your build, test and deploy cycle with tools like TeamCity, NUnit and OctopusDeploy that so that you can regression test each and every app, then deploy the new tested package (i.e. web site + security dll) quickly and easily.
The way I would do this is to pull your library out into a separate dll and start using in one application (I'll assume this is of course fully unit tested :-) ). Next use NuGet to build yourself a package containing the dll. You can host the Nuget package (just put it on a share to start with) and then re-use it all your other applications.
To start with, I have to say that I am not an oracle developer and I have never used any oracle product. But I have a task in hand to automate Fusion Middleware. I have automated the installation using response files. However, I Am not sure how to create the soa domain and extend it to include soa components.
I am using this document http://docs.oracle.com/cd/E23943_01/core.1111/e12036/toc.htm
(steps 8,9 and 10). MAnually, using the GUI i am able to do it but I need to automate it. I know it can be done via wlst scripts. Does anyone have a sample script as per the documentation?Unfortunately, I dont have much time to understand wlst scripting. Any help would be appreciated.
I am looking for a simple web load-testing tool that has a GUI.
I need to run lots of small and simple tests (like hit page x 100 time and let me know how long it took).
I do not want to have to script every test as I would have to using WCAT or AB.
Also free would be nice.
If it matters I am using IIS7.
There are a number of services online that can do this type of testing for you as well. Of course, one of the downsides to this approach is that its harder to correlate the data from the service (which is what can be observed externally) with your own internal data about disk I/O, DB ops, etc. If you end up going this route I would suggest finding a vendor that will give you programmatic access to the raw test result data.
I found JMeter.
It is very advanced (way more than I need) but it has a nice GUI and has very good docs.
http://jmeter.apache.org/