[PHP] Setting up a XDebug debugging environment for PHP / WAMP / Eclipse PDT

2010-07-08 Thread David Négrier
Hi list, After struggling a bit to set-up a debug environment in PHP, I decided to write a complete tutorial to explain how to set-up XDebug in a WAMP / Eclipse PDT environment. Everything was already available on the web but was squattered on several different sites. I've tried to write a

Re: [PHP] Facelets for PHP

2009-05-27 Thread David Négrier
Hi David, I know at least one framework that can do it. It's called Xaja: http://www.thecodingmachine.com/ext/xaja/doc/ In fact, it is doing much more than just providing facelets since its main purpose is to provide reverse ajax features. It already supports a number of custom tags, and

Re: [PHP] Creating A Chat?

2009-04-21 Thread David Négrier
Hi Stuart, Indeed, in order to create a chat, you need to be able to push messages from the server to the browser. There are several techniques in order to do that. One is the long polling technique (or Reverse Ajax). It requires a lot of Javascript. The other is going through a Flash server.

Re: [PHP] Creating A Chat?

2009-04-21 Thread David Négrier
Here is a quick explanation of what is going on behind the scene: When a client loads the HTML page, a Javascript function is triggered. This function performs an Ajax call to the server. In the case of Stuart, I think he wrote a small fastCgi script that does trap this call (instead of

Re: [PHP] Creating A Chat?

2009-04-21 Thread David Négrier
://www.thecodingmachine.com/ext/xaja/doc/about/architecture.html Maybe it will make things more clear. Regards, David. On Tue, 21 Apr 2009 12:10:48 -0400, tedd tedd.sperl...@gmail.com wrote: At 5:14 PM +0200 4/21/09, David Négrier wrote: Here is a quick explanation of what is going on behind the scene: -snip

Re: [PHP] Creating A Chat?

2009-04-21 Thread David Négrier
it. There is only a demo on the web site right now. Do you plan to release it some day? David. On Tue, 21 Apr 2009 17:25:29 +0100, Stuart stut...@gmail.com wrote: 2009/4/21 David Négrier d.negr...@thecodingmachine.com: There are other ways to do this. I've been doing this in a pure PHP way with Xaja

Re: [PHP] Re: Announcing Xaja, a PHP Reverse Ajax framework

2007-07-16 Thread David Négrier
and languages, because I find it really easier to develop applications with a events oriented architecture. David. Sancar Saran a écrit : On Saturday 14 July 2007 15:01:13 David Négrier wrote: Hi I just watching your screen cast, it has very good ideas. I wonder does any other language has same kind

Re: [PHP] Re: Announcing Xaja, a PHP Reverse Ajax framework

2007-07-14 Thread David Négrier
Indeed, Xaja relies on the keeping of an open connexion between the server and the browser. In fact, it uses, the Comet approach (which is a pain to implement in Javascript because the IE code and the Firefox code are completely different). (more information here:

[PHP] Announcing Xaja, a PHP Reverse Ajax framework

2007-07-13 Thread David Négrier
Hi list! A few month ago, I asked a question on this mailing list regarding the closing of a connexion between the PHP server and the browser. Thanks to the answers I was given, I have been able to complete the framework I was working on. Today, I'm proud to announce the first open source

Re: [PHP] Announcing Xaja, a PHP Reverse Ajax framework

2007-07-13 Thread David Négrier
+0200, David Négrier wrote: Xaja is still in an early stage of development, but it is time for us to get some feedback (or some help, since it is released in GPL). You can download an alpha version of Xaja from http://www.thecodingmachine.com/projects/xaja You can view a screencast presenting

Re: [PHP] Closing a connection to browser without exiting the script

2006-11-05 Thread David Négrier
. www.thecodingmachine.com Eric Butera a écrit : On 11/1/06, David Négrier [EMAIL PROTECTED] wrote: Hello there, I'm having a somewhat unusual question here, and I cannot find any way to solve it. I have a PHP page that displays a message, and then, performs a very long operation. Note that it displays

[PHP] Closing a connection to browser without exiting the script

2006-11-01 Thread David Négrier
Hello there, I'm having a somewhat unusual question here, and I cannot find any way to solve it. I have a PHP page that displays a message, and then, performs a very long operation. Note that it displays the message first. I do not intend to give some feedback to the user when the operation