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 need to do some server side programming to read through a database. The database will have about a thousand entries per user. Reading through the database will take a little while, so I need to know which language is faster, ASP.NET or PHP. Thank you.
This question has already been asked here many times and it's impossible to answer such question. Do a research on both the languages PHP and ASP.NET and than ask your self which one is best for this task. Both the languages are very fast but it depends on you what you want to take
ASP.NET and PHP are very close in terms of speed. PHP tends to be a little faster, see here: http://www.comentum.com/php-vs-asp.net-comparison.html. As you will see, most of the larger companies that have to read though very large databases tend to use PHP. But since ASP.NET and PHP are so close in rearms of speed, you should take into account which one is more common. In this case, PHP is far more common.
Note: PHP is written in C, so it may be faster to use C rather than PHP.
Good luck!
Related
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
I am new to AI development and looking for some guide line to start. I'm a php developer and if any one have experience AI developing in PHP, please help. Prefers AI related libraries and etc...
To develop AI applications, PHP seems not to be the best choice. It is a script language intended to create websites etc., not to, e.g., steer a robot. Of course you can use PHP to learn some concepts, but it makes sense to switch as soon as you want to create "serious" applications related to this topic.
To get into the topic, I recommend the Udacity course "Intro to Articial Intelligence", see https://www.udacity.com/course/cs271 - it is absolutly free to take this courses.
AI is not a simple topic, but it is very interesting. Good luck and have fun!
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 am new to web development. I wanted to know what DB will be best suited for PHP for a requirement of Web Application. Till date i have worked with Oracle database and have found it bit slow for applications which need quick response time.
I was looking into MongoDB and MySQL and couldn't decide which to pick.
Please suggest which will be the best option also if any other option will be better suited.
Thanks in advance.
I am new to web development. I wanted to know what DB will be best
suited for PHP for a requirement of Web Application. Till date i have
worked with Oracle database and have found it bit slow for
applications which need quick response time.
The answer is quite subjective as there are lot of factors need to be considered before jumping to a conclusion. I will lead you to good articles which can add some points in taking a decision.
http://www.mysqlperformanceblog.com/2013/10/22/designing-one-many-relations-mongodb-vs-mysql/
mongoDB vs mySQL -- why one is better than another in some aspects
MySQL vs MongoDB 1000 reads
There is nothing called best, every technology has its own pros and cons. It all depends upon what you are comfortable in working with. I would choose PHP/Java with MySQL anytime ahead of DOT NET with Sql Sever, just because i know the former well than latter.
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 have looked at languages such as PHP, Python, Ruby and Skala. However, I haven't found any language that meets the requirement below:
I'm looking for a language that is lax enough to quickly write a web application prototype with (without bothering with best practices), but is also sophisticated enough to support me when trying to "refactor to design patterns".
Is there a language/web framework specifically created for this purpose? An example would be PHP, optionally acting like Java if the developer requires it.
Refactoring bad code "to design patterns" has nothing to do with the language's sophistication.
You can really try any of the mentioned languages and see which one is the easiest for you to learn, you can't go wrong with any of them.
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 just learned that you can perform loops and things like that directly in MySQL rather than using PHP for them. Which is more efficient hardware-wise? When would it be advantageous to use each over the other?
Thanks!
It is a case of horses for courses. Generally the efficiency of PLSQL is TERRIBLE when compared to the efficiency of a programming language - but if the difference is that you can run one very simple statement in a database and return 100 rows of data, versus returning a million rows of data and processing them all code to get to the same 100 rows... well you see where this is heading.
Generally speaking, it comes down to experience - but most of all it comes down to testing it out for yourself. If you have a long job that you think might be better done in another part of the code, or in another system - write it and test it. See what works better. There simply isn't a "one shoe fits all" answer for this.
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
When I see people using MySQL, it's generally via the PHP bindings. Is it possible to interact with MySQL using C++, or do I need to learn PHP first?
You can use MySQL with many other languages.
You just need a driver, a list is available here.
Yes it's possible. No, you don't have to learn PHP first.
If you're planning to create websites or web services - PHP. If desktop programs - C++. If you need MySQL just to store and analyze some data (a la MS Access) - neither.
There are MySQL bindings for many languages, including C++.