How can i make polymer work in a node-webkit application?
I have succesfully followed the polymer tutorials, and everything works fine when i just use a server like wamp.
to be clear : I have no problems working with nodewebkit itself, the question is how to get polymer working in nodewebkit.
Related
We have developed our web app using polymer 0.5. We haven't upgraded it yet, there is a request for a new page creation. Question is, can we have that page alone created using polymer 2, whereas the rest of the app still runs in 0.5.
Also request to provide some pointers on login page custom element. It will be a simple user/password field.
Thanks,
Use information in this post https://jcrowther.io/2015/06/01/upgrading-from-polymer-v0-5-v1-0/ to migrate to 1.0 and then make minor changes to run on 1.9 and finaly you can use Polymer linter avaiable in https://github.com/Polymer/polymer-linter with --fix option in polymer-2-hybrid mode.
There is no way that 0.5 version elements will be complatible with 2.0. There have been few changes.
Upgrading to version 1.9.1 should be ok. Without any hard problems. So you should first try this and repair some errors that might occur. Then read documentation about upgrading to Polymer 2.0. You will be using hybrid elements. This is important, because in Polymer 2.0 there are 2 choices of how to define elements.
If you don't have that much time playing with upgrading, or is your app simply large, then upgrading to 1.9.1 should be the best option.
Im an absolute beginner here and I just signed up for some tutorials in generative visualisation using sublime text-2 for processing.
Im using Processing 2.0 right now and the thing is that none of the sketches in processing(even the examples) run when i hit cmd-r. The run button turns yellow but nothing happens. But when I change the mode to 'java script' the sketch opens up and displays in my browser.
What am I doing wrong here? Can someone please help me?
I did a bit of research and found out that it is indeed an issue found within the Processing 2.0 application (source: https://github.com/processing/processing/issues/1817)
In terms of solving it, I did say within the issue to install the latest version of Processing here: https://processing.org/download/, the latest is 3.3.7, when I ran a sketch using Processing 3.3.7, it did work.
My answer appears via the exact link to the issue: https://github.com/processing/processing/issues/1817.
I hope that this solves your problem.
I have just started working on Polymer Project and I am having some difficulties in identifying what could be done with Polymer Project. So my question is: Is it possible to do a dynamic website using Polymer? My project needs to be connected to a database.
I'm working on Eclipse.
Yes.
Prime Examples are: Google Play Music and Google I/O
More can be found on the Built With Polymer website
Just wondering, is it possible to turn spring mvc web development content into a desktop application using TideSDK? Both are using HTML5 as the front-end. Then, as for the back-end process, it should be able to reuse the java code inside spring mvc.
I just finish a web project that was developed using spring mvc, and there is a request to turn it into a desktop application. I was looking around and found that you can use HTML5 for creating desktop application. It would be nice if I can directly convert it to desktop.
Thanks for the response :D
Unfortunately the answer is no. TideSDK has support for different server languages, such as PHP and Python, but Java is not one of them.
What you could try is to make the app a shell for the webpage. So when the app starts it immediately loads http://yoururl.com, the behavior would be exactly the same as in a webbrowser.
Note that when you load any remote URL, all native functionality would not be available to the page.
I am presently started working with mobile development and would like to know which is the best way to work with Html,css and jquery/Javascript for WP7.
As I have seen couple of things on the web as Phone Gap,Jquery mobile and Appcelerator Titanium
1.I have some of the problems actually this is not a problem but as PhoneGap gives a starter template with C# solution.
But I'm working on VB.Net.I'm unable to work with the C# solution as If I convert to VB.Net the entire starter template it is not working.
2.Just now I had a look at Jquery mobile there is no specific documentation mentioned how to use it with emulator in WP7.
Can anyone show me the links where I can start with the basics of Jquery mobile with WP7 emulator.
3.Do you think there is any other best way so that I Can work with jquery, html and css in WP7.
It sounds like PhoneGap is your best option here. Right now, it's the best way to deploy an HTML-based application on Windows Phone. The main thing that PhoneGap gives you is a bridge to the phone's hardware (things like volume buttons, vibration, etc.). It also gives you an easy way to wrap up your application into a package that can be installed like a real native app.
By themselves, other frameworks like jQuery Mobile, Sencha Touch and Kendo UI don't provide hardware access or the ability to deploy the app natively. They are purely UI frameworks, meaning they provide the interface widgets you'll use to build your app but little else. Generally, with these frameworks, you need to host the app somewhere like a website and access it through the browser.
Assuming you're running a Windows machine, you could host the app locally for development using Internet Information Services (IIS). Here's a guide to setting up a site. Then you could open the emulator and go to http://localhost to interact with your app. That would work, but it would be clunky.
The ideal scenario is to use both jQuery Mobile (or another UI framework) and PhoneGap to create a nice-looking, natively installable app.
What I'd recommend is trying to get PhoneGap set up in a VB project. From what I've seen, this shouldn't be too difficult. There are probably some details to work out, but mainly it looks like you need to copy the www and GapLib folders over. Then right click on References and browse to the GapLib .dll. You'll also need to get the MainPage.xaml and MainPage.vb files set up, but they probably just host a web browser control, so this should be straightforward.
Migrating the pieces into a new project should work a lot better than trying to convert an existing project.
If you post specific issues that you run into during the setup, I'm sure you could get them answered quickly.