|
|
|
|
|
|
| |
Introduction
The .NET Framework is a new computing platform that simplifies application development in the highly distributed environment of the Internet. The .NET Framework is designed to provide a consistent object-oriented programming environment, a code-execution environment that minimizes software deployment and versioning conflicts, which guarantees safe execution of code and to build all communication on industry standards to ensure that code based on the .NET Framework can integrate with any other code.
An assembly is the primary building block of a .NET Framework application. It is a collection of functionality that is built, versioned, and deployed as a single implementation unit containing one or more files. Each assembly contains an assembly manifest.
The Component Object Model (COM) allows an object to expose its functionality to other components and to host applications. Interoperability with COM -- or COM interop -- allows you to create a COM wrapper around the .NET components, which makes Windows look at them as COM objects and thus makes them available to all of the calling COM applications – including the beloved PHP.
PHP has built-in functionality to use COM objects. Using the COM interop feature of .NET, we will create a wrapper around the .NET assembly and use it in PHP (in fact you could use the same steps to use the .NET assembly in VB6 or any other COM applications).
This article assumes that you have fair knowledge of the .NET framework, PHP and COM. You should have Visual Studio .NET, PHP and IIS installed and working properly.
Read More... |
|
| |
| 10 PHP Functions I Bet You Didn't Know About! Categories : PHP, PHP Functions, Filesystem, Arrays, Errors and Logging | | | Generating One-Time URLs with PHP Categories : PHP, URLs | | | PHP CLI and Cron Categories : PHP, CLI, Cron | | | Data, its presentation and user interface forms Categories : PHP, XML, User Interface | | | Saving Images in MySQL Categories : MySQL, PHP, Graphics, Databases | | | PHP 101 Part 8 of 15 : Databases and Other Animals Categories : PHP, Beginner Guides, Databases | | | Beginners guide to PHP and MySQL Categories : PHP, Beginner Guides, Databases, MySQL, Installation | | | Building XML Web Services with PHP NuSOAP Categories : PHP, NuSOAP, XML | | | Web Development With PHP FastTemplate Categories : PHP, Templates, FDF | | | Who's Linking? Categories : PHP, Beginner Guides, To PHP | | | Building a Counter Categories : PHP, Cookies | | | Building A Persistent Shopping Cart With PHP and MySQL Categories : PHP, MySQL, Databases, Ecommerce | | | Sockets and PHP Categories : PHP, Sockets | | | An intro to using the GD image library with PHP Categories : PHP, GD image library, Graphics | | | Creating Auto-incrementing ID Fields with PHP and Oracle Categories : PHP, PHP options/info, Databases, Oracle | |
| |
|
|