language for a simple web app [closed] - database

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 7 years ago.
Improve this question
i want to write a simple web app that can connect to databases and display simple text and images. I know a bit of programming - mainly C. Also i have a very short time frame for learning the language and technologies associated with it. Which language would be good/ also what would be a good starting point

If you know C, PHP should come naturally.
It's also:
Widely deployed
Easy to get started
Built exclusively for the web
Plenty of resources for learning

Have a look at Ruby on Rails, especially the screencast on their homepage, “Creating a weblog in 15 minutes with Rails 2”.
The syntax is different from C but on the other hand there’s practically no learning curve for simple web applications.

You can't get much simpler than PHP. It's got C-type syntax. It's available nearly everywhere.

As an alternative to PHP, try Python with Django. It's very quick to learn, a much nicer language than PHP, and has a good community. The only issue is it's not as widely deployed as PHP. But if you control the server then that shouldn't matter.

PHP syntax is similar to C and it won't take much time to build a simple app.
PHP is one of the easiest language i've known :).

Every time you are talking about a web application you get involved into javascript stuff so I say you give node js a try because it's fast and it has a lot of tools that could be integrated into your application with a few commands

Related

When should you use a front-end framework like Angular or React, and when just use plain HTML/CSS/JS? [closed]

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 2 years ago.
Improve this question
I know that for a simple static website, using plain HTML.. is the easiest and quickest way. But, what are some use cases between the two options? Is using a framework mostly the best solution?
You can basically see frameworks as pre-written structures for your App.
In other words, frameworks are meant to help you building applications quicker by addressing common development problems.
So, going back to your question, there are not really times where you would prefer vanilla javascript over frontend frameworks due to the incapacity of scaling well, which could result in inscrutable and unmaintainable spaghetti code.
Other bit you would want to consider about frameworks, is their high performance obtained thanks to their virtual DOM (abstract map of the real DOM), which helps handling events to update parts of the App without the need of re-rendering it.
On the other hand, I would suggest to go with a static website using pure HTML and Vanilla JS, only if learning / instructing someone, or if building something really really simple (but rest assure 99% of your commercial websites may suit better under a framework rather than without).
If you want to read more about it, I would suggest the following articles:
https://stackoverflow.blog/2020/02/03/is-it-time-for-a-front-end-framework/
https://gomakethings.com/why-do-people-choose-frameworks-over-vanilla-js/
https://www.freecodecamp.org/news/do-we-still-need-javascript-frameworks-42576735949b/

Is there a benefit to using Swift or Java over NativeScript? [closed]

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 6 years ago.
Improve this question
From my understanding, if you want to develop a multi-platform app, it makes more sense to just use NativeScript or some other hybrid language. So would there be a point in using swift, objective-c, java, etc over something like NativeScript?
In the long run, I would love to choose swift/java over cross-platform framework. Even though with NativeScript, React Native or Xamarin, they all render the real UI Component from native API but I think there is still a gap between performances of swift/java and cross-platform.
Cross-platform is perfect for small or medium apps, or companies who have limited human resources as cost for developing and maintaining native apps is quite high. However, the cross-platform apps won't be as stable as native apps, so if you want to have a feature-rich apps, swift/java would be better. Moreover, I don't know much about React Native but you have full access to native API in NativeScript with JavaScript.
Technically, you can do everything swift/java can do in NativeScript. However, there are something in native API (e.g UI components, native function, etc.) that might take lots of efforts to access as it's quite tricky to translate swift/obj-C/java to javascript. Fortunately, there are many plugins or code snippets made by community that might be helpful.
That's my personal idea.

