21287 Posts in 5733 Topics by 2602 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 646 Views |
-
Should I work in SilverStripe or Saphire?

7 March 2009 at 4:12pm
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 loggingYour thoughts?
Terry Middleton
-
Re: Should I work in SilverStripe or Saphire?

8 March 2009 at 12:00pm
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.
| 646 Views | ||
|
Page:
1
|
Go to Top |


