[OSM-dev] AND upload almost ready

Tom Hughes tom at compton.nu
Fri Aug 24 20:11:46 BST 2007


In message <46CF2B55.3050306 at rjb.za.net>
          Ray Booysen <raybooysen at rjb.za.net> wrote:

> Tom Hughes wrote:
>
> > Not really - to start with I don't think even Brett is claiming it's
> > ready for production use yet.
> >
> > Plus I thought we'd already agreed to go through the rails object model
> > rather than hitting the database directly. I'd like some sort of checking
> > that database integrity constraints aren't being broken you see.
>
> Thats a fair point.  Everything should be going through the API not the
> DB directly.  Seems like too many mistakes could be made any other way.

The point is to not go through the API as such (too slow due to all
the network round trips) but to still go through the rails object
module by writing code that does Node.create(...) or whatever.

Tom

-- 
Tom Hughes (tom at compton.nu)
http://www.compton.nu/




More information about the dev mailing list