Addresses

brmassa@drupal.org's picture
public
brmassa@drupal.org - Sat, 2008-03-29 01:47

Guys,

Im launching today a ALPHA of my new module: Addresses. Its basically a fork from Location module. Its intended to focus on address only and let geocoding with other modules. Of course, integration is welcome.

Features:

  • All countries of the world
  • All states of all countries
  • Node addresses thru CCK
  • User address book
  • Multiple addresses for nodes and users
  • Phone and Fax fields as extras
  • Generic API for developers: add more fields easily!
  • XHTML, CSS, Drupal and PHP E_ALL valid code

Features (YET) missing:

  • Fields validation: ie, check if the state is from the given country
  • State field autocomplete: I did it for Drupal 5, but D6 autocomplete feature is more rigid and i yet couldnt make my hack work
  • View integration: filter and sort (nodes or users) from a given country or state
  • "Field plugins": allowing to integrate postal codes with extra data
  • Extendable address display: change the address looking country to country. Might consider Token module
  • Block integration?
  • Clean code: naming consistency, end user and developer documentation

Notes:

  • I had to fork the location module. If you see on here, im indented to do all these changes directly on location. Brandon (the new maintainer), however, thought my 800+ commits in 2 weeks were too fast and basically "divorced" me. :P
  • I will publish new alphas/betas often until it becomes well integrated. But it will take at most a month to the final 1.0 version
  • Its only for D6+.
  • Want to propose more features, integrate with another module? I will be glad to get your help!

best regards,

massa


I'm curious what the

djorn - Mon, 2008-03-31 12:33

I'm curious what the relationship between Location and Addresses will be? Will Addresses use Location for geocoding, or are these projects going to continue in parallel (i.e. is this a split of functionality or a true fork)?

Different projects, same goal

brmassa@drupal.org's picture
brmassa@drupal.org - Mon, 2008-03-31 19:52

djorn,

sadly, it will be a parallel module. There is a simple reason for that: i needed the features that i implemented on Addresses for a project and i had no time to wait for Location 3 (and even less time for Location 3 Drupal 6). So i forked the code for my own use, at that moment.

I decided to publish it once it got a bit more stable and according to http://groups.drupal.org/node/8346, some features i did for Addresses, like CCK and Token integration, was a highly demanded. Addresses alpha is about the same as Location version 3.01 that i originally planned.

However, since Addresses has a very flexible API, i (or someone else) might take a look back to Location to see how to implement geocoding.

best regards,

massa