Login | Forgot password | Register

X

What is OpenID?

OpenID is an Internet-wide identity system that allows you to sign in to many websites with a single account.

With OpenID, your ID becomes a URL (e.g. http://username.myopenid.com/). You can get a free OpenID for example from myopenid.com.

For more information visit the official OpenID site.

Jump to:

179 Posts in 40 Topics by 84 members

Migrating a Site to Silverstripe

SilverStripe Forums » Migrating a Site to Silverstripe » Automatic code generation from database

What you need to know when migrating your existing site to SilverStripe.

Page: 1
Go to End
Author Topic: Automatic code generation from database 982 Views
  • Ricardona
    avatar
    Community Member
    16 posts

    Automatic code generation from database Link to this post

    Hi all,

    I refer to the automatic code generation of an entire application from nothing more than a few tables in a database.

    In SilverStripe is possible generate the model, controller and views based in current database schema?

    Thanks in advance

    Ricardo Cardona R

  • Double-A-Ron
    avatar
    Community Member
    473 posts

    Re: Automatic code generation from database Link to this post

    No, but I've often thought that this would be handy - a-la CakePHP and Symfony.

    The trouble is, the Silverstripe system follows a defined database structure based on the code that is present - not the other way round.

    When you install Silverstripe, or add a new page/data type, the correctly structured database tables are created for you. I think messing with this structure and using a generator to create MVC code for you will only give you problems.

    Cheers
    Aaron

    982 Views
Page: 1
Go to Top

Currently Online: motly, jondbaker, tf22raptor

Welcome to our latest member: fearofbuttons

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.