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.

Themes

Discuss SilverStripe Themes.

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

Disable SS


Reply

14 Posts   3037 Views

Avatar
Christopher_S

12 January 2010 at 8:28am Community Member, 4 Posts

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

4 February 2010 at 12:33pm Community Member, 3 Posts

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

4 February 2010 at 12:36pm Community Member, 3 Posts

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

Avatar
Hamish

4 February 2010 at 12:48pm Community Member, 712 Posts

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

4 February 2010 at 12:56pm (Last edited: 4 February 2010 12:58pm), Community Member, 3 Posts

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

28 February 2010 at 2:11am Community Member, 14 Posts

@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