Think of the include directives as the PHP way of using import directives. In Flex, if you want to inherit from another class you import that class. In PHP, if you want to inherit from another class you include that class.
Maybe I don't understand what you want here. Could you try putting it into different words and trying again. --- In [email protected], "Deniz Davutoglu" <[EMAIL PROTECTED]> wrote: > > Hi Valdhor, > > Thank you for your answer but this sample shows clasical way that I > used in php. > every class that you use is included in index.php since in flex you > dont have index.php I shoul be able to create inheritence between > classes without put includes in beginin of every class page. I hope > some one has resolution. > --- In [email protected], "valdhor" <stevedepp@> wrote: > > > > PHP inheritance is available now. A good tutorial is at > > http://www.webreference.com/programming/php/class_inherit/ > > > > AMFPHP (And WebORB) allow you to "map" objects between PHP and Flex. > > You would connect to your database in PHP and create an array of > > objects to return to Flex. AMFPHP serializes these objects and sends > > them to Flex. Flex then unserializes these objects and creates local > > objects of the same type. > > > > You may like to check into some tutorials and read up on Value Objects > > or Data Transfer Objects. > > > > > > > > --- In [email protected], "Deniz Davutoglu" > > <deniz.davutoglu@> wrote: > > > > > > Hello Guys, > > > We are goint to write some application with flex/amfphp. Our php Guy > > > ask me how can we create inheritance in php classes or how we can > > > settle continuality in application. > > > > > > For exsample > > > we have one class to connect to database another that check login > > > status(which need to get some data from mysql) . in classical php way > > > you include db class in begining of login checkin class. how do we do > > > it in amfphp? > > > > > > thanks > > > > > > Deniz > > > > > >

