Akshat Gupta

Finally invoved in Open Source :)

Long Time No See

Ya …..
Its been a long time since I have posted anything … This might be due to the fact that I have learnt nothing new (which is not possible) or I had no time(Please kick the mentor for that).
After a month of awesome coding finally phpCairo 1.0.1 is complete and is all set to be a part of PECL. The basic functionalities are up and running now only the intricate ones are left to sort out which will be corrected as they are brought forward (The beauty of Open Source).
Along the way there were lot of renaming of files and functions due the the PECL nomenclature which really bugged me but I guess it is required to maintain the uniformity in various extensions.

I could not write the module tests as there are around 300 modules so I have included various examples and there output so that people who want to use phpCairo can learn the syntax fast.

I am looking forward to start my work on php-gtk and use my own extension to integrate with it :).

Thanks a lot Anant and Elizabeth.

June 30, 2008 Posted by | Uncategorized | Leave a comment

phpCairo Update

This is for my mentor …
The Path class and the Pattern class have been completed ….
I have tested them to some extent .. but intensive tests are still to be carried out …
Any way …

June 6, 2008 Posted by | gsoc | Leave a comment

Pit Falls for “C side” php Extensions – I

Just thought of documenting all the pit falls that I went through 😉 :
1. For returning an object from a method use init_object_ex() instead of init_object() as this would help one to distinguish the object then and there so that there is no ambiguity.
2. Never forget to increase the reference count of an object so that the object is not destroyed earlier than expected .. believe me it can happen !!!

Well I am not able to think about other pit falls that I came across … but will surely update this as soon as I remember one …

Till then … as my mentor puts it … “Show me the code !!!”

June 6, 2008 Posted by | gsoc | Leave a comment