Jump to:

17452 Posts in 4473 Topics by 1971 members


SilverStripe Forums » Archive » Abstracting Silverstripe's front end

Our old forums are still available as a read-only archive.

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

Page: 1
Go to End
Author Topic: 2326 Views
  • julian
    Community Member
    17 Posts

    Abstracting Silverstripe's front end Link to this post

    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

  • Sam
    679 Posts

    Re: Abstracting Silverstripe's front end Link to this post

    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)

Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.