Should I learn more javascript to learn Angularjs? [closed]

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 8 years ago.
Improve this question
I've been programming on and off for about 2 years now with python and C++, and a little bit of other languages like html, css, etc. I'm familiar with object oriented design and basic syntax of many languages. One that I've recently gotten into is javascript. About two months ago I heard about Angularjs and its capabilities. However, I've never done javascript at the time so I thought I'd give myself a few weeks to get familiar with javascript before I tackle Angularjs. A few weeks turned into 2 months and getting familiar is harder than I thought. However, I didn't want to stick to learning javascript forever, I wanted to move on the real goal and that is to learn Angularjs. So I started doing tutorials on Angularjs about a week ago. Now I'm stumped. It is very confusing to me. All the directives, MVC, controllers and such are so difficult for me to grasp. Experienced developers don't seem to have trouble picking up the framework, but I am so lost. I'm forcing myself to grind on it every single day until it makes sense but I'm rapidly loosing motivation because I don't understand most of it. Is this due to the fact that I still don't know enough javascript to grasp it? Will I have to learn more javascript to learn it? Frankly, I enjoyed javascript that's why I was able to keep doing it for 2 months. But my future for Angularjs is not looking very good and it has only been a week.
It would definitely help to understand vanilla JavaScript more as well as having a better idea of what is going on "behind the scenes" in a web app. If your knowledge is fuzzy and you don't understand vocabulary / concepts being used, you cannot assimilate new information about those concepts. Take your time, no need to rush. Read a book or some articles about MVC - get a good idea of what is happening all the way around. And don't limit yourself to Angular (great as it may be). Some light beginner reading
I would pick up some books on MVC. The more "big picture" understanding you have the easier it will be to implement in AngularJS. Check out Amazon for well reviewed books.

Which programming langage should I use to process images online? [closed]

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 8 years ago.
Improve this question
I'd like to learn to create a website with processing on the client side.
Here are my goals:
- The program would look like something like Picasa or Lightroom. It means processing lot of pictures in a row
- I'd like the client to download the "image processor" to avoid uploading plenty of pictures on the server (which is slow and frustrating IMHO).
- I also have in mind to create a mobile version of the website
I don't know a lot about internet programming languages but here are my thoughts at the moment:
Flash: I think it would do, but I don't like it (not portable enough from what I read)
Java: This is the one I am thinking of at the moment. But I don't like the idea of asking users to download a third party if they don't have it.
HTML5 + Javascript: I don't what it means regarding Javascript capabilities. Would it be a pain?
Python, Ruby on Rail, C#: I don't know what it means to use them for web programming. I already used Python put as scripting language.
There are for sure other technologies that I am not aware of. Feel free to propose anything else that is mainstream enough to get good support on the internet :)!
Thank you for your help!
I hope you won't think it is a duplicate. I made some search and found this for ex:
Client-side image processing
=> But they already have their core processing since I have nothing!
Modern web browsers support html5 & javascript out of the box - older ones at least have support for javascript unless support for something truely ancient is desired - so considering the compatibility it should be the best one of these alternatives.
Flash needs a flash-plugin and a Java applet needs a jre-plugin.
Have never seen the 4th choice in client-based web-applications really, so not sure about how that would be done.

Developing a mobile cross-platform app [closed]

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 9 years ago.
Improve this question
I would like to develop a cross-platform application for mobile phones as I would like to just programe once and have the app for the differents platforms we have nowadays.
I took a look of the differents frameworks there are and I would like to skip all of the web bases frameworks, like phonegap, which uses html/javascript, as I feel the applications developed with those framework will not have a good performance. I prefer to develop native applications.
With that in mind, I found LiveCode or Xamarin which look interesting but since I don't have any experiencie with them, I'm not really sure of which one I should take. Apparently, for instance, Xamarin doesn't share all the code you develop...
I need some suggestions and advices with this as I will have to learn to use the framework from the beggining and I don't want to waste my time!
So, any experiencie using any of those frameworks? suggestions? advices?
What is your use-case? For most enterprise apps, HTML5 based apps are good enough. Native apps are better suited for games and multi-media apps.
See this
Titanium Appcelerator has been a standard choice outside of PhoneGap inspired platforms.
I have evaluated most popular platforms and do not want to get into any arguments about the pro's and con's of each of those because that is not what you asked for nor the purpose of this forum.
During my evaluation process over many months, the main decisions eventually came down to whether I needed to brush up on my Java skills and/or learn more about HTML or indeed learn a new programming language.
If you do not have existing skills in Java or HTML, then Livecode is by far the easiest route to follow. Its English language based command set is easy to learn and use during development and to debug and maintain afterwards. There are no awkward sequences of special characters and phrases required to say what you want to achieve. It also has a great 'drag-and-drop' WYSIWYG IDE and speed of development is a fraction to what you will do in other IDE's. Despite its ease of use, Livecode produces cross-platform (IOS, Android, OSX, Windows etc) native apps from a single source code base.
If, on the other hand, you have some good JavaScript experience, then Appcelerator and JQuery Mobile with Phonegap may be better suited for your requirement.
For me personally, it eventually was a no-brainer - Livecode.
Good luck with your endeavours

Resources