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.

General Questions /

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

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

Using other PHP framework with SS


Reply


5 Posts   1054 Views

Avatar
biapar

Forum Moderator, 435 Posts

9 March 2010 at 3:18am

Hi,

a question.

Is it possible to use SS + other PHP Framework like CodeIgniter,CackePHP o Symphony? Or Sapphire is good for custom apps?

My idea is to use SS as base CMS and build a web apps on it using other PHP framework and their objects.

Thank you in advance.

Avatar
MateuszU

Community Member, 89 Posts

9 March 2010 at 10:40am

Hi,
Unfortunately you can't do it right now. The two components of SS distro (CMS and Sapphire) are coupled together and you can't separate them.

However you can build custom apps on Sapphire. What you do is you just ignore the CMS, but leave it sitting in the tree structure so the Sapphire does not complain. It is quite nice framework, I like it better than CakePHP, never used CI nor Symphony so can't compare to that, but I think it's worthy contender with Kohana.

PS. Everyone knows those two should be decoupled, we keep that in mind when we refactor... :)

Avatar
biapar

Forum Moderator, 435 Posts

10 March 2010 at 8:48am

Uhm...I have to do a web app with ecommerce functions and I wish to use CMS functions of SS, but ecommerce module is more beta...

Avatar
MateuszU

Community Member, 89 Posts

10 March 2010 at 9:02am

Sounds like you will be using Sapphire and the CMS together. Build your functionality on top (this is what ss is really good at). Ecommerce i heard is pretty unstable at this point of time, but better check for yourself.

Avatar
biapar

Forum Moderator, 435 Posts

11 March 2010 at 12:30am

so, then I build on top my classes and functions like when I expand SS with new forms and page type..