I am trying out WinJS & would like to know if its possible to create a web application using WinJS.
Something that you would typically create using HTML5 + Bootstrap + JS framework (like AngularJS).
I need to create a Line of business that would be hosted on a server & can be accessed through any browser from any device.
I am thinking of considering WinJS because
- My primary audience would be on Microsoft devices & so in future if I need to create a Cordova wrapper I can easily create one.
- I would benefit from Microsoft support.
Absolutely. As of April 2014, WinJS became an open source, cross-platform framework, no longer exclusive to Windows. It's fully licensed for use on the web, and work has been done to make it compatible with other frameworks. You can find info now on try.buildwinjs.com, specifically http://try.buildwinjs.com/#get that tells you the different ways to acquire libraries for your needs. This includes doing a custom build of a subset of functionality, which takes you to https://github.com/winjs/winjs-modules where the source actually lives.
You can find some details on the Sept 2014 release of WinJS 3.0 at http://blogs.windows.com/buildingapps/2014/09/17/winjs-everywhere/.
Related
Looking for advice, not necessarily any actual code. I'm a consultant writing some de-duplication functionality into an existing SharePoint Online \ Azure functions solution for a client.
The requirement: I need to write an Azure function that pulls PDF's from a SharePoint library, so I can hash check it before running it through OCR (ComputerVision API), followed by some text processing and a final similarity check.
The challenge: The client environment is locked down to the n-th degree (financial institution) and I only have access to the Azure resource group I'm currently working in. The existing function app, used by other solutions, runs on runtime 2.0 and Linux. I need to use SharePoint CSOM to access the PDF's for the above mentioned checks, but runtime 2.0 only supports .NET Core (not .NET framework), and .NET Core doesn't support SharePoint CSOM. There is a workaround to get CSOM working in .NET Core by fiddling with target build settings, but then it still doesn't run on Linux. Logic Apps doesn't give me the granularity to run all the checks and balances I need to, and SPFX isn't really a solution to do nightly automated runs without some garish compromises. VM's are out.
Any thoughts or suggestions to get this up and running without shooting myself or my client in the foot?
Here's two options:
Using the raw REST APIs with .Net Core running in Linux. You'll need to figure out how to generate the auth token. I know it can be done but don't have sample code for you at this time.
If Node is an option for you, you can use PnP JS in a Node Azure function. https://spblog.net/post/2017/06/07/Using-PnP-JS-Core-(sp-pnp-js)-in-Nodejs-environment
Do not even bother trying to get the CSOM to work. Also I don't even see how SPFX will work in this case.
I am an WPF developer with little knowledge for the way "mobile" apps work but in general I believe that they work in some sort of sandbox way (meaning they should not be able to access each others process, info etc., I might be totally incorrect on this one). So I am wondering if such "limitations" are applied to the Universal Windows Platform (UWP) apps?
The reasoning for my question is that I would like to write and app that checks if another Universal App is in process and use some of its information. In WPF there are ways of doing just that but in UWP apps I am not sure if it is/should/will be possible.
Thanks.
There are a couple of solutions in Windows 10. Firstly, if you are building an enterprise app and can also side-load normal Desktop apps, you can use this technique to build your UI as a UWP but also be able to break out of the sandbox and do other things on the desktop.
Secondly, if the app you want to read from is cooperative (ie, is designed to provide information; you're not just grabbing it without permission) then you can use App to App services to send and receive information between two consenting applications.
Both links are to //build videos but you can download the slides too that should contain code samples.
I am beginner with Worklight. I developed an android application using Estimote Android API. Now I want the same application in Worklight. What should I do to get android UI on worklight. I wrote same code on Native folder in Android environment. But I am getting blank display instead of MainActivity layout. How to display android layout on Worklight? Please help me with this issue.
Are you aware of Worklight's client-side abilities? That is, with Worklight you can create either Hybrid apps or Native apps. Make sure to read IBM Worklight's Getting Started training materials.
Hybrid apps are basically a native application shell, containing a web app built using JavaScript, CSS and HTML.
Native apps are just that, fully native Android apps where Worklight provides an API set to work with the Worklight Server and other server-side features.
From your text, it sounds like you have opted to use the Hybrid application model, and in this case it would make perfect sense to me that your native UI code is not displayed out-of-the-box, as that would require altering the default Activity Worklight provides for the Hybrid Android application.
You do not explain what changes you have done
The default activity essentially brings up a Web View into which it loads the client framework as well as display in the index.html that can be found in your Worklight application (your project > your app > common folder > index.html).
So by just adding your code and layout, it does not mean that your app's display will change. This will require you to alter the loading sequence of the application.
You do not explain what changes you have done
In any case, it sounds to me like you need to decide whether to:
Use HTML, CSS and JavaScript to build your application's UI per the Hybrid application model
Create a native app instead, where you will be able to create the UI how you want to, like you say in your question
Learn how to mix & match native and web UI elements together in your Hybrid Worklight application
I want to create a Web project using Alfresco 4.0.
Alfresco Developer Guide -Jeff Potts Book guides me to create a web project using Alfresco 3.x. It uses the Alfresco WCM component. But I can't find the WCM component for Alfresco 4.x (Check this link Alfresco Download )
Instead of WCM component I can find the Web Quick Start component. Is it possible to create a web project using Web Quick Start alone?
Webforms and the whole AVM are outdated technology. WCM Quickstart is a just a sample implementation for web content management and has nothing in common with the AVM based approach in 3.x. It may cover very basic use cases, but I would generally discourage people from using it unless they are very clear about their requirements and what's covered by Quickstart.
That said, the best resources besides source is at http://wiki.alfresco.com/wiki/Web_Quick_Start_Installation_and_Configuration and http://wiki.alfresco.com/wiki/Web_Quick_Start_Developer_Guide. Follow them and you get FormService based forms for the various content types.
After learning that JADE does not support Mobile Agent concept but supports only traditional Agent Framework, I was wondering which Framework or technology still uses Mobile Agent Concepts and I can build an application using it. IBM's Aglets could have been, but it is no longer maintained and revised (I think, since I didn't see very active participation in Aglet related forums)
JADE supports agent mobility - http://www.iro.umontreal.ca/~vaucher/Agents/Jade/Mobility.html
Take a look at Mobility-RPC, it supports code mobility in general, including mobile agents.