February 28, 201313 yr If I was going to make a login system with other features which out of Java/JavaScript or PHP or any other would be best to learn? Which is the most up to date and would still be used in 5-10 years time. Edited February 28, 201313 yr by Vulcan
February 28, 201313 yr If I was going to make a login system with other features which out of Java/JavaScript or PHP or any other would be best to learn? Which is the most up to date and would still be used in 5-10 years time. Id say all 3 would be around in 5 to 10 years reason i say this is All phone apps are powered by java as for php thats not going anywhere anytime soon lol its one of the most popular web programming languages and id say the same for javascript.
February 28, 201313 yr For a login system, you're going to need some server-side programming (to handle the database side of things) so PHP will be good for that, mainly because there's lots of support out there for that type of thing. Like webdesigner said, PHP is one of the most popular web programming languages so there's a good chance you'll find what you're looking for should you run into trouble For database connections using PHP, I found this website useful: http://net.tutsplus.com/tutorials/php/pdo-vs-mysqli-which-should-you-use/. It goes through the most recent PHP 5+ methods of database connections, avoiding the deprecated mysql_connect functions, which are no longer recommended. And don't forget about JavaScript. It can be used for some client-side validation before the login is processed. Though don't forget about server-side form-validation, it's important for security! I personally like the jQuery Validate plugin for validating forms as I find it easy to implement and it basically does everything for you: http://bassistance.de/jquery-plugins/jquery-plugin-validation/. Hope this helps, Lyndsey
March 1, 201313 yr Id say all 3 would be around in 5 to 10 years reason i say this is All phone apps are powered by java as for php thats not going anywhere anytime soon lol its one of the most popular web programming languages and id say the same for javascript. C/C++,C#,Java, Basic, Python etc. = programming languages PHP, javascript, HTML, CSS = /= Programming language PHP and javascript are both scripting languages if it's scripted and can't be compiled it's not a programming language. For a login system, you're going to need some server-side programming (to handle the database side of things) so PHP will be good for that, mainly because there's lots of support out there for that type of thing. Like webdesigner said, PHP is one of the most popular web programming languages so there's a good chance you'll find what you're looking for should you run into trouble For database connections using PHP, I found this website useful: http://net.tutsplus.com/tutorials/php/pdo-vs-mysqli-which-should-you-use/. It goes through the most recent PHP 5+ methods of database connections, avoiding the deprecated mysql_connect functions, which are no longer recommended. And don't forget about JavaScript. It can be used for some client-side validation before the login is processed. Though don't forget about server-side form-validation, it's important for security! I personally like the jQuery Validate plugin for validating forms as I find it easy to implement and it basically does everything for you: http://bassistance.de/jquery-plugins/jquery-plugin-validation/. Hope this helps, Lyndsey +1 to all of that and I'd also like to provide you with this, interactive courses are always the best way to learn http://code.he.net/index.php
March 2, 201313 yr C/C++,C#,Java, Basic, Python etc. = programming languages PHP, javascript, HTML, CSS = /= Programming language PHP and javascript are both scripting languages if it's scripted and can't be compiled it's not a programming language. +1 to all of that and I'd also like to provide you with this, interactive courses are always the best way to learn http://code.he.net/index.php haha yea thanks for the insight but imma still refer to it as a programming language ive seen many debates online over rather PHP is a programming language or not but as an example heres a quote from PHP-GTK which is an extension to the php scripting language coming from PHP.net itself "PHP-GTK is an extension for the PHP programming language " highlighted the important part in red even tho it is a scripting language its still commonly refered to as a programming language here is also another good quote which shows php does not have to just be used for web programming " Writing desktop applications. PHP is probably not the very best language to create a desktop application with a graphical user interface, but if you know PHP very well, and would like to use some advanced PHP features in your client-side applications you can also use PHP-GTK to write such programs. You also have the ability to write cross-platform applications this way. PHP-GTK is an extension to PHP, not available in the main distribution. If you are interested in PHP-GTK " not to mention there is plenty of PHP compliers as well. And im not here to start a debate as a programmer who has both wrote C++ code and java im just here to give my opinion on the subject. Edited March 2, 201313 yr by webdesigner93
March 2, 201313 yr haha yea thanks for the insight but imma still refer to it as a programming language ive seen many debates online over rather PHP is a programming language or not but as an example heres a quote from PHP-GTK which is an extension to the php scripting language coming from PHP.net itself highlighted the important part in red even tho it is a scripting language its still commonly refered to as a programming language here is also another good quote which shows php does not have to just be used for web programming not to mention there is plenty of PHP compliers as well. And im not here to start a debate as a programmer who has both wrote C++ code and java im just here to give my opinion on the subject. You do what you will, I'm sure some consider it a programming language but untill it can be used to prefor low level operations I personally will not consider it that, not an attack on you, or anyone who considers it a programming language mind you. So let's agree to dissagree on this one. oh yes regarding the last quote, desktop applications does not a programming language make, flash can make desktop applications and AS3.0 is as far away from a programming language as possible, what makes a programming language is the option to speak to the CPU directly, something that PHP can not do. take this more as friendly advice if you're ever at a conference or asked to speak to your peers or at a job interview: don't call it a programming language, but if the employer does, don't correct him either xD
March 2, 201313 yr IIRC, scripting languages are, by definition at least, a subset of programming languages - making you both correct
March 2, 201313 yr IIRC, scripting languages are, by definition at least, a subset of programming languages - making you both correct Valid point. Let's end it at that, even though the point of this way to prevent you and any readers of this to ever embarass themselves or score minus points at a job interview.
March 2, 201313 yr You do what you will, I'm sure some consider it a programming language but untill it can be used to prefor low level operations I personally will not consider it that, not an attack on you, or anyone who considers it a programming language mind you. So let's agree to dissagree on this one. oh yes regarding the last quote, desktop applications does not a programming language make, flash can make desktop applications and AS3.0 is as far away from a programming language as possible, what makes a programming language is the option to speak to the CPU directly, something that PHP can not do. take this more as friendly advice if you're ever at a conference or asked to speak to your peers or at a job interview: don't call it a programming language, but if the employer does, don't correct him either xD Oh and good advice lol id never correct the employer if i wanna keep a job and i did'nt take it as an attack on myself your actually very correct but if you looking at it this way PHP does communicate with the server as well with databases like mysql etc.. thats why i just refer it as a web programming language instead of a computer programming language. But no harm done Edited March 2, 201313 yr by webdesigner93
March 2, 201313 yr Oh and good advice lol id never correct the employer if i wanna keep a job and i did'nt take it as an attack on myself your actually very correct but if you looking at it this way PHP does communicate with the server as well with databases like mysql etc.. thats why i just refer it as a web programming language instead of a computer programming language. But no harm done Ooh did not notice that, in that case I'll let this one slide.... for now...
Create an account or sign in to comment