You are here: Re: [SMARTY] New Smarty Website « Smarty Templates Posts « IT news, forums, messages
Re: [SMARTY] New Smarty Website

Posted by Jochem Maas on 06/21/05 12:25

Karl Timmermann wrote:
> Hello all,
>
> I am starting a project to convert the existing Smarty website
> (http://smarty.php.net) into a fully SmartyLib driven site, with the
> same looks, etc. There is not much point to it, but at least it gives
> bragging rights and shows that we can eat our own dog food.
>
> Before I start, does anyone have any suggestions of how I should do
> things? Right now, nothing is database driven. We could leave it that
> way, or make the news items database driven, or everything. What does
> everyone think?

I think you should make it DB driven - mostly because it would serve a
very good example of how the Smarty developers think it should be done -
kind of 'best-practices' - most people using Smarty will/do use a DB for
datastorage.

>
> Also, if we choose to not to have it be database driven, should the
> news articles be stuck in the templates, or in the PHP files that
> assign variables to the templates? I ask because currently the news
> articles are just stuck in the flat file.
>
> Let me know of any comments, suggestions, and ideas you guys might have.

Smarty is, I believe, a fairly high volume site - showing (good/proper)
use of caching and compiling (ids) would be IMHO a very helpful resource -
i.e. examples in action! I for one would be pouring over the source to
understand how the devs think caching/compiling should be used.

in short - IMHO the smarty sites source code could be a very strong resource
for advanced Smarty users, making it so would be extra work (commenting the code
properly for instance would increase its value, but we all know how much effort
that takes!).

....So basically I would very much like to see a smarty site that runs on smarty! preferably
a site that makes use of all smarty's capabilities - which may mean sacrificing
speed and simplicity in some cases in order to give a decent example of a given functionality.

anyway, goodluck!
rgds,
Jochem

>
> Thanks!
> Karl
>

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация