lpdumas / gw2cartographers

A Guild Wars 2 map project
gw2cartographers.com
19 stars 8 forks source link

Clean the actual global.coffee #63

Open lpdumas opened 12 years ago

lpdumas commented 12 years ago

More class = more scalable Ex:

class Cartographers.Map
....

class Cartographers.PveMap extends Cartographers.Map
....

class Cartographers.WvWMap extends Cartographers.Map
...

class Cartographers.Markers
...

class Cartographers.DynamicEvents
....

# etc .. etc...
...

Really not final :D But it's an example. Should we seperate each class into it's own folder?

jsilvestre commented 12 years ago

Maybe we can discuss my statement about using a frontend JS framework like Backbone.js to organize the app ?

I don't know much about possibilites but this could help us with the gw2cread branch too.

lpdumas commented 12 years ago

I've look into backbone.js, and i think refactoring our code to fit it's structure is gonna be to long. I prefer to stick with our current object oriented approach, but more encapsulated.

jsilvestre commented 12 years ago

Okay let's do this then!