Jump to:

130 Posts in 946 Topics by 55 members

Showcase Questions

SilverStripe Forums » Showcase Questions » Help please..

Feedback and questions about sites in the Community Showcase.

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

Page: 1
Go to End
Author Topic: 1572 Views
  • Nofel
    Avatar
    Community Member
    2 Posts

    Help please.. Link to this post

    I am confused how to create a database in SilverStripe. I got an assignment to build web database applications. On the web there are laws and regulations. In the Admin there are functions on the user uploaded and there are functions to download and view pdf documents. I'm confused early work in SilverStripe. Please help.

  • Sphere
    Avatar
    Community Member
    44 Posts

    Re: Help please.. Link to this post

    You know how to write PHP don't you?
    You do know how to set up a new database in phpmyadmin?

    That's all you need to know. Silverstripe won't create the database for you. Just add the connection details to _config.php in your project (mysite) folder and you should be done setting up.

    After changes to objects, models, extensions or decorators etc, run {url here}/dev/build?flush=all

  • swaiba
    Avatar
    Forum Moderator
    1785 Posts

    Re: Help please.. Link to this post

    What Sphere says is very accurate - but I understand that this is very strange - if you have an assignment I am guessing that create a database means creates a database with tables and data in SQL.

    Silverstripe is the first time that I've not had to use SQL to create a basic database structure and manage the data (although within my code there is direct SQL).

    Hope this helps!

  • kevinstripe
    Avatar
    Community Member
    10 Posts

    Re: Help please.. Link to this post

    it's right, you should know PHP to create database in SilverStripe.

    1572 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.