1 Reply Latest reply on Mar 23, 2011 7:29 AM by mahatana

    What minimum parts of Zend are needed to enable Flex and ZendAmf communication?

    mahatana

      Hi,

       

      I want to use Zend Amf but I don't want to use all the 20Mb of Zend Framework. All the tutorials I found are always asking Flash Builder to handle it. It works fine, but when I tried to change the entire Zend library into the Zend Amf only, the project fails.

      Which parts can I delete?

       

      I'm using a different framework (CodeIgniter) and adding the whole Zend is just too much.

       

      Thanks

        • 1. Re: What minimum parts of Zend are needed to enable Flex and ZendAmf communication?
          mahatana Level 1

          This board isn't quite active as I thought.

           

          Anyway, I did it the hard way. I tried to remove one by one the directory and files of the main Zend library. I did not go in deep cause I think that what are inside a directory such as Loader are all required by Loader. Just a guess but it sounds logic. So here is the minimum list I found:

           

          Directories:

          Amf

          Config

          Loader

          Reflection

          Server

           

          Files:

          Auth.php

          Config.php

          Loader.php

          Registry.php

           

          Again, it works for my project. I don't know about others. I use the automatic gateway.php that flex generates.