[PEPr] Comment on Networking::Net_GPS

From: Date: Tue, 06 May 2008 07:15:55 +0000
Subject: [PEPr] Comment on Networking::Net_GPS
References: 1  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-50021@lists.php.net to get a copy of this message
Horikita Kei (http://pear.php.net/user/kei) has commented on the proposal for Networking::Net_GPS. Comment: Hi, Philippe Thank you very much for a lot of advice! > how the package would work? ... 4. The package creates a link to GPS location server with a CGI url to return from the GPS server and parse the response. (The web site owner put the link on his site and a visitor click it.) (Then a request occurs to GPS server and a response occurs from it with location informaiton.) 5. In the CGI, this package absorb the difference of the format with the carrier and parse the location informaiton. I answer it for your advice. > - New PHP4-compatible ... - I changed my package to PHP5 and fixed the scope and comment. > - getGPSResponse() assumes ... - parsing the response from the GPS location server. > - You probably meant ... - I fixed the spell ('dispatch'). > - What is "setEasy" ... - I deleted the function ('setEasy'). > - I wouldn't return the tag part ... - The link to GPS location server is very complicated. (like "lcs" <a href='x.com' lcs>get location</a>). So I want to provide two returns. URL is for 'form tag'. > - How one knows the ... - A site owner appoints the $url to parse the response from GPS server. > - No parens should be ... - I deleted parens in switch's case. > - If the same logic is used for ... > - The architecture of the package ... - I separated the GPS class and provider class for extensible and logic. > - self::DOCOMO_MOVA ... - I fixed the logic. > - The name of the package "Net_GPS" ... - I do not persist in a name,,but there is not good ideas. "HTML_GPS" or "Net_Mobile_GPS"? please give me advice, everybody. Thanks, Proposal information: http://pear.php.net/pepr/pepr-proposal-show.php?id=552 -- Sent by PEPr, the automatic proposal system at http://pear.php.net

« previous php.pear.dev (#50021) next »