23
Feb 08

Britcom Rock

Path: mv.asterisco.pt!mvalente
From: mvale…@ruido-visual.pt (Mario Valente)
Newsgroups: mv
Subject: Britcom Rock
Date: Sat, 23 Fev 08 20:58:21 GMT

Um video que junta British comedy e classic rock e tipo
o sorvete baleizao cone duplo sabor morango e chocolate,
ha sempre partes que nos fogem e fica sempre a memoria do
gostinho especial.

Cliff Richard and The Young Ones – Living Doll
http://www.youtube.com/watch?v=gGOU0o9K89g

“Fine, thanks Cliff!!!”… LOL…

— MV


21
Feb 08

Individualism vs Collectivism

Path: mv.asterisco.pt!mvalente
From: mvale…@ruido-visual.pt (Mario Valente)
Newsgroups: mv
Subject: Individualism vs Collectivism
Date: Thu, 21 Fev 08 20:38:21 GMT

Collectivism is totalitarianism.

http://en.wikipedia.org/wiki/Individualism

INTRO – Individualism vs Collectivism
http://www.youtube.com/watch?v=dJqSsrFDiSA
P1. The Nature and Origin of Human Rights
http://www.youtube.com/watch?v=qXOrJtn1h2M
P2. Group Supremacy
http://www.youtube.com/watch?v=BOUS6OalV2I
P3. Coercion vs Freedom
http://www.youtube.com/watch?v=_AgcVNzObWE
P4. Equality and Inequality under the Law
http://www.youtube.com/watch?v=VKPPe78pX5w
P5. Proper Role of Government
http://www.youtube.com/watch?v=F5_N86Pblj0

— MV


19
Feb 08

Meia vs Fones

Path: mv.asterisco.pt!mvalente
From: mvale…@ruido-visual.pt (Mario Valente)
Newsgroups: mv
Subject: Meia vs Fones
Date: Tue, 19 Fev 08 19:11:21 GMT

Era so para dizer que entre a meia branca…

http://pokerpt.com/upload/Image/torneios%20ao%20vivo/londres2007/dia%203/meia_branca.JPG

… e os headphones “ipod” brancos…

http://spe.fotologs.net/photo/46/21/36/fabianofabs/1175573961_f.jpg

… nao e muita a distancia.

A razao do uso e a mesma, com o mesmo resultado. Carry on.

— MV


16
Feb 08

Memorias de Concertos

Path: mv.asterisco.pt!mvalente
From: mvale…@ruido-visual.pt (Mario Valente)
Newsgroups: mv
Subject: Memorias de Concertos
Date: Sat, 16 Fev 08 22:23:21 GMT

O primeiro:

Alarme+Girlschool+Rainbow, Dramatico de Cascais

http://losttickets.blogspot.com/2006/09/3-rainbow-girlschool-alarme.html
http://www.youtube.com/watch?v=aZ6pRFkIOg8
http://www.youtube.com/watch?v=zkLRyc4c9mo

O melhor:

Gary Moore, Dramatico de Cascais

http://rocknosotao.blogspot.com/2007/05/gary-moore-recordao-de-1987.html
http://rocknosotao.blogspot.com/2007/07/gary-moore-recordao-de-1987-continuao.html
http://www.youtube.com/watch?v=xsKpazeA5L8
http://www.youtube.com/watch?v=6Lb33rgMe48

O maior:

KISS, Monsters of Rock 1996, Donington

http://www.moshville.co.uk/MusicPage/donington.html
http://www.kisschikara.com/moreinformation/moreinfo17aug96.html
http://www.youtube.com/watch?v=hBPf-N4HBkM&feature=related

Mencoes honrosas:

WASP, Dramatico de Cascais
http://losttickets.blogspot.com/2006/12/8-iron-maiden-wasp-jarojupe.html
http://www.youtube.com/watch?v=j4SngoK4hLU

Dan Reed Network, Dramatico de Cascais
http://losttickets.blogspot.com/2007/10/57-bon-jovi-dan-reed-network.html
http://www.youtube.com/watch?v=JZn48KPeCwk

— MV


14
Feb 08

A Future Web Development Framework – Template View

Path: mv.asterisco.pt!mvalente
From: mvale…@ruido-visual.pt (Mario Valente)
Newsgroups: mv
Subject: A Future Web Development Framework – Template View
Date: Wed, 13 Feb 07 18:43:21 GMT

I should start this post (hopefully the last detail before
going into a synthesis post) by remembering some words from
my initial post in this series:

“Meanwhile, lots of stuff has come up: Django, Pylons,
TurboGears, Ruby on Rails, you name it… I dont want to
go over extensively why I dont like any of them, but let
me just state this: if the “framework” allows for the
mixing of layout/design/HTML with code/programming, for
me is enough of a disqualifier.”

The problem, as I stated before, is that current frameworks
stuff a lot of power into the templating languague. And that
is not only unnecessary but its a bad, bad thing.

If you dont understand why 1) embedding Python/PHP/Ruby/etc
in HTML is bad or 2) outputting HTML from Python/PHP/Ruby/etc
is worse, I’m not even going to try and explain. Not only
because that means you are clueless but also because someone
else has done it better that me:

http://www.stringtemplate.org/about.html
http://www.cs.usfca.edu/~parrt/papers/mvc.templates.pdf

Now the problem is that although I agree with this paper and
the rules set forth in it, I disagree with the implementation.
Allowing for “$var” statements in the templates is still, in
my view, some form of entanglement and breakup of the MVC pattern.

What would be the best way to do it? Well look no further than
some already existent template engines:

PyMeld
http://entrian.com/PyMeld/

HTMLTemplate
http://freespace.virgin.net/hamish.sanderson/htmltemplate.html

Meld3
http://www.plope.com/software/meld3

They allow for the insertion of values (data binding) through
the use of HTML element attributes. Both HTMLTemplate and Meld3
create new attributes (“node” and “meld:id” respectively) but
PyMeld does it better: it simply uses the “id” attribute to do
value replacement. This is, in my opinion, the best way to do
a templating system. And there’s no need to make it “powerful”
through the introduction of loop control and other stuff like
Genshi or Zope Page Templates.

Does this mean that I have found my perfect templating engine?
No. You see, these are serverside templating engines and the
template/view should be implemented at the client level, if you
want to adhere to the MVC pattern.

What I would like is something like these templating engines:

Ajax Pages
http://ajax-pages.sourceforge.net/

Javascript Templates
http://www.fishwasher.com/jst/

Trimpath Junction Javascript Templates
http://code.google.com/p/trimpath/

Unfortunately all of these engines make the usual mistake of
introducing new syntax to HTML (the “$var” problem or variants
thereof instead of relying on the existing HTML markup, namely
the “id” element markup.

To sum it up, what I would rely like is a Javascript implementation
of Meld.

Aditional templating functionalities that might not be provided
through the use of the “id” attribute (although I think that it
would be all that is needed) could be added through the use of
aditional semantic potential to existing HTML markup with Javascript.
See for example Inc, for JS code include (although I would prefer
for this to be done through the implementation of the “src=” attribute
for DIVs.

http://johannburkard.de/blog/programming/javascript/inc-a-super-tiny-client-side-include-javascript-jquery-plugin.html

— MV