where are the frameworks for creating libraries?

Posted by fayer on Stack Overflow See other posts from Stack Overflow or by fayer
Published on 2010-05-06T16:43:33Z Indexed on 2010/05/06 16:48 UTC
Read the original article Hit count: 169

Filed under:
|
|
|

whenever i create a php library (not a framework) i tend to reinvent everything everytime.

"where to put configuration options"

"which design pattern to use here"

"how should all the classes extend each other"

and so on...

then i think, isn't there a good library framework to use anywhere?

it's like a framework for a web application (symfony, cakephp...) but instead of creating a web application, this framework will help coder to create a library, providing all the standard structure and classes (observer pattern, dependency injection etc).

i think that will be the next major thing if not available right now. in this way there will be a standard to follow when creating libraries, or else, it's like a djungle when everyone creates their own structure, and a lot of coders just code without thinking of reusability etc.

there isn't any framework for creating libraries at the moment?

if not, don't u agree with me that this is the way to do it, with a library framework?

cause i am really throwing a lot of time (weeks!) just thinking about how to organize things, both in code and file level, when i should just start to code the logic.

share your thoughts!

© Stack Overflow or respective owner

Related posts about library

Related posts about php