|
From: | Jari Turkia |
Subject: | Re: PHP extension for gnokii |
Date: | Thu, 03 Aug 2006 10:10:59 +0300 |
User-agent: | Thunderbird 1.5.0.5 (Windows/20060719) |
Daniele Forsi wrote:
I've written a sort of proof of concept for a PHP extension allowing the use of libgnokii (I wrote only the "identify" function).Great job! I know I would need a Gnokii PHP extension (preferably as a PECL).It would be interesting to study the integration Apache-PHP with persistent data, this way you need to open communication with the phone only once and you reuse it for the following "pages" (think of xgnokii rewritten as dynamic web pages), this is what can be done with mysql but I never used it that way.Implementing functions that read something from the phone is only a matter of converting the values into PHP data types, while functions that write something seem to require a duplicate of the error checking code alreadly written for the same functions in gnokii, which is no ideal.
In Gnokii roadmap one of the long-term issues is other language bindings...I think perl is pretty well covered, all that would be needed is for the Gnokii project to do better promotion for Konstantinos' work. Now the information about perl modules is pretty well hidden. Also it would be useful for perl modules to be distributed via CPAN and the Gnokii project.
There is some initial work in C# done by me. It is also pre-alpha stuff, but obviously I'm such a shy guy, the library is not published yet. I have a simple testing platform which acts as a SOAP sink serving Identify and sending SMSes.
Java support would be nice (for the Firefox extension Pawel asked). But it seems like no work for that is done. I know some people are really into Ruby (on Rails) and Python, but no Gnokii work can be found.
It would be really useful to have the language bindings at least mentioned in Gnokii wiki. Also some installation instructions, support issues and FAQ for each of them would really help a lot. I know I really struggled with perl module.
Regards, Jari Turkia
[Prev in Thread] | Current Thread | [Next in Thread] |