agreed and if you want to move the whole thing to something sane (like the main API, AS3), all the better
On 12 May 2008, at 05:59, Tom Hughes wrote: > In message <[EMAIL PROTECTED]> > Christopher Schmidt <[EMAIL PROTECTED]> wrote: > >> Small things first, but yeah, that's my hope eventually: That I >> work on >> learning a bit more about amf_controller, and then through that, I >> understand enough abuot amf_controller and the rails code that I can >> migrate some of the Very Scary code away. A bunch of the code will >> need >> to be changed for api06: I think the right fix is to migrate the >> code to >> rails objects where possible, rather than simply updating the >> SQL :) So >> hopefully some of that can be done in trunk, and then there's less >> work >> to be done in the api06 branch. > > Don't add any more SQL certainly... Well not unless you want Steve > coming after you with a team of highly trained ninja assassins > anyway ;-) > > As I said to Richard on IRC earlier on, a good initial goal would be > to get to the point where the AMF methods exactly mirror the methods > in the main API in terms of the arguments they take and the data they > return, so that the only difference is how the arguments and results > are encoded. That then allows all the code behind the methods to be > shared. > > That will probably mean adding a few new methods to the main API like > the full way PUT that I talked about, and probably some methods for > accessing historical views of the data. > > Tom > > -- > Tom Hughes ([EMAIL PROTECTED]) > http://www.compton.nu/ > > _______________________________________________ > dev mailing list > [email protected] > http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/dev > Best Steve _______________________________________________ dev mailing list [email protected] http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/dev

