Page 212 - Open Soource Technologies 304.indd
P. 212

Unit 12: Images



                                                                                                  Notes
             us limit the web accessible PHP files to about six and the bulk of the PHP code is protected
             under WEB-INF by the Java EE container. The resulting PHP architecture offers significant
             flexibility, maintainability and security.

             The benefits of Quercus Java-PHP architecture include:
             3/4  Ability to use PHP libraries

             3/4  Use of PHP5 object model for page templating

             3/4  PHP as Servlet better works than Zend solution or JSR223
             3/4  Multithreading

             3/4  Background tasks
             3/4  Event scheduling

             3/4  Java persistence

             3/4  Ability to use third party Java or PHP libraries to solve problems Result:
             LiveProcess has chosen Quercus and Resin as their Platform of choice.

             Questions

             1. Define solution for Emergency Preparedness and Response for Healthcare.
             2. Define Java-PHP bridge or Quercus.


            12.6  Summary


               •  The ability to generate an image in PHP can be useful if you want to do things like create
                 CAPTCHA image.
               •  Image  create  function  returns  a  resource  identifier  for  the  image  which  are  same
                 insmying.
               •  Colour are allocated using the image colour allocate () function.
               •  Working with files in GIF format with using GD library is limited.

               •  Other facilities are also available in PHP to design and modify your image.

            12.7  Keywords


            CAPTCHA Image  A  CAPTCHA or  Captcha:  It is a type of challenge-response test used in
            computing as an attempt to ensure that the response is not generated by a computer.

            Free Type: It is a software library written in C that implements a font rasterization engine. It is
            used to rasterize characters into bitmaps and provides support for other font-related operations.
            Image Creator:  The  tool  used  to  create  Mee  Go  images  is  something  called  “MIC2”  (for
            distinguishing from obsolete MIC - Moblin Image Creator). MIC is composed of a series of tools
            to create images, convert images and do some development work on MeeGo. MIC2 is based
            primarily on Fedora livecd-tools and appliance-tools.


                                             LOVELY PROFESSIONAL UNIVERSITY                                   207
   207   208   209   210   211   212   213   214   215   216   217