Jump to:

23368 Posts in 18143 Topics by 2863 members

General Questions

SilverStripe Forums » General Questions » Should I work in SilverStripe or Saphire?

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

Page: 1
Go to End
Author Topic: 743 Views
  • TerryMiddleton
    Avatar
    Community Member
    108 Posts

    Should I work in SilverStripe or Saphire? Link to this post

    Okay, I'm new and enjoying very much the total flexability of this product. Great job guys.

    Here's my question. Where do I start working? My first instinct would be with the templates to format my pages and then go to the CMS to create the pages and content.

    If I wanted to do some business logic such as query a db and out put the data, should I be looking at working in Saphire?

    Some of my other business logic requirements are:

    user login and validation
    session variables
    user logging

    Your thoughts?

    Terry Middleton

  • Willr
    Avatar
    Forum Moderator
    5489 Posts

    Re: Should I work in SilverStripe or Saphire? Link to this post

    Sapphire is the base PHP Framework. SilverStripe (the CMS) is written ontop of Sapphire. All your code will use Sapphire and some from SilverStripe if you need to use the CMS (eg Pages, adding Fields to the CMS).

    As for your code, you shouldn't need to worry about what you are using. All your PHP code should be in mysite/code/* and things like database querys will need to use the class's and methods sapphire provides.

    Sapphire provides alot of the user login and validation for you out of the box for you.

    743 Views
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.