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.

Customising the CMS /

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

Frontend or Backend on Silverstripe


Go to End


7 Posts   2368 Views

Avatar
mishell

Community Member, 19 Posts

4 July 2011 at 8:14pm

I want to make a system in silverstripe. The requirements are:
- to the system can login 30 different companies
- each company manages own list of users (Administrators and standard users)

Is that a good idea to gain access to the customized CMS to those users, or make an app on the frontend?

There will be about 4500-9000 users in system. I have doubts about security issues and app performance.

Thanks in advance
M.

Avatar
Willr

Forum Moderator, 5523 Posts

4 July 2011 at 9:11pm

I would lend towards building an app for the front end as then you have a lot more flexibility with the styling and templates. If you try and make a backend interface for something like that, I normally end up hacking pieces on. At least with the front end you can start from the beginning and have a fresh interface.

Security / performance are worries that *every* developer should have. Not just the big sites. SS does it's best to ensure your app is secure but it's all down to individual developer to ensure they escape sql queries, validate and other XSS issues (which usually are the most common I see in modules).

Avatar
mishell

Community Member, 19 Posts

4 July 2011 at 10:00pm


Many thanks for advice.

I was also thinking about frontend app. Hacking CMS sometimes may be difficult task. I was searching for using TableField, HasMany, DOM usage in frontend and found some info about it. Is it possible to use CRUD operations with those tools in frontend?

M.

Avatar
cumquat

Community Member, 201 Posts

8 December 2011 at 8:00pm

Hi ya,

I have a similar project hopefully coming up and while i use SilverStripe for nearly all my sites i've never used it for one that will have potentially 6-10k users how did your development go, did you indeed administer from the front end and what was the performance like?

Regards

Mick

Avatar
mishell

Community Member, 19 Posts

14 February 2012 at 5:23am

Sorry for delay... cumquat

I did the administration from frontend. Lack of DataObjectManager is a bummer, but I managed to make my own Controller which did the work. The main administration is from admin account and It really helps.

My client was pain in the @#! so doing it from the backend would be impossible. To many things couldn't be done out of the box so frontend is really good solution for this type of work.

Still I have some worries about performance but will see how it will work. With no load site responces in about 500ms which I think is a bit too much

P.S SS Framework is great piece of work.

Once again sorry for very long responce time
Michael

Avatar
Willr

Forum Moderator, 5523 Posts

14 February 2012 at 4:09pm

Still I have some worries about performance but will see how it will work. With no load site responces in about 500ms which I think is a bit too much

Are you using an opcode cache such as XCache as well as memcache? that will speed things up from a class inclusion / object level. The next thing to look at would be to do some profiling and see if you can cache anything

Avatar
mishell

Community Member, 19 Posts

15 February 2012 at 3:23am

I read yesterday about Xcache and profiling. I after studies, I think Xcahce will do the trick.

By yesterday I thought SS don't have performance tools. I am really happy I was wrong.