Question:
which language is better for dynamic webpages?
Justa
2012-12-18 01:30:59 UTC
hello there,i want to write a simple Login webpage as part of my project,it will have username and password text box and when the user enter the details and clicks on submit button,the password will be compared with the username's password stored in the MySQL database,if it is correct,then it should say "password correct",if not "Password incorrect"

as far as i know PHP,pearl,ASP.net,JSP all are server side scripting language, only javascript is clientside language,so i was think which language could best fit for this....

please help me regarding this
Six answers:
icefyre
2012-12-18 02:58:40 UTC
PHP is easiest. I would never program a website using Perl nowadays. The other two alternatives that are good would be Python or Ruby. With either Python or Ruby you would really want to use a web framework. For Ruby the de-facto standard is Ruby on Rails, and for Python it's Django (though Python has more options for frameworks).

PHP also has good frameworks, two of the better ones are CodeIgniter and Cakephp.



If you are writing a login page for a website that will be public I would definitely go with a framework. Frameworks make it very easy to make good secure login pages and give you great looking results much faster than using pure programming. The downside is there is that you have to invest some time in learning the framework. Logins are tricky and it is very easy for a beginner to make mistakes that will allow your site to be hacked, consider using a framework or read a lot about how to code forms securely before you deploy your site online.



Hope this helps!
Greywolf
2012-12-18 02:50:17 UTC
PHP is easiest and quickest for a beginner. PERL is best for long-term professional use, but much harder to learn. ASP.Net won't run on LAMP servers. Javascript is clientside, so it won't do the job (your code has to run on the server).
anonymous
2012-12-18 01:38:52 UTC
All these languages are good choices. You should choose the one that you are most proficient in.



If you choose PHP you will find that your hosting costs will be cheaper when it comes to making the site live.
anonymous
2012-12-18 01:52:34 UTC
I chose PHP as it is open source like MySQL and there are huge free PHP website application sources. more popular I think, so why not?
anonymous
2012-12-18 03:33:48 UTC
X- Cart is one of the best option around because it’s very Flexible and user friendly. and now days it is in trends, as you mention you need language for dynamic pages then i preferred you X-cart Development is a good option.
Johan Barnard
2012-12-18 02:39:01 UTC
Xml


This content was originally posted on Y! Answers, a Q&A website that shut down in 2021.
Continue reading on narkive:
Loading...