Posted by in : Programming , trackback
I’ve been developing applications in C and C++ now for probably about 10 years. It has only been in the last 7 years that I started developing C++ applications for Microsoft Windows based computers. First and foremost I’m going to say that in no case would I ever make an effort to developer server grade applications on Microsoft Windows. Windows makes a decent platform for the client, but frankly their server platform leaves a lot to be desired. So as of late there has been a massive push from Microsoft to support their new .NET( dot Net ) framework. If you are reading this then you probably have a good understanding of what .NET is and your looking for a way to optimize your .NET development with out using IIS. I am a very big fan of the PHP/MySQL development model, and I’ve found that it scales greatly and using FreeBSD as your serving platform you can have security too. So I was given the task of porting an application from C++ to .NET. My C++ application talked to several PHP pages that I had created and the logic in those pages had been solidified years ago and had required no recoding up to this point. So now with .NET direct access to these same web data sources was possible, but with the addition of a little overhead I could open up the gateway to my application quickly and easily.
So the trick is how to effectively expose existing PHP code with out a significantly modify your code. As of late I’ve really began focusing on the object oriented aspect of PHP. The framework they’ve developped has become quite robust and is really alowing for very clean and efficient designs. So here’s where the trick begins by downloading this SoapDiscovery Class. You then create a file that sits infront of your existing class, this file will look similar to the follwing.
setClass( “ClassA” );
$servidorSoap->handle();
}
else {
require_once “SoapDiscovery.class.php”;
$disco = new SoapDiscovery(’ClassA’,’soapClassAManager’);
header(”Content-type: text/xml”);
if (isset($_SERVER['QUERY_STRING']) && strcasecmp($_SERVER['QUERY_STRING'],’wsdl’)==0) {
echo $disco->getWSDL();
}
else {
echo $disco->getDiscovery();
}
}
?>
This looks at the incoming request and will either actually handle the call to the method or produce a WSDL suitable for use with the .NET development environment.
The
internet phone service, provided by different telecommunication sectors is very feasible for the customers who may use the ordinary phone for broadband phone calls in the very cheapest rates. There is a need of a complete set for voice mail,
voip phone adapter and caller ID to have direct accessibility to the broadband
internet voip. The most leading company of broadband phone services is known as
vonage. The
wireless phone connection is very suitable with the different phone plans and services to ensure the quality of services by providing all necessary answer via
voip faq.
Comments»
no comments yet - be the first?