Sunday, August 25, 2013

Re: what differrent between vendor and lib?

From the top of my head, Vendor is for third-party vendor libraries which you can import and use in your code, but are not designed for use with Cake specifically.

Lib is for CakePHP related classes or packages, which follow the Cake file-path and naming conventions (for instance if you make your own Logger class or Database interface, etc.)

If you are more a hands-on type, here's a good example of Lib vs. Vendor use https://github.com/CakeDC/markup_parsers

--
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP
 
---
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cake-php+unsubscribe@googlegroups.com.
To post to this group, send email to cake-php@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php.
For more options, visit https://groups.google.com/groups/opt_out.

No comments: