ASP.NET
  Home arrow ASP.NET arrow Enhancing PHP Programming with the ASP.NET...
ASP Free Forums 
.NET  
ASP  
ASP Code  
ASP.NET  
ASP.NET Code  
BrainDump  
C#  
Code Examples  
Database  
Database Code  
IIS  
Microsoft Access  
MS SQL Server  
Silverlight  
Visual Basic.NET  
Windows Scripting  
Windows Security  
XML  
Mobile Linux 
App Generation ROI 
IBM® developerWorks 
ASP Web Hosting  
ASP.NET Web Hosting 
Windows Web Hosting
 
Weekly Newsletter
 
Developer Updates  
Free Website Content 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us Get Paid 
Request Media Kit
Contact Us 
Site Map 
Privacy Policy 
Support 
 USERNAME
 
 PASSWORD
 
 
  >>> SIGN UP!  
  Lost Password? 
ASP.NET

Enhancing PHP Programming with the ASP.NET AJAX Framework
By: Xianzhong Zhu
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: 4 stars4 stars4 stars4 stars4 stars / 3
    2008-06-24

    Table of Contents:
  • Enhancing PHP Programming with the ASP.NET AJAX Framework
  • Introducing PHP for Microsoft AJAX Library
  • Download and set up PHP and the related web server
  • Use PHP class to define web service

  • Rate this Article: Poor Best 
      ADD THIS ARTICLE TO:
      Del.ici.ous Digg
      Blink Simpy
      Google Spurl
      Y! MyWeb Furl
    Email Me Similar Content When Posted
    Add Developer Shed Article Feed To Your Site
    Email Article To Friend
    Print Version Of Article
    PDF Version Of Article
     
     
    ADVERTISEMENT


    Enhancing PHP Programming with the ASP.NET AJAX Framework


    (Page 1 of 4 )

    In this article, I will teach you how to introduce the Microsoft ASP.NET AJAX client-side framework into PHP programming by digging into its inner workings. I will also provide a typical sample application.

    As most people know, the ASP.NET AJAX framework is composed of three components: ASP.NET 2.0 AJAX Extensions, ASP.NET AJAX Control Toolkit, and ASP.NET Futures CTP. The first two components rely heavily on the ASP.NET 2.0 server-side controls. In essence, the two parts are mainly designed to extend the Ajax characteristics of ASP.NET 2.0 (as well as later versions).

    In contrast, ASP.NET Futures CTP (formerly called 'ASP.NET AJAX Futures CTP') is rather loosely coupled with the ASP.NET server side controls, while still mainly used for the ASP.NET-based web applications. The main business logic is shifted to the client side in order to drastically improve the overall performance of the system.

    On the other hand, there is plenty of JavaScript source code accompanying the above three components, most of which is provided by the ASP.NET 2.0 AJAX Extensions and ASP.NET Futures CTP. The most important thing is that a good portion of the JavaScript code can be taken out and put into use in other kinds of server side web development platforms.

    Take MicrosoftAjax.js, MicrosoftAjaxTimer.js, and MicrosoftAjaxWebForms.js; you will easily see that they are made up of independent JavaScript code, with merely a copy of the code embedded inside the assembly System.Web.Extensions.dll. In other words, these scripts are independent of ASP.NET server side. Therefore, it's probable that we can leverage these scripts under other server-side web development environments, such as JSP, PHP, and Perl. Moreover, while programming these server-side techniques, we can make much use of the features that come with the ASP.NET AJAX framework, such as the ASP.NET AJAX script features and more advanced client-side characteristics.

    To be honest, to achieve the functionalities of ASP.NET AJAX and even the functionality of the ASP.NET AJAX server control ScriptManager, we have to use other non-ASP.NET techniques to make further and even arduous simulating development.

    In this article, we are going to explore how to utilize the web service functionality provided by the ASP.NET AJAX client-side framework under PHP environments by dint of the open source project "PHP for Microsoft AJAX Library." At present, however, the project PHP for Microsoft AJAX Library is still in its infancy and it seems a bit early to leverage it in practical scenarios. We can therefore appreciate how to combine PHP with the Microsoft AJAX Library beforehand in order to use its Ajax feature.

    More ASP.NET Articles
    More By Xianzhong Zhu


     

    ASP.NET ARTICLES

    - ASP.NET DotNetNuke Installation with Visual ...
    - Using ASP.NET with a MySQL Database
    - Using ASP.NET with an MS Access Database
    - Adding Content to a Static ASP.NET Website
    - Building a Static ASP.NET Website in a Basic...
    - Develop Your First ASP.NET Website with Visu...
    - Run ASP.NET in Windows XP Home with Cassini ...
    - How to Test a Web Application
    - How to Add Code and Validation Controls to a...
    - Working in Source and Split Views to Build a...
    - How to Build a Web Form for a One-Page Web A...
    - How to Develop a One-Page Web Application
    - An ASP.NET Web Application in Action
    - Developing ASP.NET Web Applications
    - An Introduction to ASP.NET Web Programming





    © 2003-2010 by Developer Shed. All rights reserved. DS Cluster 2 Hosted by Hostway
    For more Enterprise Application Development news, visit eWeek