Forums / Developer / Country datatypes / Comment45167
Paul Forsyth
Tuesday 17 January 2006 5:57:59 am
Our solution does use an additional db table. It is so much faster then reading the ini files. It is also ISO 3166-2 based, not '-'3' but that could just be a new db column.
Im not sure about using the integrate extension as the eZ db api isnt used. Is this deliberate?
Our db table includes the country name, 2 character code and an international dialing code. Is there any other type of data apart from the 3 character code which might be of use?
Functionally the country datatype should support:
- information collection - serialisation - optional class multiple selection of countries - use within the object name- template attribute support ( $country|attribute(show), $country.name, $country.code, $country.idc) etc.
Is there anything else a basic country datatype should have? I can think of other extras that would work well with AJAX support...
Paul