Smarty Forum Index Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon.

Duza ilosc plików a wydajnosc

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Smarty Forum Index -> Language: Polish
View previous topic :: View next topic  
Author Message
truman
Smarty Rookie


Joined: 22 Dec 2008
Posts: 8

PostPosted: Mon Feb 23, 2009 1:05 pm    Post subject: Duza ilosc plików a wydajnosc Reply with quote

Witam;
W swoim serwise przewiduję naprawdę b.dużą ilość profili- bedzie dziesiątki tysięcy plików skompilowanych tpl itd. ... Średnio jeden profil to około 60 plików... Zbudowałem strukturę katalogów w których chce przechowywać profile. Kazdy profil ma swoj id i poprzez to id budowana jest odpowiednia $sciezka
dla
$smarty->template_dir .$sciezka
$compile_dir-> .$sciezka
$smarty->cache_dir .$sciezka
tak ze kazdy profil ma swoje katalogi smarty. Czy to ma sens? bo
trzymanie wszystkich plików w jednym katalogu jest malo wydajne. Czy istnieje inne rozwiazanie?

pzdrw.
TRUMAN
Back to top
View user's profile Send private message
fornve
Smarty Rookie


Joined: 25 Apr 2008
Posts: 29
Location: Sheffield, UK

PostPosted: Sun Mar 08, 2009 11:43 pm    Post subject: Reply with quote

Po co trzymac to na dysku? Nie da sie tworzyc tego w locie (on fly)? Mi to wyglada troche bez sensu. Moze wytlumacz dokladniej co chcesz zrobic.

Nie da sie napisac tak tych 60ciu templatek by mogly byc uzyte w kazdym profilu?
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Smarty Forum Index -> Language: Polish All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group
Protected by Anti-Spam ACP