Or put it into your libs directory and load it using
App::import('lib', 'MyClass/my_class') which will load
libs/my_class.php in both cases (even if my_class.php is in a subdir
of libs).

On Tue, Dec 7, 2010 at 6:19 AM, CyberSprinters <cybersprint...@gmail.com> wrote:
> If you want to use a class, you can simply use it as a "vendor", and
> then instantiate within the controller that you want to use, and
> viola...
>
> On Dec 7, 9:15 am, cricket <zijn.digi...@gmail.com> wrote:
>> On Mon, Dec 6, 2010 at 10:43 PM, Raj <rajkumar....@gmail.com> wrote:
>> > Hi all,
>>
>> > Thanks so much for your response.
>> > Could you clarify on:
>> > Some people say that while you are working with a framework you get
>> > limited by the no of libraries developed for that framework and would
>> > not be able to benefit from the large no of libraries that exist for
>> > languages like PHP. So I wanted to know if at the stage of development
>> > I feel that CakePHP is not working very fine for me and I want to
>> > switch working with normal PHP language, can I migrate with my
>> > application easily?
>>
>> Migrating back to straight PHP might be quite a chore as you'd have an
>> awful lot of holes to fill in. I guess it depends on the size and
>> complexity of the app.
>>
>> As for libraries, etc. I don't think there's any issue at all. It's
>> not difficult to create a wrapper for most (if not all) libraries.
>> Visit the Bakery [1] and you'll find quite a lot of wrappers people
>> have already built.
>>
>> [1]http://bakery.cakephp.org/
>
> Check out the new CakePHP Questions site http://cakeqs.org and help others 
> with their CakePHP related questions.
>
> You received this message because you are subscribed to the Google Groups 
> "CakePHP" group.
> To post to this group, send email to cake-php@googlegroups.com
> To unsubscribe from this group, send email to
> cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
> http://groups.google.com/group/cake-php?hl=en
>

Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en

Reply via email to