Sunday, August 25, 2013

Re: what differrent between vendor and lib?

thank it's so clear


2013/8/25 Vanja Dizdarević <lex.non.scripta@gmail.com>
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 a topic in the Google Groups "CakePHP" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/cake-php/7_Ok14GrN88/unsubscribe.
To unsubscribe from this group and all its topics, 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.

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