inicio mail me! sindicaci;ón

Ilha do Pico

Um vídeo que encontrei no grande Vimeo, apenas com vídeos originais, sobre a nossa fantástica ilha do Pico produzido por um português dos nossos.

PICO … A very special mountain…

Pico, the most southerly island in the central group of the Azores, lies east of Faial and southwest of Sao Jorge, from which it is separated by the 18km/11mi wide Canal de Sao Jorge.

Topography: The rugged and mountainous island of Pico, 48km/30mi long and up to 15km/9mi wide, with an area of 433sq.km/167sq.mi, rises at its western end to the prominent Pico Alto (2,351m/7,714ft), the highest peak not only in the Azores but in the whole of Portugal. The highest point in the eastern half of the island is the Pico Topo (1,633m/5,358ft)…

via THE MOUNTAIN OF ATLANTIC OCEAN

 
  • Share/Bookmark

Comportamento Animal: Esquema Infantil

Konrad Lorenz foi quem introduziu o conceito de Esquema Infantil (ou Kindchenschema), relacionando-o com um conjunto de características apresentadas por alguns animais e, por todas as crias de um modo geral – pequeno tamanho do corpo, cabeça desproporcionalmente grande, olhos grandes situados abaixo na face, com testa grande e as maçãs do rosto proeminentes, membros curtos e roliços e movimentos descoordenados – o que também constitui uma verificação da Lei da Somação Heterogénea (estímulos actuando cumulativamente num mesmo sentido).

Estas características infantis, universalmente reconhecidas, – mesmo inter-espécies – reduzem a agressividade de terceiros e, aditivamente, potenciam os cuidados epimeléticos, aumentando a fitness dos indivíduos. Isto pode eventualmente estar na base da preferência da maior parte dos humanos por animais que retenham estas características durante toda a vida – como o Panda Gigante e o Koala.Este vídeo atesta o poder do Kindchenschema numa situação concreta. Muito obrigado à Sofia pelo vídeo =)

 
  • Share/Bookmark

Britain From Above: Motorways off the Coast

A BBC tem agora uma nova experiência não só para os britânicos mas para todo o mundo. Videos e imagens de zonas modernas e históricas do Reino Unido estão agora disponíveis e deixo-vos aqui uma delas.

No Estreito de Dover, incluído no Canal da Mancha, passam diariamente mais de 400 embarcações entre cargueiros, petroleiros ou os simples ferrys que fazem a ligação entre França e Inglaterra.

 
  • Share/Bookmark

Tepr – Minuit Jacuzzi (DatA Remix)

Tepr – Minuit Jacuzzi (DatA Remix)

1 people like this post.
 
  • Share/Bookmark

CakePHP Plugins

banner.png

Motivation

This paper is intended to try to improve the next version of Cake. I think one of the most important features of a framework is its capacity to be expanded. Plugins achieve that gracefully. But there is a problem; plugins, as read on tempdocs, are meant to be packages. I think they can be much more. This is mainly a software design problem.

Where they fail

Point #1

Cake creates conventions for everything turning controllers, models and views universal. Same happens to plugins, but because of namespace concerns it is recommended to developers to include plugins name in controllers, models and views names. So a blog plugin would have BlogPost and BlogComment as models, BlogPosts and BlogComments as controllers. That’s fine to me (and recommended) but the Router should be smart so it won’t be necessary URI’s like /blog/blogPosts.

Point #2

Second is its usefulness. I think plugins can be more than just isolated modules. Imagine a plugin that is mutable, just by receiving some variables on runtime. I think every experienced developer has come to a day where he finds himself coding same thing twice. With MVC architecture that is a problem which is 90% of the time solved, but here are exceptions.

This kind of problem appears on relative big websites. Imagine you have Users profile page, which can receive Comments. You also have the Groups page which can also receive Comments. Code can be reused by creating an element and invoking it on the view, passing the right data. That’s a simple example.

But, what if Users and Groups could have Images. The Images logic would be obviously be present in the Model, but what about all the actions? Could be achieved by /images/view/type:group/23. Still ok to me. But images now have Categories, Tags and Comments. That becomes kind of hard to maintain. Developer is responsible to persist the type and id, for the operations to succeed. A good solution to this problem would be packing all has a plugin, to get all things organized, but the persistent problem would still exist.

Ler Artigo

 
  • Share/Bookmark

Gráficos em jQuery

Apresento o Flotr, um novo plugin para jQuery, que vai facilitar a introdução de gráficos nas suas páginas.
Ao contrário do Google Chart API, este plugin cria e manipula gráficos no momento.

Este plugin surgiu da insatisfação do autor, Ole Laursen, pois outros plugins não eram inteligentes o sufeciente. A vantagem deste plugin sobre outros é que ajusta automaticamente os limites e ajusta a escala, de acordo com os valores de entrada. Outro plugin equivalente, mas para Prototype, é o Plotr.
Esta competição entre Prototype e jQuery só traz vantagens para os utilizadores.

Grafico Barras (Flot)
Ler Artigo

2 people like this post.
 
  • Share/Bookmark
Page 2 of 3«123»