GeoSampa
Módulo de Análise
Do projeto à linha de código
Claudio Santos
var Painel = function() {
var titulo = "";
this.render = function(){....}
this.initialize = function(){....}
}
var PainelDeResultados = function() {....}
PainelDeResultados.prototype = Painel;
PainelDeResultados.render(); \m/
var Painel = function() {
var titulo = "";
this.initialize = function(callback){
callback(parametros);
}
}
var PainelDeResultados = function() {....}
PainelDeResultados.prototype = Painel;
PainelDeResultados.initialize(function() {
//faça operações
});
var Painel = function() {
var titulo = "";
this.render = function(){....} //Como saber qdo ocorreu?
this.initialize = function(){....}
}
var Painel = function() {
this.render = function(){
...
this.emit("renderizou");
}
}
PainelDeResultados.on("renderizou",
function(){
// desenhe os registros
}
);
Boa organização
+
Boa interrogação
Projeto Desktop
Projeto Web
var compiled = _.template("hello: <%= name %>");
compiled({name: 'moe'});
=> "hello: moe"
Painel de Resultados, Ferramenta de Desenho e Medições
Pesquisas simples, avançada, espacial e agrupada
Importar e Exportar
Reduzir a infraestrutura do GeoSampa;
c.santos@consultoriasigma.com.br