How to develop an intranet application using wicket which is able to deal with multiple windows within one common seesion?
The multiple windows should work/be used independently (but sharing a common session, for example authorization data)
Use a different page map for each window/frame.
https://cwiki.apache.org/WICKET/page-maps.html
Related
I am new to Ionic, currently learning to develop using Ionic. I just have a question, I don't know if it is possible.
My plan is to create an Ionic app, one application/code base only, for browser as admin, and mobile app for the user. I will limit their access based on the user.
Is it possible that I have two different database on my app?
On my browser I will use REST API to connect to MySQL.
On the generated mobile app, I will use an offline database.
Hope you can enlighten me. The goal is to develop a one application for web and mobile app. But I don't know if it is possible.
Thank you.
Your question is not very clear, I will try to answer according to what I understood.
You didn't mention the back-end, so I am assuming you are using the same data structure for both, e.g(user has id and name and phone, in both, identically)
In this case you can create a setting file where you will save your constant connection strings along with any necessary information(create a any-name.ts file in your root folder and just write down
export let example = {...}
and whenever you need, just import your any-name.ts and use the object inside.
If the data structure is also different, I thinks you will be doing massive works to maintain such an app, but the idea would be creating 2 of each functionalities having the same output but different inputs.
P.S in both cases I mentioned you will need to detect the platform to define which function/information is adequate.
We have two different Progressive Web App projects and they are using IndexedDB for manipulating data.
We need to share data between these apps but IndexedDB seems to allocate separate storages in Browser for different apps.
I wonder how we can achieve this using PWA?
Any recommendation would be appreciated.
In general, the storage model for the web platform in general (not specific to progressive web apps) assumes that origins are boundary points, and that two web apps from different origins can't read each other's storage.
If you have two different web apps and you would like to ensure that they have access to each other's storage, the easiest approach would be to host them both on the same origin under two different URL prefixes, like https://example.com/app1/ and https://example.com/app2/.
If that approach doesn't work, then instead of relying on local storage like IndexedDB, you should consider using a remote backend storage solution. That would allow the same user across multiple web apps to authenticate and access the same remote storage.
I have been trying to find an open source or affordable platform / CMS that is distributed.
And by distributed I mean that there is a single control panel with all the content, but you can have multiple websites on multiple web hosts that query an API that holds this content. Not the usual "one install, multiple websites" as you can do with Wordpress MU.
Ideally there would be an API that the website can connect to and get the data, or use push technology from the control panel once new content is added.
If there is no client side platform built but there is a sophisticated content management platform with an API that allows me to build my own client/website connecting to it, that would be fine too.
Does anyone have tips if there is such a thing?
Govento CMS is a distributed CMS, that allow you, to manage all projects with a single installation and present your content via push publishing dynamic and current on different remote delivery-platforms.
german: http://goventocms.com
or english:
http://translate.google.de/translate?hl=en&sl=de&u=http://govento.de/&prev=search
PowerShell Web Access allows you to run PowerShell cmdlets through a web browser. It shows a web based console window.
Is there any way to run cmdlets without typing them in to the console window? And is there any way to get the results back?
I'm envisaging an app that lets a non-technical user restart a print queue (for example) without having to know PowerShell. The app would display a list of print queues and then the user could select one and restart the queue. The app would essentially be a wrapper that takes care of the syntax and variables so that users don't need to know.
Is there a way to do that through PowerShell Web Access? Or is there some other way for a non Windows app to send arbitrary commands to a Windows server without reinventing the wheel?
Not with PowerShell Web Access**. That is designed for an interactive session.
There are a few ways you could do this. All examples are illustrative and may be outdated, insecure, etc.
Create an ASP.NET web application running C#. Run PowerShell in the C#. Use PowerShell remoting as needed. Example.
Create GUI applications using Windows Presentation Foundation or WinForms. Use PowerShell remoting as needed. Example.
Create a services with an API (e.g. REST) that PowerShell can hit.
** OK, I lied. Create a clunky solution that uses delegated, constrained endpoints accessed through PowerShell Web Access.
For each of the above solutions that uses PowerShell remoting, consider delegated and/or constrained endpoints. Example.
We have a web application that allows certain users to perform certain functions with certain parameters. Uses ASP.NET backed by C# with a set of predefined PowerShell scripts and configuration of who can do what stored in a SQL DB. For example...
Jane can restart application pool X on server Y.
John can restart service Z on server Q.
IT Support can unlock their own 'administrative' accounts from their standard accounts.
All of this can run from non-Windows computers. Some of it might be carefully exposed to allow use on Mobile devices : )
If you have the use cases, the small overhead of designing the system and writing the code behind it will pay off quite quickly.
Cheers!
Let's say you have two GWT applications: the first (which is on another server as the second) has implemented some views that can be used to change the configuration separately.
The other one can manage (and access) some of the first ones and should configure them without forcing the user to login on every site.
It would be bad to just copy the code of the configuration, because this would duplicate code and we have to maintain it for every version, because the configuration-dialogues can change between versions.
Is it possible to include / load that view into your main GWT app, so that the users can use it the same way as your main application?
You can - Display the second app in an iframe. But if you use cookies beware of same origin policy if the domains are different for the two sites.
The other solution is import the code into the new one and let it perform independently here.
(A lot depends on underlying architecture of the two apps of course)