PHP in an N-Tier environment
Posted: Mon Apr 19, 2004 3:01 pm
Hi,
I have just started using PHP and MySQL, on Red Hat Linux 9. I have an extensive programming backgound in a Microsoft n-tier environment - using ASP / VB and compiled COM objects (in VC++) with stored procedures on an MS SQL database, using IIS. But unfortunately I have limited experience programming in a Linux environment with Apache and MySQL.
I have searched this board and others to try and find the PHP / MySQL equivalent for COM objects. I know that it is possible to use C to access the MySql API, but couldn't find sufficient documentation as to how to connect it to PHP - I probably have been looking in the wrong places. Furthermore, I would prefer to use C++ if possible.
Does anyone know of a language that is used in conjuction with PHP in order to create compiled modules that connect to MySQL, and handle some of the data (such as business logic, data access layers etc.)? I am sure that this will lead to an application that is more robust and can handle requests more efficiently.
I would appreciate any ideas/opinions, since I am totally new to this environment.
Thanks in advance,
Heinrich
I have just started using PHP and MySQL, on Red Hat Linux 9. I have an extensive programming backgound in a Microsoft n-tier environment - using ASP / VB and compiled COM objects (in VC++) with stored procedures on an MS SQL database, using IIS. But unfortunately I have limited experience programming in a Linux environment with Apache and MySQL.
I have searched this board and others to try and find the PHP / MySQL equivalent for COM objects. I know that it is possible to use C to access the MySql API, but couldn't find sufficient documentation as to how to connect it to PHP - I probably have been looking in the wrong places. Furthermore, I would prefer to use C++ if possible.
Does anyone know of a language that is used in conjuction with PHP in order to create compiled modules that connect to MySQL, and handle some of the data (such as business logic, data access layers etc.)? I am sure that this will lead to an application that is more robust and can handle requests more efficiently.
I would appreciate any ideas/opinions, since I am totally new to this environment.
Thanks in advance,
Heinrich