PDA

View Full Version : Prepurchase inquiry -> Smarty question


Greg-J
06-14-2006, 11:37 AM
I realise I may be the minority here, but I find Smarty to be the worst thing to happen to php development since, well I don't know. I'm not here to be flamed or to listen to people tell me how great it is and how much time it saves, I have my reasons.

My question is; Is Smarty an option in 3.0 or is it the only option in 3.0?

bobby9101
06-14-2006, 03:26 PM
omly option
unless you want to convert it over to another templating system

please post your reasons on why you hate smarty

David
06-14-2006, 03:46 PM
There are something like 50+ templates available for phpLD now.
I would say that despite your issues with smarty, it has been fortunate that many people have found it to be easy enough to use that they were able to create a template.

One really good thing about Smarty is they continue to improve it, which cannot be said for many other template systems.

clubracer
06-14-2006, 05:19 PM
+1 vote for phptemplate

The best cmsn are using phptemplate. Why?
With phptemplate you can disconnect the template sytem completly from the core files

i use a very modified 3.0.2 phpLD version, it would take me 2 weeks to upgrade manually now, bad for me because i cannot find the time to do it

no hard feelings David but we need innovation on that point...

Optimit
06-14-2006, 06:15 PM
While I totally agree about the difficulties in upgrading versions, I completely disagree that Smarty is anything bad at all.

Although I don't know much in coding it, I , with very little html knowledge, have managed to figure out how to use it. I think that says something for the "Ease of use" of the code and the script.

anon
06-14-2006, 06:22 PM
Content visible to registered users only.
So what would you suggest in terms of an innovative templating system to accompany phpld, rather than what already exists?

Greg-J
06-14-2006, 08:45 PM
Unless you're utilizing the caching features of smarty for good reason, I see no point in using it. It makes sense to me to use the ever-so-increasing-in-popularity PHPtemplate. Whether you can call this a 'template engine' or just a method of templating is kind of a moot point. It just seems to me you might want to call it smartylinkdirectory until then ;)

I might be interested in speaking to developers and creating a fork using phptemplating rather than smarty. It may be a small crowd that would use it from the start - but a dedicated crowd indeed.

anon
06-14-2006, 08:57 PM
phpld does use smarty caching.

So give us some concrete information, statistics, anything... and tell us what benefits Drupal will provide us over Smarty, other than you yourself just being a Drupal fanboy.

Rob

Boby
06-14-2006, 09:13 PM
It's the same thing if you use Smarty or PHPTemplate, just the code changes.
You no more use {if ...} {else} {/if} because it's <?php if (..) ?> <?php else?> <?php endif; ?> (more code)

It's just PHP, I wonder why they call it template engine...

Boby

Greg-J
06-14-2006, 09:25 PM
Actually, I'm not a Drupal 'fanboy' at all. I'm not really that fond of Drupal actually. Furthermore, Drupal isn't phptemplate and phptemplate isn't Drupal, so referring to one as the other is only going to confuse people. PHPtemplate isn't a product or library, it's just a name people gave the practice of common-sense really. The only reason Drupal/Bryght refer to it as a template engine is because of the way they interface it with their API.

Smarty is simply more bloat than it needs to be, and a solution to a problem no longer relevant in my opinion. I'm allowed to have one you know.

Is this how you grow your business? Insulting potential customers?

Greg-J
06-14-2006, 09:27 PM
I didn't get to read your post before submitting my previous post Boby, but my thoughts exactly regarding 'phptemplate'.

Is anon a developer or just someone who likes to offer snide remarks to potential buyers?

anon
06-14-2006, 09:52 PM
i like to offer a side of criticism which involes you as the suggestee, to provide us(those who have purchased phpLD already) some informative information with regards as to why we should switch from one system to another.

Because hey, I myself have no problems with innovative thinking. Believe that. However, I would like to be able to come into a thread as such, and be able to read some good information as to why someone liek yourself thinks an alternative is better, other than saying: 'hey it's better because I say it is'

And lets be honest here, phptemplate is to drupal, as smarty is to phpld. Each goes hand in hand and they love one another, but you are suggesting on a new system to further phpld without any information, as stated, other than and i quote...

Content visible to registered users only.

e.g. being a 'fanboy'

So stop kidding yourself. I don't cater to no one and I dont BS either. I called it based on how you put it.

Greg-J
06-14-2006, 10:49 PM
EDIT:

I'll take my business elsewhere since I cannot speak without being edited by anon.

Boby
06-15-2006, 12:28 AM
OK, another thread *CLOSED* !!!


@ Greg-J
Come on, don't give everything up for one fight! You have your right to post your opinion, whatever it is!

Boby

anon
06-15-2006, 12:34 AM
yes, Boby, opinions are fine and I agree, they should always be expressed, but if people are going to contradict themselves, plus sway away from topic and then not provide us with some means of facts and information to back up the who what and where, then let them be. They are weakminded and eventually will be back, because phpld *is* the best directory script out there, PERIOD!

Boby
06-15-2006, 12:58 AM
EDIT:
OK, I have re-opened the thread on Anon's request to let each of you post your arguments!
But please, no more fight!!

Boby

bobby9101
06-15-2006, 03:18 AM
ok i am not here to pick fights
and this whole argument sounds dumb to me
but man you eill love phpld so try it
try the demo
take a look at my site (in my siggy) form the user end is it not the best???
the admin panel is twice as good! and i only have 2.0
well anyway please post your reason why you dont like smarty
anon let him speak for a sec i wanna hear him man to man no crap fights involved

Redmatrix
06-15-2006, 08:36 AM
I don't know php, but I know CSS and HTML.
Standing on the sidelines, I don't know why smarty is "bad" or why phptemp is "good."

I would really have liked to have seen clear reasoning, thought process, and less falacies on both ends of the argument.

"fanboy" is name-calling, and gets people defensive. Why not use "bias" as it is less offensive, yet gets the point across?

I'd like to know what problem smarty was created to solve, that has now gone away. Why didn't you tell us Greg?

I have had no problems with the engine as it is right now. Why fix something that is not broken?

David
06-15-2006, 09:16 PM
Well stated, Redmatrix.

anon
06-15-2006, 09:19 PM
yea red, thanks for the post. i'll take that into consideration next time.

Redmatrix
06-15-2006, 10:09 PM
It's cool. Just saying. :cool:

I am proud to be a member of Admin Fusion (http://www.adminfusion.com), where we can learn from eachother on how to create successfull bulletin boards. If you like my demeanor, why not stop by and say hi? :D


BTW, check out my directory, it's really comming along! :o


~Dave

clubracer
06-15-2006, 10:11 PM
Content visible to registered users only.

I never told someone that phpLD is broken, its just not webmaster user friendly in upgrading.

Upgrading to newer versions with lots of modding in there templates is very time consuming. So i'm very lucky that i have only one phpLD directory up and running. (and i have to say it's a **censored****censored****censored****censored** good one)

If we could get all templating and modules disconnected from the core files that would be an awesome improvement.

End yes i'm a happy drupalizer, installing a new version just takes me 5 minutes upgrading time. When a new version is not compatible anymore with some modules i just disable them via the admin menu. Simple as that.

Just do a Drupal installation and 1 upgrade, its like the feeling: "when you ever go black you never go back".