| 1 |
lars |
1 |
Services_Ebay ideas:
|
|
|
2 |
--------------------
|
|
|
3 |
$Id: ideas.txt,v 1.4 2004/11/30 19:53:52 schst Exp $
|
|
|
4 |
|
|
|
5 |
1. Models:
|
|
|
6 |
----------
|
|
|
7 |
Build decorators for models to dynamically add new functionality:
|
|
|
8 |
|
|
|
9 |
$item = Services_Ebay::loadModel('Item');
|
|
|
10 |
$item->Title = 'JSA issue #34';
|
|
|
11 |
$item->Description = 'The one where Hawkman comes back from the dead.';
|
|
|
12 |
$betterItem = $item->Decorate('GetSuggestedCategories');
|
|
|
13 |
$betterItem->GetSuggestedCategories();
|
|
|
14 |
|
|
|
15 |
2. Auto-validating Calls and models
|
|
|
16 |
-----------------------------------
|
|
|
17 |
It should be possible to pass a list of all parameters and raise
|
|
|
18 |
some notices/warnings, whenever someone is using a parameter
|
|
|
19 |
that des not exist
|
|
|
20 |
|
|
|
21 |
3. Cache models
|
|
|
22 |
---------------
|
|
|
23 |
- Use PEAR::Cache
|
|
|
24 |
- Models may return their lifetime, allows you to cache items for a shorter
|
|
|
25 |
amount of time based on the time the auction has left
|
|
|
26 |
|
|
|
27 |
4. Deprecated Methods
|
|
|
28 |
---------------------
|
|
|
29 |
Could be implemented and raise a notice, when used.
|
|
|
30 |
|
|
|
31 |
Deprecated methods:
|
|
|
32 |
- AddNonPayingBidderAlert
|
|
|
33 |
- DeleteNonPayingBidderWarning
|
|
|
34 |
- RequestFinalValueFeeCredit
|
|
|
35 |
|
|
|
36 |
Obsolete methods:
|
|
|
37 |
- GetCategory2DomainMap
|
|
|
38 |
- GetDomains
|
|
|
39 |
- GetMerchPanelRules
|
|
|
40 |
- DeleteMerchPanelRules
|
|
|
41 |
- SetMerchPanelRules
|
|
|
42 |
- GetCategory2DomainMap
|