Page 148 - DCAP312_WEB_TECHNOLOGIES_II
P. 148

Web Technologies-II



                   Notes
                                   The ASP.NET Website
                                   This was a social network website of the client which we integrated to WPMU.
                                   Proxy/Gateway
                                   As we knew WPMU was a PHP project using the database MySql while the client’s original
                                   website was an Asp.net project using the database SQLServer2005. So we decided to develop
                                   the layer to communicate between PHP and ASP. We reserved the user’s information in the
                                   ASP.Net and used PHP to deal with identity authentication information. At the same time
                                   Asp.Net also could call the custom network API written in PHP to access the data in WPMU.

                                   WPMU Layer
                                   WordPress is a PHP open source project that has multiple versions and supporting Plugin
                                   and Theme. To realize accounts synchronization, we implemented account authentication
                                   by intercepting API function through plug-in.
                                   Challenges of the Development Process
                                    •  In  the  development  of  the  sub-project  “File  Manager  Control”,  we  were  required  to
                                      use Fancy Uploader to realize the file upload function. However there was a stubborn
                                      problem: the Fancy Uploader control also used a JavaScript framework named MooTools
                                      which would conflict with prototype.js.
                                       As the time was very tight, we advised that temporarily rename the related method in
                                      MooTools for the purpose of resolving the conflict.
                                    •  WPMU supports two types of deployment, one is deploying through visiting the directory
                                      and  the other is  deploying through supporting subdomain.  We adopted  the client’s
                                      suggestion to deploy using subdomain. But the subdomain was often parsed to wrong
                                      websites.
                                       We found that IIS filter plug-in did not support the subdomain well. So we gave up
                                      deploying on IIS and switched to use Apache deployment on the Linux platform
                                   Benefits to the Client
                                    •  The completed code has greatly enhanced the expansibility, stability and maintainability.

                                    •  The original website has added more members after the system integrated the Word
                                      Press Mu blog to the Asp.net.
                                    •  The new system is easier to update for the client and brings the latest user experience.
                                    •  We have helped our client reduce their development cost.

                                   Questions
                                   1.  What are the challenges for the development process of the Website?
                                    2.  What benefits the client found?

                                 Self Assessment Questions
                                    6.  URLs have a maximum length that varies from browser to browser like

                                       (a)  Around 3k                  (b)  Around 2k
                                       (c)  Around 4k                  (d)  Around 1k
                                    7.  URL stands for .....
                                       (a)  Universal Resource Locator   (b)  United Resource Locator

                                       (c)  Both (a) and (b)           (d)  None of these.


        142                               LOVELY PROFESSIONAL UNIVERSITY
   143   144   145   146   147   148   149   150   151   152   153