lpdumas / gw2cbackend

Backend for gw2cartographers.com
2 stars 2 forks source link

Marker's area management #7

Closed jsilvestre closed 12 years ago

jsilvestre commented 12 years ago

Should we manage area's ID client-side or server-side ?

I can do it server-side but I need to know :)

lpdumas commented 12 years ago

You mean areas like queensdale? So each time we put a new marker we check where it is and that way we can change the are summary info?

jsilvestre commented 12 years ago

Yeah I'm talking about the marker's area ID. Do we manage it client-side or server-side.

If we manage it client side we can update the area's summary info when we modify markers but the server-side solution could remove 'complexity' from the client.

If we pick the server-side solution, we still have to add a field "area" set to 0 in the marker we create (to ease validation).

lpdumas commented 12 years ago

I think the best would be client side (update live) but i dont know how we are gonna do this .. yet ;) and im scared on how heavy the process is gonna be. On Jul 8, 2012 9:47 AM, "Joseph Silvestre" < reply@reply.github.com> wrote:

Yeah I'm talking about the marker's area ID. Do we manage it client-side or server-side.

If we manage it client side we can update the area's summary info when we modify markers but the server-side solution could remove 'complexity' from the client.

If we pick the server-side solution, we still have to add a field "area" set to 0 in the marker we create (to ease validation).


Reply to this email directly or view it on GitHub: https://github.com/lpdumas/gw2cbackend/issues/7#issuecomment-6831373

jsilvestre commented 12 years ago

That's what I meant : client is already really charged with multiple huge javascript loops so it might not be good at all :-/

That's also why I've asked for a server-side option !

lpdumas commented 12 years ago

Lets go server side then :) On Jul 8, 2012 10:22 AM, "Joseph Silvestre" < reply@reply.github.com> wrote:

That's what I meant : client is already really charged with multiple huge javascript loops so it might not be good at all :-/

That's why I asked for a server-side option !


Reply to this email directly or view it on GitHub: https://github.com/lpdumas/gw2cbackend/issues/7#issuecomment-6831600