Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

Themes /

Discuss SilverStripe Themes.

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo, swaiba

Disable SS


Go to End


14 Posts   5104 Views

Avatar
Christopher_S

Community Member, 4 Posts

12 January 2010 at 8:28am

Although this thread is a bit old now, I thought I would mention that it is pretty easy to attach an alternate template engine to the controller.

I have easily integrated "Zend_Layout" and "Zend_View" to a SilverStripe build with very little effort (a few hours). If anybody is interested, I can demonstrate.

In my opinion, SS as a templating language has many deficiencies, and going to a pure PHP solution (via Zend) was like a breath of fresh air.

Avatar
pantera

Community Member, 3 Posts

4 February 2010 at 12:33pm

I cannot access anthing with a .ss extension. What is the program/application built to open them. I'm working on a MacBook and i am helpless, on the other side; it seems that Zend could be an answer and people are using it. Either answer would help me a lot. i am in Costa Rica and we're trying to use SilverStripe as one of our main resources. We like it but there are complications such as this .ss engine that I cannot seem to tap succesfully.

Help please, thanks!

Avatar
pantera

Community Member, 3 Posts

4 February 2010 at 12:36pm

post is old. but i'd like to see man. thaks!

Avatar
Hamish

Community Member, 712 Posts

4 February 2010 at 12:48pm

Hey pantera,

you can edit .ss files with pretty much any text editor. It's basically html with a few extra template hooks. I use Eclipse, personally.

Avatar
pantera

Community Member, 3 Posts

4 February 2010 at 12:56pm

Edited: 04/02/2010 12:58pm

thank! got TextMate & Eclipse now. Will see that it doesn't become an issue anymore. For sme reason, even the TextEdit or Dreamweaver wouldn't open it.

there's cocoa 32bit, cocoa 64bit and carbon, which would you recommend?

thanks a lot!

Avatar
helloworld

Community Member, 14 Posts

28 February 2010 at 2:11am

@Christopher_S

Zend_View in SS sounds good - have you any information to realize this like a tutorial or cooking recipe?

@all

PHP is a good template engine, Smarty is very popular - but is also a crap.

The most template engines dont close the gap between a programmer and a designer. All of my designers look at the template code like a pig at a clockwork. And programmers must learn a new language....

In my mind, the TAL [http://en.wikipedia.org/wiki/Template_Attribute_Language] is a good compromise. My designer can work with dreamweaver an insert any "lorem ipsums" an I can used the code as template. In this time, we have "one-way": Designer make a HTML-Site => programmer make a template. The goal is a "two-way" solution: Designer make a HTML-Site <=> programmer make a template and vice versa

If I should have a desire freely, then pure PHP or TAL...

best
helloworld

Go to Top