Re: [SMARTY] Filemaker with Smarty
| From: | boots | Date: | Mon, 15 Dec 2003 21:03:48 +0000 |
| Subject: | Re: [SMARTY] Filemaker with Smarty | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-10696@lists.php.net to get a copy of this message | ||
Hi Daniel.
This may look like a Smarty issue to you, but I doubt that it is. At
best, in relation to Smarty, it is a general database issue, but I
would say that it is simply a general data-preparation issue--how do
you best structure your data so as to feed them to Smarty efficiently?
Unfortunately, there is no single or best answer to that as it is
highly dependant on what Smarty features you intend to use, how you
intend to use them as well as the structure and mechanics of your
source data and your application. In other words, this concerns the
framework you choose for your application and that is particularly
dependant on your application requirements. So this is not really
related to Smarty itself.
Indeed, if you come up with some convenience functions to supply data
to Smarty, it is likely that your solutions will be applicable to any
variety of database. The point of Smarty's assign function is that it
is an interface into Smarty--the data sources which are used to supply
data the data are thus opaque to Smarty.
If you need help with FilePro (it sounds like you don't) then this is
the wrong list. If you are wondering how best to organize your
application and data-structures, then as you may imagine, you are
unlikely to find a common opinion -- they are many ways to peel an
onion.
Fortunately, many people have shared their techniques in articles and
how-to's which are scattered around the net. Some are available via
links at the main site, the wiki and the forum. Perhaps you will find
some ideas that pertain to your situation there. As a general caveat,
while it is recommended for your application to do processing to
prepare data for "easy" usage by your template designers, that does not
imply that your application should itself be organized based on display
issues.
Best Regards,
xo boots
__________________________________
Do you Yahoo!?
New Yahoo! Photos - easier uploading and sharing.
http://photos.yahoo.com/