124 Posts in 59 Topics by 52 members
Showcase Questions
SilverStripe Forums » Showcase Questions » Help please..
Feedback and questions about sites in the Community Showcase.
Moderators: martimiz, Howard, Sean, Ryan M., biapar, Willr, Ingo, swaiba, simon_w
|
Page:
1
|
Go to End | |
| Author | Topic: | 963 Views |
-
Help please..

14 July 2011 at 4:48pm
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.
-
Re: Help please..

31 July 2011 at 11:36am
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
-
Re: Help please..

31 July 2011 at 9:12pm
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!
| 963 Views | ||
|
Page:
1
|
Go to Top |



