that is the limitation of the framework, i think. If mapping is too
difficult and it makes system hard to maintain in the future, maybe changing
to the other frameworks is a not-too-bad solution (Zend ??? )



On Mon, Sep 5, 2011 at 7:19 PM, Cruisine <[email protected]> wrote:

> @WebbedIT
> its up to 100 tables and still being accesed by that application...in
> fact this application is still running..due to the integration issue
> with another application which is using PHP as the engine, i need to
> re-develop the application into PHP. and i considered to use Cakephp
> as the framework since another application was built by this framework
> as well.
> just for info, the old app was built by java and i don't have an
> authority to build a new database..
>
>
> On Sep 5, 6:43 pm, WebbedIT <[email protected]> wrote:
> > Cruisine,
> >
> > How many tables are we talking about?  Is the old application using
> > this database still going to be accessing it or will your new one be
> > the sole point of access?
> >
> > As Greg says, it certainly can be done, but soo much easier to write
> > an import script and migrate the system to a new database.  May take
> > some time up front, but will save so much more in the long run.
> >
> > HTH, Paul
> > @phpMagpie
> >
> > On Sep 5, 8:20 am, Cruisine <[email protected]> wrote:
> >
> > > 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-Attributesisagood 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.organdhelp
> > > > > 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
>

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

Reply via email to