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.

General Questions /

General questions about getting started with SilverStripe that don't fit in any of the categories above.

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

SilverStripe; a CMS or PHP Framework?


Go to End


2 Posts   1557 Views

Avatar
Beshad

Community Member, 3 Posts

23 November 2016 at 8:29pm

Hi Guys,
I have a question. I am a beginner SilverStripe developer. i have used SS once as a CMS for a portfolio website and I really enjoyed using it as CMS. i have also used CodeIgniter in the past to develop a php/angular web app. Now i have another upcoming web app project which i was considering learning and using Laravel framework for it. My question is: instead of learning myself Laravel, can i advance my SS knowledge and use it as a PHP framework to create this web app? does SS offers features like other PHP frameworks, allowing the type of development work that can be done with CodeIgniter/Laravel? with my current basic SS knowledge i can only think of SS as a CMS but is SS suitable for web app developments too? thanks

Avatar
martimiz

Forum Moderator, 1391 Posts

9 December 2016 at 2:37am

Hi,
I've never just used SilverStripe as a standalone Framework, but - waiting for someone more knowledgable to reply - this is what I think:

Basically I feel you should be able to build anything using DataObjects, custom Controllers, routing and Forms. You'd have to create your own tables and records, but the Dataobject does have functions for that. Sadly there doesn't seem to be too much documentation on actually getting started using SilverStripe as a StandAlone Framework, so in the documentation CMS and Framework do get a bit mixed up...

This is where for instance Laravel differs: al documentation to get started is based on the framework. CMS is seen as 'just' a module, afaik. So if you're only just started on SilverStripe and you need to use a standalone framework-only system, then...

Then again the reason I have not ever used SilverStripe as a standalone framework is because I actually never found a situation where I would be better off dropping the CMS. Because basically what the CMS is, is a system to (1) enter data into and manage a relational database system and (2) have access to a convenient web-page system - if you want it. For instance I once built a simple bookkeeping app, that can be managed totally from within the CMS - no need for pages :) But of course this only applies to web-based applications...

So it would really depend on what you actually want to build...

Hope this helps a bit :)