offline web application using JavaFX - javafx-2

HTML5 does support offline web application.I want to create an offline web application using JavaFX. Does anyone has an example related to the same?

The documentation of javaFX mentions how you can do this:
http://docs.oracle.com/javafx/2/overview/jfxpub-overview.htm#CJACGDDE
First learn a bit about how packaging and deployment works.
Then you know how to work with the examples.
You can find tutorials that include examples with code here:
http://docs.oracle.com/javafx/index.html
(Take a look at the Packaging and Deployment in the Deployment and More section.)

Related

Building an App in SharePoint Online

I have a client that wanted an easier way for his team members to build/update pages on their site, their site is heavily customized with a lot of JavaScript. The issues is that when a team member wanted to add a new section to the page they had consult a dev person to hard code in the desired features. So we decided to create customizable web parts of those features making the site more self-serviceable.
When I first started I found some documentation that said to use visual studios to build the web part using sandbox code, upload it to the site and then they would just need to activate it to deploy it on the site. Buuut unbeknownst to me code based sandbox solutions are no longer supported in Sharepoint and therefore the web parts we built could not be deployed. I was then told that I needed to build it as an Add-in, but as I started building the add-ins I found that the customizable field properties (i.e. ability to change background color, text style/color and banner color) that I want are not implementable as a add-ins.
So now I’m back at square one and I don’t know if it’s even possible to build a web part as a add-in or do I need to go a different route?
Any thoughts or links to sources you can provide would be HUGELY appreciated!
Thanks
Terek
In SharePoint 2016 things have changed a lot from the traditional model which was the classic way of building web parts. The way you worked before is called "classic", the new way is called "modern", and the way to get your dev environment is the following (brace yourself, it is a long answer):
1) In SP2016/Online you will need to configure your dev machine with the following environment, installing the following:
NodeJS Long Term Support version
Yeoman (which will be used to create web parts)
GULP (which will play the role of virtual web server)
Once the three components above are installed, you will install the Yeoman SharePoint Generator to create the SharePoint Web Parts, Yeoman simplifies the process of creating things by delivering templates ready to use and making all the configurations standard, you gonna love this guy!
To configure your machine see the following link:
https://dev.office.com/sharepoint/docs/spfx/set-up-your-development-environment
2) In SP2016/SP Online, you will develop for SPFx (SharePoint Framework), Microsoft has made significant efforts to address the changes and help developers to embark on this new journey by publishing training and educational material at GitHub, YouTube, and on its official website (I will add link below), but for the purpose of helping you, please follow this tutorial, it helped me to learn how to develop Modern Web Parts for SP 2016/Online:
https://dev.office.com/sharepoint/docs/spfx/web-parts/get-started/build-a-hello-world-web-part
3) From the tutorial above, you will get a fully functional Modern Web Part that can be deployed to SP2016/Online, you will see the new modern architecture allows you that old experience of "sandboxing" web parts in a faster way without, thus solving your problem of constant updating/refactoring components in a live production environment. This way now allows you to constantly update the code and see the results in real-time , you will be able to see results on your dev environment by calling: https://localhost:4321/temp/workbench.html and at same time on your SP environment. for example: http://portal.company.com/_layouts/workbench.aspx
Links:
YouTube "SharePoint Framework Tutorials" - it is the step by step tutorial video showing the whole process of creating a web part:
https://www.youtube.com/playlist?list=PLR9nK3mnD-OXvSWvS2zglCzz4iplhVrKq
GitHub repository with the full documentation, samples and extras for the SPFx and PnP (this is another story for another time):
https://github.com/SharePoint
I hope it helps you!

When to use which library? azure-mobile-apps-js-client and cordova-plugin-ms-azure-mobile-apps

I am confused about the following two Microsoft Azure libraries:
azure-mobile-apps-js-client
cordova-plugin-ms-azure-mobile-apps
Does anybody know which one to use when? Or what are the advantages of one over other?
From their names, it appears that the "azure-mobile-apps-js-client" will not contain cordova features while "cordova-plugin-ms-azure-mobile-apps" does. Is that the only difference?
My previous questions were more generic. So adding some more comments to give you more context on why I have those questions.
I was building an Ionic 2 app some time back then stopped it for a couple of months. Now getting back on Ionic app and see this new JS Client library (azure-mobile-apps-js-client) around. My Ionic 2 app is basically going to invoke/call REST endpoints implemented in Azure Mobile App backend developed using Node.js.
Last time when I was developing it by following Microsoft documentation for Azure Mobile Apps, I tried to use "cordova-plugin-ms-azure-mobile-apps" as per the docs.
Now I see this new library (azure-mobile-apps-js-client).
And therefore I have confusion on which one really to use. If anybody has a link that describes both of these libraries in detail and their differences then please do share the link. It would be great!
The cordova plugin is the JS client wrapped in a plugin. Use whichever is more convenient for you.

What kind of web framework is this?

I've seen the layout in the following link a few times now, and they all look very similar. Is this a template or a framework that people are using? The reason I ask is that I am looking to build simple web apps but do not have a knack for the design aspect of it.
Link 1
The most likely used framework is Bootstrap: http://getbootstrap.com/getting-started/
You may find some alternatives here: http://modernweb.com/2014/02/17/8-bootstrap-alternatives/

Creating a new web forms project in Alfresco 4.0 Community Edition using Web Quick Start

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.

Kohana sample CRUD application

I'm completely new to this framework and I'm trying to find some sample CRUD application to get started with Kohana 3.
There is a tutorial and information in the unofficial Kohana 3 Wiki (http://kerkness.ca/wiki/doku.php), but even there, there are some aspects that are not covered (the model, validation, etc).
You might find the example code hosted on shadowhand's github repo useful. It provides the code for a complete website and there are other projects for Kohana3 hosted on github that you should be able to locate without too much trouble that you might find useful.

Resources