Which language can be considered more flexible to develop web applications as well as mobile apps (android)? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 12

Which language can be considered more flexible to develop web applications as well as mobile apps (android)?

I'm trying to figure out which is the best language in order to develop both website and app with the minimum differences between both. Would it be JS the best choice? Or I must have 2 distinct projects?

30th Aug 2019, 3:41 PM
Marcelo Diament
Marcelo Diament - avatar
25 Answers
+ 12
JavaScript
30th Aug 2019, 10:10 PM
Dennis Waweru
Dennis Waweru - avatar
+ 10
JS libraries & frameworks... React.js and Node.js is great. If you plan to expand python is an added powerful tool. #HappyCoding
31st Aug 2019, 8:55 AM
BlackRose Mike
BlackRose Mike - avatar
+ 10
Here is great read from Fullstack React 👍😉 React Native uses JavaScript, but it is 'not' run in a WebView — with React Native, your view markup is compiled 'into native iOS or Android views'. React Native can interface with code written in Swift, Java, or Objective-C. It's simple to drop down to native code if you need to optimize a few aspects of your application. It's also easy to build part of your app in React Native, and part of your app using native code directly - that's how the Facebook app works. React Native uses the same UI building blocks as regular iOS and Android apps. You just put those building blocks together using JavaScript and React. By using React Native we'll be able to 'share a lot of the code we write' between iOS and Android. We get to use:   • one language (JavaScript),   • one framework (React),   • one styling engine, and   • one toolchain ... to write apps for both platforms. Learn once, write anywhere. **Nate Murray from Fullstack React Native
31st Aug 2019, 3:34 PM
Danijel Ivanović
Danijel Ivanović - avatar
+ 9
Marcelo Diament Check this out 😄 Thanks to Gordon 🍻 • Creating mobile app with React Native — https://ideamotive.co/react-native-development-guide/ Swift/Objective-C for iOS and Java/Kotlin for Android? Why not writing only one version in React Native? • https://www.sololearn.com/post/93189/?ref=app
31st Aug 2019, 3:30 PM
Danijel Ivanović
Danijel Ivanović - avatar
+ 9
The one-line description of React on its homepage, https://reactjs.org/ , is brilliant: **A JavaScript library for building user interfaces.
31st Aug 2019, 3:52 PM
Danijel Ivanović
Danijel Ivanović - avatar
+ 7
Marcelo Diament I think so,😄 I started learning ReactJS, thanks to David Carroll for encouraging me,👍 and it is really interesting and attractive.👌🤓 I like it 😊
31st Aug 2019, 9:32 PM
Danijel Ivanović
Danijel Ivanović - avatar
+ 6
Danijel Ivanović 🍻🍻🍻 Marcelo Diament ReactJS and ReactNative are different. ReactJS is frontend, the scripts run at client side. https://reactjs.org/ ReactNative is : https://facebook.github.io/react-native/ It's backend, you need to install NodeJS, and you need to use npm to install React Native modules. Paolo De Nictolis Electron and ReactNative are not for the same purpose. Electron and ReactNative both NodeJS modules for developing cross-platform applications. But Electron is for developing "DESKTOP" applications, on Windows, MacBook or Linux; and ReactNative is for developing "MOBILE" applications, on Anroid or iOS devices. Link to Electron.js https://electronjs.org/
1st Sep 2019, 1:21 AM
Gordon
Gordon - avatar
+ 6
Vue makes development faster, second to ReactJS and AngularJS. Vue is catching up, it is changing from Component syntax to Functional syntax.
1st Sep 2019, 8:48 AM
Gordon
Gordon - avatar
+ 5
JS can be a good choice indeed, but you'll have to learn react.js two, it's a huge library, be brave !
30th Aug 2019, 4:40 PM
Jess
Jess - avatar
+ 5
Thanks a lot Jess! Actually I'm starting to learn react.js (as well as node.js). =)
30th Aug 2019, 4:42 PM
Marcelo Diament
Marcelo Diament - avatar
+ 5
Excellent ! I'm on the same way ... Really enjoyable 😉
30th Aug 2019, 4:44 PM
Jess
Jess - avatar
+ 5
Most popular language for application is JavaScript but some of the application is also developed in python
31st Aug 2019, 5:52 AM
Akshat jain
+ 4
JavaScript Frameworks I discovered for myself Vue.js 👍🏼
31st Aug 2019, 10:46 AM
Elena Puzic
Elena Puzic - avatar
31st Aug 2019, 8:30 PM
Paolo De Nictolis
Paolo De Nictolis - avatar
+ 3
Thanks Dennis Waweru Akshat jain BlackRose Mike and Puzic Elena ! I must lurn Vue.js, Angular also. I started Python lessons here too. But I guess I'll focus on Node+React in the first place. :)
31st Aug 2019, 2:22 PM
Marcelo Diament
Marcelo Diament - avatar
+ 3
i think is javascript because you can develop client (react) e server (node.js)side easily, and then react native for mobile.
31st Aug 2019, 2:42 PM
Matheus Rodrigues
Matheus Rodrigues - avatar
+ 3
(JS) I'm not sure 100% because I'm not working with android but I think JavaScript is answer.
31st Aug 2019, 2:58 PM
Baltazarus
Baltazarus - avatar
+ 3
You can use java. With great frameworks like spring, wicket, JSF, JSP you can build great web apps. Since many years Java is mainstream language for android development. JVM gives great opportunity for building cross-platform apps.
31st Aug 2019, 6:42 PM
Sharofiddin
Sharofiddin - avatar
+ 3
Javascript is best for web development and also for mobile app development. You can use Nodejs for backend and also angular or react for frontend. There are frameworks like react native and ionic which will help you to develop mobile apps i.e for android ans ios.
1st Sep 2019, 9:02 AM
Shreyas Kshirsagar
+ 3
i think JavaScript is the best to create applications because it can do almost all functions other programming languages can, but it's super easy to customize the look and feel of the application
1st Sep 2019, 1:18 PM
Andrew Johnson
Andrew Johnson - avatar