Can you write a website 100% with the languages above? and if you could, would it be slower or faster? if so why? Thank you
Yes you can. using CGI Scripting. PHP is really a run off of C++ so when ever a page request is made the php is run, its compiled into c++ then into machine code. (I BELIEVE, Might be wrong) But that's my understanding of it.
Doesn't a lot of your question rely on the complexity of the website that's been written? Simple pages might be faster in one language whereas a really complicated site might be faster in another. I've only done a little bit with Java and it was a long time ago but it seemed bloated on simple tasks.
Its possible, however your better off just using the regular web scripting languages (PHP/Pearl/Python for backend, and Javascript/Jquery for front end). This is because in order to code a website (or anything, for that matter), you need big, bulky run-times that C++/C#/Java require. Most modern servers are not pre-installed with these libraries so unless you have a VPN that your hosting on, it will be difficult. I hope this helps.... its just my 2 cents Madskillsmonk
It would be better if you write the site in PHP or Python. Though you can definitely use C++ or any other language. Facebook is written in C++ and PHP as well.
I'm surprised that no one caught this one yet. You're wrong. PHP is an interpreted language, not a compiled language, so it's not compiled (into anything). The code is interpreted, one line at a time, by the PHP "program" (it's an interpreter) running on the server. It reads a line, does what the line says, reads the next line, etc. As far as the OP, you can but you shouldn't. For many more reasons than would get me kicked off the site for listing and explaining.
For website development, we can use java as it is secure and very interactive.The graphical user interface of java is very strong the websites made through java is attractive and functional too and also runs fastly
Yes, you could write in c# (asp.net or asp.net mvc) webpage. The principle is the same for windows forms / console apps, etc and for asp.net webpages but it's cheaper if you write in php, because for .NET developing you need license for visual studio and servers..
yes you can write a code to design a website in c++ by using some extra tools ,but it will need a lots of coding space and becomes more complex ,so better you use php or .net for web design.
No! and Yes! you can. If you are talking in terms of using C++ and C your site would more appropriately be termed a DESKsite not a WEBsite, except your webhost server can host all the library code for both languages and at the same time provide you with tools for interfacing with them. However, you could use C++ to build just about anything on your PC or intranet. For C#, yes!. C# is extensively used with ASP in the dotNET platform, where you can use it to perform functions such as form processing, user authentication, data validation and many more on the server before sending them to your clients. However, it cannot run on your popular APACHE server but instead on a Windows IIS server. Java can be used to build applets that can be served up from just about any where on the web.
First, I'm glad someone corrected the original information, the original comment was awful wisdom to impart. And, lastly, only because I'm a total geek ... not quite, one of the reasons PHP is apparently so fast ( and also quite CPU hungry ) is that it actually reads a script at once, as it does so it does not execute anything, but rather it builds an internal representation of the script known as opcodes, only when all the opcodes are loaded does execution actually begin from the top of the stack ( script ). Creating opcodes and their execution are infact two distinct stages in the execution of a script ... Mono ? C#/Java are commonly used to create websites. C is not meant to be used on the web, it's as simple as that in reality, many billions of man hours and even more billions of dollars have gone into the development and research of usable solutions, so use them. As for C++, it's technically possible, but a complete answer should mention that it's not advised. Internally some places may still use or maintain a C++ codebase and are forced to interface with it. But new projects are generally adopting the more modern C#