Hi.
I am using a CMS-based website that was built on top of Apache, MySQL, and PHP (i.e. Drupal) and I would like to build a bunch of form-based pages that integrate with a pre-existing Microsoft SQL Server database that contains customer data.
Thus, a typical scenario might be as follows: user wishes to retrieve customer data, so they start by using a search form to search by company name. The SQL server is queried and returns a list of company names. They then select the company and the relevant company info is presented. They then change a variable and save and the record for that company is updated.
My questions are as follows:
1) Do I need to have my host add a PHP module to support Microsoft SQL queries?
2) What would the general pseudo code for the example given above look like?
3) Can the type of interaction described above be performed with standard SQL queries?
4) Given that my site and the SQL server are in different physical locations and that minimal data will be passed, will my site suffer from any noticeable slowdowns? If yes, should I look at methods to pre-fetch or cache data?
I really appreciate a shove in the right direction!
It goes without saying that any code snippets, tutorials, web sites, etc. that would help me in this endeavor would be MOST appreciated.
Thanks in advanced,
BFP
I am using a CMS-based website that was built on top of Apache, MySQL, and PHP (i.e. Drupal) and I would like to build a bunch of form-based pages that integrate with a pre-existing Microsoft SQL Server database that contains customer data.
Thus, a typical scenario might be as follows: user wishes to retrieve customer data, so they start by using a search form to search by company name. The SQL server is queried and returns a list of company names. They then select the company and the relevant company info is presented. They then change a variable and save and the record for that company is updated.
My questions are as follows:
1) Do I need to have my host add a PHP module to support Microsoft SQL queries?
2) What would the general pseudo code for the example given above look like?
3) Can the type of interaction described above be performed with standard SQL queries?
4) Given that my site and the SQL server are in different physical locations and that minimal data will be passed, will my site suffer from any noticeable slowdowns? If yes, should I look at methods to pre-fetch or cache data?
I really appreciate a shove in the right direction!
It goes without saying that any code snippets, tutorials, web sites, etc. that would help me in this endeavor would be MOST appreciated.
Thanks in advanced,
BFP