Re: I want to publish my PHP Extension in PECL
| From: | Laruence | Date: | Fri, 21 Oct 2011 10:26:25 +0000 |
| Subject: | Re: I want to publish my PHP Extension in PECL | ||
| References: | 1 2 3 | Groups: | php.pecl.dev |
| Request: | Send a blank email to pecl-dev+get-8736@lists.php.net to get a copy of this message | ||
Hi:
I think add a default value parameter to $memcached->get is a
better way, like:
$this->get('name", ($fetch_ext = TRUE)),
more better way is leave it to the andrei(author of memcached),
let him to find the best way to fix the issue,
and FYI, file a feature request at :
https://bugs.php.net/report.php?package=memcached
:)
thanks
2011/10/21 Kimi <jianxieshui@gmail.com>:
> Hi,Antony Dovgal & Laruence
>
> Let me explain with an example
>
> if you send
>
> get <key>*\r\n
>
> to CMEM Server, you will get the same return value just as Memcache.
>
> only you send
>
> get_ext <key>*\r\n
>
> to CMEM Server, you will get the different return value.
> CMEM server have two new command: get_ext/gets_ext like get/gets.
> a question to Antony Dovgal :
> How could I patch this to memcache?
>
> 2011/10/21 Laruence <laruence@php.net>:
>> Hi kimi:
>>
>> I would suggest you to commit patch to memcache than doing a new
>> extsion.
>>
>> IMO the are *same*, and could be merge into one.
>>
>> thanks
>>
>> 2011/10/21 Kimi <jianxieshui@gmail.com>:
>>> Hi
>>>
>>> I am a php developer,I have written a PHP extension and would like it
>>> listed
>>> within the PECL directory.
>>>
>>> CMEM Server which developed by Tencent is a high-performance, distributed
>>> key-value store , just like Memcached (http://memcached.org/) or Membase
>>> Server(http://www.couchbase.org/get/couchbase/current).
>>>
>>> The difference between them is that:
>>> data from Memcached or Membase is like
>>>
>>> VALUE key flags bytes\r\n
>>> data block\r\n
>>>
>>> data form CMEM Server is like
>>>
>>> VALUE key return flags bytes\r\n
>>> data block\r\n
>>>
>>>
>>> Because the return data is additional, so I made this PHP extension
>>> called
>>> cmem(http://code.google.com/p/cmem/), which based on memcached extension(
>>> http://pecl.php.net/package/memcache), uses PHP3.01
>>> license.
>>>
>>> Now, I want punish this to PECL, so I need an PECL account.
>>>
>>
>>
>>
>> --
>> Laruence Xinchen Hui
>> http://www.laruence.com/
>>
>
>
--
Laruence Xinchen Hui
http://www.laruence.com/