Thank you Daniel :) This was the thing I was looking for.

On Sep 1, 5:07 pm, Daniel Hofstetter <[EMAIL PROTECTED]> wrote:
> Hi,
>
> > I need to generate an excel file and I am using an external API to
> > generate that excel file. If I wasn't using CakePHP I could include()
> > API's php file in my code and start writing it directly.
>
> > Since I am using CakePHP I am trying to avoid doing stupid things that
> > will break the design patterns. How should I wrap that API so I can
> > use it in CakePHP?
>
> Third-part libraries are usually put to the vendors folder and then
> included with:
>
> App::import('Vendor', 'yourfile');
>
> Hope that helps!
>
> --
> Daniel Hofstetterhttp://cakebaker.42dh.com
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to