Hello. I wrote some days ago an e-mail asking how to use the trim function into an extension. Remember me? Well some people helped me. Now I would like to contribute...
I am working as a consultant (also known as a programmer) for Asociados Galileo Beyle S.A. (http://www.galileobiz.com) in Costa Rica. Part of the work I am doing now is to write an extension for PHP in order to read and write Isis databases. Our extension uses the function library that can be found in http://www.openisis.org. Isis is intended as a retrieval information system for libraries. You can read more about it in http://www.openisis.org, http://www.unesco.org/webworld/isis/isis.htm or http://www.bireme.br/isis/. Isis does not give any relevance information (it's what sometimes is called a boolean information retrieval system). So it's not viable to do "google" with it. But as I already said, for entities that have bibliographic references (a bibliographic database) it is very practical and another uses can be found. There are efforts in order to merge php and isis but not open or not in C (php written). Take a look at http://sourceforge.net/forum/forum.php?forum_id=59012, at http://itaqua.rosenblueth.mx/PHPIsis/ or at http://200.6.42.16:2001/languages/PHP/e_isis_dll_php.html. The last site promotes an extension (not open) that can be downloaded for Linux or Windows. (Damn I have a FreeBSD box!) And the extension uses a library that also can be downloaded without fee but with information insteed, just to "know the ISIS_DLL user profile". Asociados Galileo Beyle S.A. would like to contribute the isis extension to the php comunity with the php license. Therefore you can download it at: ftp://galileo.or.cr/php_isis.zip. If you extract it to the ext directory of your php sources, please compile and send us comments. If you want to use the extension, you must have installed in /usr/local/lib the openisis library. Then it is necesary to download it from http://www.openisis.org, unpack it, run make shared, copy libopenisis.so to /usr/local/lib and copy openisis.h to /usr/local/include. There is a demo of the extension in http://www.galileobiz.com/php_isis/. By now the extension does not have writing functions because we rely on the openisis library to do stuff but the writing functions should be expected by 3 months from now. I want to remark that in the openisis project, as I have seen, they work very hard. And we thank *very much* to Erick and Paul. Functions: resource isis_open([string $dbname, [string $args]]) boolean isis_close(resource $dbid) resource isis_search(string $term, resource $dbid) resource isis_query(string $querystring, resource $dbid) array isis_terms(string $term, resource $dbid) array isis_fetch_array(resource $isis_result) int isis_num_rows(resource $isis_result) boolean isis_data_seek(resource $isis_result, int $row_number) boolean isis_free_result(resource $isis_result) INI entries: isis.default_dir = string isis.default_database = string (that is why isis_open may have no parameters) Known bugs: I don't handle unicode. I have tried to use php's conventions and naming. I hope I did it well. I only have made tests in FreeBSD. Other operating system experiences are welcome. Please also note that Isis is not a SQL database, therefore there is an Isis slang that must be learned (http://members.aol.com/cdsisis/). For instance a query may be something like "solano/(100)" wich means "search for the term solano in authors". 100 is a tag and by convention it is the autor tag. Etc. If you have observations, please let me know. Bugs? Questions? Anything? If someone with commit access to add new extensions like the work, please add it. Stay in touch. Best regards, - Braulio J. Solano www.galileobiz.org -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, visit: http://www.php.net/unsub.php