17488 Posts in 4473 Topics by 1978 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 2177 Views |
-
Abstracting Silverstripe's front end

11 March 2007 at 11:35pm Last edited: 11 March 2007 11:35pm
Hi all,
I'm looking to do an OpenLaszlo implementation with a Silverstripe back end.
Openlaszlo is essentially a framework that provides a Flash or DHTML front end to your web site. For this to work with any system, it has to be very pluggable.
One concern I have is the amount of HTML in the core model. E.g. SiteTree has lots of <li> tags etc.
Can it be done easily? I'm guessing it shouldn't be super hard as it's been necessarily reasonably abstracted for the Ajax stuff.
comments / perspectives?
thanks, J
-
Re: Abstracting Silverstripe's front end

12 March 2007 at 4:16pm
I don't know much about how OpenLaszlo works, but presumably you're wanting to use SilverStripe to generate its XML configuration files?
There would be 2 ways of doing this:
1) Make your own templates that return XML instead of HTML. You could make them the default templates, or you could call the templates something Like Page_xml.ss or MyType_xml.ss, in which case, the XML format for the page would be accessible as http://www.mysite.com/(pagename)/xml
2) Make a subclass of controller called OpenLaszlo, and then different methods can be called on this by visiting http://www.mysite.com/OpenLaszlo/(method-name)
| 2177 Views | ||
|
Page:
1
|
Go to Top |


