Forum Moderators: coopster

Message Too Old, No Replies

If using PHP do I need Kylix

         

james_wpm

6:59 am on Jan 27, 2004 (gmt 0)



I'm planning to create a database with Mysql and want to use it at our intranet with ( 50 PC, 6 Server ,I have also an internal Webserver). If I use Kylix with Mysql , do I need then PHP? or if I use PHP with Mysql do I need Kylix.

Thanks

ergophobe

5:08 pm on Jan 27, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



Welcome to WebmasterWorld James.

The quick answer: You need PHP, MySQL and a text editor, nothing else.

The long answer....
As for PHP and Kylix, they are not just different animals but different species. PHP is a scripting/programming language while Kylix is a development environment.

If your project requires programming in C++ or Delphi, you *could* use the Kylix IDE, but you could use a whole bunch of other IDEs as well for C++. The only reason I could think of that you would really *need* Kylix is that you have applications that you built in Borland C++ Builder or Delphi IDE and want to port them to Linux or you plan to build apps that you want to port well across platforms.

PHP is a scripting language that can be programmed in any IDE and is a pretty rich language in terms of features, so I would assume that unless there is some particular feature in C++ or Delphi that you need and which is absent from PHP, you will not need those languages and therefore will not need Kylix.

Creating your application in a compiled language like C++ will give you a big speed boost once it's up and running, but unless you're really good with C++ and new to PHP it will take you way way longer to develop. In any case, I think you may find better support for other DBMs within the Borland environments, but I'm not sure (I know that my old C++ Builder came with some Borland Database Engine and has some components more or less ready to go with some DBMs).

If the interface with the database will be browser-based, PHP is all you need.

If the interface will be a client that you create in Delphi or C++ that will interact directly with MySQL, then you will need to write a program in one of those languages and use the MySQL API to interact.

Tom

trillianjedi

5:47 pm on Jan 27, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



If I use Kylix with Mysql , do I need then PHP?

No. Kylix has it's own independant object library for interfacing to a SQL server or client.

or if I use PHP with Mysql do I need Kylix.

No. PHP has it's own ways of interfacing to a SQL server also.

TJ