Raimondo Fanale

web(re)sponsability

templates e widgets

Posted by Raimondo Fanale • Sunday, October 8. 2006 • Category: Software per blog

Qualcuno mi ha chiesto come mai spesso "storco il naso" su alcuni lavori che coinvolgono software opensource. Così con il mio amico "dalle dita veloci" (un blogger e un SEO professionista) ci siamo soffermati a discutere di questo aspetto. Chi ha letto i miei precedenti posts avrà già avuto un'idea del perchè si fanno determinate scelte: le performances, il supporto della comunità, gli aggiornamenti, l'"estendibilità" di un prodotto. Ma anche il template non è da sottovalutare.


In questo post parlavo dei templates di wordpress e delle loro perfomances, ora vorrei esprimere un' opinione del tutto personale sul perchè spesso uso anche altri prodotti come il Serendipity.

Per chi sviluppa prodotti che abbiano una stretta relazione tra il design e la programmazione è molto utile avere a disposizione la separazione della grafica dal codice di script. Il wordpress purtroppo non consente questa separazione in modo efficace, ma c'è sempre codice misto ad html. In alcuni frameworks non si usano più tecniche obsolete di templating ma si usano i widgets. Tanto per intenderci e non complicare troppo la vita: per i "wordpressiani" i widgets sono paragonabili ai plugins.

Faccio un esempio prendendo spunto da un plugin per i sondaggi di wordpress:





<?php if (function_exists('vote_poll')): ?>

<li>

<h2>Polls</h2>

<ul>

<?php get_poll();?>

<li><a href="<?php echo get_settings('home'); ?>/wp-content/plugins/polls/wp-polls.php">Polls Archive</a></li>

</ul>

</li>

<?php endif; ?>


Per chi confeziona un prodotto completo per il cliente è molto importante sapere cosa, come e dove deve mettere mano per personalizzare il blog o il sito del proprio committente.
| Top Exits (0)
2669 hits

View as PDF: This entry | This month | Full blog
Bookmark templates e widgets  at del.icio.us Digg templates e widgets Mixx templates e widgets Bloglines templates e widgets Technorati templates e widgets Fark this: templates e widgets Bookmark templates e widgets  at YahooMyWeb Bookmark templates e widgets  at Furl.net Bookmark templates e widgets  at reddit.com Bookmark templates e widgets  at blinklist.com Bookmark templates e widgets  at Spurl.net Bookmark templates e widgets  at NewsVine Bookmark templates e widgets  at Simpy.com Bookmark templates e widgets  at blogmarks Bookmark templates e widgets  with wists Bookmark templates e widgets  at Ma.gnolia.com wong it! Bookmark using any bookmark manager! Stumble It!

0 Trackbacks

  1. No Trackbacks

0 Comments

Display comments as (Linear | Threaded)
  1. No comments

Add Comment


Standard emoticons like :-) and ;-) are converted to images.

To prevent automated Bots from commentspamming, please enter the string you see in the image below in the appropriate input box. Your comment will only be submitted if the strings match. Please ensure that your browser supports and accepts cookies, or your comment cannot be verified correctly.
CAPTCHA


Submitted comments will be subject to moderation before being displayed.


View as PDF: This entry | This month | Full blog