Is PHP necessary to use MySQL? [closed] - php

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++.

Related

Is it good for my courier using php and laravel? [closed]

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 1 year ago.
Improve this question
I'm using php and Laravel.
Is is good to build my courier?
I know this is ridiculous but i wonder.
modern php is much better than before.
but i'm still wonder using php.
Yeah it is still good using php especially laravel.
First, php framework (laravel) using MVC Architecture that easy to use, and many tutorials there.
And then, laravel have a feature called Eloquent ORM for easy interaction with your app database

What is the best method to connect to a database in php? [closed]

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
I am relatively new to php and I need to connect to a database using php, as i understand there are several methods of connecting to a database, what is the most current method of doing this?
If you are going to use built-in PHP methods, I would advise using PHP PDO. You can find more information on PDO here. You can also use a separate package to manage connections for you such as Doctrine, though this can get a little more complex in the setup. If you are just getting started in PHP, it may be easier to start off with PDO. I hope this helps!

Which is faster ASP.NET or PHP [closed]

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!

Do you advise against using text files instead of database? [closed]

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
To make things short: I'm writing an anonymous forum software with PHP. I just feel like using a database is overkill and restrains my amateur skills. Do you advise against using text files instead of database?
Thanks.
A database has advantages like some sanitation (no breaking of delimiters, newlines etc.) and less danger of access conflicts when multiple instances try to read from the table - and different from a file-based approach, writing conflicts are constrained to the record in question only.
Recommendation: use database
To make things short: Yes. Strong advise against text files.

How good is Mysql for school online Jurnal? [closed]

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 working on an online school jurnal using php and mysql, Teachers must type marks and attandance in everyday. I think it needs huge resource. How good is Mysql? Should i use some other database and why? Answers will be appreciated.
Risking an "opinion based" here, but still:
There are, basically, 3 free DBMS to consider (there are many more DBMS, but those are either non-free or not well known). Those three are: MySQL, PostgreSQL and SQLite. All of them have their advantages and disadvantages, google them for details.
For small websites that have to be compatible with 3rd party applications, it's fine to go with MySQL. For bigger projects where you deploy your own code, it'd stick to something more elaborate that has more features and is compatible to SQL standards - like PostgreSQL
For very small sites where performance doesn't matter, SQLite may be suitable if you don't want to waste time installing and configuring a DBMS.

Categories