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.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

Customising the CMS /

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

Custom built database in SilverStripe


Go to End


8 Posts   1337 Views

Avatar
karnh

Community Member, 10 Posts

8 September 2015 at 3:13pm

I'm relatively new to developing using the SilverStripe platform. I would like to build a database that contains content, and put this on specific web pages using the SilverStripe 3.1 platform. Is it possible, and if so, how would I go about doing it? Any ideas are welcome.

Cheers
Karn

Avatar
dpde

Community Member, 15 Posts

11 September 2015 at 4:03am

Hi and welcome to the SilverStripe community.

To be honest, I did not really understand what you exactly plan to do.

Can you please specify what you plan to do?

Thanks

Greetings
Deniz

Avatar
helenclarko

Community Member, 166 Posts

11 September 2015 at 9:55am

Hi Karn,

If by database you Mean MySQL then this is exactly what Silverstipe is built for.
Content is stored within your MySQL database and is pulled from there to create your pages.

More detail on exactly what you are trying to acheive would help us with answering your question.

-helenclarko

Avatar
karnh

Community Member, 10 Posts

11 September 2015 at 12:16pm

Hi guys

Thanks heaps for your replies. We are wanting to put in information into the MySQL database and pull it out to specific pages. The sort of information includes:
1. A name
2. A URL
3. A description

For example:
1. ProQuest Central Business
2. http://library.eit.ac.nz:2048/login?url=http://search.proquest.com/business?accountid=39646
3. Search Proquest Central's business databases including ABI/INFORM Complete; Accounting & Tax; Banking Information Source; Hoover's Company Profiles; OxResearch; ProQuest Asian Business & Reference; ProQuest European Business; ProQuest Research Library: Business; Snapshots; ProQuest Dissertations & Theses Global: Business.

We are hoping to update the information in one place and this would then update the other web pages where the information is too. I hope this helps.

Cheers
Karn

Avatar
switch

Community Member, 4 Posts

26 September 2015 at 6:35am

Did you ever figure out an answer to this? I have a database already, some basic information in it regarding electronics parts. We just want to track these parts from within silverstripe, and I dont really care if we have to manually transfer some data.. I cannot find a complete code example anywhere that works out.

Avatar
karnh

Community Member, 10 Posts

28 September 2015 at 1:33pm

Hi
Thanks for your reply. Unfortunately I'm still stuck about how SilverStripe handles custom built databases. How did you develop / implement yours?

Cheers
Karn

Avatar
switch

Community Member, 4 Posts

29 September 2015 at 8:11am

http://www.phreeze.com/ can be a helpful place to start. Also https://www.sqlmaestro.com/products/mysql/phpgenerator/ has some useful utilities. We just iframed them from within silverstripe until we can find a better solution than silverstripe for our needs. This project looks half dead or limited to the coding elite. noobs not allowed lol

Avatar
switch

Community Member, 4 Posts

29 September 2015 at 8:12am

http://www.phreeze.com/ can be a helpful place to start. Also https://www.sqlmaestro.com/products/mysql/phpgenerator/ has some useful utilities. We just iframed them from within silverstripe until we can find a better solution than silverstripe for our needs. This project looks half dead or limited to the coding elite. noobs not allowed lol