to be honest,i don't really want this happen.but what am i supposed to do?i cant build new database since the current database have lots of datas inside. after i read ur reply i started to think like that as well.my work will be hard later. i have to define lots of things on the model and i don't have an idea about the unpreddicted issues which will follow later.
do you have any idea to solve this problem? On Sep 5, 10:39 am, Greg Skerman <[email protected]> wrote: > http://book.cakephp.org/view/1057/Model-Attributesis a good place to start. > > you can configure in most circumstances cake to talk to any old database - > you just end up losing some of the magic and writing more code as a result. > > for a model which does not comply with the convention you will at least need > to: > > 1) define the table name ($useTable) > 2) define the primary key ($primaryKey) > 3) define the display name ($displayName) > > you'll also need to provide more verbose settings in the model associations > in order to get them to play nice... > > On Mon, Sep 5, 2011 at 9:34 AM, Cruisine <[email protected]> wrote: > > hi guys, i need to know something important about naming convention. > > yeah, i've been using naming convention while developing all my app > > all the time. but recently a problem appeared. let say i've got a > > project to re-developing an app ( from non-cakephp to cakephp) which > > already had a database. and of course since the app hadn't been built > > by cakephp the database also didn't follow the cakephp naming > > convention rules. > > the question i have is, how do i make an application using cakephp > > with that database?is it still possible to built a cakephp project > > without following naming convention rules? > > > need ur help soon.thank you. > > > -- > > Our newest site for the community: CakePHP Video Tutorials > >http://tv.cakephp.org > > Check out the new CakePHP Questions sitehttp://ask.cakephp.organd help > > others with their CakePHP related questions. > > > To unsubscribe from this group, send email to > > [email protected] For more options, visit this group > > athttp://groups.google.com/group/cake-php -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions. To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/cake-php
