ixi esbarrei com framework para desenvolvimento php bem legal !! o cakephp
Posts Tagged ‘php’
cake php
June 8th, 2009game protocols
January 21st, 2008I’ve been thinking about games protocols… read some stuff about protocol hacking, bots, and many sorts of wierd stuff… But I began to as k myself if the usage of HTTP to send the data would be too slow, cause by using this, we could for example have a backend made in PHP, or Java or wherever language that fits better, and have all the benefits of an mature server solution as Http servers. Things like load balance and security are already tested and solved in the Http world, so why reinvent the wheel by creating custom protocols, and custom server implementations ?
I hope I can do some proof of concept on this, I’m planning to use Pulpcore as UI framework … lets see what happens
__autoload() works very nice …
July 14th, 2007Hey that function works very nice ! really reduced the number of includes, requires and require_once from my code … =) cool
__autoload() @ PHP
July 14th, 2007As Going foward with the photo2album.net code, I found a problem that was how to feedback the end user (you !) of what image is been add to the pdf. This was a problem because for each photo it ws taking like 1sec, so for 60 you have a minute of white screen … this is not good. =)
So I changed to have the list of the images at the page, and one by one I send to the server the images list, and give the feedback to you of what image is add to the pdf.
Off course to make this work, all the processed images are stored at the session … and probably because I´m starting the session before everything (even before loading the need classes) I was having the following error :
Fatal error: main() [function.main]: The script tried to execute a method or access a property of an incomplete object. Please ensure that the class definition "FPDF" of the object you are trying to operate on was loaded _before_ unserialize() gets called or provide a __autoload() function to load the class definition ...
argh !! nasty error ! but now I´m following the instructions … let´s see what happens with the autoload() stuff
by the way, this is the doc of autoload() http://www.php.net/autoload