|
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
>
[Back to original message]
|