22848 Posts in 9653 Topics by 2803 members
|Go to End|
15 February 2012 at 8:04am
I am going to build a small web-app where users can share travel destinations. The main website uses SilverStripe and now I'd like to use SS for the new add-on too.
At frist, I wanted to add a new pagetype and put all special features in its php code. But there will be a lot of (roughly 500 p.a.) destinations, so the SiteTree in SS-Back-end will get pretty slow after a while.
All travel destinations consist of about 20 text fields, some links and five photos.
Is there any chance to block those pages in SiteTree? Or is there a better way to integrate this into SS? Would love to hear some tipps and links!
- suntrop -
16 February 2012 at 12:19am
You might want to delve into using DataObjects as pages. You can then use ModelAdmin to manage them. ModelAdmin is far better suited to manage large amounts of DataObjects.
There's a tutorial here on SSBits:
16 February 2012 at 10:12am
Thanks for the Link. I'll give it a try. I was a little bit afraid about the performance in back-end if there are a lot of objects. I was really impressed, as I saw there is now problem with 50000 entries I had tested it with another module that displays objects in a similar way. The next days I check if the DataObjects can do what I want (… or better, if I can do it with DataObjects
I think there will be some other questions that'll come :-D
Other tipps are welcome!
|Go to Top|