The Challenge
The client is a reputed full service real estate institution providing consulting service for real estate deals. The major challenge was to download IDX data daily and post it to the website database using complicated SQL theory. Also data filtration on various searches was the major objective. The developed website/software was also required to get image data of properties from 360house which provide animated visuals of the properties on demand, integration of those with existing property data was one of the prime requirement as well. The other and important requirement was administration of the site without manual intervention or technical knowledge.
The Solution
We developed a utility first which pulls the data from complex IDX data source, this data is pushed in to the predefined SQL database structure using SQL stored procedures. These procedures are then scheduled to run daily upon the data received from IDX. The website is programmed to use that rich set of data and provide an easy search for buyers and sellers. The users can also save searches for later usage and save their time when they visit next. The agent detail along with property gives the instant contact point to the users. Along with other properties the site also highlights clients own projects.
The Technology ASP & MSSQL
The Benefits
User friendly property search engine with up to the date data from the renowned sources in the form of website is welcomed all over. The system offers an easy-to-use cost-effective solution to the buyers as well as sellers brokers. Our highly professional web designers developed concept specific design for the website.
";
if($exit == 1)
exit;
}
return $db_rec_row_array;
}
//use to insert record
function insert($query,$debug=0)
{
if(trim($query) == "")
die("Query is Empty: ".mysql_error());
/*
This is used to check that query has insert word or not
If you try to execute other types of query in that case this will give the error
*/
if(!preg_match("/^insert/i",$query))
die(" Invalid Query: ".$query." ");
$this->result = mysql_query($query,$this->links);
if(!$this->result)
die(" Result Erorr: ".mysql_error()." ".$query." ");
/*
This is used to debug the code and print the query
You have to pass 1 (one) as the second argument of the edit function
Default is $debug 0 set.
*/
if($debug == 1)
{
print "
";
exit;
}
return $this->result;
}
//use to update record
function update($query,$debug=0)
{
if(trim($query) == "")
die("Query is Empty: ".mysql_error());
/*
This is used to check that query has update word or not
If you try to execute other types of query in that case this will give the error
*/
if(!preg_match("/^update/i",$query))
die(" Invalid Query: ".$query." ");
$this->result = mysql_query($query,$this->links);
if(!$this->result)
die(" Result Erorr: ".mysql_error()." ".$query." ");
/*
This is used to debug the code and print the query
You have to pass 1 (one) as the second argument of the edit function
Default is $debug 0 set.
*/
if($debug == 1)
{
print "
";
exit;
}
return $this->result;
}
//use to insert, update, replace and delete record
function delete($query,$debug=0)
{
if(trim($query) == "")
die("Query is Empty: ".mysql_error());
/*
This is used to check that query has delete word or not
If you try to execute other types of query in that case this will give the error
*/
if(!preg_match("/^delete/i",$query))
die(" Invalid Query: ".$query." ");
$this->result = mysql_query($query,$this->links);
if(!$this->result)
die(" Result Erorr: ".mysql_error()." ".$query." ");
/*
This is used to debug the code and print the query
You have to pass 1 (one) as the second argument of the edit function
Default is $debug 0 set.
*/
if($debug == 1)
{
print "