Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:12611 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 59504 invoked by uid 1010); 6 Sep 2004 12:29:54 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 54258 invoked by uid 1007); 6 Sep 2004 12:27:44 -0000 Message-ID: <20040906122743.54253.qmail@pb1.pair.com> To: internals@lists.php.net Date: Mon, 06 Sep 2004 14:27:28 +0200 User-Agent: Mozilla Thunderbird 0.7.3 (Windows/20040803) X-Accept-Language: en-us, en MIME-Version: 1.0 References: <4123D1B5.3080203@caedmon.net> <20040819090436.788cd2bf.tony2001@phpclub.net> <5.1.0.14.2.20040819103812.08419700@localhost> <20040820202721.58087.qmail@pb1.pair.com> In-Reply-To: <20040820202721.58087.qmail@pb1.pair.com> X-Enigmail-Version: 0.85.0.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Posted-By: 194.185.53.167 Subject: Re: [PHP-DEV] Class Destruction / Reloading From: alex.pagnoni@solarix.it (Alex Pagnoni) Sara Golemon wrote: > I took this in a slightly different direction: > http://pecl.php.net/classkit Any and all thoughts appreciated. Sara, seems very interesting to me. Anyway, can you please provide me your shiva_destroy_class() extension? I need something similar in order to reload classes for an open source EJB like system I built, when redeploying code with already declared classes. Rasmus was right when he said "PHP is getting stronger in order to provide more powerful tools to solve the same set of problems people have been using PHP for all along", when talking about the "PHP becoming Java". I love PHP and I use it wherever possible, coding in PHP is fun for me; and more features may means more new possibilities, such as that project I built. I know that it is using PHP in a way it wasn't originally meant for; but it works, and PHP made it possible, and if it allowed me to do it, then it is "legal" to do such sort of things ;) PS. For the interested ones, this is a list of current features: - Encapsulates business logic in a Carthag Business Module (CBM) - Delivers optional persistance, with Value Objects and Data Access Objects - CBM deployer - Transparent access to remote CBMs as if they were local - Transparent access to local CBMs without using CBM server - Location of CBMs through a CBM locator descriptor - Own socket server for receiving requests and serving classes - Uses XML-RPC as communication protocol - Uses PHP internal XML-RPC server implementation for faster speed - Watchdog for monitoring CBM server and restarting it in case of failure - Supports CBM session for the entire lifetime of a remote object Alex