On Tuesday 25 January 2011 04:17:05 Dane Springmeyer wrote: > > Although I consider myself > > an experieced php developer, I do not have much of a 'feel' for what > > is natural in api design in php, or at least not the extent I do for > > C++. > > Are you wrapping mapnik in a C API or are you able to call directly to the > C++?
As far as I know, PHP extensions are written in C, with a lot of magic PHPey stuff thrown in in order to register C functions as PHP functions. See: http://devzone.zend.com/article/1021 Ideally, though, what is needed is a Parrot[1] library/extension/thingie that will run on any parrot-supported language. Unifying Perl+Python+PHP sounded like a great idea in 2006, but since then I'm mostly unaware of Parrot development. [1] http://en.wikipedia.org/wiki/Parrot_virtual_machine Cheers, -- ---------------------------------- Iván Sánchez Ortega <[email protected]> <[email protected]> Un ordenador no es un televisor ni un microondas, es una herramienta compleja.
signature.asc
Description: This is a digitally signed message part.
_______________________________________________ Mapnik-users mailing list [email protected] https://lists.berlios.de/mailman/listinfo/mapnik-users

