On Wed, 6 Dec 2017 21:24:28 +0100 Aaron Digulla <digulla@hepe.com> wrote:
Am 06.12.2017 um 14:08 schrieb Paul Groves:
The service will be in c or c++ and the web front end in php.
What is the reason for this choice of languages?
Fair question :)
C/C++ is a poor choice for web development unless you're an expert and aware of all the security pitfalls (buffer overflows, properly doing SSL/TLS handshakes, securely storing passwords, etc).
Dunno. C is fine for services, IMHO. But then in my personal opinion C++ is the work of the devil and should never be used. You have to know what you're doing to expose any service to the Internet, but then we don't actually know whether it will be exposed to the Internet at all?
Same for PHP: A good choice if you know it well. If this is your first project in this language, I strongly suggest to avoid it. PHP has many flaws that lead to poor/insecure code.
Disagree here. PHP is also the work of the devil and should never be used. I would personally use Perl but nowadays people prefer Python.
That said, you should really write down your requirements and then evaluate a few web frameworks.
Fair suggestion, but might be overengineered until the requirements are expressed. If the requirements are simple enough, a framework may be overkill.
My reasoning is that cracking computers is big business today. If you expose some software to the Internet, automated tools will try to crack it. Unless you really know what you're doing, try something that some expert has built.
Absolutely agree.
For a small project, I suggest Python 3 since it forces you to write good code and comes with all tools necessary for the job.
Reasonable enough.
For bigger projects, Java or one of the more modern flavors like Kotlin is a good choice, simply because you'll find a ton of good frameworks (and a shitload of bad ones) to help you.
Have to disagree here. Java never was a good solution (and I speak as a certified Java programmer). It was a nice idea that somehow got sidetracked into being a nightmare and dragged down into the mire by its libraries and then suffocated by its security implications. Kotlin is too new for a neophyte, IMHO. Cheers, Dave -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org