felipeNascimento.org(true);

Making the web a better place to live

Browsing Posts published in November, 2009

Ajax Push / Comet with PHP

No comments

Yes, it is possible.
There are many ways to implement Ajax push with PHP. In this case, we will study a way to do so, by using javascript with PHP forcing the page flush, from server side.
First of all, we must understand the ajax… Ajax asks the server for something

function forceFlush()
        {
            ob_start();
            ob_end_clean();
            flush();
            set_error_handler('_MINDNeutralizeError');
            ob_end_flush();
            restore_error_handler();
        }

PHP Developer toolbar reaches more than 3 thousands downloads.
We are proud about it. The addon is still experimental, though, but we’re sure it’s not going to be like that for much more time.

Two interesting JavaScript functions

No comments

Two interesting functions in JavaScript I’ve created due to “fix” a few problems I’ve fought against.
Both functins exist in PHP, and I needed to use’em in my client side.
The first one, is the strrev function. Javascript has in the Array prototype, the function reverse, but not in strings. Then, here goes the “one line” function to revert strings in javascript.
continue reading…

theWebMind / contribute

No comments

Hey folks, we’re about to start a new important step in theWebMind 2.0 development, and we want you to colaborate.
I_want_you2
Yes, and it’s quite easy. Simply by testing the new version you will be helping us a lot. But you can also subscribe to help us in many different ways.
To subscribe to the team, and receive the latest version everytime we change something, before the others, just visit http://thewebmind.org/contribute/

You can also colaborate readding the new documentation we have worked on, and even help us translating it, and by joining our discussion group at http://groups.google.com/group/thewebmind.

See you there.

theWebMind 2.0 in Sampa

No comments

Do dia 26 ao dia 20 ocorrerá em São Paulo o maior evento voltado para o PHP da América Latina, o PHPConference Brasil.
TheWebMind 2.0 participará em uma sala separada, do evento php UNconference, organizado pelo grupo PHPSP.

Àqueles que tiverem interesse, podem colaborar simplesmente votando e comentando em nossa palestra pelo evento em http://joind.in/talk/view/1002.