I need suggestions regarding language I can use to develop an application that excels aesthetically and functionally. As I am expecting html5 to be on top of the preference for many people the what is recommended API for developing html5 "desktop" application.
Thanks
There is another topic about programming Desktop Applications with web-devel languages.
How to develop Desktop Apps using HTML/CSS/JavaScript?.
The choice is completely upto you. Because everything has some ups and downs. But if you are very much interested in developing using HTML5 and JavaScript. There are lot of sdk's available. Tidesdk and Appjs will minimize the work load for you.
Please go through these links.
Solutions for distributing HTML5 applications as desktop applications?
How to develop Desktop Apps using HTML/CSS/JavaScript?
Related
Well, I've tried to do some researches before creating a question but only a little has been found.
Basically, I have got a Spring-based web application. Apparently, you can navigate through web application using HTTP requests and URLs. If you want to edit a user you do a GET request /users/edit/{id} and a new page appears. Then you make some changes to the user and do a POST request /users/edit/{id} and let's say the main page appears.
So, now I need to create a desktop application which can do the same things.
Do I need to rewrite the whole app to port it on the desktop? Is it possible somehow to do sort of HTTP requests from the desktop app to the server, then get a response and process it? Or perhaps there is a proper way to do it?
I feel like it's a big topic but I only need you to point me in the right direction as I'm lacking experience in creating both desktop and web applications together (I'd say, I have never ported app from web to desktop and vice verse).
Earlier I created a few apps using JavaFX and I want to use it again as my GUI platform for the desktop app.
You can go for a solution like, Electron.
It's a framework for creating native applications with web technologies like JavaScript, HTML, and CSS. It uses Chromium and Node.js. You can develop your desktop GUI applications using front and back end components originally developed for your web application.
I'm just pointing you a way. You can look in to this solution and it's also open-source.
If you were about to develop the frontend from scratch I'd recommend you to use something like Ionic Framework where in the latest beta 4 allows you to write once run everywhere (web, PWA, desktop with Electron, and build native build for iOS and Android).
Basically Ionic is an Angular 7 library/superset that allows you to create mobile apps based on a webview. This webview can be embedded and run on any device in a native way.
Even though the same codebase can be run on multiple devices you can customise the look and feel on each platform and access through Cordova, Electron or Capacitor the native device capabilities and hardware.
If you don't want to rewrite the web client, you can use any desktop framework with the preferred language you want. Any modern language/framework will allow you to make HTTP requests against your backend and get the data through your API.
Honestly, nowadays I'd day that JavaFX is not the best option out there and I'd recommend you to go through the web-based approach.
Good luck!
I have my responsive web application in place which works across all browsers. Now i am planning to work convert it into
mobile application. Did some googling and can think of below ways to come up with mobile app
Approach 1 :-
Can be done with the help of WebView (which actually will work as thin wrapper)
Approach 2 :-
Native App:- . Develop Native app. Now, If I need to develop the native , Can i use existing backend java code for Android/IOS/Windows platform or do i need to make modifications in that ?
If yes will these modification vary per platform i.e. Android/IOS?
For User interface, i believe i need to develop altogether separate views. Is that correct ? If yes will there be separate views for android and IOS ?
If your backend java code is sitting on a server behind some sort of API (REST etc.) then it can be used by both applications.
If you are developing natively for both platforms then you will need separate views. There are however solutions for developing for both platforms using a single codebase see: Xamarin Cordova
I'm wondering about develop Android and deskopt apps using Web-based languages for the GUI.
I mean, tool like Adobe Air/PhoneGap use HTML and CSS for the GUI and Javascript for the service-side.
Can I use Java for service-side and HTML+CSS for the GUI?
I experienced with develop Android and desktop app using Java (Eclipse) and Adobe Air for desktop app using HTML+CSS. Is there a way/tool to put together all these?
The focus is: Java for service-side, HTML+CSS for GUI, target: Android/desktop app.
Thank you
Yes, you can use Java for server-side and HTML+CSS for client-side.
You can read more here (Official Oracle Blog post about this topic with source code)
Okay, so I'm currently looking to see if this is doable so I can hire a programmer. Can I implement let's say a messenger app that is on Android and iPhone just like kik messenger on a website, so the app would be available on the PC online too. If so what language(s) would complete this task? Thank you.
This is not possible using native Android/iOS languages.
These languages are designed to work on mobile devices, not on the web. This means you cannot just embed the source code of a mobile application into a web page.
You can however create a a web version of your application (depending on the complexity of the app). For example: you could create a web version of the mobile app using HTML, JavaScript and CSS. You could also (although slightly dated) create a Flash application and embed it in the browser.
Web apps are becoming more and more common with the rise of HTML5, CSS3 and JavaScript. I recommend this book on building web apps: http://www.amazon.co.uk/Beginning-Web-Applications-HTML5-JavaScript/dp/1430240806
I am writing a Java program for my workplace, to help catalog pricing with several parameters involved. The current program implements JComboBox, along with other Container objects.
I have realized that our workstation will not run a Java program through Windows due to protective limitations, so I am hoping to transition to Google App Engine, since we can load websites much more freely.
The problem I have run into is that JComboBox doesn't run through Google App Engine. In fact, none of the Containers I was using will work in Google App Engine. The tutorials on Google Developers haven't provided the information I need.
Where can I find information on what objects I can use in Google App Engine to simulate a GUI with pop-up menus and buttons?
(I am using the Google Plugin for Eclipse.)
Maybe this link will help you, it lists all compatible frameworks: http://code.google.com/p/googleappengine/wiki/WillItPlayInJava
For a higly responsive GUI, I suggest you take a look at the GWT: http://www.gwtproject.org/examples.html
In a nutshell: GWT allows you to write web applications with Java. Some/all of the Java is converted into JavaScript for better usability.
If you want to use Google App Engine (GAE) you can either use GWT for a standard GUI or a Java Webframework like Vaadin or JSF.